/* Trente30 site — same identity as the app: dark, lime accent, Unbounded for display, Inter for text.
   Fonts are self-hosted (no third-party requests), consistent with the privacy policy. */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/Unbounded-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --text: #f4f4f4;
  --muted: #a3a3a3;
  --line: #2a2a2a;
  --accent: #d4ff3a;
  --on-accent: #141414;
  --radius: 18px;
  --max: 720px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand {
  font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 20px;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 15px; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

/* Landing */
.hero { padding: 40px 0 24px; }
.hero h1 {
  font-family: "Unbounded", sans-serif; font-weight: 800;
  font-size: clamp(34px, 9vw, 56px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 0 0 28px; }

.stores { display: grid; gap: 12px; margin: 0 0 16px; }
@media (min-width: 560px) { .stores { grid-template-columns: 1fr 1fr; } }
.button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: 10px 20px; border-radius: 999px; text-align: center; line-height: 1.25;
  font-weight: 700; font-size: 17px; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.button.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.button small { font-weight: 600; font-size: 13px; opacity: .75; }

.pricing {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin: 24px 0;
}
.pricing h2 { margin: 0 0 8px; font-size: 18px; }
.pricing ul { margin: 0; padding-left: 20px; color: var(--muted); }
.pricing li { margin: 4px 0; }
.pricing strong { color: var(--text); }

.features { display: grid; gap: 12px; margin: 24px 0 40px; }
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Legal pages */
main.doc { padding: 16px 0 48px; }
main.doc h1 { font-family: "Unbounded", sans-serif; font-size: clamp(26px, 7vw, 36px); line-height: 1.15; margin: 8px 0 8px; }
main.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
main.doc h2 { font-size: 20px; margin: 36px 0 8px; }
main.doc h3 { font-size: 17px; margin: 20px 0 6px; }
main.doc p, main.doc li { color: #d6d6d6; }
main.doc ul { padding-left: 22px; }
.note {
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 12px 16px; border-radius: 8px; margin: 16px 0; color: var(--muted); font-size: 15px;
}
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); }
td { color: #d6d6d6; }
.table-scroll { overflow-x: auto; }

/* Placeholders the owner must fill in before publishing (see site/README.md) */
.todo { background: #3a2a00; color: #ffd27a; padding: 0 4px; border-radius: 4px; }

footer.site {
  border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px;
}
footer.site nav a { color: var(--muted); margin-right: 14px; text-decoration: none; display: inline-block; margin-bottom: 6px; }
footer.site nav a:hover { color: var(--text); }
footer.site p { margin: 10px 0 0; }
