/* ==========================================================================
   SAMA website — design system
   Corporate SaaS: dark navy hero bands over clean white sections, one blue
   action colour, framed product screenshots, generous whitespace.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #050d1f;
  --navy-900: #0a1734;
  --navy-800: #102349;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff5ff;
  --sky-400: #38bdf8;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --amber-500: #f59e0b;

  /* Neutrals */
  --ink: #0b1324;
  --body: #3d4a5f;
  --muted: #64748b;
  --line: #e4e9f1;
  --line-strong: #cfd8e5;
  --soft: #f5f8fc;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, 0.06), 0 1px 1px rgba(11, 19, 36, 0.04);
  --shadow-md: 0 8px 24px -6px rgba(11, 19, 36, 0.12), 0 2px 6px rgba(11, 19, 36, 0.05);
  --shadow-xl: 0 40px 80px -24px rgba(2, 8, 23, 0.55);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
}

*, *::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: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p { margin: 0; }
ul { margin: 0; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 200; box-shadow: var(--shadow-md); }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography ------------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.3; }
h4 { font-size: 1rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--body); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }

/* Dark band text */
.dark { background: var(--navy-900); color: #b8c4d9; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead { color: #b8c4d9; }
.dark .eyebrow { color: var(--sky-400); }
.dark .muted { color: #8a98b3; }

/* Buttons --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.6); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #9fb0c7; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--blue-50); }
.btn-text { height: auto; padding: 0; color: var(--blue-600); font-weight: 600; align-self: flex-start; }
.btn-text:hover { color: var(--blue-700); }
.btn-text svg { width: 16px; height: 16px; transition: transform 0.15s; }
.btn-text:hover svg { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 0.9rem; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

/* Header ---------------------------------------------------------------------- */
.utility { background: var(--navy-950); color: #9fb0cc; font-size: 0.82rem; }
.utility .container { display: flex; align-items: center; justify-content: flex-end; gap: 22px; height: 36px; }
.utility a:hover { color: #fff; }
.utility .note { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; }
.utility .note b { color: #fff; font-weight: 600; }
.utility .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
@media (max-width: 700px) { .utility .note { display: none; } }

.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; height: 70px; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo small { font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; border-left: 1px solid var(--line-strong); padding-left: 10px; line-height: 1.25; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; font-weight: 500; color: var(--body); transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current='page'] { color: var(--blue-600); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1000px) {
  .logo small { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) { .header-cta .btn-secondary { display: none; } }

/* Sections --------------------------------------------------------------------- */
section { padding: clamp(72px, 9vw, 120px) 0; }
.soft { background: var(--soft); }
.section-head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }

/* Hero (dark navy) ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 520px at 85% -10%, rgba(59, 130, 246, 0.35), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(56, 189, 248, 0.14), transparent 60%), var(--navy-900); padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 112px); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--sky-400); }
.hero .lead { color: #c3cee0; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; color: #9fb0cc; list-style: none; padding: 0; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--green-500); }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #dbe5f5; font-size: 0.86rem; transition: background 0.15s; }
.announce:hover { background: rgba(255, 255, 255, 0.12); }
.announce b { background: var(--blue-600); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.03em; }
.announce svg { width: 14px; height: 14px; }

/* Product frame */
.frame { position: relative; border-radius: 14px; background: #0e1a33; border: 1px solid rgba(255, 255, 255, 0.12); padding: 0; box-shadow: var(--shadow-xl); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #0b1530; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.frame img { width: 100%; height: auto; }
.frame.light { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md), 0 30px 60px -30px rgba(11, 19, 36, 0.35); }
.frame.light .frame-bar { background: var(--soft); border-bottom-color: var(--line); }
.frame.light .frame-bar i { background: var(--line-strong); }
.visual { position: relative; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 0.84rem; font-weight: 600; box-shadow: 0 18px 40px -12px rgba(2, 8, 23, 0.55); white-space: nowrap; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.76rem; }
.chip .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.chip .ic svg { width: 17px; height: 17px; }
.chip-a { left: -26px; bottom: 16%; }
.chip-b { right: -18px; top: 14%; }
@media (max-width: 1100px) { .chip-a { left: 8px; } .chip-b { right: 8px; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .visual { max-width: 760px; } }
@media (max-width: 560px) { .chip { display: none; } }

/* Page hero (inner pages) */
.page-hero { background: radial-gradient(900px 400px at 80% -20%, rgba(59, 130, 246, 0.3), transparent 60%), var(--navy-900); padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 90%); }
.page-hero .container { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 860px; align-items: center; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
.page-hero .lead { color: #c3cee0; max-width: 40em; }
.page-hero .eyebrow { color: var(--sky-400); }

/* Trust strip ---------------------------------------------------------------- */
.trust { border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.trust li span { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.trust svg { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* Cards ------------------------------------------------------------------------ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
a.card:hover, .card.hover:hover { border-color: #b9c8de; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card p { font-size: 0.95rem; }
.card .btn-text { margin-top: auto; padding-top: 6px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); flex-shrink: 0; }
.icon svg { width: 23px; height: 23px; }
.icon.green { background: #ecfdf3; color: var(--green-600); }
.icon.amber { background: #fff7e6; color: #d97706; }
.icon.violet { background: #f3efff; color: #7c3aed; }
.icon.sky { background: #e8f7fd; color: #0284c7; }
.icon.rose { background: #fff0f3; color: #e11d48; }

/* Feature rows (alternating) -------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature.reverse .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; }
.bullets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { display: flex; gap: 12px; font-size: 0.97rem; }
.bullets svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--blue-600); }
.bullets b { color: var(--ink); font-weight: 600; }
.feature-visual { position: relative; }
.feature-visual::before { content: ''; position: absolute; inset: 8% -4% -6% 8%; border-radius: 28px; background: linear-gradient(135deg, var(--blue-100), #eef2ff); z-index: -1; }
.feature.reverse .feature-visual::before { inset: 8% 8% -6% -4%; }
.feature-visual .frame { position: relative; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
}
/* Crop helper: shows the centre of an image at a chosen zoom (for the Curtain screen). */
.zoomed { aspect-ratio: 16 / 9; overflow: hidden; }
.zoomed img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.1); transform-origin: 50% 45%; }

/* Dark split band (on-prem) ---------------------------------------------------- */
.band { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 100% 0%, rgba(59, 130, 246, 0.28), transparent 60%), var(--navy-900); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--navy-900); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.stat strong { color: #fff; font-size: 1.05rem; }
.stat span { font-size: 0.9rem; color: #9fb0cc; }
.stat svg { width: 22px; height: 22px; color: var(--sky-400); margin-bottom: 6px; }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Diagram (security) ------------------------------------------------------------ */
.diagram { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 32px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line); }
.node { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; }
.node h4 { display: flex; align-items: center; gap: 10px; }
.node h4 svg { width: 20px; height: 20px; color: var(--blue-600); }
.node ul { list-style: none; padding: 0; font-size: 0.86rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.link-line { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 600; color: var(--blue-600); text-align: center; min-width: 140px; }
.link-line .wire { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-500) 0 8px, transparent 8px 14px); }
.nocloud { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 6px; font-size: 0.88rem; color: var(--muted); }
.nocloud svg { width: 18px; height: 18px; color: #e11d48; }
@media (max-width: 760px) { .diagram { grid-template-columns: 1fr; } .link-line { min-width: 0; } .link-line .wire { width: 2px; height: 36px; background: repeating-linear-gradient(180deg, var(--blue-500) 0 8px, transparent 8px 14px); } }

/* Pricing ------------------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan.popular { border: 2px solid var(--blue-600); box-shadow: var(--shadow-md), 0 24px 48px -24px rgba(37, 99, 235, 0.35); }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--blue-600); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; }
.plan-head { display: flex; flex-direction: column; gap: 8px; }
.plan-head p { font-size: 0.93rem; color: var(--muted); min-height: 3em; }
.plan-size { display: flex; align-items: baseline; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-size strong { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan-size span { color: var(--muted); font-size: 0.92rem; }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 0.93rem; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green-600); }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan-head p { min-height: 0; } }

.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.94rem; }
.compare tbody th[scope='row'] { min-width: 210px; }
.compare caption { text-align: left; padding-bottom: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 0.86rem; color: var(--ink); font-weight: 700; background: var(--soft); position: sticky; top: 70px; }
.compare tbody th { font-weight: 500; color: var(--body); }
.compare .group th { background: transparent; color: var(--ink); font-weight: 700; padding-top: 26px; font-size: 0.9rem; position: static; }
.compare svg { width: 18px; height: 18px; color: var(--green-600); display: inline-block; vertical-align: middle; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* FAQ ------------------------------------------------------------------------------ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.15s, box-shadow 0.15s; }
.faq details[open] { border-color: #b9c8de; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 22px 20px; font-size: 0.96rem; }

/* CTA band ----------------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 50%, #4f46e5); color: #dbe7ff; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; max-width: 18em; }
.cta-inner p { margin-top: 10px; }
.cta-band section, .cta-band { padding: clamp(56px, 7vw, 80px) 0; }

/* Forms --------------------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font: inherit; font-size: 0.95rem; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
.field input[aria-invalid='true'], .field select[aria-invalid='true'] { border-color: #dc2626; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); }
.form-note a { color: var(--blue-600); text-decoration: underline; }
.form-status { grid-column: 1 / -1; display: none; padding: 12px 14px; border-radius: 10px; font-size: 0.92rem; }
.form-status.ok { display: block; background: #ecfdf3; border: 1px solid #b7ebc9; color: #166534; }
.form-status.err { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.steps-list { list-style: none; padding: 0; counter-reset: st; display: flex; flex-direction: column; gap: 22px; }
.steps-list li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps-list li::before { content: counter(st); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.steps-list b { display: block; color: var(--ink); }

/* Steps row (how it works) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.step p { font-size: 0.94rem; }
@media (max-width: 1000px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .steps, .steps.four { grid-template-columns: 1fr; } }

/* Requirements */
.req { list-style: none; padding: 0; display: flex; flex-direction: column; }
.req li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.req li:last-child { border-bottom: 0; }
.req li span:first-child { color: var(--muted); }
.req li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

/* Download page */
.release { display: flex; flex-direction: column; gap: 20px; }
.release-head { display: flex; align-items: center; gap: 14px; }
.release-head img { width: 52px; height: 52px; border-radius: 12px; }
.release-head strong { display: block; color: var(--ink); font-size: 1.15rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: 0.93rem; padding-top: 18px; border-top: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.hash { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-family: var(--mono); font-size: 0.74rem; line-height: 1.6; color: var(--ink); word-break: break-all; }
.hash span { flex: 1; min-width: 0; }
.copy-btn { flex-shrink: 0; padding: 3px 10px; border-radius: 7px; border: 1px solid var(--line-strong); background: var(--white); font-size: 0.74rem; font-weight: 600; color: var(--ink); cursor: pointer; font-family: var(--font); }
.copy-btn:hover { border-color: #9fb0c7; }
.code { font-family: var(--mono); font-size: 0.84rem; padding: 14px 16px; border-radius: 10px; background: var(--navy-900); color: #cfe0ff; overflow-x: auto; white-space: pre; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: #fff8eb; border: 1px solid #fde3b0; color: #7a4a05; font-size: 0.93rem; }
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: #d97706; }

/* Legal / prose */
.prose { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.4rem; margin-top: 18px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Footer ---------------------------------------------------------------------------- */
.footer { background: var(--navy-950); color: #8a98b3; font-size: 0.92rem; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer .logo { color: #fff; }
.footer .logo small { color: #8a98b3; border-color: rgba(255, 255, 255, 0.15); }
.footer-about p { margin-top: 16px; max-width: 26em; }
.footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 0.84rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Reveal ------------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
