/* TeeUp — static site styles
   Dark, video-first, one green. Tokens match docs/design/design-system.html. */

:root{
  color-scheme: dark;
  --ink:#0F1114;
  --surface:#1A1D21;
  --raised:#232730;
  --hair: rgba(255,255,255,.08);
  --green:#43C463;
  --green-deep:#2F9E44;
  --green-glow: rgba(67,196,99,.45);
  --text:#FFFFFF;
  --muted:#9AA3AD;
  --caution:#F5C542;
  --fault:#FF5A5F;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;

  --max: 1080px;
}

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

html{ -webkit-text-size-adjust: 100%; }

body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font:16px/1.6 var(--sans);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img, video{ max-width:100%; display:block; }

a{ color:inherit; }

h1,h2,h3,h4{ margin:0 0 .5em; line-height:1.15; letter-spacing:-.02em; text-wrap:balance; }
p{ margin:0 0 1em; }
ul,ol{ margin:0 0 1em; padding-left:1.25em; }
li{ margin-bottom:.4em; }

.wrap{ max-width:var(--max); margin:0 auto; padding-inline: clamp(20px,5vw,40px); }

/* skip link */
.skip-link{
  position:absolute; left:12px; top:-48px;
  background:var(--green); color:var(--ink); font-weight:700;
  padding:10px 16px; border-radius:999px; z-index:100;
  transition: top .15s ease;
}
.skip-link:focus{ top:12px; }

/* focus visibility everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible{
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- header ---------- */
.site-header{
  border-bottom:1px solid var(--hair);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding-block:18px;
  flex-wrap:wrap;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; font-size:19px; letter-spacing:-.01em;
  text-decoration:none;
}
.brand img{ width:32px; height:32px; border-radius:22.37%; flex:none; }

.site-nav{ display:flex; gap:20px; flex-wrap:wrap; }
.site-nav a{
  font-size:14px; font-weight:600; color:var(--muted); text-decoration:none;
  padding:6px 2px;
}
.site-nav a:hover, .site-nav a[aria-current="page"]{ color:var(--text); }

/* ---------- footer ---------- */
.site-footer{
  border-top:1px solid var(--hair);
  margin-top: 96px;
  padding-block: 40px 56px;
  color:var(--muted);
  font-size:14px;
}
.site-footer .wrap{ display:grid; gap:18px; }
.footer-links{
  display:flex; flex-wrap:wrap; gap:8px 22px; padding:0; margin:0; list-style:none;
}
.footer-links a{ color:var(--muted); text-decoration:none; font-weight:600; }
.footer-links a:hover{ color:var(--text); }
.footer-fine{ color:var(--muted); font-size:13px; }
.footer-fine a{ color:var(--muted); text-decoration:underline; }

/* ---------- type helpers ---------- */
.eyebrow{
  display:inline-block;
  font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--green); margin:0 0 14px;
}
.lede{ color:var(--muted); font-size:18px; max-width:56ch; }
h1{ font-size:clamp(34px,6vw,58px); font-weight:800; }
h2{ font-size:clamp(24px,3.4vw,32px); font-weight:800; }
h3{ font-size:19px; font-weight:700; }
.section-head{ max-width:70ch; margin-bottom:32px; }

section{ padding-block: 64px; }
section.tight{ padding-block: 40px; }
.divider{ border-top:1px solid var(--hair); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:700; font-size:16px;
  text-decoration:none; border:1.5px solid transparent; cursor:pointer;
  font-family:inherit;
  transition: transform .1s ease, opacity .15s ease;
}
.btn:active{ transform: scale(.98); }
.btn-fill{ background:var(--green); color:var(--ink); }
.btn-fill:hover{ background:#39b356; }
.btn-ghost{ background:transparent; border-color: rgba(255,255,255,.35); color:var(--text); }
.btn-ghost:hover{ border-color: rgba(255,255,255,.6); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor:progress; }

/* ---------- hero ---------- */
.hero .wrap{
  display:grid; gap:48px; align-items:center; padding-block: 56px 40px;
  grid-template-columns: 1.15fr .85fr;
}
@media (max-width:860px){
  .hero .wrap{ grid-template-columns: 1fr; padding-block: 36px 24px; }
}

.hero-copy h1{ margin-bottom:18px; }
.hero-copy .lede{ margin-bottom:32px; }

.video-frame{
  position:relative;
  aspect-ratio: 9 / 16;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 28px;
  overflow:hidden;
  background: linear-gradient(180deg,#2b3a2f,#141a16);
  border:1px solid var(--hair);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.video-frame video{
  width:100%; height:100%; object-fit:cover;
  background:#0F1114;
}
.video-caption{
  text-align:center; color:var(--muted); font-size:13px; margin-top:14px;
}

/* ---------- waitlist form ---------- */
.waitlist{
  background:var(--surface); border:1px solid var(--hair); border-radius:22px;
  padding: 22px; max-width: 480px;
}
.waitlist-form{ display:flex; gap:10px; flex-wrap:wrap; }
.field{ flex:1 1 220px; min-width:0; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--muted); margin-bottom:6px; }
.field input[type="email"]{
  width:100%; background:var(--raised); border:1px solid var(--hair); color:var(--text);
  font:16px/1.4 var(--sans); padding:14px 16px; border-radius:14px;
}
.field input[type="email"]::placeholder{ color:var(--muted); }
.waitlist-form .btn{ flex:0 0 auto; align-self:flex-end; }
.waitlist-note{ margin-top:12px; color:var(--muted); font-size:13px; }

.waitlist-result{ margin-top:16px; }
.waitlist-result[hidden]{ display:none; }
.result-card{
  background:var(--raised); border-radius:16px; padding:16px 18px;
}
.result-position{
  font-family: var(--rounded); font-weight:900; font-size:28px;
  color:var(--green); font-variant-numeric:tabular-nums; margin-bottom:6px;
}
.ref-row{
  display:flex; gap:8px; margin-block:12px; flex-wrap:wrap;
}
.ref-row input{
  flex:1 1 200px; min-width:0; background:var(--surface); border:1px solid var(--hair);
  color:var(--text); font:14px/1.4 var(--mono, monospace); padding:10px 12px; border-radius:10px;
}
.copy-btn{
  flex:0 0 auto; background:transparent; border:1.5px solid rgba(255,255,255,.35); color:var(--text);
  border-radius:10px; padding:10px 14px; font-weight:600; font-size:14px; cursor:pointer; font-family:inherit;
}
.copy-btn:hover{ border-color: rgba(255,255,255,.6); }
.result-hint{ color:var(--muted); font-size:14px; }
.result-error .result-hint{ color:var(--text); }
.result-error a{ color:var(--green); font-weight:700; }

[aria-live="polite"]:empty{ display:none; }

/* ---------- feature grid ---------- */
.features{
  display:grid; gap:20px; grid-template-columns: repeat(3, 1fr);
}
@media (max-width:760px){ .features{ grid-template-columns:1fr; } }
.feature{
  background:var(--surface); border:1px solid var(--hair); border-radius:22px; padding:24px;
}
.feature .glyph{
  width:44px; height:44px; border-radius:14px; background:rgba(67,196,99,.14);
  display:grid; place-items:center; margin-bottom:16px; flex:none;
}
.feature .glyph svg{ width:22px; height:22px; }
.feature h3{ margin-bottom:8px; }
.feature p{ color:var(--muted); margin:0; }

/* ---------- honest line ---------- */
.honest{
  border:1px dashed rgba(255,255,255,.25); border-radius:18px; padding:20px 22px;
  color:var(--muted); font-size:15px; max-width: 78ch;
}
.honest strong{ color:var(--text); }

/* ---------- pricing ---------- */
.pricing-grid{
  display:grid; gap:20px; grid-template-columns: 1fr 1fr;
}
@media (max-width:700px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card{
  background:var(--surface); border:1px solid var(--hair); border-radius:22px; padding:28px;
  display:flex; flex-direction:column; gap:14px;
}
.price-card.featured{ border-color: rgba(67,196,99,.5); box-shadow: 0 0 0 1px rgba(67,196,99,.25) inset; }
.price-name{ font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.price-amount{ font-family:var(--rounded); font-weight:900; font-size:40px; font-variant-numeric:tabular-nums; }
.price-amount span{ font-size:16px; font-weight:600; color:var(--muted); font-family:var(--sans); }
.price-card ul{ padding-left:0; margin:0; list-style:none; display:grid; gap:10px; }
.price-card li{ margin:0; padding-left:26px; position:relative; color:var(--muted); font-size:15px; }
.price-card li::before{
  content:""; position:absolute; left:0; top:.45em; width:10px; height:10px; border-radius:50%;
  background:var(--green);
}
.price-fine{ color:var(--muted); font-size:13px; margin-top:auto; }

/* ---------- content pages (privacy/terms/support/how-to-film) ---------- */
.content{ max-width: 74ch; }
.content h2{ margin-top:2em; }
.content h2:first-child{ margin-top:0; }
.content table{
  width:100%; border-collapse:collapse; margin:1.5em 0; font-size:15px;
}
.content th, .content td{
  text-align:left; padding:10px 12px; border-bottom:1px solid var(--hair); vertical-align:top;
}
.content th{ color:var(--muted); font-size:13px; text-transform:uppercase; letter-spacing:.04em; font-weight:700; }
.content code{ font-family: ui-monospace,"SF Mono",Menlo,Consolas,monospace; font-size:.92em; color:var(--green); background:rgba(67,196,99,.1); padding:.1em .4em; border-radius:5px; }
.content .effective{ color:var(--muted); font-size:14px; margin-top:-8px; }
.content a{ color:var(--green); text-decoration:underline; text-underline-offset:2px; }

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom:1px solid var(--hair); padding:18px 0;
}
.faq-item summary{
  cursor:pointer; font-weight:700; font-size:17px; list-style:none; position:relative;
  padding-right:32px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; position:absolute; right:0; top:-2px; font-size:22px; color:var(--green); font-weight:400;
}
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ color:var(--muted); margin-top:12px; margin-bottom:0; }

/* ---------- how-to-film diagrams ---------- */
.diagram-grid{
  display:grid; gap:24px; grid-template-columns:1fr 1fr;
}
@media (max-width:700px){ .diagram-grid{ grid-template-columns:1fr; } }
.diagram-card{
  background:var(--surface); border:1px solid var(--hair); border-radius:22px; padding:20px;
}
.diagram-card svg{ width:100%; height:auto; display:block; }
.diagram-card h3{ margin-bottom:6px; }
.diagram-card p{ color:var(--muted); font-size:14px; margin-bottom:0; }

.checklist{ display:grid; gap:10px; padding-left:0; list-style:none; }
.checklist li{ padding-left:30px; position:relative; margin-bottom:0; }
.checklist li::before{
  content:"✓"; position:absolute; left:0; top:0; color:var(--green); font-weight:800;
}
.avoid li::before{ content:"✕"; color:var(--fault); }

/* ---------- press ---------- */
.fact-grid{
  display:grid; gap:1px; background:var(--hair); border:1px solid var(--hair); border-radius:18px; overflow:hidden;
}
.fact-row{ display:grid; grid-template-columns: 220px 1fr; background:var(--surface); }
@media (max-width:600px){ .fact-row{ grid-template-columns:1fr; } }
.fact-row dt{ padding:14px 18px; color:var(--muted); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.04em; background:rgba(255,255,255,.02); }
.fact-row dd{ margin:0; padding:14px 18px; }

.press-shots{ display:grid; gap:20px; grid-template-columns: repeat(3,1fr); }
@media (max-width:760px){ .press-shots{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .press-shots{ grid-template-columns:1fr; } }
.press-shots figure{ margin:0; background:var(--surface); border:1px solid var(--hair); border-radius:18px; overflow:hidden; }
.press-shots img{ width:100%; }
.press-shots figcaption{ padding:10px 14px; color:var(--muted); font-size:13px; }

.download-list{ list-style:none; padding-left:0; display:grid; gap:10px; }
.download-list li{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:var(--surface); border:1px solid var(--hair); border-radius:14px; padding:14px 16px;
  margin-bottom:0;
}
.download-list .fname{ font-weight:600; }
.download-list .fmeta{ color:var(--muted); font-size:13px; }
.tag-soon{
  font-size:12px; font-weight:700; color:var(--muted); border:1px solid var(--hair); padding:4px 10px; border-radius:999px;
}

/* ---------- misc ---------- */
.center{ text-align:center; }
.mt-0{ margin-top:0; }
.stack{ display:grid; gap:16px; }
.hr{ height:1px; background:var(--hair); border:0; margin: 40px 0; }
