/* ==========================================================================
   FasetIQ — fasetiq.com landing
   Brand authority: FDR-0056 (.claude/agents/skills/ui-best-practices/rules/brand/brand-logo.md)
   Module colours: rules/_foundation/module-type-icons.md §1

   NOTE (Turkish): never use `text-transform: uppercase` on Turkish copy —
   CSS uppercases "i" to "I" instead of "İ". Eyebrow labels are hand-written
   in caps in the markup and only letter-spaced here.
   ========================================================================== */

/* ---------- Fonts (self-hosted; no external requests) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #0F172A;
  --ink-2:      #334155;
  --muted:      #64748B;
  --muted-2:    #94A3B8;
  --line:       #E2E8F0;
  --line-soft:  #F1F5F9;
  --bg:         #FFFFFF;
  --bg-soft:    #F8FAFC;

  --brand:      #2D74F0;
  --brand-700:  #1A5BC4;
  --brand-300:  #60A5FA;
  --brand-50:   #EFF6FF;

  --dark:       #020817;
  --dark-2:     #0B1220;
  --dark-3:     #111C31;
  --dark-line:  rgba(148, 163, 184, .16);
  --dark-text:  #E2E8F0;
  --dark-muted: #94A3B8;

  /* module colours — module-type-icons.md §1 */
  --m-nc:      #EF4444;
  --m-audit:   #8B5CF6;
  --m-meeting: #6366F1;
  --m-project: #3B82F6;
  --m-doc:     #0EA5E9;
  --m-task:    #14B8A6;
  --m-cal:     #06B6D4;
  --m-analytics:#F59E0B;
  --m-org:     #64748B;
  /* action-type colours — module-type-icons.md §3 */
  --a-corrective: #14B8A6;
  --a-preventive: #10B981;

  --radius:    16px;
  --radius-lg: 24px;
  --shell:     1200px;
  --shell-wide:1320px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow:    0 4px 16px -4px rgba(15, 23, 42, .08), 0 2px 6px -2px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .22), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-xl: 0 48px 100px -32px rgba(2, 8, 23, .45), 0 16px 40px -20px rgba(2, 8, 23, .3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }
.shell-wide { max-width: var(--shell-wide); }
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }

.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.022em; font-weight: 700; text-wrap: balance; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #F8FAFC; }

.display {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
}
.h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); letter-spacing: -.015em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .11em;
  color: var(--brand);
}
.eyebrow::before {
  content: ''; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; opacity: .55;
}
.section--dark .eyebrow { color: var(--brand-300); }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.68; color: var(--muted); max-width: 62ch; text-wrap: pretty;
}
.section--dark .lead { color: var(--dark-muted); }
.lead--center { margin-inline: auto; }

.sec-head { max-width: 760px; }
.sec-head .h2 { margin-top: 16px; }
.sec-head .lead { margin-top: 18px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding-inline: 26px; border-radius: 12px;
  font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  transition: transform .18s cubic-bezier(.4,0,.2,1), box-shadow .18s, background-color .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  box-shadow: 0 8px 22px -8px rgba(45, 116, 240, .55), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(45, 116, 240, .62), inset 0 1px 0 rgba(255,255,255,.22); }

.btn--ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #CBD5E1; box-shadow: var(--shadow); }

.btn--on-dark { color: #E2E8F0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.btn--on-dark:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.24); }

.btn--sm { height: 42px; padding-inline: 18px; font-size: .9rem; border-radius: 10px; }
.btn--lg { height: 56px; padding-inline: 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: .94rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.hdr__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.hdr__logo { display: flex; align-items: center; flex: none; }
.hdr__logo img { height: 30px; width: auto; }
.hdr__logo .logo-dark { display: block; }
.hdr__logo .logo-light { display: none; }
.hdr__nav { display: flex; align-items: center; gap: 30px; margin-left: 8px; }
.hdr__nav a { font-size: .93rem; font-weight: 500; color: rgba(226,232,240,.82); transition: color .18s; }
.hdr__nav a:hover { color: #fff; }
.hdr__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hdr__login { font-size: .93rem; font-weight: 600; color: rgba(226,232,240,.9); padding: 8px 4px; }
.hdr__login:hover { color: #fff; }

/* Three states, because the hero is dark and ~1450px tall:
   1. top of page        → fully transparent (nothing is behind the bar yet)
   2. scrolled, still over the dark hero → DARK glass, so the nav stays legible
      once the product screenshot scrolls underneath it
   3. past the hero      → LIGHT glass (.is-stuck), set by an IntersectionObserver
      on the hero itself — not a magic scroll number, so it stays correct when the
      hero's height changes with the viewport. */
.hdr.is-scrolled {
  background: rgba(2, 8, 23, .72); backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: rgba(148, 163, 184, .14);
}

.hdr.is-stuck {
  background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--line); box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.hdr.is-stuck .hdr__logo .logo-dark { display: none; }
.hdr.is-stuck .hdr__logo .logo-light { display: block; }
.hdr.is-stuck .hdr__nav a { color: var(--ink-2); }
.hdr.is-stuck .hdr__nav a:hover { color: var(--ink); }
.hdr.is-stuck .hdr__login { color: var(--ink-2); }
.hdr.is-stuck .hdr__login:hover { color: var(--ink); }

.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; color: #E2E8F0; }
.hdr.is-stuck .burger { color: var(--ink); }
.burger svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--dark); color: var(--dark-text);
  padding-top: clamp(128px, 15vw, 168px); padding-bottom: clamp(0px, 4vw, 40px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -320px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 760px;
  background: radial-gradient(closest-side, rgba(45,116,240,.30), rgba(45,116,240,.10) 55%, transparent 78%);
  filter: blur(20px);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 62% at 50% 32%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 32%, #000 30%, transparent 78%);
}
.hero__in { position: relative; z-index: 1; text-align: center; }
.hero .display { color: #fff; margin-top: 22px; }
.hero .display em { font-style: normal; background: linear-gradient(120deg, #93C5FD 0%, #60A5FA 45%, #2D74F0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 24px auto 0; max-width: 64ch; color: #A9B6CA; font-size: clamp(1.04rem, 1.45vw, 1.24rem); line-height: 1.65; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 26px; font-size: .875rem; color: #7D8CA3; }
.hero__micro span { display: inline-flex; align-items: center; gap: 7px; }
.hero__micro svg { width: 15px; height: 15px; color: #34D399; flex: none; }

.hero__shot { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 76px); }
.hero__shot .frame { transform: perspective(2200px) rotateX(3deg); transform-origin: 50% 0; }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(to bottom, transparent, var(--dark)); pointer-events: none; z-index: 2; }

/* ---------- Browser frame ---------- */
.frame {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: var(--shadow-xl);
}
.frame__bar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding-inline: 15px;
  background: #F1F5F9; border-bottom: 1px solid #E2E8F0;
}
.frame__dot { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; flex: none; }
.frame__url {
  margin-left: 10px; flex: 1; max-width: 300px; height: 22px; border-radius: 6px;
  background: #fff; border: 1px solid #E2E8F0;
  display: flex; align-items: center; padding-inline: 9px; gap: 6px;
  font-size: .68rem; color: #94A3B8; letter-spacing: .01em;
}
.frame__url svg { width: 10px; height: 10px; flex: none; color: #10B981; }
.frame img { width: 100%; height: auto; }
.frame--dark { border-color: rgba(148,163,184,.16); background: var(--dark-2); }
.frame--dark .frame__bar { background: #0F1A2E; border-bottom-color: rgba(148,163,184,.13); }
.frame--dark .frame__dot { background: #33415580; }
.frame--dark .frame__url { background: #0B1220; border-color: rgba(148,163,184,.16); color: #64748B; }

/* ---------- Module strip ---------- */
.strip { border-block: 1px solid var(--dark-line); background: var(--dark); padding-block: 26px; }
.strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 10px; }
.strip__label { width: 100%; text-align: center; font-size: .76rem; letter-spacing: .1em; color: #56637A; margin-bottom: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(148,163,184,.15);
  font-size: .855rem; font-weight: 500; color: #C3CDDC;
}
.chip i { width: 8px; height: 8px; border-radius: 3px; flex: none; background: currentColor; }

/* ---------- Feature rows ---------- */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.feat--flip .feat__media { order: -1; }
.feat__body { max-width: 520px; }
.feat__body .h2 { margin-top: 16px; }
.feat__body .lead { margin-top: 18px; }

.bullets { margin-top: 30px; display: grid; gap: 16px; }
.bullets li { display: flex; gap: 13px; align-items: flex-start; list-style: none; }
.bullets .ico {
  flex: none; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand);
}
.bullets .ico svg { width: 15px; height: 15px; }
.bullets b { display: block; color: var(--ink); font-weight: 600; font-size: .97rem; margin-bottom: 2px; }
.bullets span { font-size: .93rem; line-height: 1.6; color: var(--muted); }

/* ---------- Chain diagram ---------- */
.chain { display: grid; gap: 10px; margin-top: 6px; }
.chain__node {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 13px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative;
}
.chain__node::after {
  content: ''; position: absolute; left: 33px; bottom: -10px; width: 2px; height: 10px;
  background: linear-gradient(to bottom, var(--line), transparent);
}
.chain__node:last-child::after { display: none; }
.chain__ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.chain__ico svg { width: 18px; height: 18px; }
.chain__txt b { display: block; font-size: .94rem; font-weight: 600; color: var(--ink); }
.chain__txt span { font-size: .84rem; color: var(--muted); }
.chain__tag {
  margin-left: auto; flex: none; font-size: .72rem; font-weight: 600;
  padding: 4px 9px; border-radius: 999px; letter-spacing: .01em;
}

/* ---------- Light / dark theme pair ----------
   Dark mode is shown, not claimed: the same screen with the same data, twice.
   A feature bullet saying "dark mode available" would read as filler. */
.theme-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); margin-top: 44px; align-items: start; }
.theme-pair figure { margin: 0; min-width: 0; }
.theme-pair figcaption {
  margin-top: 12px; text-align: center; font-size: .84rem; font-weight: 500;
  color: var(--muted); letter-spacing: .01em;
}
.pair-note { margin: 22px auto 0; max-width: 62ch; text-align: center; font-size: .92rem; line-height: 1.65; color: var(--muted); }
@media (max-width: 760px) { .theme-pair { grid-template-columns: 1fr; } }

/* ---------- Phone frames ---------- */
.phones { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 34px); justify-content: center; align-items: flex-start; }
.phone {
  width: clamp(190px, 20vw, 248px); flex: none;
  border-radius: 30px; overflow: hidden;
  border: 8px solid #0F172A; background: #0F172A;
  box-shadow: 0 30px 60px -24px rgba(2,8,23,.42), 0 10px 24px -12px rgba(2,8,23,.26);
}
.phone img { width: 100%; height: auto; display: block; }
.phone__cap { margin-top: 12px; text-align: center; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; }

/* ---------- Module showcase (tabs) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 17px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: .91rem; font-weight: 500;
  transition: border-color .18s, box-shadow .18s, color .18s, background-color .18s;
}
.tab svg { width: 16px; height: 16px; }
.tab:hover { border-color: #CBD5E1; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-color: transparent; box-shadow: 0 0 0 2px var(--brand) inset, var(--shadow); }

.panels { margin-top: 40px; position: relative; }
.panel { display: none; }
.panel[data-active] { display: block; animation: panelIn .38s cubic-bezier(.16,1,.3,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Rich module panel — copy on top, screenshots full-width beneath.
   Deliberate: a side-by-side layout squeezes the app shots to ~850px, at which
   point the product's own type is unreadable. Full width buys ~1.5× and the
   screenshots become evidence instead of decoration. */
.mpanel { display: block; }
.mpanel__media { display: grid; gap: 20px; min-width: 0; margin-top: 34px; }
.mpanel__body { min-width: 0; }
.mpanel__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mpanel__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.mpanel__kicker svg { width: 14px; height: 14px; }
.mpanel h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -.025em; }
.mpanel__lead { margin-top: 12px; font-size: 1.02rem; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.mpanel__caps { display: grid; gap: 13px; }
.mpanel__caps li { display: flex; gap: 11px; align-items: flex-start; list-style: none; }
.mpanel__caps svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.mpanel__caps b { color: var(--ink); font-weight: 600; font-size: .93rem; }
.mpanel__caps span { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.mpanel__caps b + span::before { content: ' — '; color: var(--muted-2); }
.shot-note {
  margin-top: 10px; font-size: .8rem; color: var(--muted-2); text-align: center; line-height: 1.5;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #CBD5E1; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.card__ico svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.card p { font-size: .92rem; line-height: 1.65; color: var(--muted); }

.card--dark { background: var(--dark-2); border-color: var(--dark-line); }
.card--dark:hover { border-color: rgba(148,163,184,.28); box-shadow: none; }
.card--dark h3 { color: #F1F5F9; }
.card--dark p { color: var(--dark-muted); }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px; }
.sec-item { background: var(--dark); padding: 30px 28px; }
.sec-item__ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(45,116,240,.14); color: var(--brand-300); margin-bottom: 16px; }
.sec-item__ico svg { width: 19px; height: 19px; }
.sec-item h3 { font-size: .99rem; margin-bottom: 7px; }
.sec-item p { font-size: .89rem; line-height: 1.62; color: var(--dark-muted); }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--line-soft); border: 1px solid var(--line); margin-top: 30px; }
.toggle button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 9px; font-size: .91rem; font-weight: 600; color: var(--muted);
  transition: background-color .18s, color .18s, box-shadow .18s;
}
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.toggle .save { font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #D1FAE5; color: #047857; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 44px; align-items: start; }
.plan { padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; height: 100%; }
.plan--hot { border-color: transparent; box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg); position: relative; }
.plan__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 600; color: #fff; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); white-space: nowrap; }
.plan__name { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.plan__desc { font-size: .855rem; color: var(--muted); margin-top: 5px; min-height: 40px; line-height: 1.5; }
.plan__price { display: flex; align-items: baseline; gap: 5px; margin-top: 18px; }
.plan__price b { font-size: 2.1rem; font-weight: 700; color: var(--ink); letter-spacing: -.035em; }
.plan__price span { font-size: .88rem; color: var(--muted); }
.plan__note { font-size: .8rem; color: var(--muted-2); margin-top: 6px; min-height: 20px; }
.plan__seats { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.plan__list { margin-top: 14px; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; gap: 9px; align-items: flex-start; list-style: none; font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.plan__list svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #10B981; }
.plan .btn { margin-top: 22px; }
.plan__foot { margin-top: 12px; font-size: .78rem; color: var(--muted-2); text-align: center; }

.pricing-note { margin-top: 26px; text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 44px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 1.01rem; font-weight: 600; color: var(--ink); letter-spacing: -.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 19px; height: 19px; flex: none; color: var(--muted-2); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 4px 24px; font-size: .94rem; line-height: 1.7; color: var(--muted); max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 68px); background: linear-gradient(135deg, #123A82 0%, #1A5BC4 48%, #2D74F0 100%); color: #fff; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 80% 0%, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta-band p { margin-top: 16px; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 58ch; line-height: 1.65; }
.cta-band .btn--primary { background: #fff; color: var(--brand-700); box-shadow: 0 10px 26px -10px rgba(2,8,23,.5); }
.cta-band .btn--primary:hover { background: #F8FAFC; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Footer ---------- */
.ftr { background: var(--dark); color: var(--dark-muted); padding-block: 68px 32px; border-top: 1px solid var(--dark-line); }
.ftr__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; }
.ftr__brand img { height: 30px; width: auto; }
.ftr__brand p { margin-top: 18px; font-size: .89rem; line-height: 1.7; max-width: 34ch; }
.ftr h4 { font-size: .78rem; letter-spacing: .09em; color: #7D8CA3; font-weight: 600; margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.ftr li a, .ftr li span { font-size: .89rem; color: #A9B6CA; transition: color .18s; }
.ftr li a:hover { color: #fff; }
.ftr__legal { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: flex-start; }
.ftr__legal p { font-size: .8rem; line-height: 1.7; color: #67748C; max-width: 62ch; }
.ftr__legal .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ftr__legal .links a { font-size: .8rem; color: #8493AB; }
.ftr__legal .links a:hover { color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; }
.modal[data-open] { display: grid; }
.modal__scrim { position: absolute; inset: 0; background: rgba(2,8,23,.62); backdrop-filter: blur(5px); animation: fade .22s; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal__box {
  position: relative; width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-lg); animation: pop .28s cubic-bezier(.16,1,.3,1);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); transition: background-color .18s, color .18s; }
.modal__close:hover { background: var(--line-soft); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal h3 { font-size: 1.3rem; }
.modal .sub { margin-top: 8px; font-size: .93rem; color: var(--muted); line-height: 1.6; }

.field { margin-top: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .18s, box-shadow .18s; font-size: .95rem;
}
.field textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45,116,240,.13); }
.field input::placeholder, .field textarea::placeholder { color: #A8B4C6; }
.form__note { margin-top: 14px; font-size: .79rem; color: var(--muted-2); line-height: 1.6; }
.form__msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.55; display: none; }
.form__msg[data-show] { display: block; }
.form__msg--ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form__msg--err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.doc { max-width: 780px; margin-inline: auto; padding-block: clamp(112px, 12vw, 148px) 96px; }
.doc h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.doc .meta { margin-top: 12px; font-size: .87rem; color: var(--muted-2); }
.doc h2 { font-size: 1.22rem; margin-top: 44px; }
.doc h3 { font-size: 1.02rem; margin-top: 28px; }
.doc p { margin-top: 14px; font-size: .95rem; line-height: 1.75; color: var(--ink-2); }
.doc ul, .doc ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 9px; }
.doc li { font-size: .95rem; line-height: 1.7; color: var(--ink-2); }
.doc table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .9rem; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.doc th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.doc a { color: var(--brand); font-weight: 500; }
.doc a:hover { text-decoration: underline; }
.doc .back { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.doc .back svg { width: 15px; height: 15px; }
.doc .back:hover { color: var(--ink); }
.doc-hdr { position: sticky; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .mpanel__head { grid-template-columns: 1fr; gap: 26px; }
  .mpanel__lead { max-width: none; }
}
@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .hdr__login { display: none; }
  .burger { display: flex; }
  .hdr__in { height: 66px; gap: 16px; }

  .feat { grid-template-columns: 1fr; gap: 34px; }
  .feat--flip .feat__media { order: 0; }
  .feat__body { max-width: none; }
  .split__phone { position: static; width: 200px; margin: -22px auto 0; }
}
@media (max-width: 720px) {
  .shell { padding-inline: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; gap: 32px; }
  .ftr__legal { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__shot .frame { transform: none; }
  .frame__url { display: none; }
  .modal__box { padding: 26px 22px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

/* ---------- Mobile nav sheet ---------- */
.msheet { position: fixed; inset: 0; z-index: 80; display: none; }
.msheet[data-open] { display: block; }
.msheet__scrim { position: absolute; inset: 0; background: rgba(2,8,23,.6); backdrop-filter: blur(4px); }
.msheet__box { position: absolute; inset: 0 0 auto 0; background: #fff; padding: 22px 20px 26px; border-radius: 0 0 22px 22px; box-shadow: var(--shadow-lg); animation: slideDown .3s cubic-bezier(.16,1,.3,1); }
@keyframes slideDown { from { transform: translateY(-14px); opacity: 0 } to { transform: none; opacity: 1 } }
.msheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.msheet__head img { height: 28px; }
.msheet__head button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
.msheet__head svg { width: 20px; height: 20px; }
.msheet nav { display: grid; gap: 2px; }
.msheet nav a { padding: 13px 10px; border-radius: 10px; font-weight: 500; color: var(--ink-2); font-size: 1rem; }
.msheet nav a:hover { background: var(--bg-soft); }
.msheet .btn { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
