/* Falcon Mail — site stylesheet */

:root {
  --ink-950: #060b16;
  --ink-900: #0a1224;
  --ink-800: #0f1a33;
  --ink-700: #17264b;
  --ink-600: #22356a;
  --amber: #f4b23e;
  --amber-600: #e39a1b;
  --amber-100: #fdf0d3;
  --steel-300: #b6c2da;
  --steel-400: #93a0bc;
  --steel-500: #6b7898;
  --paper: #f5f6fa;
  --paper-2: #eceef5;
  --white: #ffffff;
  --danger: #e5484d;
  --ok: #3ccf8e;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 80px -20px rgba(4, 8, 20, .55);
  --shadow-md: 0 12px 32px -12px rgba(8, 16, 40, .25);
  --container: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: #0e1730;
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- section theming ---------- */
.on-dark  { --fg: #e8edf7; --fg-muted: var(--steel-400); --card: rgba(255,255,255,.04); --card-line: rgba(255,255,255,.09); --heading: #fff; background: var(--ink-950); color: var(--fg); }
.on-dark-2 { --fg: #e8edf7; --fg-muted: var(--steel-400); --card: rgba(255,255,255,.05); --card-line: rgba(255,255,255,.1); --heading: #fff; background: var(--ink-900); color: var(--fg); }
.on-light { --fg: #1a2441; --fg-muted: #5a6685; --card: #fff; --card-line: #e2e6ef; --heading: #0a1224; background: var(--paper); color: var(--fg); }
.on-white { --fg: #1a2441; --fg-muted: #5a6685; --card: var(--paper); --card-line: #e2e6ef; --heading: #0a1224; background: #fff; color: var(--fg); }
h1, h2, h3, h4 { color: var(--heading, inherit); }

.section { padding: 112px 0; position: relative; }
.section--tight { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--amber-600);
}
.on-dark .eyebrow, .on-dark-2 .eyebrow { color: var(--amber); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--fg-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(180deg, #f8c158, var(--amber)); color: #1a1204; box-shadow: 0 8px 24px -8px rgba(244,178,62,.6), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--primary:hover { box-shadow: 0 12px 32px -8px rgba(244,178,62,.75), inset 0 1px 0 rgba(255,255,255,.5); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.09); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--outline { border-color: #cfd5e3; color: #0a1224; background: #fff; }
.btn--outline:hover { border-color: #0a1224; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- announcement + nav ---------- */
.announce { background: linear-gradient(90deg, #14203f, #1b2c57 50%, #14203f); color: #d5def0; font-size: 13.5px; text-align: center; padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.announce a { color: var(--amber); font-weight: 600; margin-left: 6px; }
.announce a:hover { text-decoration: underline; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(6,11,22,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav__inner { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 700; font-size: 21px; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; }
.brand span b { color: var(--amber); font-weight: 700; }
.nav__links { display: flex; gap: 6px; margin-right: auto; }
.nav__links a { color: var(--steel-300); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #fff; align-items: center; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 0; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 78% 30%, rgba(94,110,214,.28), transparent 60%),
  radial-gradient(700px 400px at 10% 90%, rgba(244,178,62,.12), transparent 60%),
  linear-gradient(180deg, #060b16, #0a1224); }
.hero__photo { position: absolute; right: 0; top: 0; bottom: 0; width: 58%; object-fit: cover; object-position: 50% 28%; opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 100%); }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 240px; background: linear-gradient(180deg, transparent, var(--ink-950)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 40px; align-items: center; min-height: 600px; padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #d5def0; }
.pill b { background: var(--amber); color: #1a1204; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); letter-spacing: -.04em; margin: 26px 0 22px; color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffd88a, var(--amber) 45%, #ee8f1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 19px; color: #b8c4dc; max-width: 540px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--steel-400); display: flex; gap: 18px; flex-wrap: wrap; }
.hero__note span { display: inline-flex; gap: 7px; align-items: center; }
.hero__note .icon { width: 16px; height: 16px; color: var(--ok); }

.float-card { position: absolute; background: rgba(12,20,40,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); color: #e8edf7; font-size: 13.5px; }
.float-card strong { display: block; font-size: 14px; color: #fff; }
.float-card small { color: var(--steel-400); font-size: 12.5px; }
.float-card .dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(60,207,142,.15); color: var(--ok); }
.float-card .dot.amber { background: rgba(244,178,62,.16); color: var(--amber); }
.hero__cards { position: relative; height: 100%; min-height: 460px; }
.hero__cards .c1 { right: 6%; top: 18%; animation: bob 7s ease-in-out infinite; }
.hero__cards .c2 { left: -6%; bottom: 18%; animation: bob 8s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg); background: rgba(10,18,36,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; position: relative; z-index: 3; }
.stats div { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.08); }
.stats div:last-child { border: 0; }
.stats b { display: block; font-size: 34px; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--steel-400); }
.hero-wrap { padding-bottom: 64px; background: var(--ink-950); }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: 104px 0 96px; isolation: isolate; text-align: left; }
.page-hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,11,22,.96) 0, rgba(6,11,22,.82) 45%, rgba(6,11,22,.35) 100%), linear-gradient(180deg, transparent 60%, var(--ink-950)); }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 64px); color: #fff; margin: 18px 0 20px; max-width: 760px; letter-spacing: -.035em; }
.page-hero p { font-size: 19px; color: #c0cbe1; max-width: 600px; }
.page-hero .hero__actions { margin-top: 30px; }
.page-hero--plain { background: radial-gradient(900px 400px at 80% 0, rgba(94,110,214,.22), transparent 60%), var(--ink-950); }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center p { margin-left: auto; margin-right: auto; }

/* ---------- logos ---------- */
.logos { padding: 96px 0 40px; background: var(--ink-950); text-align: center; }
.logos p { color: var(--steel-400); font-size: 14px; letter-spacing: .02em; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 52px; margin-top: 30px; color: #6f7ea3; }
.logos__row span { font-weight: 700; font-size: 21px; letter-spacing: -.02em; opacity: .85; display: inline-flex; align-items: center; gap: 8px; }
.logos__row span:nth-child(2n) { font-weight: 500; letter-spacing: .04em; font-size: 19px; }
.logos__row span:nth-child(3n) { font-style: italic; }

/* ---------- cards + grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius-lg); padding: 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.on-light .card:hover, .on-white .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.on-dark .card:hover, .on-dark-2 .card:hover { border-color: rgba(244,178,62,.35); transform: translateY(-3px); }
.card h3 { font-size: 20px; margin: 22px 0 10px; letter-spacing: -.02em; }
.card p { color: var(--fg-muted); font-size: 15.5px; }
.card .more { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; font-weight: 600; font-size: 14.5px; color: var(--amber-600); }
.card .more:hover { gap: 10px; }
.icon-chip { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(244,178,62,.2), rgba(244,178,62,.06)); color: var(--amber-600); border: 1px solid rgba(244,178,62,.3); }
.on-dark .icon-chip, .on-dark-2 .icon-chip { color: var(--amber); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--rev .split__media { order: -1; }
.split h2 { font-size: clamp(32px, 4vw, 44px); margin: 14px 0 18px; }
.split__lead { font-size: 18px; color: var(--fg-muted); }
.checks { margin-top: 28px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--fg); }
.checks li .tick { width: 24px; height: 24px; border-radius: 50%; background: rgba(60,207,142,.16); color: var(--ok); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks li .tick svg { width: 14px; height: 14px; stroke-width: 2.4; }
.checks li b { display: block; color: var(--heading); font-weight: 600; }
.checks li span { color: var(--fg-muted); font-size: 15.5px; }
.split__media { position: relative; }
.photo { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 4.6; }
.photo--wide { aspect-ratio: 16 / 11; }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.photo__tag { position: absolute; left: 18px; bottom: 18px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(8,14,30,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 500; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(60,207,142,.25); }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.mini-stats div { padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.mini-stats b { display: block; font-size: 28px; color: var(--heading); letter-spacing: -.03em; }
.mini-stats span { font-size: 13.5px; color: var(--fg-muted); line-height: 1.4; display: block; }

/* ---------- webmail mock ---------- */
.mailui { border-radius: 20px; overflow: hidden; background: #0f1830; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 50px 120px -30px rgba(0,0,0,.7), 0 0 0 8px rgba(255,255,255,.03); color: #dfe6f5; font-size: 13.5px; text-align: left; }
.mailui__bar { height: 42px; background: #0a1226; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mailui__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3556; }
.mailui__bar i:nth-child(1) { background: #ff5f57; } .mailui__bar i:nth-child(2) { background: #febc2e; } .mailui__bar i:nth-child(3) { background: #28c840; }
.mailui__url { margin: 0 auto; background: #141f3d; padding: 4px 70px; border-radius: 8px; font-size: 12px; color: #8b99ba; display: flex; gap: 6px; align-items: center; }
.mailui__url svg { width: 12px; height: 12px; }
.mailui__body { display: grid; grid-template-columns: 210px 330px 1fr; min-height: 470px; }
.mail-side { background: #0b1329; padding: 18px 14px; border-right: 1px solid rgba(255,255,255,.06); }
.mail-side .compose { display: flex; align-items: center; gap: 8px; justify-content: center; background: var(--amber); color: #1a1204; border-radius: 12px; height: 40px; font-weight: 700; margin-bottom: 18px; }
.mail-side li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: #9aa8c6; font-weight: 500; }
.mail-side li svg { width: 17px; height: 17px; }
.mail-side li em { margin-left: auto; font-style: normal; font-size: 11.5px; background: rgba(244,178,62,.18); color: var(--amber); padding: 1px 8px; border-radius: 99px; font-weight: 700; }
.mail-side li.active { background: rgba(255,255,255,.07); color: #fff; }
.mail-side h6 { margin: 20px 10px 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #5f6e92; font-weight: 600; }
.mail-side .lbl i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.mail-list { background: #0e172e; border-right: 1px solid rgba(255,255,255,.06); }
.mail-list__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.06); font-weight: 700; font-size: 15px; color: #fff; }
.mail-list__head small { font-weight: 500; color: #6f7ea3; font-size: 12px; }
.mrow { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.045); }
.mrow.sel { background: rgba(244,178,62,.09); box-shadow: inset 3px 0 0 var(--amber); }
.mrow.unread b { color: #fff; }
.mrow .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; }
.mrow b { display: block; font-weight: 600; color: #b7c3de; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow p { font-size: 12.5px; color: #7d8bad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.mrow time { font-size: 11.5px; color: #6f7ea3; }
.mrow .sub { color: #dfe6f5; font-weight: 500; font-size: 12.8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.mail-read { padding: 24px 28px; background: #101a35; }
.mail-read h4 { font-size: 20px; color: #fff; letter-spacing: -.02em; margin-bottom: 18px; }
.mail-read .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.mail-read .meta .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5b6fe0, #8a5be0); display: grid; place-items: center; font-weight: 700; color: #fff; }
.mail-read .meta b { color: #fff; display: block; font-size: 14px; }
.mail-read .meta small { color: #7d8bad; }
.mail-read p { color: #aab6d3; line-height: 1.7; margin-bottom: 14px; font-size: 13.5px; }
.mail-read .tagrow { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tag { font-size: 11.5px; padding: 3px 10px; border-radius: 99px; font-weight: 600; background: rgba(60,207,142,.14); color: var(--ok); display: inline-flex; gap: 5px; align-items: center; }
.tag svg { width: 12px; height: 12px; }
.tag--amber { background: rgba(244,178,62,.15); color: var(--amber); }
.attach { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #dfe6f5; font-size: 12.5px; }
.attach svg { width: 18px; height: 18px; color: var(--amber); }

/* ---------- testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.quote p { font-size: 17px; color: var(--fg); line-height: 1.6; }
.quote .stars { color: var(--amber-600); letter-spacing: 3px; font-size: 15px; }
.person { display: flex; gap: 14px; align-items: center; margin-top: auto; }
.person .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px; }
.person b { display: block; color: var(--heading); font-size: 15px; }
.person small { color: var(--fg-muted); font-size: 13.5px; }

/* ---------- pricing ---------- */
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); margin-top: 28px; }
.toggle button { border: 0; background: transparent; color: var(--steel-300); padding: 9px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.toggle button.on { background: #fff; color: #0a1224; }
.toggle small { color: var(--ok); font-weight: 700; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; position: relative; }
.plan--pop { background: linear-gradient(180deg, #14224a, #0c1631); border-color: rgba(244,178,62,.5); color: #e8edf7; box-shadow: 0 30px 80px -30px rgba(244,178,62,.35); --heading: #fff; --fg: #e8edf7; --fg-muted: #9fadcb; }
.plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #1a1204; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .desc { color: var(--fg-muted); margin: 8px 0 24px; font-size: 15px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; color: var(--heading); }
.price b { font-size: 54px; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--fg-muted); font-size: 15px; }
.plan .billed { font-size: 13.5px; color: var(--fg-muted); margin: 6px 0 26px; min-height: 20px; }
.plan ul { margin: 28px 0 0; display: grid; gap: 13px; font-size: 15px; }
.plan li { display: flex; gap: 12px; color: var(--fg); }
.plan li svg { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; margin-top: 3px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--card-line); border-radius: var(--radius-lg); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--card-line); }
.compare thead th { font-size: 14px; color: var(--heading); background: rgba(10,18,36,.04); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare .grp td { background: rgba(10,18,36,.04); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); padding: 12px 24px; }
.compare .y { color: var(--ok); } .compare .n { color: #b7bfd2; }
.compare svg { width: 18px; height: 18px; display: inline-block; stroke-width: 2.4; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 4px 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--heading); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--amber-600); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--fg-muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 24px 0 0; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--amber); display: block; margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: 9px; left: 36px; right: 14px; height: 1px; background: linear-gradient(90deg, rgba(244,178,62,.5), transparent); }
.step:last-child::after { display: none; }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--fg-muted); font-size: 15px; }

.cert-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cert { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px; border: 1px solid var(--card-line); background: var(--card); font-weight: 600; color: var(--heading); font-size: 15px; }
.cert svg { color: var(--amber); width: 26px; height: 26px; }
.cert small { display: block; font-weight: 400; color: var(--fg-muted); font-size: 12.5px; }

/* ---------- team / timeline ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team .card { text-align: center; padding: 30px 22px; }
.team .av { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 26px; }
.team b { display: block; color: var(--heading); font-size: 17px; }
.team small { color: var(--fg-muted); }
.timeline { display: grid; gap: 0; max-width: 760px; margin: 0 auto; border-left: 1px solid rgba(244,178,62,.4); padding-left: 34px; }
.timeline > div { position: relative; padding-bottom: 36px; }
.timeline > div::before { content: ""; position: absolute; left: -41px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(244,178,62,.2); }
.timeline b { color: var(--amber); font-size: 14px; letter-spacing: .08em; }
.timeline h4 { font-size: 21px; margin: 6px 0; }
.timeline p { color: var(--fg-muted); }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--heading); }
.input { width: 100%; height: 50px; border-radius: 12px; border: 1px solid #cdd4e4; background: #fff; padding: 0 16px; font: inherit; font-size: 16px; color: #0a1224; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: 140px; padding: 14px 16px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235a6685' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input:focus { outline: 0; border-color: var(--amber-600); box-shadow: 0 0 0 4px rgba(244,178,62,.25); }
.input::placeholder { color: #98a2bb; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-card { background: #fff; border: 1px solid #e2e6ef; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 22px; margin-top: 36px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list b { color: var(--heading); display: block; }
.contact-list span { color: var(--fg-muted); font-size: 15px; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok .big { width: 64px; height: 64px; border-radius: 50%; background: rgba(60,207,142,.15); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-ok .big svg { width: 30px; height: 30px; stroke-width: 2.4; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 130px 0; }
.cta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,11,22,.9), rgba(10,18,36,.55) 50%, rgba(6,11,22,.92)); }
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 58px); max-width: 760px; margin: 0 auto 18px; letter-spacing: -.035em; }
.cta p { color: #c8d2e8; font-size: 19px; max-width: 560px; margin: 0 auto 34px; }
.cta .hero__actions { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: var(--ink-950); color: var(--steel-400); padding: 80px 0 36px; border-top: 1px solid rgba(255,255,255,.07); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer__about { max-width: 300px; }
.footer h5 { color: #fff; font-size: 14px; margin: 0 0 18px; letter-spacing: .02em; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 9px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(60,207,142,.22); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 540px) 1fr; background: var(--ink-950); }
.login__panel { background: #fff; display: flex; flex-direction: column; padding: 36px 56px; color: #1a2441; }
.login__panel .brand { color: #0a1224; font-size: 22px; }
.login__main { margin: auto 0; padding: 40px 0; width: 100%; max-width: 400px; align-self: flex-start; }
.login__main h1 { font-size: 32px; color: #0a1224; letter-spacing: -.03em; }
.login__main > p { color: #5a6685; margin: 10px 0 30px; }
.login .field { margin-bottom: 16px; }
.pw { position: relative; }
.pw .input { padding-right: 76px; }
.pw button { position: absolute; right: 8px; top: 8px; height: 34px; border: 0; background: transparent; color: #5a6685; font-weight: 600; font-size: 13.5px; padding: 0 10px; border-radius: 8px; }
.pw button:hover { background: #eef0f6; color: #0a1224; }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.field-err { color: var(--danger); font-size: 13.5px; display: none; }
.field-err.show { display: block; }
.alert { display: none; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fdecec; border: 1px solid #f6c5c7; color: #8e1d22; font-size: 14.5px; margin-bottom: 22px; line-height: 1.5; }
.alert.show { display: flex; }
.alert svg { width: 20px; height: 20px; color: var(--danger); margin-top: 1px; }
.alert b { display: block; color: #6f1418; }
.alert.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.login__row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 22px; font-size: 14.5px; }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: #3a4565; }
.check input { width: 18px; height: 18px; accent-color: #0a1224; margin: 0; }
.login a.link { color: #b16d00; font-weight: 600; }
.login a.link:hover { text-decoration: underline; }
.login .btn--submit { height: 52px; background: #0a1224; color: #fff; border-radius: 12px; font-size: 16px; }
.login .btn--submit:hover { background: #17264b; }
.login .btn--submit[disabled] { opacity: .75; cursor: progress; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; display: none; }
.loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.divider { display: flex; align-items: center; gap: 14px; color: #8a94ae; font-size: 13px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #e2e6ef; }
.btn--sso { height: 50px; width: 100%; border-radius: 12px; border: 1px solid #cdd4e4; background: #fff; color: #0a1224; }
.btn--sso:hover { border-color: #0a1224; }
.login__alt { margin-top: 28px; text-align: center; font-size: 14.5px; color: #5a6685; }
.login__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7b86a3; }
.login__foot a:hover { color: #0a1224; }
.login__art { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 64px; }
.login__art > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.login__art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,11,22,.1) 20%, rgba(6,11,22,.88)); }
.login__art blockquote { margin: 0; max-width: 520px; color: #fff; }
.login__art blockquote p { font-size: 26px; line-height: 1.35; letter-spacing: -.02em; font-weight: 600; }
.login__art cite { display: block; margin-top: 22px; font-style: normal; color: #c3cde3; font-size: 15px; }
.login__art cite b { color: #fff; }
.login__art .badge { position: absolute; top: 40px; right: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: rgba(6,11,22,.97); padding: 14px 20px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 12px; font-size: 17px; }
  .nav__toggle { display: inline-flex; }
  .nav__inner { gap: 14px; }
  .nav__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { width: 100%; opacity: .45; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 85%); mask-image: linear-gradient(180deg, #000 0, transparent 85%); }
  .hero__cards { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--rev .split__media { order: 0; }
  .grid--3, .plans { grid-template-columns: 1fr 1fr; }
  .grid--4, .team { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step::after { display: none; }
  .mailui__body { grid-template-columns: 190px 1fr; }
  .mail-read { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; max-width: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .login { grid-template-columns: 1fr; }
  .login__art { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 76px 0; }
  .nav__cta .btn--ghost { display: none; }
  .hero { padding-top: 56px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .stats b { font-size: 26px; } .stats div { padding: 20px; }
  .grid--3, .grid--2, .grid--4, .plans, .team, .steps, .form-grid, .mini-stats { grid-template-columns: 1fr; }
  .mailui__body { grid-template-columns: 1fr; }
  .mail-side { display: none; }
  .mrow p, .mrow .sub { max-width: 52vw; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 72px 0 64px; }
  .cta { padding: 90px 0; }
  .login__panel { padding: 28px 22px; }
  .form-card { padding: 26px 20px; }
  .toggle button { padding: 9px 14px; }
}

/* ---------- sign-up closed notice ---------- */
.notice-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--amber-100); color: var(--amber-600); margin-bottom: 22px; }
.notice-icon .icon { width: 28px; height: 28px; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff6e3; border: 1px solid #f3d9a0; color: #6b4a07; font-size: 14.5px; line-height: 1.5; margin: 0 0 24px; }
.notice svg { width: 20px; height: 20px; color: var(--amber-600); margin-top: 1px; }
.notice b { display: block; color: #4d3304; }
