/* RetakeSafe — one stylesheet for the whole site. Dark, calm, studio-ish:
   the product lives next to a DAW at 2am, so nothing glares. */
:root {
  --ink: #0d1b2a;
  --deep: #071018;
  --mid: #1b3a5c;
  --mint: #7fd1c1;
  --paper: #f6f8fb;
  --line: #e2e9f1;
  --body: #2b3a4d;
  --muted: #46566b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font: 17px/1.65 ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 0 1.25rem; }
a { color: #0e6f8e; }

/* Header */
.site-head { background: var(--ink); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 1.12rem; }
.brand .dot { width: 12px; height: 12px; border-radius: 3px; background: var(--mint); display: inline-block; }
.brand em { font-style: normal; color: var(--mint); }
.site-head nav { display: flex; gap: 1.2rem; font-size: .92rem; }
.site-head nav a { color: #cfe0ef; text-decoration: none; }
.site-head nav a:hover { color: #fff; }
@media (max-width: 620px) { .site-head nav { display: none; } }

/* Hero */
.hero { background: linear-gradient(165deg, var(--ink), var(--mid)); color: #fff; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.6rem, 6vw, 4rem); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--mint); margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.07; margin: 0 0 1rem; text-wrap: balance; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--mint); }
.lede { font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.6; max-width: 62ch; opacity: .94; margin: 0 0 1.7rem; }
.cta-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--mint); color: var(--ink); font-weight: 700; padding: .8rem 1.6rem; border-radius: 999px; text-decoration: none; }
.btn:hover { background: #fff; }
.note { font-size: .85rem; opacity: .82; }

/* Sections */
section { padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.tint { background: var(--paper); }
.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 0 0 1rem; letter-spacing: -.01em; }
h3 { font-size: 1.08rem; margin: 0 0 .4rem; }
.sub { color: #b9c8d8; max-width: 68ch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

.files { list-style: none; padding: 0; margin: 0 0 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; }
.files li { padding: .3rem .7rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: .35rem; }
.files li:last-child { border-color: #e6a23c; }
dl.vs dt { font-weight: 700; margin-top: .9rem; color: var(--ink); }
dl.vs dd { margin: .2rem 0 0; color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; }
.num { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--mint); font-weight: 700; margin-bottom: .6rem; }
.card p { margin: 0; color: var(--muted); }

.term { background: var(--deep); border: 1px solid #1e3450; border-radius: 12px; padding: 1.15rem; overflow-x: auto; margin: 1.3rem 0 0; }
.term code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; line-height: 1.65; color: #cfe6dd; white-space: pre; }

/* Waitlist */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 720px; margin-top: 1.3rem; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form input, .form select { font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid #cfd9e4; border-radius: 8px; background: #fff; color: var(--ink); }
.form button { grid-column: 1 / -1; justify-self: start; background: var(--ink); color: var(--mint); font-weight: 700; border: 0; border-radius: 999px; padding: .8rem 1.8rem; cursor: pointer; font-size: 1rem; }
.form button:hover { background: var(--mid); }
.form button:disabled { opacity: .6; cursor: default; }
.status { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: #0d6b52; min-height: 1.2em; }

/* Article pages */
.article { max-width: 720px; margin: 0 auto; padding: clamp(2.2rem, 5vw, 3.4rem) 1.25rem; }
.article h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 0 0 .6rem; color: var(--ink); letter-spacing: -.02em; }
.article .stand { font-size: 1.08rem; color: var(--muted); margin: 0 0 2rem; }
.article h2 { margin-top: 2.2rem; color: var(--ink); }
.article p, .article li { color: var(--body); }
.article ol, .article ul { padding-left: 1.2rem; }
.article li { margin: .4rem 0; }
.article code { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: .1rem .35rem; font-size: .92em; }
.callout { background: var(--paper); border-left: 3px solid var(--mint); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; margin: 2rem 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: .6rem; }

/* Footer */
.site-foot { background: var(--ink); color: #b9c8d8; padding: 2.2rem 0; font-size: .88rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-foot a { color: #cfe0ef; }
