/* KDPundit — palette sampled from the logo: navy #0A2F5A, orange #FE8402,
   chart blue #024F90. Orange is an accent only: on white it fails contrast, so
   orange *text* uses the darker --orange-ink.

   Measured WCAG AA, 2026-08-04. --orange-ink was #C25E00 (4.29:1 on white, 4.03 on
   the wash) and --muted was #6B7583 (4.39 on the wash) — both under the 4.5 small-text
   threshold. Now 5.05/4.74 and 5.09/4.79. Do not lighten either without re-measuring.

   STILL FAILING BY DECISION: white on --orange is 2.47:1. See README > QA. */

:root {
  --navy:      #0A2F5A;
  --navy-900:  #06213F;
  --navy-700:  #123F6F;
  --orange:    #FE8402;
  --orange-ink:#B25400;
  --blue:      #024F90;
  --ink:       #12161C;
  --body:      #454F5D;
  --muted:     #656F7D;
  --line:      #E1E6EE;
  --line-soft: #EDF1F6;
  --wash:      #F6F8FB;
  --ok:        #15703F;
  --warn:      #8A5100;
  --bad:       #B3261E;
  --radius:    10px;
  --shadow:    0 1px 2px rgba(10,47,90,.05), 0 8px 24px rgba(10,47,90,.07);
  --shadow-lg: 0 2px 4px rgba(10,47,90,.06), 0 18px 50px rgba(10,47,90,.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font: 16.5px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
        Helvetica, Arial, sans-serif;
  color: var(--body); background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.022em; line-height: 1.18; }
h1 { font-size: clamp(31px, 4.4vw, 46px); font-weight: 800; }
h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
a { color: var(--blue); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-ink);
}
.lede { font-size: 18.5px; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

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

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .inner {
  display: flex; align-items: center; gap: 26px;
  min-height: 68px;
}
.lockup { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.lockup img { height: 34px; width: auto; display: block; }
.lockup .name {
  font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy);
}
.lockup .name em { font-style: normal; color: var(--orange); }
header.site nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
/* :not(.btn) matters — `header.site nav a` (0,2,1) out-specifies `.btn-primary`
   (0,1,0), so without it the nav colour overrode the button's white text and the
   header CTA rendered dark grey on orange. */
header.site nav a:not(.btn) { color: var(--body); text-decoration: none;
                              font-size: 15px; font-weight: 550; }
header.site nav a:not(.btn):hover { color: var(--navy); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-size: 15.5px; font-weight: 650; text-decoration: none;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 8px;
  cursor: pointer; white-space: nowrap;   /* wrapped to two lines at 390px */
  transition: transform .12s ease, box-shadow .18s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }

/* There was no visible focus state on any button — a keyboard user could not
   tell where they were. Ring sits outside the button so it reads on any ground. */
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.on-navy:focus-visible, .hero .btn:focus-visible { outline-color: #FFD08A; }

.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 2px 10px rgba(254,132,2,.32);
}
.btn-primary:hover {
  background: #F08A06;
  box-shadow: 0 8px 22px rgba(254,132,2,.42);
  transform: translateY(-1px);
}
.btn-primary:active { box-shadow: 0 2px 8px rgba(254,132,2,.3); }

/* The header CTA is the one button on every page and the only one visible above
   the fold on a phone, so it gets a slow shine sweep and a breathing glow —
   enough to draw the eye, slow enough not to nag. Both stop on hover, because a
   button that keeps moving while you aim at it is annoying. */
header.site .btn-primary {
  position: relative; overflow: hidden;
  animation: ctaGlow 3.6s ease-in-out infinite;
}
header.site .btn-primary::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg);
  animation: ctaShine 3.6s ease-in-out infinite;
}
header.site .btn-primary:hover { animation: none; }
header.site .btn-primary:hover::before { animation: none; opacity: 0; }

@keyframes ctaGlow {
  0%, 62%, 100% { box-shadow: 0 2px 10px rgba(254,132,2,.32); }
  80%           { box-shadow: 0 4px 20px rgba(254,132,2,.62); }
}
@keyframes ctaShine {
  0%, 55%  { left: -60%; }
  85%, 100% { left: 130%; }
}

/* The order CTA earns an arrow: it signals "this takes you somewhere" and the
   nudge on hover gives the click a bit of feedback. Not on Submit — that is an
   action, not a journey. */
.btn-cta::after {
  content: "\2192"; font-size: 1.05em; line-height: 1;
  transition: transform .18s cubic-bezier(.22,.7,.3,1);
}
.btn-cta:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-cta::after { transition: none; }
  .btn-primary:hover { transform: none; }
  header.site .btn-primary,
  header.site .btn-primary::before { animation: none; }
  header.site .btn-primary::before { display: none; }
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #C6D0DE; }
.btn-ghost.on-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-warn { background: #fff; color: var(--warn); border-color: #E4CDA4; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-sm { padding: 7px 14px; font-size: 14px; }

/* --------------------------------------------------------------------- hero */

.hero { background: var(--navy-900); color: #fff; padding: 62px 0 58px;
        position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--orange); z-index: 3;
}

/* --- hero photograph + slow drift ------------------------------------------
   A still photo behind a flat navy panel reads as a stock backdrop. A very slow
   Ken Burns gives it life without becoming a distraction; the overlay keeps the
   brand colour and guarantees text contrast whatever the photo does. */
.hero .photo {
  position: absolute; inset: -4%; z-index: 0;
  background-position: center 42%; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.6s ease;
  animation: heroDrift 40s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero .photo.on { opacity: 1; }
.hero .photo.p1 { background-image: url("img/hero-1.jpg"); }
.hero .photo.p2 { background-image: url("img/hero-2.jpg"); animation-direction: alternate-reverse; }
.hero .veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(6,20,40,.95) 0%, rgba(6,20,40,.89) 38%,
              rgba(6,20,40,.62) 66%, rgba(6,20,40,.42) 100%);
}
/* The hero gets a wider container than the rest of the page: at 1440 the 1120
   wrap left 320px of screen unused and rendered the sample at 59% of its native
   970px. Body sections stay at 1120 for comfortable reading measure. */
.hero .wrap { position: relative; z-index: 2; max-width: 1300px; }

@keyframes heroDrift {
  from { transform: scale(1) translate3d(0,0,0); }
  to   { transform: scale(1.09) translate3d(-1.2%, -1%, 0); }
}

/* staggered entrance — content arrives rather than snapping in */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero .reveal { animation: rise .62s cubic-bezier(.22,.7,.3,1) both; }
.hero .reveal:nth-of-type(1) { animation-delay: .05s; }
.hero .reveal:nth-of-type(2) { animation-delay: .14s; }
.hero .reveal:nth-of-type(3) { animation-delay: .24s; }
.hero .reveal:nth-of-type(4) { animation-delay: .34s; }
.hero .reveal:nth-of-type(5) { animation-delay: .44s; }
.hero .shot { animation: rise .8s cubic-bezier(.22,.7,.3,1) .3s both; }

/* Motion is decoration here — anyone who has asked for less gets none of it. */
@media (prefers-reduced-motion: reduce) {
  .hero .photo { animation: none; }
  .hero .reveal, .hero .shot { animation: fade .01s both; }
  /* no cycling either — show the first module and stop */
  .cycle img { animation: none; opacity: 0; }
  .cycle img:first-child { opacity: 1; }
  .dots i { animation: none; }
  .dots i:first-child { background: var(--orange); }
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: #C9D6E6; margin-top: 18px; max-width: 46ch; }
.hero .cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero .split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px;
               align-items: stretch; }
.hero .facts { display: flex; gap: 26px; margin-top: 28px; flex-wrap: wrap; }
.hero .facts div { font-size: 14px; color: #A9BDD4; }
.hero .facts b { display: block; color: #fff; font-size: 22px; font-weight: 750; letter-spacing: -.02em; }

.shot {
  background: rgba(10,18,30,.55); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 8px;
  box-shadow: 0 26px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  display: flex; flex-direction: column; justify-content: center;
}
.shot img { display: block; width: 100%; height: auto; border-radius: 4px; }
.shot .cap { color: #A9BDD4; }
.shot .cap a { color: #CFE0F2; }

/* --- hero module cycle -----------------------------------------------------
   Driven by ONE JS interval, not five CSS animations. Independent CSS
   animations start when each image renders, so on a slow connection the frames
   drift apart and the dots stop matching the module on screen. A single clock
   toggling .on cannot desynchronise. */
/* the frame holds the module aspect exactly (970x600); the card stretches
   around it, so no dark band appears above or below the module */
.cycle { position: relative; aspect-ratio: 970 / 600; border-radius: 4px;
         overflow: hidden; background: #0d1117; }
.cycle img { position: absolute; inset: 0; width: 100%; height: 100%;
             object-fit: contain; border-radius: 0;
             opacity: 0; transform: translateY(10px) scale(.992);
             transition: opacity .55s ease, transform .55s cubic-bezier(.22,.7,.3,1); }
.cycle img.on { opacity: 1; transform: none; }

.dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
        display: flex; gap: 6px; justify-content: center; }
.dots i { box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.dots i { width: 22px; height: 3px; border-radius: 2px; background: #D7DDE6;
          transition: background .3s ease; }
.dots i.on { background: var(--orange); }
}
.shot .cap {
  font-size: 11.5px; color: var(--muted); padding: 8px 4px 2px; letter-spacing: .02em;
}

/* --------------------------------------------------- how-it-works previews ---
   Borrowed from nityazacademy's Features section: instead of describing a step,
   render a miniature of what it actually produces. Their tool cards show a mock
   calculator working out sin(45); ours show the form, the modules and the zip.
   Far more convincing than three paragraphs. */

.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px; background: var(--navy); color: #fff;
  font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(10,47,90,.22); margin-bottom: 16px;
}
.pill-badge b { color: var(--orange); font-weight: 800; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
.how-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 0; box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .18s ease, transform .12s ease;
}
.how-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.how-card .step {
  width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 750; display: flex; align-items: center;
  justify-content: center; margin-bottom: 13px;
}
.how-card h3 { font-size: 17.5px; margin-bottom: 7px; }
.how-card p { font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; }

/* the miniature itself — sits flush to the card's bottom edge */
.mock { margin: auto -22px 0; padding: 16px 18px; background: var(--wash);
        border-top: 1px solid var(--line-soft); }

.mock .mrow { margin-bottom: 9px; }
.mock .mlab { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
              text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.mock .mfield { display: block; background: #fff; border: 1px solid #D6DEE8;
                border-radius: 6px; padding: 6px 9px; font-size: 12.5px; color: var(--ink); }
.mock .mchip { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px;
               background: #EAF4EC; border: 1px solid #BEE0CC; color: var(--ok);
               border-radius: 6px; padding: 5px 9px; font-size: 12px; font-weight: 650; }

.mock .mmods { display: flex; gap: 6px; }
.mock .mmods img { width: 100%; height: 34px; object-fit: cover; object-position: top;
                   border: 1px solid #CFD8E4; border-radius: 4px; display: block; }
.mock .mmods > div { flex: 1; }
.mock .mcap { font-size: 11.5px; color: var(--muted); margin-top: 9px; }

.mock .mfile { display: flex; justify-content: space-between; align-items: center;
               font: 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
               padding: 5px 0; border-bottom: 1px dashed #DCE3EC; color: var(--ink); }
.mock .mfile:last-of-type { border-bottom: 0; }
.mock .mfile span { color: var(--muted); }

/* ------------------------------------------------------- hero sample list ---
   The hero's right column lists the blocks actually built rather than cycling
   one module. It is the fastest proof on the page: real covers, real links.
   Generated from samples/manifest.json so it cannot drift from the catalogue. */

.hero-list { align-self: center; }
.hl-head { display: flex; align-items: baseline; justify-content: space-between;
           gap: 14px; margin-bottom: 12px; }
.hl-count { color: #fff; opacity: .62; font-size: 11.5px; font-weight: 800;
            letter-spacing: .2em; text-transform: uppercase; }
.hl-head a { color: #FFB765; font-size: 13.5px; font-weight: 650; text-decoration: none;
             white-space: nowrap; }
.hl-head a:hover { text-decoration: underline; }

.hl-item {
  display: flex; align-items: center; gap: 15px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  border-radius: 11px; padding: 11px 14px;
  transition: background .16s ease, border-color .16s ease, transform .12s ease;
}
.hl-item + .hl-item { margin-top: 9px; }
.hl-item:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3);
                 transform: translateX(3px); }
.hl-item:focus-visible { outline: 3px solid #FFD08A; outline-offset: 3px; }
.hl-item img { width: 46px; height: auto; border-radius: 3px; display: block;
               box-shadow: 0 4px 12px rgba(0,0,0,.5); flex: 0 0 46px; }
/* the wrapper and both lines must be block — as inline spans the title and the
   subject ran together on one line */
.hl-item > span:not(.go) { display: block; min-width: 0; }
.hl-item .t { display: block; color: #fff; font-size: 16px; font-weight: 700;
              letter-spacing: -.2px; }
.hl-item .s { display: block; color: #A9BDD4; font-size: 12.5px; margin-top: 3px; }
.hl-item .go { margin-left: auto; color: #FFB765; font-size: 17px; flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) { .hl-item:hover { transform: none; } }

/* ------------------------------------------------------------------ sections */

section { padding: 66px 0; }
section.wash { background: var(--wash); border-top: 1px solid var(--line-soft);
               border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 660px; margin-bottom: 34px; }
.section-head h2 { margin-top: 8px; }
.section-head p { margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .step {
  width: 30px; height: 30px; border-radius: 8px; background: var(--navy);
  color: #fff; font-size: 14px; font-weight: 750;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card p { margin-top: 8px; font-size: 15px; }

/* sample gallery */
/* align-items:start — grid row stretch inflated the 970x300 modules to match the
   970x600 ones and left dead white space under them. */
/* Single column at near-native width. A 970px module shown in a 2-up grid renders
   at ~530px, which halves its type and is why the samples read as unreadable and
   the section looked empty. */
.gallery { display: grid; grid-template-columns: 1fr; gap: 22px;
           max-width: 940px; margin: 0 auto; }
.gallery figure {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.gallery img { display: block; width: 100%; height: auto; }
.gallery figcaption {
  font-size: 13px; color: var(--muted); padding: 11px 14px;
  border-top: 1px solid var(--line-soft); background: #fff;
}
.gallery figcaption b { color: var(--ink); }

/* pricing */
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.price {
  border: 2px solid var(--navy); border-radius: var(--radius); padding: 28px;
  background: #fff; box-shadow: var(--shadow);
}
.price .amount { font-size: 46px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.price .amount span { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; margin-top: 18px; }
.price li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; }
.price li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--orange);
}
.price.alt { border-color: var(--line); }
/* ------------------------------------------------------------------ plan cards */
.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
            align-items: stretch; }
.price.plan { display: flex; flex-direction: column; text-align: center;
              padding: 26px 22px; position: relative; }
.price.plan .amount { font-size: 42px; margin-top: 4px; }
.price.plan .per { font-size: 14px; color: var(--muted); margin-top: 6px;
                   min-height: 40px; margin-bottom: 20px; }
/* auto pushes the button to the bottom so all three line up whatever the card says */
.price.plan .btn { margin-top: auto; width: 100%; }
.price.plan.featured { border-color: var(--orange); border-width: 2px;
                       box-shadow: 0 10px 28px rgba(2,79,144,.10); }
.price.plan.featured .amount { color: var(--orange-ink); }
.price.plan .flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 750;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
  white-space: nowrap; }
.price.includes { margin-top: 20px; }
/* Two columns of ticks so eight lines don't read as a wall. Collapses on mobile with
   the rest of the grids at the 720px breakpoint. */
.price ul.two-col { columns: 2; column-gap: 34px; }
.price ul.two-col li { break-inside: avoid; }
.price.plan .credits { font-size: 16px; font-weight: 700; color: var(--blue);
                       margin-top: 8px; }
/* Credits are an abstraction, so what they buy has to be legible at a glance —
   a table, not prose. */
.credit-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.credit-table td { padding: 14px 0; border-bottom: 1px solid var(--line-soft);
                   vertical-align: top; font-size: 15px; }
.credit-table tr:last-child td { border-bottom: 0; }
.credit-table td span { display: block; margin-top: 3px; }
.credit-table td.c { text-align: right; white-space: nowrap; font-weight: 700;
                     color: var(--navy); padding-left: 20px; }
.credit-table td.c.free { color: var(--ok); }
/* ------------------------------------------------- description vs A+ table */
.vs-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line);
           border-radius: var(--radius); box-shadow: var(--shadow); }
.vs-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.vs-table th, .vs-table td { padding: 13px 18px; text-align: left; font-size: 15px;
                             border-bottom: 1px solid var(--line-soft); }
.vs-table thead th { font-size: 12px; font-weight: 800; letter-spacing: .1em;
                     text-transform: uppercase; color: var(--muted);
                     background: var(--wash); white-space: nowrap; }
.vs-table thead th:last-child { color: var(--orange-ink); }
.vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table td:first-child { font-weight: 650; color: var(--ink); }
.vs-table td.no  { color: var(--muted); }
.vs-table td.yes { color: var(--ink); font-weight: 600; }
.vs-table td.yes::before { content: "\2713\00a0"; color: var(--ok); font-weight: 800; }
.vs-table td.no::before  { content: "\2014\00a0"; }
.left-alone { border-top: 1px solid var(--line-soft); padding: 14px 16px 4px;
              font-size: 13.5px; color: var(--muted); }
.left-alone b { color: var(--ink); font-size: 13px; letter-spacing: .04em;
                text-transform: uppercase; }
.left-alone ul { list-style: none; margin-top: 8px; }
.left-alone li { margin-bottom: 5px; }
.left-alone li span { font-weight: 650; color: var(--body); }
/* ------------------------------------------------------- order confirmation */
#doneCard { text-align: center; }
.done-mark { width: 62px; height: 62px; margin: 6px auto 18px; border-radius: 50%;
             background: var(--ok); color: #fff; font-size: 34px; line-height: 62px;
             font-weight: 800; }
.done-h { font-size: 26px; font-weight: 780; }
.done-p { margin-top: 12px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.done-id { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
           justify-content: center; margin-top: 22px; padding: 14px 18px;
           background: var(--wash); border: 1px solid var(--line);
           border-radius: var(--radius); }
.done-id .k { font-size: 12px; font-weight: 800; letter-spacing: .12em;
              text-transform: uppercase; color: var(--muted); }
.done-id code { font-size: 19px; font-weight: 700; color: var(--ink);
                letter-spacing: .01em; }
.done-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
             margin-top: 26px; }





.price.alt .amount { color: var(--ink); }

/* prose lists on the legal pages */
ul.doclist { list-style: none; margin-top: 12px; }
ul.doclist li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15.5px; }
ul.doclist li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--orange);
}

/* notices */
.notice {
  border: 1px solid var(--line); border-left: 4px solid var(--blue);
  background: var(--wash); border-radius: 8px; padding: 16px 18px;
  font-size: 15px; margin-top: 16px;
}
.notice.warn { border-left-color: var(--orange); }
.notice strong { color: var(--ink); }

/* faq */
details.faq {
  border-bottom: 1px solid var(--line); padding: 16px 0;
}
details.faq summary {
  cursor: pointer; font-weight: 650; color: var(--ink); font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--orange-ink); font-weight: 700; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin-top: 10px; font-size: 15px; }

/* ------------------------------------------------------------------- forms */

/* The first pass was unstyled inputs stacked on white — technically a form,
   visually a spreadsheet. These give it structure: numbered sections, a tinted
   file-drop zone, and a sticky summary so the price stays in view while typing. */
.order-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px;
                align-items: start; }
@media (max-width: 940px) { .order-layout { grid-template-columns: 1fr; } }

fieldset.sec { border: 0; padding: 0 0 24px; margin: 0 0 24px;
               border-bottom: 1px solid var(--line-soft); }
fieldset.sec:last-of-type { border-bottom: 0; padding-bottom: 4px; margin-bottom: 0; }
fieldset.sec legend { display: flex; align-items: center; gap: 11px; margin-bottom: 2px; }
fieldset.sec legend .n {
  width: 26px; height: 26px; border-radius: 7px; background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 750; display: flex; align-items: center;
  justify-content: center; flex: 0 0 auto; letter-spacing: 0;
}
fieldset.sec legend .t { font-size: 17px; font-weight: 700; color: var(--ink);
                         letter-spacing: -0.015em; text-transform: none; }
fieldset.sec .why { font-size: 13.5px; color: var(--muted); margin: 6px 0 4px 37px; }

.dropzone {
  border: 1.5px dashed #C2CDDC; border-radius: 10px; background: var(--wash);
  padding: 16px 18px; margin-top: 7px; transition: border-color .15s, background .15s;
}
.dropzone:hover { border-color: var(--blue); background: #F0F5FC; }
.dropzone input[type=file] { background: transparent; border: 0; padding: 0; margin: 0; }
.dropzone .lab { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.dropzone .sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.dropzone.optional { border-style: dashed; }

.summary {
  position: sticky; top: 88px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.summary .head { background: var(--navy); color: #fff; padding: 16px 20px; }
.summary .head .amt { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.summary .head .per { font-size: 13px; opacity: .75; }
.summary .body2 { padding: 16px 20px; }
.summary ul { list-style: none; }
.summary li { position: relative; padding-left: 22px; margin-bottom: 9px;
              font-size: 14px; color: var(--body); }
.summary li::before { content: ""; position: absolute; left: 3px; top: 7px;
                      width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.summary .foot { border-top: 1px solid var(--line-soft); padding: 14px 20px;
                 font-size: 12.5px; color: var(--muted); }
.summary .btn { width: 100%; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
}
fieldset { border: 0; margin-bottom: 26px; }
fieldset legend {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 4px;
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
label { display: block; margin-top: 16px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
/* Enumerating types means any new type renders as a raw browser widget: the
   login page's password field shipped unstyled for exactly this reason. Add the
   type here when you add a field. */
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], textarea, input[type=file], input[type=color] {
  width: 100%; margin-top: 7px; padding: 10px 12px; font: inherit; font-size: 15.5px;
  color: var(--ink); background: #fff;
  border: 1px solid #CFD8E4; border-radius: 8px;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,79,144,.13);
}
input[type=color] { padding: 3px; height: 42px; }
input[type=file] { padding: 9px 11px; background: var(--wash); }
textarea { min-height: 92px; resize: vertical; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px;
         font-weight: 400; font-size: 14.5px; color: var(--body); }
.check input { width: auto; margin-top: 3px; flex: 0 0 auto; }

/* --------------------------------------------------------------- AI assist */

.assist { border: 1px solid #CFE0F2; background: #F2F8FE; border-radius: 10px;
          padding: 15px 17px; margin: 4px 0 18px; }
.assist .row { display: flex; gap: 14px; align-items: flex-start; }
.assist .ico { flex: 0 0 32px; height: 32px; border-radius: 9px; background: var(--blue);
               color: #fff; display: flex; align-items: center; justify-content: center;
               font-size: 16px; font-weight: 700; }
.assist h4 { font-size: 15px; font-weight: 700; color: var(--ink); }
.assist p { font-size: 13.5px; color: var(--body); margin-top: 4px; }
.assist .btn { margin-top: 12px; }
.assist .status { font-size: 13px; margin-top: 10px; }

.sugg { border: 1px solid var(--line); border-radius: 10px; margin-top: 14px;
        overflow: hidden; background: #fff; }
.sugg .hd { background: var(--wash); border-bottom: 1px solid var(--line);
            padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--ink);
            display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sugg .fld { border-bottom: 1px solid var(--line-soft); padding: 13px 14px; }
.sugg .fld:last-child { border-bottom: 0; }
.sugg .name { font-size: 11px; font-weight: 800; letter-spacing: .12em;
              text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.sugg .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .sugg .pair { grid-template-columns: 1fr; } }
.sugg .box { font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 7px;
             border: 1px solid var(--line); }
.sugg .box.old { background: #FBFCFD; color: var(--muted); }
.sugg .box.new { background: #F1FAF4; border-color: #BEE0CC; color: var(--ink); }
.sugg .box .tag { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
                  text-transform: uppercase; margin-bottom: 5px; color: var(--muted); }
.sugg .box.new .tag { color: var(--ok); }
.sugg .acts { padding: 12px 14px; background: var(--wash); display: flex; gap: 9px;
              flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------- sample detail pages ---
   These lived in a <style> block inside the old single sample.html. When the
   catalogue replaced that file with a redirect, the generated detail pages kept
   referencing the classes and rendered unstyled. Shared CSS belongs in the
   shared stylesheet. */

.detail { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 940px) { .detail { grid-template-columns: 1fr; } }

.preview {
  width: 100%; height: auto; display: block; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}

.rail { position: sticky; top: 88px; }
.rail h2 { font-size: 19px; margin-bottom: 12px; }
.rail .blk + .blk { margin-top: 26px; }

.modlist { list-style: none; }
.modlist li { display: flex; gap: 12px; padding: 11px 0; align-items: flex-start;
              border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.modlist li:last-child { border-bottom: 0; }
.modlist .n { flex: 0 0 24px; height: 24px; border-radius: 7px; background: var(--navy);
              color: #fff; font-size: 12px; font-weight: 750; display: flex;
              align-items: center; justify-content: center; }
.modlist b { display: block; color: var(--ink); margin-bottom: 2px; }
/* scoped to the description, not .n — a bare `.modlist span` also hits the number */
.modlist li > div > span { display: block; color: var(--muted); font-size: 13.5px;
                           line-height: 1.4; }

/* ------------------------------------------------------- sample catalogue */

.scards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .scards { grid-template-columns: 1fr; } }
.scard { display: block; text-decoration: none; color: inherit; background: #fff;
         border: 1px solid var(--line); border-radius: var(--radius);
         overflow: hidden; box-shadow: var(--shadow);
         transition: box-shadow .15s ease, transform .08s ease; }
.scard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
/* fixed-height window onto a very tall composite, so cards stay uniform */
/* NOT .shot — that class is the hero screenshot and carries a rotate+padding
   that would tilt every card thumbnail. */
.scard .thumb { height: 260px; overflow: hidden; background: var(--wash);
                border-bottom: 1px solid var(--line-soft); }
.scard .thumb img { width: 100%; display: block; }
.scard .meta { padding: 18px 20px 20px; }
.scard h3 { font-size: 20px; margin: 10px 0 6px; }
.scard p { font-size: 14.5px; color: var(--body); line-height: 1.45; }
.scard .go { display: inline-block; margin-top: 12px; font-size: 14.5px;
             font-weight: 650; color: var(--blue); }

.minis { display: flex; flex-direction: column; gap: 10px; }
.mini { display: flex; gap: 11px; align-items: center; text-decoration: none;
        color: var(--ink); font-size: 14px; font-weight: 600; }
.mini img { width: 62px; height: 44px; object-fit: cover; object-position: top;
            border: 1px solid var(--line); border-radius: 5px; }

/* -------------------------------------------------------------- account pages */

.auth-card { max-width: 440px; margin: 0 auto; background: #fff;
             border: 1px solid var(--line); border-radius: var(--radius);
             box-shadow: var(--shadow); padding: 30px; }
.auth-tabs { display: flex; gap: 6px; background: var(--wash); padding: 5px;
             border-radius: 9px; margin-bottom: 22px; }
.auth-tabs button { flex: 1; border: 0; background: transparent; font: inherit;
                    font-size: 14.5px; font-weight: 650; color: var(--muted);
                    padding: 9px 0; border-radius: 6px; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink);
                                          box-shadow: 0 1px 3px rgba(10,47,90,.14); }
.auth-msg { font-size: 14px; margin-top: 14px; min-height: 20px; }
.auth-msg.bad { color: var(--bad); }
.auth-msg.good { color: var(--ok); }
.auth-alt { font-size: 13.5px; color: var(--muted); margin-top: 16px; text-align: center; }
/* Google's brand guidance: our own surface and type, their mark unaltered. */
.btn-google { width: 100%; background: #fff; color: #1F1F1F; border-color: #DADCE0;
              font-weight: 600; margin-bottom: 4px; }
.btn-google:hover { background: #F8F9FA; border-color: #D2D5D9; }
.btn-google svg { flex: 0 0 auto; }
.btn-google.is-off { opacity: .5; cursor: not-allowed; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 2px;
           color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }


.acct-bar { display: flex; align-items: center; gap: 14px; }
.acct-bar .who { color: #fff; font-size: 14px; }
.acct-bar .who b { display: block; font-weight: 700; }
.acct-bar .who span { opacity: .7; font-size: 12.5px; }

.orders { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.orders th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em;
             color: var(--muted); background: var(--wash); text-align: left;
             padding: 11px 12px; white-space: nowrap; }
.orders td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.orders tr:last-child td { border-bottom: 0; }
.orders .ttl { font-weight: 650; color: var(--ink); }
.orders .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.orders code { font-size: 12px; }
.orders-wrap { border: 1px solid var(--line); border-radius: var(--radius);
               overflow: hidden; box-shadow: var(--shadow); }
.empty-state { text-align: center; padding: 46px 24px; background: #fff; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; }
.empty-state p { font-size: 15px; color: var(--body); max-width: 46ch;
                 margin: 0 auto 18px; }

/* ------------------------------------------------------------------- status */

.pill {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
  background: var(--wash); color: var(--muted); border: 1px solid var(--line);
}
.pill.queued    { color: var(--warn); border-color: #E8D3AC; background: #FFF9EE; }
.pill.building  { color: var(--blue); border-color: #BAD3EA; background: #EFF6FD; }
.pill.review    { color: var(--warn); border-color: #E8D3AC; background: #FFF9EE; }
.pill.delivered { color: var(--ok);   border-color: #BADFC9; background: #F1FAF4; }
.pill.failed    { color: var(--bad);  border-color: #EFC6C3; background: #FDF3F2; }

table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
th, td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em;
     color: var(--muted); background: var(--wash); }
tbody tr:hover { background: #FBFCFE; }
code { font: 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--navy); }

.mods { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.mods figure { border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
               box-shadow: var(--shadow); background: #fff; }
.mods img { display: block; width: 100%; height: auto; }
.mods figcaption { font-size: 12.5px; color: var(--muted); padding: 9px 12px;
                   border-top: 1px solid var(--line-soft); }
pre.copy {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap; max-height: 520px; overflow: auto; margin-top: 14px;
  color: var(--ink);
}

/* ------------------------------------------------------------- cookie consent */

#consentBar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 28px rgba(10,47,90,.12);
}
#consentBar .cb-in {
  max-width: 1120px; margin: 0 auto; padding: 16px 24px;
  display: flex; gap: 22px; align-items: center; justify-content: space-between;
}
#consentBar p { font-size: 14px; line-height: 1.5; color: var(--body); max-width: 74ch; }
#consentBar .cb-btns { display: flex; gap: 10px; flex: 0 0 auto; }
@media (max-width: 720px) {
  #consentBar .cb-in { flex-direction: column; align-items: flex-start; gap: 13px; }
  #consentBar .cb-btns { width: 100%; }
  #consentBar .cb-btns .btn { flex: 1; }
}

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

footer.site { background: var(--navy-900); color: #9FB4CC; padding: 44px 0 52px; }
footer.site .inner { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
footer.site img { height: 42px; width: auto; background: #fff; padding: 6px 10px;
                  border-radius: 8px; }
footer.site p { font-size: 14px; max-width: 52ch; }
footer.site a { color: #CFE0F2; }

/* below this the header is logo + CTA only; Pricing loses the fight for space */
@media (max-width: 620px) {
  header.site nav a:not(.btn) { display: none; }
  header.site .inner { gap: 12px; }
}

@media (max-width: 900px) {
  .hero .split, .cards, .cards.two, .gallery, .price-row, .plan-row, .fgrid {
    grid-template-columns: 1fr;
  }
  /* Eight ticks in two columns is fine at desktop width; at phone width the columns
     get so narrow the text breaks mid-phrase. */
  .price ul.two-col { columns: 1; }
  .hero { padding: 48px 0 54px; }
  section { padding: 46px 0; }
  header.site nav { gap: 14px; }
  header.site nav a.hide-sm { display: none; }
  .shot { transform: none; }
}
