/* Brazo's waiting list.  The landing page's look (landing/css/style.css): dark navy, warm for the hand, cool for the cast. */

@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #060a11;
  --bg-2: #0a111c;
  --field: #0d1522;
  --ink: #eef3f8;
  --soft: #b7c3d3;
  --muted: #94a3b8;
  --dim: #6b7a90;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #ff9e64;           /* the hand */
  --teal: #3dd6c3;             /* the cast */
  --blue: #2b95e0;             /* GeometryWeave */
  --danger: #ff8a7a;
  --display: "Montserrat", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --text: "Inter", ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); background: var(--bg); }
body {
  margin: 0; color: var(--ink); background: var(--bg); font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; }
::selection { background: rgba(255, 158, 100, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* a fine grain over everything, so the dark is not flat */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ------------------------------------------------------------ the bar */

.nav {
  position: fixed; z-index: 40; inset: 0 0 auto 0; height: var(--nav); padding: 0 clamp(16px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(to bottom, rgba(6, 10, 17, .88), rgba(6, 10, 17, 0));
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; }
.brand img { width: 24px; height: auto; }
.nav nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.nav .pill { color: var(--bg); background: var(--ink); padding: 9px 16px; border-radius: 99px; font: 600 14px/1 var(--text); text-decoration: none; white-space: nowrap; transition: background .2s; }
.nav .pill:hover { background: var(--accent); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border: 0; border-radius: 99px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 600 15px/1 var(--text); letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .25s, opacity .2s;
}
.btn.primary { color: #1a0f06; background: linear-gradient(135deg, #ffb27f, var(--accent) 55%, #ff8a4a); box-shadow: 0 10px 40px -10px rgba(255, 158, 100, .65), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -10px rgba(255, 158, 100, .85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 22px; font: 600 12px/1.3 var(--text);
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .by { color: var(--muted); }
.eyebrow.center { display: flex; justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(61, 214, 195, .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 214, 195, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 214, 195, 0); } }

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

.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  max-width: 1400px; margin: 0 auto; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav) + 24px) clamp(16px, 4vw, 64px) 48px;
  overflow-x: clip;               /* the glow reaches past the picture; on a phone that would widen the page */
}
.hero h1 { font-weight: 800; font-size: clamp(44px, 5.6vw, 88px); line-height: .98; letter-spacing: -0.035em; margin-bottom: 26px; }
.hero h1 em {
  font-style: normal; background: linear-gradient(100deg, var(--accent) 5%, #ffd3b0 38%, var(--teal) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em;
}
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: #c7d2e0; max-width: 34em; margin-bottom: 30px; }

.stage { position: relative; margin: 0; display: grid; place-items: center; }
.stage img {
  position: relative; width: min(100%, 520px); aspect-ratio: 4 / 5; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.glow {
  position: absolute; inset: -6% -10%; border-radius: 50%; filter: blur(70px); opacity: .7; pointer-events: none;
  background: radial-gradient(closest-side, rgba(61, 214, 195, .42), rgba(255, 158, 100, .16) 58%, transparent 78%);
}
.rings { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.rings circle { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 300px 300px; animation: turn 90s linear infinite; }
.rings circle + circle { stroke: rgba(61, 214, 195, .22); animation-duration: 140s; animation-direction: reverse; stroke-dasharray: 1 11; }
@keyframes turn { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- form */

.signup { max-width: 580px; }
.join {
  display: grid; gap: 8px; padding: 8px; border-radius: 24px; border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}
.join .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.join input, .join select {
  width: 100%; min-width: 0; height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line);
  background-color: var(--field); color: var(--ink); font: 400 16px/1 var(--text); transition: border-color .2s, box-shadow .2s;
}
.join input::placeholder { color: var(--dim); }
.join select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 18px center;
}
.join select:invalid, .join select:has(option[value=""]:checked) { color: var(--dim); }
.join option { color: var(--ink); background: var(--bg-2); }
.join input:hover, .join select:hover { border-color: rgba(255,255,255,.18); }
.join input:focus, .join select:focus { outline: none; border-color: rgba(255, 158, 100, .7); box-shadow: 0 0 0 3px rgba(255, 158, 100, .18); }
.join [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 138, 122, .15); }
.join input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 100px var(--field) inset; caret-color: var(--ink); }
.join .btn { height: 52px; border-radius: 16px; }
.msg { margin: 0; padding: 0 10px; font-size: 14px; color: var(--danger); }
.msg:empty { display: none; }
.msg:not(:empty) { padding-bottom: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.done {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 24px; outline: none;
  border: 1px solid rgba(61, 214, 195, .35); background: linear-gradient(160deg, rgba(61, 214, 195, .12), rgba(61, 214, 195, .03));
}
.done svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; color: #04201c; background: var(--teal); }
.done p { margin: 0; color: var(--soft); line-height: 1.5; }
.done b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.done strong { color: var(--ink); overflow-wrap: anywhere; }

.signup .fine { margin: 14px 4px 0; text-align: left; }
.fine { font-size: 13.5px; color: var(--dim); }
.fine a { color: var(--muted); }

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.wrap.narrow { max-width: 780px; }
section.how, section.who, section.faq, section.end { padding: clamp(80px, 12vw, 160px) 0 0; }
.big { font-weight: 800; font-size: clamp(34px, 5vw, 66px); text-align: center; line-height: 1.04; margin-bottom: 44px; letter-spacing: -0.03em; }
.sub { text-align: center; color: var(--soft); max-width: 36em; margin: -12px auto 34px; font-size: 18px; }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.how .sub { margin-top: -18px; }
.steps li { padding: 14px 14px 26px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); }
.steps figure {
  margin: 0 0 18px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 40%, #142033, #070c14 75%);
}
.steps li:nth-child(n+4) figure { background: radial-gradient(90% 70% at 50% 40%, #0f2a2b, #070c14 75%); }
.steps figure img { width: 100%; height: 100%; object-fit: contain; }
.steps li:not(:last-child) figure img {                   /* the arm runs off the bottom of the hands' pictures: faded there */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.steps .num { margin: 0 6px 4px; font: 800 15px/1 var(--display); letter-spacing: .08em; color: var(--accent); }
.steps li:nth-child(n+4) .num { color: var(--teal); }
.steps h3 { margin: 0 6px 10px; font-size: 22px; font-weight: 700; }
.steps li > p:last-child { margin: 0 6px; color: #a9b7c8; font-size: 15px; line-height: 1.55; }

/* the fit runs itself: what you do, what Brazo does */
section.auto, section.pose { padding: clamp(80px, 12vw, 160px) 0 0; }
.duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; counter-reset: step; }
.duo > div { padding: 30px 30px 32px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); }
.duo .brazo { border-color: rgba(61, 214, 195, .25); background: linear-gradient(160deg, rgba(61, 214, 195, .09), rgba(61, 214, 195, .02)); }
.duo h3 { margin: 0 0 20px; font: 600 12px/1.3 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.duo .brazo h3 { color: var(--teal); }
.duo ol, .duo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.duo li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--soft); font-size: 16px; line-height: 1.5; }
.duo li::before { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 700 12px/1 var(--display); }
.duo ol li::before { counter-increment: step; content: counter(step); color: #1a0f06; background: linear-gradient(135deg, #ffb27f, var(--accent)); }
.duo ul li::before { content: "✓"; color: #04201c; background: var(--teal); }
.duo b { color: var(--ink); }
.aside { text-align: center; color: var(--muted); font-size: 15px; margin: 26px auto 0; max-width: 40em; }

/* any pose */
.pose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pose-text p:not(.eyebrow) { color: var(--soft); max-width: 32em; }
.big.left { text-align: left; margin-bottom: 26px; font-size: clamp(32px, 4.2vw, 56px); }
.pose-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pose-figs figure { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(90% 70% at 50% 40%, #142033, #070c14 75%); }
.pose-figs figure + figure { background: radial-gradient(90% 70% at 50% 40%, #0f2a2b, #070c14 75%); }
.pose-figs img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.pose-figs figcaption { padding: 10px 14px 14px; text-align: center; font: 600 12px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pose-figs figure + figure figcaption { color: var(--teal); }

/* who it is for */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 32px 28px 34px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); }
.card svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 20px; }
.card:nth-child(2) svg { color: var(--teal); }
.card:nth-child(3) svg { color: var(--blue); }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.card p { margin: 0; color: #a9b7c8; font-size: 16px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 30px 16px; text-align: center; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts b { display: block; font: 800 clamp(28px, 3.2vw, 44px)/1 var(--display); letter-spacing: -0.03em; background: linear-gradient(120deg, var(--accent), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.facts span { font-size: 13.5px; color: var(--muted); }

/* questions */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font: 700 19px/1.3 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 26px/1 var(--text); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 4px 24px; color: var(--soft); max-width: 40em; }
.faq details a { color: var(--ink); }

/* the form again */
section.end { padding-bottom: clamp(90px, 12vw, 150px); position: relative; text-align: center; }
section.end::before { content: ""; position: absolute; inset: 20% 0 0; z-index: -1; background: radial-gradient(50% 60% at 50% 45%, rgba(255, 158, 100, .12), rgba(61, 214, 195, .06) 45%, transparent 70%); }
section.end .signup { margin: 0 auto; text-align: left; }

.foot { border-top: 1px solid var(--line); padding: 52px 0 64px; text-align: center; background: var(--bg-2); }
.foot .gw { width: 190px; height: auto; margin: 0 auto 20px; opacity: .95; }
.foot p { color: var(--muted); font-size: 14.5px; max-width: 40em; margin: 0 auto 8px; }
.foot .links a { color: var(--soft); }
.foot .fine { color: var(--dim); font-size: 13px; }

/* privacy */
.legal { padding-top: calc(var(--nav) + 48px); padding-bottom: 80px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 14px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .back { margin-top: 44px; }

/* ------------------------------------------------------------- small */

@media (max-width: 1150px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo, .pose-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  :root { --nav: 58px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav) + 28px); gap: 8px; }
  .stage img { width: min(78%, 380px); }
  .hero h1 { font-size: clamp(38px, 10.5vw, 72px); margin-bottom: 20px; }
  .lede { margin-bottom: 24px; }
}
@media (max-width: 560px) {
  .join .row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; padding: 12px 14px 16px 12px; align-items: start; }
  .steps figure { grid-row: 1 / 4; margin: 0; }
  .steps .num { margin: 6px 0 4px; }
  .steps h3 { margin: 0 0 6px; font-size: 20px; }
  .steps li > p:last-child { margin: 0; font-size: 15px; }
  .eyebrow { letter-spacing: .14em; font-size: 11px; }
  .nav .pill { padding: 8px 12px; font-size: 13px; }
  .brand { gap: 8px; letter-spacing: .18em; font-size: 14px; }
  .brand img { width: 21px; }
  .faq summary { font-size: 17px; }
}
@media (max-width: 359px) {
  .nav .pill { display: none; }          /* the hero's form is just below */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rings circle, .dot { animation: none; }
}
