/* Quickring — quickring.me
   Digital Zen design system: stone neutrals, sage green, golden-tab motif.
   Fraunces (display) · DM Sans (body) · IBM Plex Mono (data). */

:root {
  /* Stone neutrals (warm) */
  --stone-50:  #FAF8F3;
  --stone-100: #F2EEE5;
  --stone-200: #E5DECF;
  --stone-300: #D2C8B4;
  --stone-500: #8C8270;
  --stone-700: #5A5347;
  --ink:       #211E18;
  --ink-soft:  #36322A;

  /* Sage green */
  --sage-100: #DCE6D7;
  --sage-400: #7E9B79;
  --sage-600: #566E52;
  --sage-700: #3F5239;

  /* Golden tab */
  --gold:      #C99A3B;
  --gold-soft: #E6C57E;
  --gold-700:  #8A6717;

  --bg:        var(--stone-50);
  --surface:   #FFFFFF;
  --text:      var(--ink);
  --text-soft: var(--stone-700);
  --line:      rgba(33,30,24,0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--text-soft); }
a { color: var(--sage-700); text-decoration: none; }
a:hover { color: var(--gold-700); }
.mono { font-family: var(--font-mono); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-700); margin: 0 0 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 500; font-size: 1rem; padding: 0.8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--ink); color: var(--text); }
.btn-on-dark { background: var(--gold); color: var(--ink); }
.btn-on-dark:hover { background: var(--gold-soft); }
.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,0.25); color: var(--stone-50); }
.btn-ghost-dark:hover { border-color: var(--gold-soft); color: var(--stone-50); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--text-soft); font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Ring mark */
.ring-mark { display: inline-block; vertical-align: -2px; }

/* Sections */
section { padding: 5rem 0; }
.section-dark { background: var(--ink); color: var(--stone-100); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--stone-50); }
.section-dark p { color: var(--stone-300); }
.section-stone { background: var(--stone-100); }
.lead { font-size: 1.25rem; color: var(--text-soft); max-width: 40ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { background: var(--ink); color: var(--stone-50); padding: 6rem 0 5.5rem; text-align: center; position: relative; overflow: hidden; }
.hero h1 { color: var(--stone-50); max-width: 18ch; margin: 1rem auto 0.6rem; }
.hero .lead { color: var(--stone-300); margin: 0 auto 2rem; font-size: 1.3rem; max-width: 34ch; }
.hero-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* Bracket animation */
.bracket-line { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--stone-50); margin-bottom: 0.5rem; }
.bracket { color: var(--gold); font-weight: 500; }
.slot { position: relative; width: 1.6em; height: 1.6em; display: inline-flex; align-items: center; justify-content: center; }
.slot svg { position: absolute; width: 1.2em; height: 1.2em; opacity: 0; transition: opacity .3s ease; }
.slot svg.is-on { opacity: 1; }
.slot svg * { stroke: var(--gold); }
.slot svg .fillgold { fill: var(--gold); stroke: none; }

/* Feature grid */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card .ic { color: var(--sage-600); margin-bottom: 0.6rem; }
.card h3 { margin-bottom: 0.3rem; }
.card p { margin: 0; font-size: 0.98rem; }

/* Tier cards */
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.tier.feature { border: 2px solid var(--gold); }
.tier .price { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); margin: 0.2rem 0 0.8rem; }
.badge { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-700); background: rgba(201,154,59,0.14); padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: 0.6rem; }

/* Waitlist */
.waitlist { display: flex; gap: 0.6rem; max-width: 460px; margin: 1.5rem auto 0; flex-wrap: wrap; }
.waitlist input { flex: 1; min-width: 220px; padding: 0.8rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: var(--stone-50); font-family: var(--font-body); font-size: 1rem; }
.waitlist input::placeholder { color: var(--stone-500); }
.note { font-size: 0.85rem; color: var(--stone-500); margin-top: 0.8rem; }

/* Prose pages */
.prose { max-width: 70ch; margin: 0 auto; }
.prose h2 { margin-top: 2.4rem; }
.prose ul { color: var(--text-soft); padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--stone-100); padding: 0.1em 0.4em; border-radius: 6px; }
.page-head { padding: 4.5rem 0 2rem; }
.page-head .eyebrow { margin-bottom: 0.6rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--stone-300); padding: 3.5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 0.8rem; }
.site-footer a { display: block; color: var(--stone-300); font-size: 0.92rem; margin-bottom: 0.4rem; }
.site-footer a:hover { color: var(--stone-50); }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--stone-50); margin-bottom: 0.6rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.82rem; color: var(--stone-500); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
