/* Addi for wholesalers, v3: the tour of the machine. Dark, solid fills, zero letter-spacing. */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url('/addi/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('/addi/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('/addi/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('/addi/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 500; font-display: swap; src: url('/addi/assets/fonts/geist-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url('/addi/assets/fonts/geist-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 700; font-display: swap; src: url('/addi/assets/fonts/geist-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --void: #050a0a;
  --band: #081111;
  --plate: #0b1616;
  --plate-2: #102020;
  --line: #1f3a39;
  --edge: #2c5654;
  --teal: #2eb4ab;
  --teal-hi: #55c9c1;
  --teal-deep: #0f5e5a;
  --teal-wash: #063f3f;
  --ink: #ffffff;
  --ink-2: #c9c9c9;
  --muted: #9b9ba1;
  --product: #1a1a1c;
  --product-2: #242427;
  --stroke: #2f2f35;
  --action: #f68d2e;
  --action-hi: #f7a14f;
  --action-ink: #101111;
  --money: #34d399;
  --money-wash: #0b3a2c;
  --pass: #f87171;
  --pass-wash: #3a1416;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --product-face: 'Geist', 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--void); color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--teal-hi); }
:focus-visible { outline: 3px solid var(--teal-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--action-ink); padding: 10px 16px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 16px; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--teal-hi); margin-bottom: 18px; }

/* the one action */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 14px; background: var(--action); color: var(--action-ink); font-weight: 800; font-size: 19px; text-decoration: none; }
.cta:hover { background: var(--action-hi); }
.cta-small { min-height: 44px; padding: 0 20px; font-size: 16px; border-radius: 12px; }

/* bar */
.bar { position: sticky; top: 0; z-index: 10; background: var(--void); border-bottom: 1px solid #0f1f1f; }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 800; font-size: 22px; }

/* hero */
.hero { padding: 72px 0 96px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 66px); }
.lede { margin-top: 24px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.act { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.act-note { font-size: 16px; color: var(--muted); }

/* the machine card: the real run, passing through */
.machine { margin: 0; }
.mc { background: var(--plate); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 20px; box-shadow: 0 30px 60px #000000; font-family: var(--product-face); }
.mc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mc-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--teal-deep); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; flex: none; }
.mc-title { flex: 1; min-width: 0; }
.mc-addr { font-weight: 700; font-size: 20px; }
.mc-sub { font-size: 14px; color: var(--muted); }
.mc-clock { position: relative; width: 62px; height: 62px; flex: none; display: flex; align-items: center; justify-content: center; }
.mc-clock-ring { position: absolute; inset: 0; border-radius: 50%; border: 4px solid var(--line); }
.mc.lit-all .mc-clock-ring, .mc .mc-clock.on .mc-clock-ring { border-color: var(--teal); }
.mc-clock-t { font-weight: 700; font-size: 16px; }
.mc-steps { list-style: none; margin: 18px 0 0; padding: 0 0 0 28px; position: relative; }
.mc-steps::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: 16px; width: 2px; background: var(--line); }
.mc-step { position: relative; padding: 9px 0; display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: baseline; color: #7f9f9d; transition: color 0.3s; }
.mc-node { position: absolute; left: -28px; top: 15px; width: 14px; height: 14px; border-radius: 50%; background: var(--plate); border: 2px solid var(--edge); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.mc-k { font-weight: 600; font-size: 15px; }
.mc-v { font-weight: 500; font-size: 15px; color: #7f9f9d; transition: color 0.3s; }
.mc-step.on { color: var(--ink); }
.mc-step.on .mc-v { color: var(--ink-2); }
.mc-step.on .mc-node { background: var(--teal); border-color: var(--teal-hi); box-shadow: 0 0 16px #0f817b; }
.mc-exits { display: grid; gap: 6px; }
.mc-x { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; background: var(--product); border: 1px solid var(--stroke); border-radius: 10px; padding: 7px 10px; font-size: 14px; opacity: 1; }
.mc-x b { font-weight: 600; color: #7f9f9d; }
.mc-x i { font-style: normal; font-weight: 700; color: #7f9f9d; }
.mc-x em { font-style: normal; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--product-2); color: #7f9f9d; }
.mc-step.on .mc-x b { color: var(--ink); }
.mc-step.on .mc-x.go i { color: var(--money); }
.mc-step.on .mc-x.no i { color: var(--pass); }
.mc-step.on .mc-x.go em { background: var(--money-wash); color: #6ee7b7; }
.mc-step.on .mc-x.no em { background: var(--pass-wash); color: #fca5a5; }
.mc-step.on .mc-x.go { border-color: #0b815a; }
.machine figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* the film, right under the hero */
.film-wrap { margin-top: 88px; }
.film { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000000; aspect-ratio: 16 / 9; }
.film video { display: block; width: 100%; height: 100%; }

/* the problem */
.problem { background: var(--band); padding: 104px 0; border-top: 1px solid #0f1f1f; border-bottom: 1px solid #0f1f1f; }
.problem h2 { font-size: clamp(32px, 3.8vw, 50px); max-width: 17em; }
.problem-body { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.story { font-size: 22px; line-height: 1.5; color: var(--ink); }
.symptoms { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.symptoms li { position: relative; padding: 16px 18px 16px 48px; background: var(--plate); border: 1px solid var(--line); border-radius: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.symptoms li::before { content: ''; position: absolute; left: 20px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--pass); }
.bridge { grid-column: 1 / -1; font-size: 20px; color: var(--teal-hi); font-weight: 700; }

/* the tour */
.tour { padding: 112px 0 64px; }
.tour-head { max-width: 760px; }
.tour-head h2 { font-size: clamp(34px, 4vw, 54px); }
.tour-lede { margin-top: 18px; color: var(--muted); font-size: 18px; }
.parts { list-style: none; margin: 72px 0 0; padding: 0 0 0 44px; position: relative; }
.parts::before { content: ''; position: absolute; left: 9px; top: 10px; bottom: 40px; width: 2px; background: var(--line); }
.part { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; padding-bottom: 112px; }
.part-wide { grid-template-columns: 1fr; gap: 32px; }
.part-wide .part-copy { max-width: 760px; }
.part-loop { padding-bottom: 24px; }
.tag { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--teal-hi); margin-bottom: 14px; }
.tag-dot { position: absolute; left: -44px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--void); border: 2px solid var(--edge); }
.part.seen .tag-dot { background: var(--teal); border-color: var(--teal-hi); box-shadow: 0 0 18px #0f817b; }
.part h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.part-copy p { color: var(--ink-2); }
.proof { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.proof li { font-size: 16px; color: var(--muted); padding-left: 16px; border-left: 3px solid var(--teal); }
.proof b { color: var(--ink); font-weight: 700; }
.shot { margin: 0; position: relative; }
.shot img { width: 100%; border-radius: 14px; border: 1px solid var(--stroke); background: #0e0e10; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.shot-stack { padding-bottom: 96px; }
.shot-stack .inset { position: absolute; right: -12px; bottom: 36px; width: 46%; box-shadow: 0 24px 48px #000000; border-color: var(--edge); }
.shot-stack figcaption { position: absolute; left: 0; bottom: 0; width: 50%; }
.shot-pair { display: grid; grid-template-columns: 1fr 0.42fr; gap: 16px; align-items: start; }
.shot-pair figcaption { grid-column: 1 / -1; margin-top: 0; }

/* the gates, interactive */
.gates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gate-rules { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: start; }
.gate-rules .gate-k, .gate-rules .gate-note { grid-column: 1 / -1; }
.gate { background: var(--plate); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; font-family: var(--product-face); }
.gate-k { font-weight: 700; font-size: 15px; color: var(--teal-hi); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--product); border: 1px solid var(--stroke); border-radius: 12px; padding: 4px; gap: 4px; }
.seg-b { min-height: 44px; border: 0; border-radius: 9px; background: var(--product); color: var(--muted); font: 600 15px var(--product-face); cursor: pointer; }
.seg-b[aria-pressed='true'] { background: var(--product-2); color: var(--ink); box-shadow: inset 0 0 0 1px #3f3f46; }
.gate-out { background: var(--product); border: 1px solid var(--stroke); border-radius: 14px; padding: 16px 18px; }
.gate-lbl { font-size: 14px; color: var(--muted); }
.gate-num { font-weight: 700; font-size: 34px; line-height: 1.15; margin-bottom: 8px; color: var(--ink); }
.gate-num.money.up { color: var(--money); }
.gate-num.money.down { color: var(--pass); }
.gate-verdict { margin-top: 2px; }
.gate-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.gate-rules img { border-radius: 10px; border: 1px solid var(--stroke); }
.pill { display: inline-block; font: 700 14px var(--product-face); padding: 4px 12px; border-radius: 8px; }
.pill-go { background: var(--money-wash); color: #6ee7b7; border: 1px solid #0b815a; }
.pill-no { background: var(--pass-wash); color: #fca5a5; border: 1px solid #7f1d1d; }
.sales { list-style: none; margin: 0; padding: 0; background: var(--product); border: 1px solid var(--stroke); border-radius: 14px; }
.sales li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--stroke); font-size: 15px; color: var(--ink-2); }
.sales li:first-child { border-top: 0; }
.sales li span:last-child { font-weight: 700; color: var(--ink); }
.sale-sw.off span:first-child { color: #6b6b72; text-decoration: line-through; }
.sw { position: relative; width: 52px; height: 30px; flex: none; border-radius: 15px; border: 0; background: #149a92; cursor: pointer; }
.sw-k { position: absolute; top: 4px; left: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: left 0.18s; }
.sw[aria-checked='false'] { background: #3f3f46; }
.sw[aria-checked='false'] .sw-k { left: 4px; }

/* the exits */
.exits { display: grid; gap: 16px; }
.exit-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.exit-tabs button { text-align: left; min-height: 80px; padding: 14px 18px; border-radius: 16px; background: var(--product); border: 1px solid var(--stroke); color: var(--ink); cursor: pointer; font-family: var(--product-face); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; }
.exit-tabs b { font-weight: 600; font-size: 17px; }
.exit-tabs span { font-size: 14px; color: var(--muted); grid-row: 2; }
.exit-tabs i { font-style: normal; font-weight: 700; font-size: 17px; grid-row: 1 / 3; grid-column: 2; align-self: center; }
.exit-tabs i.up { color: var(--money); }
.exit-tabs i.down { color: var(--pass); }
.exit-tabs button[aria-selected='true'] { border-color: var(--teal); background: var(--product-2); box-shadow: inset 0 0 0 1px var(--teal); }
.exit-pane { background: var(--plate); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.exit-sum { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; font-family: var(--product-face); }
.exit-line { color: var(--ink-2); font-size: 16px; }
.exit-pane img { border-radius: 12px; border: 1px solid var(--stroke); width: 100%; }

/* the guide */
.guide { background: var(--band); padding: 104px 0; border-top: 1px solid #0f1f1f; border-bottom: 1px solid #0f1f1f; }
.guide-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.guide-photo { margin: 0; }
.guide-photo img { border-radius: 22px; border: 1px solid var(--line); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.guide h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 22px; }
.guide-copy p { color: var(--ink-2); }
.who { margin-top: 24px; display: grid; font-size: 16px; color: var(--muted); }
.who b { color: var(--ink); font-size: 18px; }

/* three steps */
.steps { padding: 112px 0; }
.steps h2 { font-size: clamp(32px, 3.6vw, 48px); }
.step-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-list li { background: var(--plate); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.step-n { display: inline-block; font-weight: 700; font-size: 14px; color: var(--teal-hi); margin-bottom: 14px; }
.step-list h3 { font-size: 26px; margin-bottom: 10px; }
.step-list p { color: var(--ink-2); font-size: 17px; }

/* the meter */
.meter { background: var(--band); padding: 104px 0; border-top: 1px solid #0f1f1f; border-bottom: 1px solid #0f1f1f; }
.meter-in { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.dial { position: relative; width: 320px; height: 320px; border-radius: 50%; background: var(--plate); border: 6px solid var(--teal); box-shadow: 0 0 48px #0b6864; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; }
.dial-v { font-weight: 800; font-size: 96px; line-height: 1; }
.dial-l { font-size: 18px; color: var(--muted); margin-top: 6px; }
.lamp { position: absolute; bottom: -56px; display: flex; align-items: center; gap: 10px; font-family: var(--product-face); font-weight: 700; font-size: 17px; color: var(--ink); }
.lamp-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--money); box-shadow: 0 0 14px #10b981; }
.meter h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 22px; }
.meter-copy p { color: var(--ink-2); }
.allow { margin-top: 16px; font-size: 16px; color: var(--muted) !important; }
.quote { margin: 32px 0 0; padding: 22px 26px; background: var(--plate); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 14px; }
.quote p { font-weight: 700; font-size: 21px; line-height: 1.45; color: var(--ink) !important; }
.quote footer { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* by hand, or with the machine */
.compare { padding: 112px 0; }
.compare h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 40px; }
.table { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--plate); }
.tr { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; border-top: 1px solid var(--line); }
.tr:first-child { border-top: 0; }
.tr > span { padding: 18px 22px; font-size: 16px; line-height: 1.45; }
.tr > span:nth-child(1) { font-weight: 700; color: var(--ink); }
.tr > span:nth-child(2) { color: var(--muted); }
.tr > span:nth-child(3) { color: var(--ink); background: #0c1d1c; }
.th > span { font-weight: 800 !important; font-size: 15px; color: var(--ink) !important; background: var(--plate-2); }
.th > span:nth-child(3) { background: var(--teal-wash) !important; color: var(--teal-hi) !important; }

/* FAQ */
.faq { padding: 0 0 112px; }
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq h2 { font-size: clamp(32px, 3.6vw, 48px); position: sticky; top: 100px; }
.qa { display: grid; gap: 10px; }
.qa details { background: var(--plate); border: 1px solid var(--line); border-radius: 14px; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 18px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--teal-hi); border-bottom: 2px solid var(--teal-hi); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.qa details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 17px; }

/* final call */
.final { padding: 112px 0 120px; background: var(--band); border-top: 1px solid #0f1f1f; }
.final-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final h2 { margin-top: 26px; font-size: clamp(40px, 5vw, 68px); }
.final-sub { margin: 16px 0 34px; font-size: 22px; color: var(--teal-hi); font-weight: 700; }

.foot { padding: 32px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--muted); }

/* narrow screens */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 72px; }
  .hero-in, .problem-body, .part, .guide-in, .meter-in, .faq-in { grid-template-columns: 1fr; gap: 32px; }
  .lede { font-size: 18px; }
  .film-wrap { margin-top: 56px; }
  .problem, .guide, .meter, .steps, .compare, .final { padding: 72px 0; }
  .tour { padding: 72px 0 32px; }
  .parts { margin-top: 48px; padding-left: 34px; }
  .parts::before { left: 7px; }
  .tag-dot { left: -34px; width: 18px; height: 18px; }
  .part { padding-bottom: 72px; }
  .step-list { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .meter-in { justify-items: center; }
  .meter-copy { width: 100%; }
  .guide-photo { max-width: 420px; }
}
@media (max-width: 640px) {
  .gates, .exit-tabs, .gate-rules { grid-template-columns: 1fr; }
  .mc { padding: 20px 18px 16px; }
  .mc-step { grid-template-columns: 1fr; gap: 2px; }
  .shot-stack { padding-bottom: 0; }
  .shot-stack .inset { position: static; width: 100%; margin-top: 12px; }
  .shot-stack figcaption { position: static; width: auto; margin-top: 12px; }
  .shot-pair { grid-template-columns: 1fr; }
  .shot-pair img:nth-child(2) { max-width: 320px; }
  .tr { grid-template-columns: 1fr; }
  .tr > span { padding: 10px 18px; }
  .tr > span:nth-child(1) { padding-top: 18px; }
  .tr > span:nth-child(3) { padding-bottom: 18px; }
  .th { display: none; }
  .tr > span:nth-child(2)::before { content: 'By hand: '; font-weight: 700; color: var(--muted); }
  .tr > span:nth-child(3)::before { content: 'With Addi: '; font-weight: 700; color: var(--teal-hi); }
  .dial { width: 260px; height: 260px; }
  .dial-v { font-size: 80px; }
  .cta { width: 100%; }
  .cta-small { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
