/* home.css -- styles for the homepage only (index.html). Ported from the
   "Signal" concept; every other page keeps using styles.css. Tokens
   mirror styles.css except --muted, lifted one step for 4.5:1 contrast. */
/* ---------- tokens (lifted from the live trelictech.com stylesheet) ---------- */
:root {
  --bg: #2f3241;
  --bg2: #262835;
  --panel: #363949;
  --panel-2: #3d4053;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --cyan: #74b1be;
  --cyan-dim: rgba(116,177,190,.16);
  --amber: #e9a33b;
  --amber-dim: rgba(233,163,59,.14);
  --green: #8af18a;
  --green-dim: rgba(138,241,138,.14);
  --red: #e91616;
  --text: #e8ecf1;
  /* live site uses #8b93a7; lifted one step so body copy clears 4.5:1 on both --bg and --panel */
  --muted: #a3abbd;
  /* Orange Oven brand - used only inside the case-study island */
  --oo-orange: #F26B1D;
  --oo-sun: #FFC627;
  --oo-cocoa: #3E2214;
  --oo-cream: #FFF3DC;
  --oo-cream-2: #fbe7c4;

  --sans: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: 'Orbitron', var(--sans);
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  /* spacing scale */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.25rem; --s6: 1.5rem;
  --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem;

  /* type scale */
  --t-xs: .75rem; --t-sm: .875rem; --t-base: 1rem; --t-md: 1.125rem; --t-lg: 1.375rem;
  --t-xl: 1.75rem; --t-2xl: clamp(1.9rem, 4.2vw, 2.8rem);

  --wrap: 1140px;
  --radius: .7rem;
  --radius-sm: .45rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  background: radial-gradient(1200px 600px at 70% -10%, #3a3e52 0%, var(--bg) 55%);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: var(--t-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
h1, h2, .display { font-family: var(--display); letter-spacing: .01em; }
h3, h4 { font-weight: 600; letter-spacing: -.005em; }
strong { color: var(--text); font-weight: 600; }
code { font-family: var(--mono); font-size: .88em; background: rgba(0,0,0,.28); padding: .05em .4em; border-radius: .25rem; color: var(--text); overflow-wrap: anywhere; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s6); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; }
.note { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); letter-spacing: .02em; }
.note::before { content: "// "; color: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cyan); color: var(--bg2);
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1px solid var(--cyan); cursor: pointer; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.secondary { background: transparent; color: var(--cyan); }
.btn.secondary:hover { background: var(--cyan-dim); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(38,40,53,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); max-width: none; min-height: 4.25rem; padding: .5rem var(--s6); }
.nav-logo img { width: 72px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: var(--s6); list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .9rem; }
.nav-links a:hover { color: var(--cyan); text-decoration: none; }
.nav-links .btn { padding: .55rem 1rem; font-size: .85rem; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-2); color: var(--text);
  border-radius: var(--radius-sm); padding: .45rem .7rem; font: inherit; font-size: .85rem; cursor: pointer;
}
.nav-toggle span { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: .5rem; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- hero ---------- */
.hero { padding: var(--s20) 0 var(--s16); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr); gap: var(--s12); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: var(--s6); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-dim); }
.hero h1 { font-size: var(--t-2xl); line-height: 1.18; font-weight: 700; max-width: 16ch; margin-bottom: var(--s6); }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .sub { font-size: var(--t-md); color: var(--muted); max-width: 58ch; margin-bottom: var(--s8); }

/* readout panel: instrument-style status rows */
.readout { background: var(--bg2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.readout-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.18); }
.readout-head .mono { color: var(--muted); }
.readout-head .live { color: var(--green); }
.readout-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s4); padding: .85rem 1rem; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.readout-row:last-child { border-bottom: 0; }
.readout-row .k { color: var(--muted); }
.readout-row .v { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.readout-row .v.amber { color: var(--amber); }
.readout-row .v.cyan { color: var(--cyan); }

/* ---------- sections as instrument panels ---------- */
.sec { padding: var(--s20) 0; border-top: 1px solid var(--line); }
.sec.alt { background: var(--bg2); }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-bottom: var(--s8); }
.sec-head .idx { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.sec-head .idx b { color: var(--muted); font-weight: 400; margin-right: .6rem; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 1rem; border: 1px solid currentColor; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.green { color: var(--green); } .status.amber { color: var(--amber); } .status.cyan { color: var(--cyan); }
.sec h2 { font-size: var(--t-xl); line-height: 1.25; font-weight: 700; margin-bottom: var(--s4); max-width: 24ch; }
.lede { font-size: var(--t-md); color: var(--muted); max-width: 64ch; margin-bottom: var(--s12); }
.lede strong { color: var(--text); }

/* generic panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); }
.panel h3 { font-size: var(--t-base); margin-bottom: var(--s2); }
.panel p { color: var(--muted); font-size: var(--t-sm); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.grid-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }

/* ---------- products ---------- */
.product { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s8); }
.product h3 { font-family: var(--display); font-size: var(--t-md); font-weight: 700; letter-spacing: .02em; }
.product p { font-size: var(--t-base); }
.product .meta { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: var(--t-sm); border-top: 1px solid var(--line); padding-top: var(--s4); }
.product .meta dt { color: var(--muted); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; padding-top: .15rem; }
.product .meta dd { color: var(--text); }
.product .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--s4); font-size: var(--t-sm); font-weight: 500; }

/* ---------- capabilities list ---------- */
.cap { display: grid; grid-template-columns: 5rem 1fr; gap: var(--s6); padding: var(--s8) 0; border-top: 1px solid var(--line); }
.cap:last-child { border-bottom: 1px solid var(--line); }
.cap .num { font-family: var(--display); font-size: var(--t-lg); font-weight: 700; color: var(--cyan); line-height: 1; padding-top: .2rem; }
.cap .num small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: var(--muted); font-weight: 400; margin-top: .5rem; }
.cap h3 { font-size: var(--t-md); margin-bottom: var(--s2); }
.cap p { color: var(--muted); max-width: 68ch; }
.cap p + p { margin-top: var(--s2); }
.cap .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: var(--s3); }
.tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-2); border-radius: .3rem; padding: .15rem .5rem; }

/* ---------- mockups ---------- */
.mock-wrap { margin: var(--s12) 0; }
.mock-label { display: flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: var(--s3); }
.mock-label::before { content: ""; width: 6px; height: 6px; background: var(--amber); border-radius: 1px; }
.mock { min-width: 0; background: var(--bg2); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }

/* delivery picker */
.picker { padding: var(--s5); font-size: var(--t-sm); }
.picker-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s4); }
.picker-title b { font-size: var(--t-base); }
.picker-title span { color: var(--muted); font-size: var(--t-xs); }
.date-strip { display: flex; gap: .5rem; overflow: hidden; contain: inline-size; margin-bottom: var(--s4); padding-bottom: .1rem; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.date { flex: 0 0 auto; width: 4.6rem; text-align: center; border: 1px solid var(--line-2); border-radius: .5rem; padding: .5rem .3rem; background: var(--panel); }
.date small { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.date b { display: block; font-size: var(--t-sm); font-weight: 600; margin-top: .15rem; }
.date.sel { border-color: var(--cyan); background: var(--cyan-dim); box-shadow: inset 0 0 0 1px var(--cyan); }
.date.sel small { color: var(--cyan); }
.windows { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .5rem; }
.win { text-align: center; border: 1px solid var(--line-2); border-radius: 999px; padding: .5rem .4rem; background: var(--panel); font-weight: 500; }
.win.sel { border-color: var(--green); background: var(--green-dim); color: var(--green); }
.win.full { color: var(--muted); border-style: dashed; background: transparent; }
.win.full small { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.picker-foot { display: flex; justify-content: space-between; gap: var(--s3); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--t-xs); }
.picker-foot .hold { color: var(--green); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* phone (tracking) */
.phone { width: 240px; max-width: 100%; margin: 0 auto; background: var(--bg); border: 2px solid var(--line-2); border-radius: 2rem; padding: .9rem .8rem 1.2rem; box-shadow: 0 20px 60px rgba(0,0,0,.45); font-size: .7rem; }
.phone-notch { width: 80px; height: 8px; background: var(--line-2); border-radius: 999px; margin: 0 auto .8rem; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.phone-bar b { font-family: var(--mono); letter-spacing: .1em; font-size: .6rem; text-transform: uppercase; color: var(--cyan); }
.phone-bar .status { font-size: .52rem; padding: .15rem .45rem; }
.map { border-radius: .5rem; border: 1px solid var(--line); overflow: hidden; margin-bottom: .6rem; background: #252d39; }
.map img { display: block; width: 100%; height: auto; }
.map-key { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem .65rem; padding: .4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .55rem; }
.map-key span { display: inline-flex; align-items: center; gap: .25rem; }
.map-key span::before { content: ""; width: 12px; border-top: 2px solid var(--cyan); }
.map-key .ahead::before { border-top: 2px dashed #b1bdc9; }
.map-key .driver::before { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--green); }
.stops { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; background: var(--panel); border: 1px solid var(--line); border-radius: .5rem; padding: .45rem .6rem; margin-bottom: .6rem; }
.stops b { font-size: .85rem; }
.stops span { color: var(--muted); font-size: .6rem; }
.tl { list-style: none; }
.tl li { display: grid; grid-template-columns: 14px 1fr; gap: .5rem; align-items: start; padding: .28rem 0; color: var(--muted); position: relative; }
.tl li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line-2); margin-top: .28rem; background: var(--bg); position: relative; z-index: 1; }
.tl li::after { content: ""; position: absolute; left: 3.5px; top: calc(.56rem + 4px); bottom: calc(-.56rem - 4px); width: 1px; background: var(--line-2); }
.tl li:last-child::after { display: none; }
.tl li.done { color: var(--text); } .tl li.done::before { background: var(--green); border-color: var(--green); }
.tl li.now { color: var(--text); font-weight: 600; } .tl li.now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
.tl li small { display: block; grid-column: 2; font-weight: 400; color: var(--muted); font-size: .58rem; }

/* approval card */
.approval { padding: var(--s5); }
.approval .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s4); }
.approval .head .mono { color: var(--amber); }
.order { font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 700; letter-spacing: .02em; line-height: 1.35; margin-bottom: var(--s3); overflow-wrap: anywhere; }
.order .side { color: var(--green); }
.approval .why { color: var(--muted); font-size: var(--t-sm); margin-bottom: var(--s4); }
.approval .acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.act { text-align: center; padding: .55rem .4rem; border-radius: .4rem; font-weight: 600; font-size: var(--t-sm); border: 1px solid var(--line-2); color: var(--muted); }
.act.confirm { background: #2c5b33; color: #d7ffd9; border-color: transparent; }
.act.reject { background: #5b2c2c; color: #ffd7d7; border-color: transparent; }
.guard { border-top: 1px solid var(--line); margin-top: var(--s5); padding-top: var(--s4); }
.guard .mono { color: var(--muted); margin-bottom: .6rem; display: block; }
.guard ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .9rem; }
.guard li { display: flex; justify-content: space-between; gap: .5rem; font-size: var(--t-xs); color: var(--muted); padding: .35rem .5rem; background: var(--panel); border-radius: .3rem; }
.guard li b { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; color: var(--green); font-weight: 400; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.step { counter-increment: step; padding: var(--s6); position: relative; }
.step::before { content: "0" counter(step); font-family: var(--display); font-size: var(--t-lg); font-weight: 700; color: var(--cyan); display: block; margin-bottom: var(--s3); }
.step h3 { font-size: var(--t-base); margin-bottom: var(--s2); }

/* callout */
.callout { border-left: 3px solid var(--amber); background: var(--amber-dim); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s6) var(--s8); margin: var(--s12) 0; }
.callout .mono { color: var(--amber); display: block; margin-bottom: var(--s2); }
.callout p { font-size: var(--t-md); max-width: 70ch; }

/* stack table */
.table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.table th, .table td { text-align: left; padding: .75rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.table td:first-child { font-weight: 600; white-space: nowrap; }
.table td:last-child { color: var(--muted); }

/* status band */
.band { display: grid; grid-template-columns: 1fr auto; gap: var(--s6); align-items: center; padding: var(--s8); margin-top: var(--s12); }
.band h3 { font-size: var(--t-md); margin-bottom: var(--s1); }
.band p { color: var(--muted); }

/* ---------- Orange Oven island ---------- */
.island { background: var(--oo-cream); color: var(--oo-cocoa); border-radius: 1rem; padding: var(--s10); position: relative; overflow: hidden; }
.island::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--oo-orange), var(--oo-sun)); }
.island a { color: var(--oo-cocoa); text-decoration: underline; text-decoration-color: var(--oo-orange); text-underline-offset: .2em; text-decoration-thickness: 2px; }
.island a:focus-visible { outline-color: var(--oo-cocoa); }
.island .mono, .island .note { color: #6b4a34; }
.island .note::before { color: var(--oo-orange); }
.island-head { display: grid; grid-template-columns: 1fr auto; gap: var(--s6); align-items: end; padding-bottom: var(--s6); border-bottom: 2px solid var(--oo-orange); margin-bottom: var(--s8); }
.island-head img { width: 260px; height: auto; }
.island h3 { font-family: var(--sans); font-size: var(--t-lg); font-weight: 700; letter-spacing: -.01em; margin: var(--s2) 0; }
.island .tagline { font-size: var(--t-md); font-style: italic; color: #6b4a34; }
.island-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: var(--s8); }
.island h4 { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: #6b4a34; margin-bottom: var(--s3); font-weight: 400; }
.island ul { list-style: none; }
.island .facts li, .island .done li { padding: .4rem 0 .4rem 1.3rem; position: relative; border-bottom: 1px solid var(--oo-cream-2); font-size: var(--t-sm); }
/* .facts li is a two-column grid on the trading page (icon + text); these items are plain text, so undo that here or the text wraps one word per line. */
.island .facts li { display: block; color: inherit; }
.island .facts li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 8px; height: 8px; border-radius: 50%; background: var(--oo-orange); }
.island .done li::before { content: "✓"; position: absolute; left: 0; top: .35rem; color: var(--oo-orange); font-weight: 700; }
.miles li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: center; padding: .45rem 0; font-size: var(--t-sm); font-weight: 500; position: relative; }
.miles li span { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--oo-sun); color: var(--oo-cocoa); font-family: var(--display); font-size: .8rem; font-weight: 700; }
.miles li::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.35rem; height: .8rem; width: 2px; background: var(--oo-sun); }
.miles li:last-child::after { display: none; }
.island-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--oo-cream-2); }
.island .bloom { width: 44px; height: 44px; opacity: .9; }
.btn.oo { background: var(--oo-cocoa); border-color: var(--oo-cocoa); color: var(--oo-cream); text-decoration: none; }
.btn.oo:hover { filter: brightness(1.15); }

/* ---------- trading ---------- */
.trading-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: var(--s12); align-items: start; }
.facts { list-style: none; display: grid; gap: .6rem; margin: var(--s6) 0; }
.facts li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; color: var(--muted); font-size: var(--t-sm); }
.facts li::before { content: "✓"; color: var(--green); font-weight: 700; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-top: var(--s10); }
.price { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.price small { font-family: var(--sans); font-size: var(--t-sm); color: var(--muted); font-weight: 400; }
.price-panel p { font-size: var(--t-sm); color: var(--muted); margin-top: var(--s3); }
.price-panel .mono { color: var(--cyan); display: block; margin-bottom: var(--s3); }
.signed { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); border-left: 3px solid var(--green); padding: var(--s5) var(--s6); background: var(--green-dim); border-radius: 0 var(--radius) var(--radius) 0; margin-top: var(--s6); }
.signed .mark { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(138,241,138,.16); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.signed p { font-size: var(--t-sm); color: var(--muted); }
.req { font-size: var(--t-sm); color: var(--muted); border-left: 2px solid var(--cyan); padding-left: var(--s4); margin-top: var(--s6); max-width: 64ch; }

/* ---------- company ---------- */
.principle { padding: var(--s6); }
.principle .mono { color: var(--cyan); display: block; margin-bottom: var(--s3); }
.principle h3 { font-size: var(--t-base); margin-bottom: var(--s2); }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); margin-bottom: var(--s3); }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 1.3rem; font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--muted); max-width: 70ch; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg2); padding: var(--s12) 0; color: var(--muted); font-size: var(--t-sm); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); text-align: center; }
.foot-grid > div > img { display: block; margin-inline: auto; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3) var(--s4); list-style: none; }
.foot-links a { color: var(--text); font-size: var(--t-sm); }
.risk { margin: var(--s8) auto 0; padding-top: var(--s6); border-top: 1px solid var(--line); font-size: var(--t-xs); max-width: 70ch; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .trading-grid { grid-template-columns: 1fr; }
  .island-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 var(--s4); }
  .nav-inner { padding: .5rem var(--s4); }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--line); padding: var(--s3) var(--s4) var(--s4); }
  .nav-links.is-open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: var(--s3); justify-content: center; }
  .hero { padding: var(--s12) 0; }
  .sec { padding: var(--s16) 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3, .grid-4, .island-grid, .price-grid { grid-template-columns: minmax(0,1fr); }
  .cap { grid-template-columns: 1fr; gap: var(--s3); }
  .cap .num small { display: inline; margin-left: .6rem; }
  .band { grid-template-columns: 1fr; }
  .island { padding: var(--s6); }
  .island-head { grid-template-columns: 1fr; align-items: start; }
  .island-head img { width: 220px; }
  .windows { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .guard ul { grid-template-columns: 1fr; }
  .callout { padding: var(--s5) var(--s5); }
}
