/* jdxsecurity.com. Colours are the program's own (JDX/UI/Palette.cs, the default Harbour theme:
   charcoal, deep teal, teal and mint), so the site and the software read as one product. League Spartan is the JDX wordmark face; Geist sets
   everything else. Radius rule: 8px on controls (buttons, inputs, tags), 14px on frames and
   panels. Spacing is a 4px rhythm. */

@font-face {
  font-family: "League Spartan";
  src: url("/assets/LeagueSpartan-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #1E2424;
  --bg-lift: #212828;
  --panel: #252B2B;
  --raised: #2C3333;
  --line: #354040;
  --edge: #7E928E;
  --text: #CBE4DE;
  --bright: #E4F1EE;
  --muted: #9DB6B0;
  --deep: #2E4F4F;
  --accent: #0E8388;
  --accent-hover: #0B7377;
  --accent-press: #09636A;
  --accent-text: #2FB5B9;
  --on-accent: #FFFFFF;
  --good: #3FB950;
  --bad: #FF898A;
  --warn: #E3B341;

  --r-control: 8px;
  --r-frame: 14px;
  --wide: 1200px;
  --narrow: 760px;
  --gutter: 24px;
  --section: 128px;
  --utility: 36px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --display: "League Spartan", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  color-scheme: dark;
}

@media (max-width: 760px) { :root { --gutter: 16px; --section: 88px; } }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A faint grain over everything, so large dark areas do not read as flat fills. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  color: var(--bright);
  font-family: var(--display);
  font-weight: 700;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: 1.24rem; line-height: 1.2; letter-spacing: -0.005em; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--accent-text); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color 200ms var(--ease); }
a:hover { color: var(--bright); }

:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; height: auto; display: block; }

code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 110; background: var(--panel); padding: 8px 12px; border-radius: var(--r-control); }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

/* --- header ---------------------------------------------------------------------------- */

/* Sticky with a negative top: the thin utility strip scrolls away and the main bar stays. */
.top {
  position: sticky;
  top: calc(-1 * var(--utility));
  z-index: 50;
  background: rgba(30, 36, 36, 0.86);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.utility { height: var(--utility); border-bottom: 1px solid var(--line); background: var(--bg-lift); font-size: 0.8rem; color: var(--muted); }
.utility .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility nav { display: flex; gap: 20px; }
.utility a { color: var(--muted); text-decoration: none; }
.utility a:hover { color: var(--text); }

@media (max-width: 640px) { .utility .claim { display: none; } .utility .wrap { justify-content: flex-end; } }

.bar { height: 68px; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; line-height: 0; flex: none; }
.brand img { height: 34px; width: auto; }

#nav { display: flex; align-items: center; gap: 4px; flex: 1; }
#nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: var(--r-control); font-size: 0.94rem; font-weight: 500; transition: color 200ms var(--ease), background-color 200ms var(--ease); }
#nav a:hover { color: var(--text); }
#nav a[aria-current="page"] { color: var(--text); background: var(--raised); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
#nav .nav-end .button { color: var(--on-accent); padding: 8px 16px; }

.menu { display: none; margin-left: auto; }

@media (max-width: 920px) {
  .menu { display: inline-flex; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  #nav.open { display: flex; }
  #nav a { padding: 12px 8px; }
  .nav-end { margin: 12px 0 0; flex-direction: column; align-items: stretch; }
}

/* --- footer ---------------------------------------------------------------------------- */

.foot { margin-top: var(--section); border-top: 1px solid var(--line); background: var(--bg-lift); color: var(--muted); font-size: 0.92rem; }
.foot .signup { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; padding-top: 64px; padding-bottom: 56px; }
.foot .signup h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--text); margin-bottom: 8px; }
.foot .signup p { margin: 0; max-width: 52ch; }
.foot .signup form { grid-template-columns: 1fr auto; align-items: end; }
.foot .signup form .notice { grid-column: 1 / -1; }
.foot .rule { border-top: 1px solid var(--line); }
.foot .links { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.foot .links p { max-width: 36ch; margin-top: 16px; }
.foot h2.col { font-family: var(--sans); font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 12px; letter-spacing: 0; }
.foot .links a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.foot .links a:hover { color: var(--text); }
.foot .fine { padding-top: 20px; padding-bottom: 32px; font-size: 0.84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 860px) {
  .foot .signup { grid-template-columns: 1fr; gap: 24px; }
  .foot .links { grid-template-columns: 1fr 1fr; }
  .foot .links > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .foot .signup form { grid-template-columns: 1fr; } }

/* --- page furniture -------------------------------------------------------------------- */

main { position: relative; }

/* A soft wash of the accent behind the top of every page, so it does not open on a flat fill. */
main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 100% at 18% 0%, rgba(14, 131, 136, 0.16), transparent 70%);
}

.page { max-width: var(--wide); margin: 0 auto; padding: 88px var(--gutter) 0; }
.page.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.narrow { max-width: var(--narrow); }

.eyebrow { color: var(--accent-text); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 16px; }
.eyebrow a { color: inherit; text-decoration: none; }

.lead { font-size: 1.16rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }

.section { margin-top: var(--section); }
.page.section { padding-top: 0; }
.section > h2 + .lead { margin-bottom: 40px; }

.hint { color: var(--muted); font-size: 0.9rem; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
@media (max-width: 420px) { .grid.two { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--panel), rgba(37, 43, 43, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card > .button:last-child { margin-top: auto; align-self: flex-start; }

.tag { display: inline-block; align-self: flex-start; font-size: 0.78rem; font-weight: 600; color: var(--accent-text); background: rgba(14, 131, 136, 0.18); border-radius: 6px; padding: 4px 8px; margin-bottom: 16px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.list { padding-left: 1.2em; color: var(--muted); }
.list li { margin-bottom: 8px; }
.list strong { color: var(--text); }

/* --- buttons and forms ----------------------------------------------------------------- */

.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.95rem/1 var(--sans);
  color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent);
  border-radius: var(--r-control); padding: 13px 22px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.button:hover, button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.button:active, button:active { background: var(--accent-press); transform: scale(0.98); }
.button.ghost, button.ghost { background: transparent; border-color: var(--edge); color: var(--text); }
.button.ghost:hover, button.ghost:hover { background: var(--raised); border-color: var(--text); color: var(--text); }
.button.small { padding: 8px 16px; font-size: 0.9rem; }
.button.text { background: none; border: 0; padding: 13px 4px; color: var(--text); }
.button.text::after { content: "\2192"; transition: transform 200ms var(--ease); }
.button.text:hover { background: none; color: var(--accent-text); transform: none; }
.button.text:hover::after { transform: translateX(4px); }
button.danger { background: transparent; border-color: var(--bad); color: var(--bad); }
button.danger:hover { background: var(--bad); color: var(--on-accent); }
button:disabled { opacity: 0.55; cursor: progress; transform: none; }

form { display: grid; gap: 16px; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 32px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

/* A hint such as "Optional" sits at the right of its label line, so fields side by side stay level.
   It has a column of its own, so a long hint wraps instead of running over the label text, as the
   absolutely positioned one did on the Buy page. */
label { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: baseline; font-size: 0.9rem; font-weight: 600; }
label small { justify-self: end; text-align: right; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
label > :not(small) { grid-column: 1 / -1; }

input, select, textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--bg);
  border: 1px solid var(--edge); border-radius: var(--r-control); padding: 12px 14px; width: 100%;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
input:not([type="checkbox"]):not([type="radio"]), select { height: 48px; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--accent-text); outline: none; box-shadow: 0 0 0 3px rgba(47, 181, 185, 0.25); }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }

.notice { border-radius: var(--r-control); padding: 12px 16px; font-size: 0.94rem; border: 1px solid var(--line); background: var(--raised); }
.notice.good { border-color: rgba(63, 185, 80, 0.6); }
.notice.bad { border-color: rgba(255, 104, 105, 0.7); }
.notice:empty { display: none; }

/* --- pricing --------------------------------------------------------------------------- */

.card .price, .price { color: var(--text); font-family: var(--display); font-size: 3.2rem; line-height: 1; margin: 12px 0 8px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font: 400 1rem var(--sans); color: var(--muted); letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; }
.ticks li { padding: 8px 0 8px 32px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 11px; height: 6px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.ticks strong { color: var(--text); font-weight: 600; }

/* --- tables, documents, news ----------------------------------------------------------- */

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; vertical-align: top; }
tbody tr + tr td, tr + tr td { border-top: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 0.86rem; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--panel); }

.document { white-space: pre-wrap; word-wrap: break-word; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 28px; font: 0.86rem/1.6 var(--mono); color: var(--muted); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose p, .prose li { color: #D5E8E3; }

.issues { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.issue { display: grid; gap: 4px; padding: 24px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-frame); text-decoration: none; color: var(--muted); transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.issue:hover { border-color: var(--edge); color: var(--muted); transform: translateY(-2px); }
.issue time { font-size: 0.86rem; font-family: var(--mono); }
.issue strong { color: var(--text); font-size: 1.16rem; font-family: var(--display); }

.release { border-left: 1px solid var(--edge); padding: 0 0 8px 28px; margin-left: 4px; position: relative; }
.release::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 2px; background: var(--accent-text); }
.release + .release { margin-top: 48px; }
.release h2 { font-size: 1.5rem; margin-bottom: 4px; }
.release .date { color: var(--muted); font-size: 0.9rem; font-family: var(--mono); margin-bottom: 16px; }

.file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.file .meta { color: var(--muted); font-size: 0.9rem; }

/* --- photographs ----------------------------------------------------------------------- */

/* A photograph from assets/photos, placed by build.js. Until the file exists the frame stays
   empty: a dark panel with corner brackets, the same mark the software draws around a person. */
.shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-frame);
  overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #2F3838, var(--panel) 60%, #1A1F1F);
  border: 1px solid var(--line);
  aspect-ratio: var(--ratio, 4 / 3);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:empty::before, .shot:empty::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(47, 181, 185, 0.5);
}
.shot:empty::before { left: 24px; top: 24px; border-right: 0; border-bottom: 0; }
.shot:empty::after { right: 24px; bottom: 24px; border-left: 0; border-top: 0; }

/* --- home: hero ------------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(84dvh, 760px);
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero > .shot { position: absolute; inset: 0; z-index: -2; border: 0; border-radius: 0; aspect-ratio: auto; }
.hero > .shot:empty::before, .hero > .shot:empty::after { display: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(30, 36, 36, 0.97) 0%, rgba(30, 36, 36, 0.86) 40%, rgba(30, 36, 36, 0.25) 78%, rgba(30, 36, 36, 0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(30, 36, 36, 0) 40%);
}
/* Until its photograph arrives the hero is a compact band rather than an empty screen. */
.hero:has(> .shot:empty) { min-height: 0; padding: 112px 0 104px; }
.hero .wrap { width: 100%; }
.hero .copy { max-width: 900px; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); max-width: 19em; }
.hero .lead { font-size: 1.22rem; color: #DCEBE7; max-width: 46ch; }

/* --- home: works-with strip ------------------------------------------------------------ */

.compat { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-lift); }
.compat .wrap { display: flex; align-items: center; gap: 32px; padding-top: 24px; padding-bottom: 24px; }
.compat p { margin: 0; flex: none; color: var(--muted); font-size: 0.88rem; }
.compat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--display); font-size: 1.04rem; color: #DCEBE7; }
@media (max-width: 760px) { .compat .wrap { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* --- home: platform rows --------------------------------------------------------------- */

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip > .shot { order: 2; }
.feature h2 { margin-bottom: 16px; }
.feature p { color: var(--muted); max-width: 52ch; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.points li { padding-left: 20px; border-left: 2px solid var(--line); color: var(--muted); transition: border-color 300ms var(--ease); }
.points li:hover { border-color: var(--accent-text); }
.points strong { display: block; color: var(--text); font-weight: 600; }
@media (max-width: 920px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip > .shot { order: 0; }
}

/* --- home: capability grid ------------------------------------------------------------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.bento > * { border-radius: var(--r-frame); border: 1px solid var(--line); background: var(--panel); padding: 32px; position: relative; overflow: hidden; }
.bento h3 { margin-bottom: 8px; }
.bento p { color: var(--muted); margin: 0; max-width: 46ch; }
.bento .evidence { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
  background: radial-gradient(90% 80% at 85% 10%, rgba(14, 131, 136, 0.32), transparent 60%), linear-gradient(160deg, var(--deep), var(--panel)); }
.bento .evidence h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bento .evidence .cipher { position: absolute; top: 32px; left: 32px; right: 32px; font-family: var(--mono); font-size: 0.86rem; color: var(--accent-text); line-height: 1.8; }
.bento .detect, .bento .plates { grid-column: span 2; }
.bento .phone { grid-column: span 3; display: grid; grid-template-columns: 1fr 120px; gap: 24px; align-items: center; }
.bento .phone .shot { --ratio: 9 / 16; }
.bento .log { grid-column: span 3; background: linear-gradient(160deg, var(--raised), var(--panel)); }
.classes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.classes span { font-size: 0.82rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; border: 1px solid; }
.classes .person { color: var(--warn); border-color: rgba(227, 179, 65, 0.5); }
.classes .vehicle { color: var(--accent-text); border-color: rgba(47, 181, 185, 0.5); }
.classes .animal { color: var(--good); border-color: rgba(63, 185, 80, 0.5); }
.plate { display: inline-block; margin-top: 20px; font-family: var(--display); font-size: 1.6rem; letter-spacing: 0.06em; color: #1E2424; background: #EEF5F3; border: 3px solid #1E2424; outline: 1px solid var(--edge); border-radius: 6px; padding: 4px 14px 0; }
@media (max-width: 920px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .evidence, .bento .phone, .bento .log { grid-column: 1 / -1; }
  .bento .detect, .bento .plates { grid-column: span 1; }
  .bento .evidence { grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento .detect, .bento .plates { grid-column: 1 / -1; }
  .bento .phone { grid-template-columns: 1fr; }
  .bento .phone .shot { max-width: 160px; }
}

/* --- home: where it fits --------------------------------------------------------------- */

.sectors { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.sectors .intro { position: sticky; top: 112px; }
.sectors dl { margin: 0; }
.sectors dl div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.sectors dl div:first-child { padding-top: 0; }
.sectors dt { font-family: var(--display); font-size: 1.2rem; }
.sectors dd { margin: 0; color: var(--muted); }
@media (max-width: 920px) {
  .sectors { grid-template-columns: 1fr; gap: 32px; }
  .sectors .intro { position: static; }
  .sectors dl div { grid-template-columns: 1fr; gap: 4px; }
}

/* --- home: integrations ---------------------------------------------------------------- */

.links-panel { border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--panel); overflow: hidden; }
.links-panel div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 24px; }
.links-panel div + div { border-top: 1px solid var(--line); }
.links-panel p { margin: 0; }
.links-panel strong { font-weight: 600; }
.links-panel span { display: block; color: var(--muted); font-size: 0.9rem; }
.links-panel em { font: 600 0.82rem var(--mono); font-style: normal; color: var(--muted); }
.links-panel em.on { color: var(--good); }
.links-panel em.early { color: var(--accent-text); }

/* --- home: ownership ------------------------------------------------------------------- */

.statement { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch; margin: 0 0 24px; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin: 0; padding: 0; list-style: none; }
.promises li { color: var(--muted); padding-top: 20px; border-top: 1px solid var(--edge); }
.promises strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 640px) { .promises { grid-template-columns: 1fr; } }

/* --- home: getting started ------------------------------------------------------------- */

.start { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.start .shot { --ratio: 4 / 5; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.steps strong { color: var(--text); font-family: var(--display); font-size: 1.12rem; font-weight: 700; }
@media (max-width: 920px) {
  .start { grid-template-columns: 1fr; gap: 40px; }
  .start .shot { --ratio: 16 / 10; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
}

/* --- home: closing call ---------------------------------------------------------------- */

.closing {
  border-radius: var(--r-frame);
  border: 1px solid rgba(47, 181, 185, 0.35);
  background: radial-gradient(70% 140% at 100% 0%, rgba(14, 131, 136, 0.4), transparent 60%), linear-gradient(160deg, var(--deep), var(--panel));
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: end;
}
.closing h2 { margin-bottom: 12px; }
.closing p { color: #DCEBE7; margin: 0; max-width: 52ch; }
.closing .actions { margin-top: 0; }
@media (max-width: 760px) { .closing { grid-template-columns: 1fr; padding: 40px 28px; } }

/* --- entrance -------------------------------------------------------------------------- */

/* Set by site.js as each block scrolls into view. Without JavaScript nothing is hidden. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

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

[hidden] { display: none !important; }
