/* Threeweek.studio — single stylesheet, mobile first. */

@font-face {
  font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f6f7f8;
  --surface-2: #eceef1;
  --text: #0b0d10;
  --muted: #59606a;
  --line: #e4e7eb;
  --line-strong: #c9ced6;
  --grid: rgba(11, 13, 16, 0.055);
  --accent: #ff5a1f;           /* always paired with dark text (6.2:1) */
  --accent-text: #c2410c;      /* accent for small text on light bg */
  --on-accent: #0b0d10;
  --accent-soft: #fff3ec;
  --ok: #16a34a;

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1160px;
  --narrow: 720px;
  --gutter: 20px;
  --section: clamp(72px, 10vw, 128px);
  --radius: 12px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090a0c;
    --surface: #101215;
    --surface-2: #171a1e;
    --text: #e9ebee;
    --muted: #939aa4;
    --line: #1f2329;
    --line-strong: #353b44;
    --grid: rgba(233, 235, 238, 0.05);
    --accent: #ff6a2b;
    --accent-text: #ff8650;
    --on-accent: #0b0d10;
    --accent-soft: #1d130d;
    --ok: #3ddc84;
  }
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 650; letter-spacing: -0.025em; }
h2 { font-size: clamp(29px, 4vw, 44px); letter-spacing: -0.035em; max-width: 22ch; }
h3 { font-size: 18px; }
p { margin: 0; }
p + p { margin-top: 1em; }

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow > * { max-width: var(--narrow); }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  background: var(--text); color: var(--bg);
  padding: 8px 12px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font: 500 12px/1 var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}
.eyebrow span {
  color: var(--accent-text);
  padding: 4px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.panel-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.panel-title::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px;
  border-radius: 50%; background: var(--accent);
}
.panel-tag { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 22px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: -0.005em;
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(11, 13, 16, 0.2);
  transition: filter .15s ease, transform .15s ease;
}
.btn::after {
  content: "\2192"; font-family: var(--mono); font-weight: 500;
  transition: transform .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; letter-spacing: -0.02em; text-decoration: none; font-size: 16.5px;
}
.brand-tld { color: var(--muted); font-weight: 450; margin-left: -10px; }
.brand-mark { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; }
.brand-mark i { display: block; width: 4px; height: 16px; background: var(--text); border-radius: 1px; }
.brand-mark i:last-child { background: var(--accent); }

.header-cta {
  font-size: 14px; font-weight: 550; text-decoration: none;
  padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--surface);
  transition: border-color .15s ease;
}
.header-cta:hover { border-color: var(--text); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 78%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }

.hero h1 {
  font-size: clamp(44px, 9.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
  max-width: 11ch;
}
.hero h1 .dot { color: var(--accent); }
.lede {
  margin-top: 24px;
  font-size: clamp(18px, 2vw, 20.5px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
}
.cta-block { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-note { font-size: 14.5px; color: var(--muted); }
.cta-note strong { color: var(--text); font-weight: 550; white-space: nowrap; }
.pulse {
  display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 2px;
  border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 0%, transparent); } }

/* Hero panel: compact plan */
.hero-panel { box-shadow: 0 24px 60px -32px rgba(11, 13, 16, 0.35); }
.hero-strip {
  display: grid; grid-template-columns: 0.7fr 1fr 1fr 1fr;
  padding: 18px 16px 4px;
}
.hs-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: 22px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}
.hs + .hs .hs-bar { border-left: 0; }
.hs-bar i + i { border-left: 1px solid var(--line); }
.hs-bar i:last-child { background: var(--accent); border-left-color: var(--accent); }
.hs:last-child .hs-bar i:last-child { background: var(--text); border-left-color: var(--text); }
.hs-zero .hs-bar {
  border-style: dashed;
  background: repeating-linear-gradient(135deg, var(--line-strong) 0 1px, transparent 1px 6px);
}

.plan-rows { list-style: none; margin: 0; padding: 6px 16px 10px; font: 400 13px/1.4 var(--mono); }
.plan-rows li {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: baseline;
  padding: 11px 0;
}
.plan-rows li + li { border-top: 1px dashed var(--line-strong); }
.plan-rows b { font-weight: 600; color: var(--muted); }
.plan-rows span { color: var(--text); }
.plan-rows em {
  font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); white-space: nowrap;
}
.plan-rows em.hl { color: var(--accent-text); font-weight: 600; }
.plan-rows em.go {
  color: var(--bg); background: var(--text); font-weight: 600;
  padding: 3px 7px; border-radius: 4px;
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; border-top: 1px solid var(--line); }
.section h2 + * { margin-top: 26px; }
.section p { max-width: 62ch; }
.section .wrap > p, .guarantee > p { color: var(--muted); }
.section p.emph { color: var(--text); font-weight: 550; }

/* What you get: feature grid */
.checklist {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.checklist li {
  position: relative;
  padding: 18px 18px 18px 50px;
  background: var(--bg);
  font-weight: 450;
}
.checklist li::before {
  content: "";
  position: absolute; left: 18px; top: 20px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.checklist li::after {
  content: "";
  position: absolute; left: 24px; top: 26px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg);
}
.section .wrap > p.note {
  margin-top: 20px; font: 400 13px/1.5 var(--mono); color: var(--muted);
}
.note::before { content: "// "; color: var(--accent-text); }

@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .checklist { grid-template-columns: repeat(4, 1fr); }
  .checklist li { padding: 52px 20px 22px; min-height: 132px; }
  .checklist li::before { left: 20px; top: 20px; }
  .checklist li::after { left: 26px; top: 26px; }
}

/* ---------- Process / timeline (centerpiece) ---------- */

.process {
  position: relative;
  background: var(--surface);
}
.process::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--grid) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.process .wrap { position: relative; }
.process h2 { font-size: clamp(31px, 4.8vw, 54px); max-width: 18ch; }

.tl-panel { margin-top: 44px; background: var(--bg); box-shadow: 0 30px 70px -40px rgba(11, 13, 16, 0.4); }

.timeline {
  list-style: none; margin: 0;
  padding: 26px 18px 28px;
  display: grid; grid-template-columns: 1fr; gap: 40px;
}

.week h3 { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.wk { font-size: 21px; letter-spacing: -0.025em; }
.wk-sub {
  font: 500 11px/1.4 var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted);
}
.week p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.week .demo { color: var(--accent-text); font-weight: 600; }

.track {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: 64px;
  margin-top: 30px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.d {
  display: flex; align-items: flex-end;
  padding: 0 0 7px 8px;
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted);
}
.d + .d { border-left: 1px solid var(--line); }

.d.fri {
  position: relative;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-left-color: var(--accent);
}
.d.fri b {
  position: absolute; right: 0; bottom: calc(100% + 1px);
  padding: 0 0 8px;
  font: 600 11px/1 var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-text);
  white-space: nowrap;
}
.d.fri b::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 2px; height: 6px; background: var(--accent);
}
.d.launch { background: var(--text); color: var(--bg); border-left-color: var(--text); }
.d.launch b { color: var(--text); }
.d.launch b::after { background: var(--text); }

.week-zero .track {
  border-style: dashed;
  background:
    repeating-linear-gradient(135deg, var(--line-strong) 0 1px, transparent 1px 9px),
    var(--surface);
}
.hatch { grid-column: 1 / -1; }

.clock {
  position: absolute; left: -1px; top: -30px; bottom: -1px;
  border-left: 2px solid var(--text);
  padding-left: 7px;
  font: 600 11px/1 var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text);
  white-space: nowrap;
  pointer-events: none;
}

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: 0.8fr 1fr 1fr 1fr;
    gap: 0;
    padding: 34px 32px 38px;
  }
  .tl-panel { margin-top: 56px; }
  .track { height: 104px; margin-top: 30px; }
  .week + .week .track { border-left: 0; }
  .week-zero .track { border-right: 0; }
  .week h3, .week p { padding-right: 24px; }
  .week h3 { margin-top: 22px; }
  .d { padding: 0 0 9px 9px; }
}

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 20px; } }

.plan {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
}
.plan-name {
  font: 500 12px/1.2 var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}
.price {
  margin-top: 18px;
  font-size: clamp(46px, 6vw, 64px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price span { font-size: 17px; font-weight: 450; letter-spacing: 0; color: var(--muted); }
.plan .price + p { margin-top: 14px; color: var(--muted); }

.plan-founding {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.plan-founding .plan-name { color: var(--accent-text); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.spots {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 9px;
  background: var(--accent); color: var(--on-accent);
  border-radius: 6px;
  font: 600 12px/1 var(--mono);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.slots { display: inline-flex; gap: 4px; }
.slots i {
  display: block; width: 9px; height: 9px; border-radius: 2px;
  border: 1.5px solid var(--on-accent);
}

.section .wrap > p.after-launch {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  max-width: none;
  font-size: 15.5px;
}
.after-launch .label { font-weight: 600; color: var(--text); }

#pricing .btn { margin-top: 32px; }

/* ---------- Guarantee ---------- */

.guarantee {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px);
  max-width: 820px !important;
  overflow: hidden;
}
.guarantee::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent);
}
.guarantee h2 { font-size: clamp(26px, 3.4vw, 36px); max-width: 24ch; }
.rules { list-style: none; counter-reset: rule; margin: 20px 0 0; padding: 0; }
.rules li {
  counter-increment: rule;
  position: relative; padding: 14px 0 14px 44px;
  border-top: 1px dashed var(--line-strong);
}
.rules li::before {
  content: "0" counter(rule);
  position: absolute; left: 0; top: 16px;
  font: 600 12px/1.6 var(--mono); color: var(--accent-text);
}

/* ---------- FAQ ---------- */

.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 0;
  font-weight: 550;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  font: 400 16px/1 var(--mono);
  color: var(--muted);
}
.faq details[open] summary::after { content: "\2212"; color: var(--accent-text); border-color: var(--accent); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- Final CTA ---------- */

.final-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  padding: clamp(32px, 7vw, 80px) clamp(22px, 6vw, 72px);
  overflow: hidden;
}
.final-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(90% 120% at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(90% 120% at 100% 0%, #000 10%, transparent 70%);
}
.final-panel::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent);
}
.final-panel > * { position: relative; }
.final h2 { font-size: clamp(33px, 5.4vw, 60px); max-width: 15ch; letter-spacing: -0.045em; }
.final p { font-size: 18.5px; color: var(--muted); max-width: 46ch; }
.final .btn { margin-top: 30px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 36px;
  font: 400 13px/1.6 var(--mono); color: var(--muted);
}
.site-footer a { color: var(--text); }

/* ---------- Language switch (EN | PT) ---------- */

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.04em; }
.lang a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.lang span { color: var(--line-strong); }

@media (max-width: 420px) {
  .brand-tld { display: none; }
  .header-actions { gap: 10px; }
}

/* PT only: payment note under the prices */
.section .wrap > p.pay-note {
  margin-top: 14px; font: 400 13px/1.5 var(--mono); color: var(--muted); max-width: none;
}
.pay-note::before { content: "// "; color: var(--accent-text); }

/* Balanced headings; the PT headline is longer than the EN one */
h1, h2 { text-wrap: balance; }
html[lang="pt-BR"] .hero h1 { max-width: 14ch; }
@media (min-width: 980px) { html[lang="pt-BR"] .hero h1 { font-size: clamp(54px, 5.2vw, 66px); max-width: none; } }
