/* luckyleprechaun-demo.com — design tokens + components
   Breakpoints: desktop >= 1024, tablet 640–1023, mobile < 640.
   The mockups use @media (…) so each artboard reacts to its own width;
   in production swap them 1:1 for @media (max-width: …). */

:root {
  --paper: #F1F4F1;        /* page ground, cool green-grey */
  --surface: #FFFFFF;      /* documents, tables, panels */
  --ink: #13201A;          /* body text */
  --ink-2: #46564D;        /* secondary text, labels (7:1 on paper) */
  --rule: #D3DCD6;         /* hairlines */
  --rule-strong: #AFC0B5;  /* frames, perforation */
  --green: #0D4A30;        /* brand: links, primary actions, dark bands */
  --green-hover: #08331F;
  --green-tint: #E3EEE7;
  --on-green: #E8F0EA;     /* text on green bands */
  --on-green-2: #B9CEC0;
  --gold: #E9B949;         /* fills only, ink text on top */
  --gold-ink: #8A5F00;     /* SSoT underline, stamp, focus ring */
  --gold-tint: #FBF3DC;
  --radius-s: 4px;         /* documents, tables */
  --radius-m: 8px;         /* panels, images */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

.site {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.site img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 40px; }
@media (max-width: 1023px) { .wrap { padding-inline: 32px; } }
@media (max-width: 639px)  { .wrap { padding-inline: 16px; } }

.site a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site a:hover { color: var(--green-hover); text-decoration-thickness: 2px; }
.site :focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- Type ---------- */
.h1 { margin: 0; font-size: 64px; line-height: 1.04; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { margin: 0; font-size: 38px; line-height: 1.12; font-weight: 750; font-stretch: 108%; letter-spacing: -0.012em; text-wrap: balance; }
.h3 { margin: 0; font-size: 23px; line-height: 1.25; font-weight: 700; font-stretch: 104%; }
.lead { margin: 0; font-size: 21px; line-height: 1.55; max-width: 62ch; text-wrap: pretty; }
.p { margin: 0; font-size: 18px; line-height: 1.65; max-width: 68ch; text-wrap: pretty; }
.small { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-s { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1023px) { .h1 { font-size: 50px; } .h2 { font-size: 32px; } }
@media (max-width: 639px) {
  .h1 { font-size: 36px; line-height: 1.08; }
  .h2 { font-size: 27px; }
  .h3 { font-size: 20px; }
  .lead { font-size: 18px; }
  .p { font-size: 17px; }
}

/* SSoT value: rendered by the SSoT component, never typed by hand */
.ssot { font-variant-numeric: tabular-nums; text-decoration: underline dotted var(--gold-ink); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
/* Value withheld until verified (BRANDCORE: no estimates) */
.pending { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px; border: 1.5px dashed var(--gold-ink); border-radius: var(--radius-s); background: var(--gold-tint); color: #5E4100; font-size: 0.86em; font-weight: 600; line-height: 1.6; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; }
.site a.btn { text-decoration: none; }
.btn-primary, .site a.btn-primary { background: var(--green); color: #FFFFFF; }
.btn-primary:hover, .site a.btn-primary:hover { background: var(--green-hover); color: #FFFFFF; }
.btn-secondary, .site a.btn-secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn-secondary:hover, .site a.btn-secondary:hover { background: var(--green-tint); }
.btn-light, .site a.btn-light { background: #FFFFFF; color: var(--green); }
.btn-light:hover, .site a.btn-light:hover { background: var(--gold-tint); color: var(--green-hover); }
.btn svg { flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .actions .btn { flex: 1 1 100%; min-width: 0; white-space: normal; text-align: center; line-height: 1.25; } }

/* ---------- Header ---------- */
.hdr { background: var(--surface); border-bottom: 1px solid var(--rule); }
.hdr-in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.site a.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 800; font-stretch: 106%; letter-spacing: -0.01em; flex-shrink: 0; }
.logo-tld { color: var(--ink-2); font-weight: 500; }
.nav { display: flex; gap: 24px; flex: 1; justify-content: flex-end; }
.site .nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; padding: 26px 0 24px; border-bottom: 2px solid transparent; white-space: nowrap; }
.site .nav a:hover { color: var(--green); border-bottom-color: var(--rule-strong); }
.site .nav a.is-current { color: var(--green); border-bottom-color: var(--green); }
.hdr .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--rule-strong); border-radius: var(--radius-m); background: var(--surface); color: var(--ink); cursor: pointer; }
.mnav { display: none; border-top: 1px solid var(--rule); background: var(--surface); }
.site .mnav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600; }
.site .mnav a.is-current { color: var(--green); }
@media (max-width: 1199px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-cta { margin-left: auto; }
  .mnav { display: block; }
}
@media (max-width: 639px) {
  .hdr-in { min-height: 64px; gap: 8px; }
  .hdr .btn { padding-inline: 14px; flex-shrink: 0; }
  .hdr .menu-btn { width: 44px; height: 44px; flex-shrink: 0; }
  .hdr a.logo { flex-shrink: 1; min-width: 0; gap: 6px; }
  .hdr .logo svg { width: 24px; flex-shrink: 0; }
  .hdr .logo-tld { display: inline-block; }
  .site a.logo { font-size: 16px; }
}

/* ---------- Breadcrumbs + byline ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.byline-author { display: flex; align-items: center; gap: 12px; }
.byline-author strong { color: var(--ink); font-weight: 700; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #FFFFFF; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; flex-shrink: 0; }

/* ---------- Page hero ---------- */
.hero { padding: 56px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero { padding: 40px 0 64px; } }
@media (max-width: 639px) { .hero { padding: 28px 0 48px; } .hero-copy { gap: 20px; } }

.shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-m); border: 1px solid var(--rule-strong); background: var(--green-tint); }
.shot figcaption { font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* ---------- Sections ---------- */
.sec { padding: 80px 0; border-top: 1px solid var(--rule); }
.sec-white { background: var(--surface); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; max-width: 800px; }
.sec-foot { margin-top: 28px; }
@media (max-width: 1023px) { .sec { padding: 64px 0; } }
@media (max-width: 639px) { .sec { padding: 48px 0; } .sec-head { margin-bottom: 28px; } }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
@media (max-width: 1023px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Version identifier ---------- */
.versions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ver { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); }
.ver.is-this { border: 2px solid var(--green); padding: 21px; }
.ver-glyph { height: 92px; display: flex; align-items: center; }
.dots { display: grid; gap: 5px; }
.dots i { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--rule-strong); }
.dots.d7 { gap: 3px; }
.dots.d7 i { width: 9px; height: 9px; }
.is-this .dots i { background: var(--green); }
.ver-num { font-size: 64px; line-height: 1; font-weight: 800; font-stretch: 112%; color: var(--rule-strong); letter-spacing: -0.03em; }
.ver-num small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-left: 6px; }
.ver-txt { display: flex; flex-direction: column; gap: 4px; }
.ver-see { font-size: 17px; font-weight: 700; line-height: 1.35; }
.ver-name { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ver-tag { position: absolute; top: -13px; left: 18px; background: var(--green); color: #FFFFFF; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 1023px) { .versions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 639px) {
  .versions { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ver { flex-direction: row; align-items: center; gap: 18px; }
  .ver-glyph { width: 104px; height: auto; min-height: 64px; flex-shrink: 0; }
  .ver-num { font-size: 46px; }
  .ver-num small { display: block; margin: 4px 0 0; font-size: 14px; }
}

/* ---------- Spec passport (signature element) ---------- */
.passport { display: grid; grid-template-columns: minmax(0, 1fr) 300px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-s); overflow: hidden; }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.spec { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.spec:nth-child(3n) { border-right: 0; }
.spec:nth-last-child(-n+3) { border-bottom: 0; }
.spec dt { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.spec dd { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 750; font-stretch: 104%; letter-spacing: -0.01em; }
.spec dd .unit { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.stub { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; background: var(--green-tint); border-left: 2px dashed var(--rule-strong); }
.stub::before, .stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--rule-strong); }
.stub::before { top: -12px; }
.stub::after { bottom: -12px; }
.stamp { width: 150px; height: 150px; transform: rotate(-9deg); color: var(--gold-ink); }
@media (max-width: 1023px) {
  .passport { grid-template-columns: minmax(0, 1fr); }
  .stub { border-left: 0; border-top: 2px dashed var(--rule-strong); flex-direction: row; align-items: center; gap: 24px; }
  .stub::before, .stub::after { top: -12px; bottom: auto; }
  .stub::before { left: -12px; }
  .stub::after { left: auto; right: -12px; }
  .stamp { width: 120px; height: 120px; flex-shrink: 0; }
}
@media (max-width: 639px) {
  .spec-grid { grid-template-columns: minmax(0, 1fr); }
  .spec { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px; border-right: 0; }
  .spec:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .spec:last-child { border-bottom: 0; }
  .spec dd { font-size: 19px; text-align: right; }
  .stub { flex-direction: column; align-items: flex-start; padding: 24px 18px; }
  .stamp { width: 104px; height: 104px; }
}

/* ---------- Fit lists ---------- */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fit-col { display: flex; flex-direction: column; gap: 22px; padding: 32px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); }
.fit-title { display: flex; align-items: center; gap: 12px; }
.fit-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.fit-icon.yes { background: var(--green); color: #FFFFFF; }
.fit-icon.no { background: var(--ink); color: #FFFFFF; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 17px; line-height: 1.55; }
.ticks svg { margin-top: 3px; }
@media (max-width: 1023px) { .fit { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .fit-col { padding: 22px 18px; } .ticks li { font-size: 16px; } }

/* ---------- Pros / cons pairs ---------- */
.pc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); }
.pc-head, .pc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc-head > div { padding: 16px 28px; font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--ink); }
.pc-row > div { padding: 22px 28px; font-size: 17px; line-height: 1.55; border-bottom: 1px solid var(--rule); }
.pc-row:last-child > div { border-bottom: 0; }
.pc-row > div + div, .pc-head > div + div { border-left: 1px solid var(--rule); }
.pc-row strong { display: block; margin-bottom: 4px; font-weight: 700; }
.pc-tag { display: none; }
@media (max-width: 639px) {
  .pc-head { display: none; }
  .pc-row { grid-template-columns: minmax(0, 1fr); }
  .pc-row > div { padding: 18px; font-size: 16px; }
  .pc-row > div + div { border-left: 0; background: var(--paper); }
  .pc-row:last-child > div:first-child { border-bottom: 1px solid var(--rule); }
  .pc-tag { display: inline-block; margin-bottom: 8px; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
  .pc-tag.pro { background: var(--green); color: #FFFFFF; }
  .pc-tag.con { background: var(--ink); color: #FFFFFF; }
}

/* ---------- Bonus panels ---------- */
.bonus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bonus-panel { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); }
.ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px; background: var(--paper); border-radius: var(--radius-s); }
.rung { min-width: 56px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule-strong); font-weight: 750; font-size: 18px; font-variant-numeric: tabular-nums; }
.rung.start { background: var(--green); border-color: var(--green); color: #FFFFFF; }
.ladder-step { font-size: 14px; color: var(--ink-2); }
.trig { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-s); font-variant-numeric: tabular-nums; }
.trig th, .trig td { padding: 12px 16px; text-align: left; font-size: 16px; border-bottom: 1px solid var(--rule); }
.trig th { font-weight: 600; color: var(--ink-2); font-size: 14px; }
.trig tr:last-child td { border-bottom: 0; }
.trig td + td { font-weight: 750; }
@media (max-width: 1023px) { .bonus { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .bonus-panel { padding: 22px 18px; } }

/* ---------- Generic data table (stacks on mobile via data-label) ---------- */
.tbl-wrap { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 16px 24px; border-bottom: 1px solid var(--rule); }
.tbl thead th { font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--ink); background: var(--surface); }
.tbl tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .ico { display: inline-flex; align-items: center; gap: 12px; }
@media (max-width: 639px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 16px 18px; border-bottom: 1px solid var(--rule); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl th, .tbl td { padding: 0; border: 0; }
  .tbl tbody th { width: 100%; font-size: 17px; margin-bottom: 8px; }
  .tbl td { font-size: 16px; }
  .tbl td + td { margin-top: 8px; }
  .tbl td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 2px; }
}

.source { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* ---------- Demo band ---------- */
.band { background: var(--green); color: var(--on-green); }
.band .h2 { color: #FFFFFF; }
.band .p { color: var(--on-green); }
.site .band a:not(.btn) { color: #FFFFFF; }
.band-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.band .shot img { border-color: rgba(255, 255, 255, 0.25); }
.band .shot figcaption { color: var(--on-green-2); }
@media (max-width: 1023px) { .band-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- Geo block (client-side, after indexable HTML) ---------- */
.geo { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-m); }
.geo-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
@media (max-width: 639px) { .geo { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; gap: 12px; } }

/* ---------- Rating ---------- */
.rating { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: start; padding: 36px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); }
.score { display: flex; align-items: baseline; gap: 8px; }
.score b { font-size: 88px; line-height: 0.9; font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; color: var(--green); }
.score span { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.criteria { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.criteria li { padding: 7px 14px; border-radius: 999px; background: var(--green-tint); font-size: 15px; font-weight: 600; color: var(--green); }
@media (max-width: 639px) { .rating { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 18px; } .score b { font-size: 68px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule-strong); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform 0.2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 48px 24px 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 639px) { .faq summary { font-size: 17px; } .faq .ans { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .faq summary svg { transition: none; } }

/* ---------- Page meta line ---------- */
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 28px 0 48px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--rule); }

/* ---------- Demo page ---------- */
.demo-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; background: var(--ink); border: 1px solid var(--rule-strong); }
.demo-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.demo-veil { position: absolute; inset: 0; background: rgba(8, 26, 17, 0.72); display: grid; place-items: center; padding: 24px; }
.gate { width: min(440px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--surface); border-radius: var(--radius-m); box-shadow: 0 24px 60px rgba(8, 26, 17, 0.35); }
.gate .actions .btn { flex: 1 1 0; }
.demo-live { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-green); font-size: 15px; text-align: center; background: repeating-linear-gradient(45deg, #0D4A30 0 14px, #0F5237 14px 28px); }
.demo-under { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 639px) {
  .demo-frame { aspect-ratio: 3 / 4; }
  .gate { padding: 22px 18px; }
  .gate .actions .btn { flex: 1 1 100%; min-width: 0; white-space: normal; text-align: center; line-height: 1.25; }
}

.ctrl-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #FFFFFF; display: grid; place-items: center; flex-shrink: 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; max-width: 820px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.steps li p { margin: 0; font-size: 17px; line-height: 1.6; }
.steps li strong { display: block; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 639px) { .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; } }

.shots-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 639px) { .shots-2 { grid-template-columns: minmax(0, 1fr); } }

.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.feature + .feature { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--rule); }
@media (max-width: 1023px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; } .feature + .feature { margin-top: 48px; padding-top: 48px; } }

.note { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; background: var(--gold-tint); border: 1px solid #EBD9A6; border-radius: var(--radius-m); }
@media (max-width: 639px) { .note { padding: 20px 18px; } }

/* ---------- Author page ---------- */
.profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-m); background: var(--green); color: var(--on-green); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; gap: 4px; }
.portrait b { font-size: 76px; line-height: 0.9; font-weight: 800; font-stretch: 115%; letter-spacing: -0.04em; color: #FFFFFF; }
.portrait span { font-size: 13px; color: var(--on-green-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); font-size: 15px; font-weight: 600; }
.prose-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.sub { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--rule); }
.sub:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
@media (max-width: 1023px) {
  .profile { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
  .portrait b { font-size: 56px; }
  .prose-sec { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 639px) {
  .profile { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .portrait { aspect-ratio: auto; width: 112px; height: 112px; border-radius: 50%; justify-content: center; align-items: center; padding: 0; }
  .portrait b { font-size: 40px; }
  .portrait span { display: none; }
}

/* ---------- Footer ---------- */
.ftr { background: var(--green); color: var(--on-green); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 3.5fr) repeat(4, minmax(0, 2.4fr)); gap: 40px; padding: 64px 0 48px; }
.ftr .site-a, .site .ftr a { color: #FFFFFF; text-decoration: none; }
.site .ftr a:hover { text-decoration: underline; }
.ftr-col { display: flex; flex-direction: column; gap: 14px; }
.ftr-col h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--on-green-2); }
.ftr-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ftr-col .app-platforms { margin-top: 10px; padding-left: 12px; border-left: 1px solid var(--on-green-2); }
.ftr-about { display: flex; flex-direction: column; gap: 16px; max-width: 34ch; font-size: 16px; line-height: 1.55; }
.site .ftr a.logo { color: #FFFFFF; }
.ftr .logo-tld { color: var(--on-green-2); }
.warn { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 15px; }
.age { display: inline-grid; place-items: center; min-width: 48px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 15px; }
.warn .pending { background: rgba(251, 243, 220, 0.14); color: #FBF3DC; border-color: var(--gold); }
.ftr-base { padding: 18px 0 28px; font-size: 14px; color: var(--on-green-2); border-top: 1px solid rgba(255, 255, 255, 0.18); }
@media (max-width: 1023px) { .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-about { grid-column: 1 / -1; max-width: 52ch; } }
@media (max-width: 639px) { .ftr-top { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px 0 32px; } }


/* ================= production additions (not in the canvas kit) ================= */
/* metric-matched fallback for Archivo: keeps line breaks stable while the web font loads (CLS) */
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 600; font-stretch: 100%; size-adjust: 98%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 650 900; font-stretch: 100%; size-adjust: 102.5%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 650 900; font-stretch: 101% 105%; size-adjust: 107%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 650 900; font-stretch: 106% 109%; size-adjust: 111%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 650 900; font-stretch: 110% 125%; size-adjust: 115.5%; }
:root { --font: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif; }
.ver-num { color: #6F8577; }
.site .ftr .warn a { text-decoration: underline; text-underline-offset: 3px; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--surface); border-radius: var(--radius-s); }
.skip:focus { top: 12px; }
.site { overflow-x: clip; }

/* header: mobile menu toggling */
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mnav[hidden] { display: none !important; }
@media (min-width: 1200px) { .mnav { display: none !important; } }

/* hero */
.hero-page :is(.h1, .lead, .p, .note-line, .cta) { max-width: none; }
.hero-after:not(:empty) { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }


/* alternate section ground */
.sec-alt { background: var(--surface); }
.sec-tail { padding: 8px 0 0; border-top: 0; }
.sec-tail .meta-line { padding-bottom: 32px; }
.sec-white + .sec-tail { background: var(--surface); }

/* prose: generic content inside sections */
.prose { display: flex; flex-direction: column; gap: 20px; }
.prose > .h3 { margin-top: 20px; }
.prose > .h3:first-child { margin-top: 0; }
.prose > .tbl-wrap, .prose > .pc, .prose > .passport, .prose > .versions, .prose > .fit { margin: 8px 0; }
.prose code { font-size: 0.92em; background: var(--green-tint); padding: 1px 6px; border-radius: 4px; }
.list { margin: 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.6; max-width: 68ch; }
.list li::marker { color: var(--green); }
.list-label { margin-bottom: -8px; }
.note-line { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 76ch; }
.ticks { max-width: 72ch; }
.steps { max-width: 820px; }
.steps li p { max-width: 68ch; }
.prose > :is(.shot, .p, .list, .note-line, .steps, .cta) { max-width: none; }
.prose > .source { margin-top: -8px; }
.faq .ans .steps li { padding: 14px 0; }
.faq .ans .tbl-wrap { margin: 4px 0; }
@media (max-width: 639px) { .list { font-size: 17px; } }

/* tables: wide tables scroll on tablet instead of squeezing */
.tbl-wrap { overflow-x: auto; }
.tbl-wide .tbl { min-width: 720px; }
.tbl tbody th { min-width: 140px; }
.tbl td .btn, .tbl th .btn { white-space: nowrap; }
@media (max-width: 639px) {
  .tbl-wide .tbl { min-width: 0; }
  .tbl tbody th { min-width: 0; }
  .row-cta th:empty { display: none; }
}
.btn-s { min-height: 42px; padding: 0 16px; font-size: 14px; }

.ssot-long { white-space: normal; }
.img-go { display: block; border-radius: var(--radius-m); }
.img-go img { transition: opacity .15s ease; }
.img-go:hover img { opacity: .92; }
a.op-logo { text-decoration: none; }
.spec dd.dd-long { font-size: 19px; line-height: 1.3; }


/* cookie banner */
.cookie { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px 24px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-m); box-shadow: 0 12px 40px rgba(8, 26, 17, .18); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 15px; line-height: 1.5; }
.cookie .btn { min-height: 44px; flex-shrink: 0; }
@media (max-width: 639px) { .cookie { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; } }

/* SSoT tooltip */
.ssot { position: relative; cursor: help; }
.ssot:focus-visible { outline-offset: 2px; }

/* geo-controlled affiliate links: hidden until the visitor's state allows them */
.go-link { display: none !important; }
.go-link.is-allowed { display: inline-flex !important; }
.go-fallback { display: none !important; }
.go-fallback.is-shown { display: inline-flex !important; }
.op-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; font-size: 15px; color: var(--ink-2); }

/* operator logo tile (logos are made for dark backgrounds) */
.op-logo { width: 168px; height: 84px; padding: 10px 14px; border-radius: var(--radius-m); background: #0B2A1D; display: grid; place-items: center; }
.op-logo img { max-width: 100%; max-height: 100%; display: block; }
.op-logo.sm { width: 112px; height: 56px; padding: 6px 10px; }

/* CTA blocks (filled on the client; identical indexable HTML for every visitor) */
.cta { display: flex; flex-direction: column; gap: 14px; max-width: 880px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--rule-strong); border-left: 4px solid var(--gold); border-radius: var(--radius-m); }
.cta[data-empty="1"] { display: none; }
.cta-disc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--paper); border-radius: var(--radius-s); padding: 10px 14px; }
.cta-body { display: flex; flex-direction: column; gap: 14px; }
.cta-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.cta-main .cta-txt { display: flex; flex-direction: column; gap: 4px; }
.cta-title { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 750; font-stretch: 104%; }
.cta-sub { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.cta-fine { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.cta-rg { margin: 0; font-size: 14px; }
.cta-alt { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-ops { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; }
.cta-op { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.cta-op:last-child { border-bottom: 0; }
.cta-op b { font-size: 17px; }
.cta-op .small { display: block; }
.hero .cta { margin-top: 8px; }
@media (max-width: 639px) {
  .cta { padding: 20px 18px; }
  .cta-main { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cta-main .btn { width: 100%; }
  .cta-op { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cta-op .btn { width: 100%; }
}

/* demo frame */
.demo-wrap { margin-top: 16px; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-frame iframe:not([src]) { display: none; }
.demo-frame[data-state="live"] .demo-veil, .demo-frame[data-state="live"] > img, .demo-frame[data-state="fail"] .demo-veil { display: none; }
.demo-fail { position: absolute; inset: 0; display: grid; place-items: center; background: var(--surface); }
.demo-fail[hidden] { display: none; }

/* rating block inside generic section */
.rating .prose { gap: 14px; }

/* band (green) */
.band .prose .p { color: var(--on-green); }
.band .prose { gap: 16px; }

/* author */
.profile .portrait { display: block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: cover; padding: 0; }
@media (max-width: 639px) { .profile .portrait { width: 112px; } }
.profile .lead { max-width: 60ch; }
