/* tasim.me. The DESIGN2 system (StarNinja) in a warm light version: same structure, radii, type and rules. */
:root {
  --bg: #F7F5F3;
  --panel: #FDFCFB;
  --field: #F0EDEA;
  --raise: #E8E5E2;
  --border: #E2DEDA;
  --text: #211F1D;
  --muted: #5F5B58;
  --dim: #8B8784;
  --ink: #F7F5F3;
  --green: #3F7A4A;
  --red: #A8483F;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1040px; --r: 8px; --rs: 6px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font);
  font-optical-sizing: auto; font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
.i { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tnum { font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01", "tnum"; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.logo svg { width: 26px; height: 26px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--rs); font-size: 15px; font-weight: 600; transition: opacity .15s ease, background .15s ease; white-space: nowrap; }
.btn-pri { background: var(--text); color: var(--ink); }
.btn-pri:hover { opacity: .9; }
.btn-out { border: 1px solid var(--border); background: var(--panel); color: var(--text); }
.btn-out:hover { background: var(--raise); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14.5px; font-weight: 500; border-radius: 5px; }

/* sections */
.sec { padding: 88px 0; border-top: 1px solid var(--border); }
.sec-h { max-width: 620px; margin-bottom: 36px; }
.sec-h h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.sec-h p { margin-top: 12px; font-size: 17px; color: var(--muted); }

/* hero */
.hero { padding: 72px 0 88px; }
.hero-one { max-width: 720px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 54px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.07; }
.hero-sub { margin-top: 20px; max-width: 520px; font-size: 18px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.cta-note { width: 100%; font-size: 14px; color: var(--dim); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.fact { padding: 0 18px; border-left: 1px solid var(--border); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* phones */
.phones { display: flex; justify-content: center; gap: 20px; }
.phone { flex: 0 1 260px; min-width: 0; padding: 9px; border-radius: 40px; background: #211F1D; box-shadow: 0 40px 80px -30px rgba(33, 31, 29, .45); }
.phone img { width: 100%; aspect-ratio: 540 / 1095; object-fit: cover; border-radius: 31px; }
.phones .phone:nth-child(2) { transform: translateY(28px); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shot figcaption { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
.shot figcaption b { display: block; color: var(--text); font-weight: 600; }
figure { margin: 0; }

/* feature list and steps */
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); }
.flist .row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 20px 24px; border-top: 1px solid var(--border); }
.flist .row:first-child { border-top: 0; }
.flist b { font-weight: 600; }
.flist p { color: var(--muted); }
.tap .row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 20px 24px; border-top: 1px solid var(--border); }
.tap .row:first-child { border-top: 0; }
.tap .n { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; font-size: 14px; font-weight: 600; }
.tap h3 { font-size: 16px; font-weight: 600; line-height: 32px; }
.tap p { margin-top: 2px; color: var(--muted); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }

/* FAQ */
.faq details { border-top: 1px solid var(--border); }
.faq details:first-child { border-top: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-size: 15.5px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--dim); transition: transform .15s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; max-width: 62ch; color: var(--muted); font-size: 15px; }

/* footer */
.foot { background: var(--field); border-top: 1px solid var(--border); padding: 40px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero-grid, .two { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .shots { grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 300px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top-in { height: 58px; }
  .hero { padding: 40px 0 64px; }
  .sec { padding: 64px 0; }
  .fact { padding: 0 12px; }
  .fact b { font-size: 19px; }
  .phones .phone { flex-basis: 46%; }
  .phones .phone:nth-child(3) { display: none; }
  .flist .row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 16px; }
  .tap .row { padding: 18px 16px; }
  .faq summary { padding: 16px; }
  .faq details p { padding: 0 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
