/* Arete sales page. The same look as the PDF and the logger: near-black,
   light number boxes, volt for "today". Fonts: Barlow + Inter (SIL OFL). */

@font-face { font-family: "Barlow Display"; font-weight: 900; font-style: italic; font-display: swap; src: url("fonts/Barlow-BlackItalic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/BarlowCondensed-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("fonts/BarlowCondensed-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/Inter-Bold.woff2") format("woff2"); }

:root {
  --bg: #0A0A0B; --surface: #141416; --surface-2: #1C1C1F; --line: #2A2A2F;
  --fg: #F5F5F7; --muted: #9B9BA3; --dim: #63636B;
  --volt: #D4FF3A; --ink: #0A0A0B;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.55 "Inter", system-ui, -apple-system, sans-serif;
  font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b { font-weight: 700; }
p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--volt); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.accent { color: var(--volt); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }

/* ---- type ------------------------------------------------------------------ */
.wordmark {
  font-family: "Barlow Display", var(--cond); font-weight: 900; font-style: italic;
  font-size: 26px; letter-spacing: -0.02em; text-decoration: none; line-height: 1;
}
.display {
  font-family: var(--cond); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.92;
}
.kicker {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 14px; color: var(--muted); margin-bottom: 12px;
}
.h2 { font-size: clamp(44px, 11vw, 64px); margin-bottom: 22px; }
.h3 { font-size: 32px; margin-bottom: 8px; }
.body { color: #D6D6DC; font-size: 17px; }
.body b { color: var(--fg); }
.lead { font-size: 19px; color: #D6D6DC; max-width: 30em; margin: 20px 0 28px; }

/* ---- buttons ----------------------------------------------------------------- */
.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--volt); color: var(--ink); text-decoration: none;
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 17px; padding: 12px 18px; border-radius: 999px; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
  touch-action: manipulation;
}
.buy:hover { box-shadow: 0 0 0 4px rgba(212, 255, 58, 0.18); }
.buy:active { transform: scale(0.98); }
.buy-big { font-size: 22px; padding: 18px 30px; width: 100%; max-width: 420px; }
.buy-small { font-size: 15px; padding: 9px 16px; }

/* ---- header ------------------------------------------------------------------ */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 11, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }

/* ---- hero -------------------------------------------------------------------- */
.hero { padding: 28px 0 56px; position: relative; }
.hero::before {
  /* the faint grid from the PDF's cover */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .35;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-grid { display: grid; gap: 40px; }
.hero-title { font-size: clamp(72px, 21vw, 132px); }
.ticks { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--volt);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.ticks-col { flex-direction: column; gap: 10px; font-size: 16px; color: #D6D6DC; margin-top: 22px; }

.hero-art { position: relative; height: 450px; max-width: 420px; width: 100%; margin: 0 auto; }
.phone {
  background: #000; border: 1px solid #34343A; border-radius: 40px; padding: 9px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px #000 inset;
}
.phone img { border-radius: 31px; }
.hero-art .phone { position: absolute; width: 205px; }
.phone-front { left: 50%; top: 0; transform: translateX(-38%) rotate(3deg); z-index: 2; box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 120px rgba(212,255,58,.10); }
.phone-back { left: 50%; top: 40px; transform: translateX(-88%) rotate(-6deg); opacity: .55; }

/* ---- sections ---------------------------------------------------------------- */
.section { padding: 64px 0; }
.band { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.quotes { display: grid; gap: 10px; margin-bottom: 26px; }
.quotes li {
  font-family: var(--cond); font-weight: 700; font-size: 24px; line-height: 1.15;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px;
  padding: 12px 16px; width: fit-content; max-width: 100%;
}
.quotes li:nth-child(even) { margin-left: auto; border-radius: 18px 18px 6px 18px; }

.rule-card { background: var(--volt); color: var(--ink); border-radius: 26px; padding: 22px 22px 8px; margin-bottom: 22px; }
.rule-label { font-family: var(--cond); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; margin-bottom: 6px; }
.rule-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 0; }
.rule-row + .rule-row { border-top: 2px solid rgba(10, 10, 11, 0.15); }
.rule-row .display { font-size: clamp(28px, 8vw, 40px); }
.rule-row .arrow { font-size: 28px; font-weight: 700; }

.steps { display: grid; gap: 48px; counter-reset: step; }
.step { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; }
.phone-step { border-radius: 24px; padding: 5px; }
.phone-step img { border-radius: 19px; }
.card-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.step-num { font-family: var(--cond); font-weight: 800; font-style: italic; color: var(--volt); font-size: 20px; letter-spacing: .04em; margin-bottom: 2px; }

.box { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.box + .box { margin-top: 14px; }
.inside-lead { margin: -6px 0 22px; }
.box-body { color: #D6D6DC; font-size: 16px; margin-bottom: 16px; }
.box-title { font-family: var(--cond); font-weight: 800; font-size: 26px; text-transform: uppercase; font-style: italic; line-height: 1; margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.tag { font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.list { display: grid; gap: 12px; }
.list li { position: relative; padding-left: 26px; color: #D6D6DC; font-size: 16px; }
.list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--volt); transform: rotate(45deg) scale(.7); }
.list b { color: var(--fg); }

.shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin: 20px -22px 0; padding: 0 22px 6px;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf li { scroll-snap-align: start; }
.shelf img { border-radius: 14px; border: 1px solid var(--line); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.duo-shot { background: #000; border: 1px solid #34343A; border-radius: 24px; padding: 5px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.duo-cap { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.2; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font-size: 26px; font-weight: 400; color: var(--volt); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #C9C9D0; padding: 0 0 20px; font-size: 16px; }

.final { padding: 80px 0 96px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 100%, rgba(212,255,58,.10), transparent 60%); }
.final-title { font-size: clamp(64px, 18vw, 120px); margin-bottom: 30px; }
.final .small { margin-top: 16px; }

.foot { border-top: 1px solid var(--line); padding: 36px 0 calc(110px + var(--safe-b)); }
.foot-grid { display: grid; gap: 22px; }
.wordmark-foot { font-size: 24px; margin-bottom: 6px; }
.foot-links { display: flex; gap: 20px; font-weight: 600; }
.foot-links a { display: inline-block; text-decoration: none; border-bottom: 1px solid var(--dim); padding: 10px 0 4px; }
.foot-links a:hover { border-color: var(--volt); }
.foot-notes { display: grid; gap: 4px; }

/* ---- sticky buy bar (phones) ---------------------------------------------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 14px calc(10px + var(--safe-b));
  background: rgba(20, 20, 22, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.show { transform: none; }
.sticky-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 640px; margin: 0 auto; }
.sticky-name { font-family: "Barlow Display", var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 20px; line-height: 1; }
.sticky-sub { font-size: 13px; color: var(--muted); }
.sticky .buy { font-size: 17px; padding: 12px 20px; }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }

/* ---- wider screens ---------------------------------------------------------- */
@media (min-width: 560px) {
  .shelf { grid-auto-columns: 23%; overflow: visible; margin: 20px 0 0; padding: 0; }
  .duo { grid-template-columns: repeat(2, minmax(0, 200px)); justify-content: center; gap: 32px; }
  .step { grid-template-columns: 180px 1fr; gap: 32px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .hero-art { height: 600px; }
  .hero-art .phone { width: 270px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .step { grid-template-columns: 1fr; align-items: start; }
  .step .phone-step, .step .card-shot { max-width: 240px; }
  .card-shot { aspect-ratio: 600 / 1298; display: flex; align-items: center; background: #0A0A0B; }
  .foot-grid { grid-template-columns: 1fr auto; }
  .foot-notes { grid-column: 1 / -1; }
  .sticky { display: none; }
  .foot { padding-bottom: 40px; }
}
