/* Frametide website. Black and white, one lime accent, large type, hairlines. No glow, no gradients.
   Fonts are self-hosted (Geist, SIL OFL, see fonts/OFL.txt); nothing loads from other servers. */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #000;
  --raise: #0a0a0a;
  --line: #1c1c1c;
  --line-2: #2a2a2a;
  --text: #ededed;
  --muted: #8f8f8f;
  --dim: #5c5c5c;
  --accent: #d4ff3a;
  --max: 1200px;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* The page sits in a frame of hairlines with small crosses where lines meet. */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.frame { max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.rule { position: relative; border-top: 1px solid var(--line); }
.rule::before, .rule::after { content: "+"; position: absolute; top: -12px; font: 300 18px/1 var(--mono); color: var(--dim); }
.rule::before { left: -6px; } .rule::after { right: -6px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } .rule::before, .rule::after { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { width: 22px; height: 22px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; }
.nav a { color: var(--muted); transition: color 0.15s; }
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons: solid white primary, hairline secondary. */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px; background: var(--text); color: #000 !important; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn.small { height: 34px; padding: 0 16px; font-size: 13px; }
.btn.line { background: transparent; color: var(--text) !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero { padding: 120px 0 88px; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 13px var(--mono); color: var(--muted); margin-bottom: 40px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { margin: 0; font-weight: 600; font-size: clamp(64px, 12.5vw, 164px); line-height: 0.88; letter-spacing: -0.06em; }
h1 .accent { display: block; }
.hero-foot { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 56px; }
.lead { margin: 0; max-width: 520px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.lead strong { color: var(--text); font-weight: 500; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero { padding: 80px 0 64px; } .hero-foot { grid-template-columns: 1fr; } }
/* Lines rise into place once on load. */
.rise { display: block; overflow: hidden; }
.rise > span { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
.rise:nth-child(2) > span { animation-delay: 0.08s; }
@keyframes rise { from { transform: translateY(105%); } }

/* Spec strip: real numbers about the app */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { padding: 36px 32px 40px; border-right: 1px solid var(--line); }
.spec:last-child { border-right: 0; }
.spec b { display: block; font: 500 clamp(36px, 4.4vw, 56px)/1 var(--mono); letter-spacing: -0.04em; margin-bottom: 12px; }
.spec span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr 1fr; } .spec:nth-child(2) { border-right: 0; } .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .spec { padding: 28px 20px; } }

/* Sections */
section { padding: 112px 0; }
.label { display: flex; gap: 14px; font: 13px var(--mono); color: var(--muted); margin-bottom: 28px; text-transform: uppercase; letter-spacing: 0.04em; }
.label b { color: var(--accent); font-weight: 400; }
h2 { margin: 0 0 20px; font-weight: 600; font-size: clamp(40px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.05em; max-width: 900px; }
h2 .dim { color: var(--dim); }
.intro { color: var(--muted); font-size: 19px; max-width: 560px; margin: 0 0 64px; line-height: 1.5; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* What gets measured: three big terms */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.metric { padding: 40px 32px 8px 0; }
.metric + .metric { padding-left: 32px; border-left: 1px solid var(--line); }
.metric h3 { margin: 0 0 14px; font: 500 clamp(28px, 3.2vw, 40px)/1 var(--sans); letter-spacing: -0.04em; }
.metric p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .metrics { grid-template-columns: 1fr; } .metric, .metric + .metric { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* Feature index: numbered rows, two columns */
.index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.row { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 32px 0; border-top: 1px solid var(--line); }
.row .n { font: 13px var(--mono); color: var(--dim); padding-top: 6px; }
.row h3 { margin: 0 0 8px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.row p { grid-column: 2; margin: 0; color: var(--muted); }
.row:hover .n { color: var(--accent); }
@media (max-width: 860px) { .index { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step b { display: block; font: 400 15px var(--mono); color: var(--accent); margin-bottom: 56px; }
.step h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { padding-left: 0; border-left: 0; } .step b { margin-bottom: 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* Price */
.price { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.price-left { padding: 48px 48px 48px 0; border-right: 1px solid var(--line); }
.amount { font: 500 clamp(88px, 12vw, 152px)/0.85 var(--sans); letter-spacing: -0.07em; }
.amount small { font-size: 22px; letter-spacing: -0.01em; color: var(--muted); font-weight: 400; margin-left: 10px; }
.price-left p { color: var(--muted); margin: 28px 0 0; max-width: 360px; }
.price-right { padding: 40px 0 40px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.list li::before { content: "→"; font-family: var(--mono); color: var(--accent); }
.list li:first-child { padding-top: 0; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } .price-left { padding: 40px 0; border-right: 0; border-bottom: 1px solid var(--line); } .price-right { padding: 40px 0 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 24px; padding: 26px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 26px/1 var(--mono); color: var(--muted); transition: transform 0.2s; justify-self: end; }
details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
summary:hover::after { color: var(--text); }
details p { margin: -6px 0 28px; max-width: 760px; color: var(--muted); }
details a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Final call */
.final { padding: 128px 0 136px; }
.final h2 { font-size: clamp(48px, 9vw, 120px); max-width: none; margin-bottom: 48px; }

/* Legal pages */
.legal { padding: 88px 0 112px; max-width: 760px; }
.legal h1 { font-size: clamp(48px, 8vw, 88px); margin-bottom: 40px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); line-height: 1.3; max-width: none; font-weight: 500; }
.legal h3 { font-size: 17px; font-weight: 500; margin: 28px 0 8px; }
.legal p, .legal li, .legal address { color: #b5b5b5; font-style: normal; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal .muted { color: var(--muted); font: 13px var(--mono); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.site-footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
