/* ============================================================
   AgentCap — agentcap.oneclickera.com
   Standalone static landing page. No build step, no framework.
   Design tokens are the One Click Era system, trimmed to what
   this page actually uses.
   ============================================================ */

:root {
  /* Ink — dark spine */
  --ink-1000: #050609;
  --ink-950:  #0A0B10;
  --ink-900:  #0F1117;
  --ink-800:  #161924;
  --ink-700:  #1F2330;
  --ink-600:  #2A2F3E;
  --ink-500:  #3B4150;
  --ink-400:  #5A6275;
  --ink-300:  #8089A0;
  --ink-200:  #B5BCCC;
  --ink-100:  #E2E5ED;
  --ink-50:   #F4F5F8;

  /* Accent + status */
  --lime-300: #DAFF6E;
  --lime-500: #C9FF3A;
  --amber:    #F2C14E;
  --coral-500:#FF6E5C;
  --success:  #6FDD8B;

  /* Semantic */
  --bg:           var(--ink-950);
  --surface:      var(--ink-900);
  --surface-2:    var(--ink-800);
  --border:       var(--ink-600);
  --hairline:     rgba(255, 255, 255, 0.06);
  --fg-strong:    var(--ink-50);
  --fg:           var(--ink-100);
  --fg-muted:     var(--ink-300);
  --fg-subtle:    var(--ink-400);
  --accent:       var(--lime-500);
  --accent-hover: var(--lime-300);
  --fg-on-accent: #0B0E04;
  --shadow-glow:  0 0 0 1px rgba(201, 255, 58, 0.35), 0 8px 32px rgba(201, 255, 58, 0.18);
  --shadow-card:  0 24px 48px rgba(0, 0, 0, 0.5);

  /* Lime glow top-right, coral glow bottom-left. Used by the hero and the
     licence section — the only two sections that are not flat. */
  --gradient-hero:
    radial-gradient(120% 80% at 80% 0%, rgba(201, 255, 58, 0.18) 0%, transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(255, 110, 92, 0.12) 0%, transparent 55%),
    var(--ink-950);

  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;

  --wrap: 1280px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Author `display` rules outrank the UA stylesheet's [hidden] { display: none },
   so state toggled with the hidden attribute needs this to actually hide. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--fg); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--accent); }
::selection { background: rgba(201, 255, 58, 0.28); color: var(--fg-strong); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--fg-on-accent);
  padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(20px, 4vw, 40px); }
/* Sections are flat on the page background and separated by a hairline —
   the design has no alternating bands. Only the hero and licence glow. */
.sec { padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--hairline); scroll-margin-top: 60px; }
.sec-glow { background: var(--gradient-hero); }
.sec-glow:last-of-type { border-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 48px); align-items: flex-start; }
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  /* .stack-lg is a flex column with align-items:flex-start, so without this
     the grid shrink-wraps to its content and collapses to a single column. */
  width: 100%;
}
.two-col-tight { gap: clamp(24px, 5vw, 64px); }

/* Grid and flex children default to min-width:auto, so a wide <pre> or a long
   command refuses to shrink and pushes the whole page sideways on phones.
   These let the columns actually narrow; the code blocks scroll internally. */
.two-col > *, .hero-grid > *, .cards-2 > *, .cards-3 > *, .exits > * { min-width: 0; }
.stack, .stack-sm, .stack-lg { min-width: 0; }
/* Stacks must not exceed their container — inside a flex column with
   align-items:flex-start they otherwise shrink-wrap to their widest child
   (a nowrap command line) and spill. Excluded on .wrap, where an unqualified
   max-width:100% would beat .wrap's own 1280px and blow the page measure
   out to full bleed. */
.stack:not(.wrap), .stack-sm:not(.wrap), .stack-lg:not(.wrap) { max-width: 100%; }
.pre, .panel, .disclosure, .table { max-width: 100%; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted);
}
.h1 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 6.2vw, 88px); line-height: 0.95;
  letter-spacing: -0.04em; color: var(--fg-strong);
}
.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.06;
  letter-spacing: -0.035em; color: var(--fg-strong);
}
.h3 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2;
  letter-spacing: -0.025em; color: var(--fg-strong);
}
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--fg-muted); max-width: 34ch; }
.body { margin: 0; font-size: 16px; line-height: 1.7; color: var(--fg-muted); }
.body-sm { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--fg-muted); }
.note { margin: 0; font-size: 14px; color: var(--fg-subtle); max-width: 62ch; }
.hint { font-size: 12.5px; color: var(--fg-subtle); line-height: 1.5; }
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.muted { color: var(--fg-subtle); }
.measure { max-width: 52ch; }
.measure-sm { max-width: 42ch; }
.measure-wide { max-width: 80ch; }
.measure-head { max-width: 760px; }
.kbd {
  font-family: var(--font-mono); font-size: 0.88em;
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 5px; color: var(--fg);
  /* Long tokens must be able to break, or they force a narrow column
     inside flex/grid parents on small screens. */
  overflow-wrap: anywhere;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: -0.02em; color: var(--fg-strong);
}
.brand:hover { color: var(--fg-strong); }
.brand-mark {
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 6px; background: var(--accent);
}
.brand-mark span { width: 8px; height: 8px; border-radius: 2px; background: var(--ink-950); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 14px; }
.nav-links > a:not(.btn) { color: var(--fg-muted); }
.nav-links > a:not(.btn):hover { color: var(--fg-strong); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn-accent { background: var(--accent); color: var(--fg-on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--fg-on-accent); box-shadow: var(--shadow-glow); }
.btn-accent:active { transform: scale(0.98); }
.btn-accent:disabled { opacity: 0.6; cursor: default; box-shadow: none; transform: none; }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink-500); background: var(--surface-2); color: var(--fg-strong); }
.btn-sm { font-size: 14px; padding: 9px 16px; }

.btn-copy {
  font-family: var(--font-mono); font-size: 12px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--fg); border-radius: 8px; padding: 8px 12px;
  cursor: pointer; min-width: 72px; flex: none;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn-copy:hover { border-color: var(--ink-500); color: var(--fg-strong); }
.btn-copy.is-done { color: var(--accent); border-color: rgba(201, 255, 58, 0.4); }

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--hairline);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--fg-muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}
.pill-accent { color: var(--accent); border-color: rgba(201, 255, 58, 0.32); }
.meta-row { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--fg-subtle); }

.cmd {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 12px 12px 16px;
}
.cmd-text {
  flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 14.5px;
  color: var(--fg-strong); white-space: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
.cmd-text::-webkit-scrollbar { display: none; }
.cmd-prompt { color: var(--fg-subtle); }

/* ---------- terminal demo ---------- */
.term {
  background: var(--ink-1000); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-600); }
.term-title { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-subtle); }
.term-body {
  padding: 18px 20px; font-family: var(--font-mono);
  font-size: 12.5px; line-height: 1.75; height: 320px;
  display: flex; flex-direction: column; justify-content: flex-start;
  overflow: hidden;
}
.term-body > div { white-space: pre-wrap; word-break: break-word; }
.caret {
  display: inline-block; width: 7px; height: 14px;
  background: var(--accent); animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.term-foot {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px; border-top: 1px solid var(--hairline); background: var(--surface);
}
.term-spend {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted);
}
.term-spend b { color: var(--fg-strong); font-weight: 500; }
.bar { position: relative; height: 6px; border-radius: 999px; background: var(--ink-700); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width 90ms linear, background var(--dur-base) var(--ease-out); }
.bar-mark { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.28); z-index: 1; }
.bar-legend { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-subtle); }

/* ---------- stat ---------- */
/* Deliberately not a card — in the design this is a bare oversized numeral. */
.stat-card { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.stat-n {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(72px, 11vw, 152px); line-height: 0.9;
  letter-spacing: -0.05em; color: var(--fg-strong);
}
.stat-l { font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted); }

/* ---------- cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; width: 100%; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; width: 100%; }
.card {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: clamp(22px, 3vw, 30px);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.cards-2 .card:nth-child(2) {
     border: 1px solid transparent;
     border-radius: 20px;
     background-image:
       linear-gradient(#161924, #161924),                            /* card fill */
       linear-gradient(135deg, #C9FF3A 0%, #6FDD8B 50%, #FF6E5C 100%); /* border */
     background-origin: border-box;
     background-clip: padding-box, border-box;
}
.card:hover { border-color: var(--ink-500); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.card-hot {
            border: 1px solid transparent;
            border-radius: 20px;
            background-image:
             linear-gradient(#161924, #161924),                            /* card fill */
             linear-gradient(135deg, #C9FF3A 0%, #6FDD8B 50%, #FF6E5C 100%); /* border */
           background-origin: border-box;
           background-clip: padding-box, border-box; 
          }
.badge {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--accent); background: rgba(201, 255, 58, 0.1);
  border: 1px solid rgba(201, 255, 58, 0.28);
  border-radius: 999px; padding: 4px 11px;
}
.badge-hot { color: var(--coral-500); background: rgba(255, 110, 92, 0.1); border-color: rgba(255, 110, 92, 0.3); }
.metric { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1; letter-spacing: -0.03em; color: var(--accent); }

/* ---------- screenshot ---------- */
.shot { margin: 0; width: 100%; max-width: 560px; }
.shot img {
  display: block; width: 100%; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}

/* ---------- panels / code ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; width: 100%; }
.panel-h {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-subtle);
  padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--hairline);
}
.pre {
  margin: 0; padding: 16px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.75;
  color: var(--fg); white-space: pre; tab-size: 2;
}
.pre .c { color: var(--fg-subtle); }
.pre .ok { color: var(--success); }
.pre .bad { color: var(--coral-500); }
.pre .hi { color: var(--accent); }

.exits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; }
.exits > div { display: flex; flex-direction: column; gap: 2px; }
.exit-n { font-family: var(--font-mono); font-size: 18px; color: var(--fg-strong); }
.exit-l { font-size: 11.5px; color: var(--fg-subtle); line-height: 1.4; }

/* ---------- disclosure ---------- */
.disclosure { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.disclosure summary {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  padding: 16px 18px; font-size: 14.5px; color: var(--fg); list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.chev { display: inline-block; color: var(--accent); transition: transform var(--dur-base) var(--ease-out); }
.disclosure[open] .chev { transform: rotate(90deg); }
.disclosure-body { display: flex; flex-direction: column; gap: 14px; padding: 0 18px 18px; }

/* ---------- table ---------- */
.table { width: 100%; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.table-head, .table-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 14px 18px; }
.table-head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-subtle);
  background: var(--surface-2); border-bottom: 1px solid var(--hairline);
}
.table-row { font-size: 14.5px; border-bottom: 1px solid var(--hairline); color: var(--fg-muted); }
.table-row:last-child { border-bottom: 0; }
.table-row > span:first-child { color: var(--fg-strong); }

/* ---------- chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.chip {
  font-size: 13px; color: var(--fg-muted);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px;
}

/* ---------- failing loud ---------- */
.sticky { position: sticky; top: 92px; }
.fail-list { display: flex; flex-direction: column; width: 100%; }
.fail-head { font-size: 14px; color: var(--fg-subtle); padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.fail-row {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
  font-size: 14.5px; color: var(--fg-muted);
}
.fail-row:last-child { border-bottom: 0; }
.fail-n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }

/* ---------- forms ---------- */
.input {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  color: var(--fg-strong); background: var(--ink-1000);
  border: 1px solid var(--border); border-radius: 10px; padding: 13px 14px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.input::placeholder { color: var(--fg-subtle); }
.input:focus { border-color: var(--ink-500); }
.input:disabled { opacity: 0.6; }
select.input { appearance: none; cursor: pointer; }
textarea.input { resize: vertical; line-height: 1.6; }
.is-invalid { border-color: var(--coral-500) !important; }

.sub-form { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.sub-form .input { flex: 1 1 220px; }
.sent-block { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sent-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 14px; color: var(--fg-muted); }
.link-btn:hover { color: var(--fg-strong); }

/* ---------- pricing ---------- */
.card-price { gap: 20px; }
.price-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.03em; color: var(--accent); }
.price-alt { font-size: 18px; color: var(--fg-muted); }
.card-price .btn { align-self: flex-start; margin-top: auto; }

/* ---------- footer ---------- */
.footer { padding-block: 40px; background: var(--ink-1000); border-top: 1px solid var(--hairline); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 13.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 24px); }
.footer-links a { color: var(--fg-muted); }
.footer-links a:hover { color: var(--accent); }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(5, 6, 9, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
}
.modal-card {
  width: 100%; max-width: 600px; margin: auto;
  display: flex; flex-direction: column; gap: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow-card);
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head .stack-sm { align-items: flex-start; }
.modal-x {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: transparent; border: 1px solid var(--border);
  color: var(--fg-muted); font-size: 20px; line-height: 1; cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.modal-x:hover { color: var(--fg-strong); border-color: var(--ink-500); }
.lic-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.lic-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fg-muted); }
.span-2 { grid-column: 1 / -1; }
.lic-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lic-sent { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links > a:not(.btn) { display: none; }
  .sticky { position: static; }
  .exits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .table-head, .table-row { grid-template-columns: 1fr; gap: 6px; }
  .table-head span:last-child { display: none; }
  .sub-form {
     gap: 15px;
   }
  .sub-form .input {
       flex: 1 1 55px;
   }
}
@media (max-width: 560px) {
  .h1 { font-size: clamp(36px, 11vw, 52px); }
  .term-body { height: 260px; font-size: 11.5px; }
  .cmd { padding: 10px 10px 10px 14px; }
  .cmd-text { font-size: 13px; }
  .sub-form { flex-direction: column; }
  .sub-form .btn { width: 100%; }
  .card-price .btn { width: 100%; }
  .lic-foot { flex-direction: column; align-items: stretch; }
  .lic-foot .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
