/* Augerline landing page. System fonts only; no external resources. */

:root {
  --paper: #f6f3ee;
  --paper-2: #ece6dc;
  --ink: #1d2a2f;
  --ink-2: #4a5a60;
  --rule: #d6cdbf;
  --accent: #a4561c;
  --accent-ink: #ffffff;
  --clay: #6b4a2b;
  --sand: #c08a3e;
  --silt: #8a9a8e;
  --rock: #3e5560;
  --radius: 10px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(29, 42, 47, .08), 0 8px 24px rgba(29, 42, 47, .08);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }

code {
  font: .9em ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  background: var(--paper-2);
  padding: .05em .35em;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 243, 238, .94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-name { font-family: Georgia, serif; font-weight: 700; font-size: 1.25rem; }
.brand-note { color: var(--ink-2); font-size: .85rem; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav a.btn { color: var(--accent-ink); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: .7em 1.25em;
  border-radius: 999px;
  border: 2px solid var(--accent);
  transition: background .15s, color .15s;
}
.btn:hover { background: #8a4614; border-color: #8a4614; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn-small { padding: .4em .95em; font-size: .9rem; }
.btn-large { font-size: 1.1rem; padding: .85em 1.6em; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: #2c3a4a; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 30, .82) 0%, rgba(16, 24, 30, .55) 45%, rgba(16, 24, 30, 0) 75%),
              linear-gradient(0deg, rgba(16, 24, 30, .55) 0%, rgba(16, 24, 30, 0) 40%);
}
.hero-copy { position: relative; width: 100%; padding-top: 96px; padding-bottom: 72px; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy > * { max-width: 600px; }
.lede { font-size: 1.15rem; max-width: 44ch; color: #eef1f2; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: .3em .9em; border-radius: 999px; font-size: .9rem; margin: 0 0 1.2em;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #f0b45a; box-shadow: 0 0 0 3px rgba(240, 180, 90, .3); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5em 0 .8em; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .fineprint { color: #d8dee0; }

/* Decorative strata rule: our own banding, echoes the mark */
.strata-rule {
  height: 18px;
  background: linear-gradient(180deg,
    var(--clay) 0 25%, var(--sand) 25% 50%, var(--silt) 50% 75%, var(--rock) 75% 100%);
}

/* Sections */
.section { padding: 80px 0; }
.band { background: var(--paper-2); }
.section-lede { color: var(--ink-2); margin-top: -.3em; }
.fineprint { font-size: .88rem; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.split-rev { grid-template-columns: .85fr 1.15fr; }
.side-figure { margin: 0; }
.side-figure img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2);
}

.features { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.features li { border-top: 3px solid var(--sand); padding-top: 12px; }
.features li:nth-child(3n+2) { border-top-color: var(--silt); }
.features li:nth-child(3n) { border-top-color: var(--rock); }
.features h3 { margin-bottom: .3em; }
.features p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Screenshots: fixed aspect boxes so the page looks right before the PNGs exist */
.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.screen { margin: 0; }
.screen-wide { grid-column: 1 / -1; }
.shot {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--rule); box-shadow: var(--shadow);
  background:
    repeating-linear-gradient(135deg, rgba(29, 42, 47, .035) 0 10px, transparent 10px 20px),
    #fbfaf7;
}
.shot-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: .95rem; letter-spacing: .02em;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top center; background: #fff; }
.screen figcaption { margin-top: 10px; color: var(--ink-2); font-size: .93rem; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; margin: 28px 0 16px; }
.price-card { background: #fff; border: 1px solid var(--rule); border-top: 6px solid var(--sand); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.price-card-alt { border-top-color: var(--rock); }
.amount { font-family: Georgia, serif; font-size: 2.1rem; font-weight: 700; margin: .1em 0 .4em; }
.amount span { display: block; font-family: system-ui, sans-serif; font-size: .95rem; font-weight: 400; color: var(--ink-2); }
.price-card ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }

/* FAQ */
details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.3rem; color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { margin: .6em 0 .2em; color: var(--ink-2); }

/* Join */
.join { background: var(--ink); color: #f1eee8; }
.join h2 { color: #fff; }
.join .fineprint { color: #b9c3c6; }

/* Footer */
.footer { background: #141d21; color: #9fabaf; font-size: .85rem; padding: 28px 0; }
.footer p { margin: .3em 0; }
.footer strong { color: #e6e1d8; }

/* Sign-up form (site/signup.js; field spec site/SIGNUP-FORM.md) */
#signup { scroll-margin-top: 64px; }
.signup-card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); border-top: 6px solid var(--sand); box-shadow: var(--shadow);
  padding: 28px 32px; margin: 28px 0 16px; text-align: left;
}
.signup-form { margin: 0; }
.form-hint { color: var(--ink-2); font-size: .93rem; margin: 0 0 18px; }
.q { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.q > label, .q legend { display: block; font-weight: 600; margin: 0 0 8px; padding: 0; }
.q .opt, .q .hint { font-weight: 400; color: var(--ink-2); font-size: .93rem; }
.q .note { margin: -2px 0 10px; color: var(--ink-2); font-size: .93rem; }
.q input[type="email"], .q input[type="text"], .q textarea {
  display: block; width: 100%; max-width: 100%;
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #b9ad9b; border-radius: 6px; padding: .55em .7em;
}
.q textarea { resize: vertical; min-height: 6.5em; }
.choices { display: grid; gap: 4px; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; cursor: pointer; }
.choice input { flex: none; width: 1.15em; height: 1.15em; margin: .2em 0 0; accent-color: var(--accent); }
.choice span { min-width: 0; overflow-wrap: anywhere; }
.q .choices .other-text { margin: 0 0 6px 1.95em; width: calc(100% - 1.95em); }
.q input:focus-visible, .q textarea:focus-visible, .signup-form .btn:focus-visible, .signup-thanks:focus-visible {
  outline: 3px solid var(--sand); outline-offset: 2px;
}
.q.has-error > label, .q.has-error legend { color: #9b2c12; }
.q.has-error input[type="email"], .q.has-error input[type="text"], .q.has-error textarea { border-color: #9b2c12; border-width: 2px; }
.err { color: #9b2c12; font-size: .93rem; font-weight: 600; margin: 6px 0 0; }
.err::before { content: "! "; }
.q-consent .choice { font-size: .97rem; }
.turnstile-slot { min-height: 65px; max-width: 100%; }
.signup-soon { background: var(--paper-2); border-left: 4px solid var(--sand); padding: 10px 14px; margin: 0 0 16px; font-weight: 600; }
.form-status { background: #fbeee9; border-left: 4px solid #9b2c12; padding: 10px 14px; margin: 0 0 16px; }
.form-status p { margin: 0 0 8px; }
.form-status p:last-child { margin: 0; }
.submit-row { margin: 8px 0 0; }
.signup-form button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.signup-form button.btn-large { font-size: 1.1rem; }
.signup-form button:disabled { opacity: .55; cursor: not-allowed; }
.signup-form button:disabled:hover { background: var(--accent); border-color: var(--accent); }
.signup-thanks { font-size: 1.08rem; }
.signup-thanks p { margin: 0; }
.join .privacy-line a { color: #f0c88a; }
.footer a { color: #e6e1d8; }

/* Legal pages built from legal/*.md by site/build-site.mjs */
.legal-page { padding: 40px 0 64px; }
.legal-page h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal-page table { border-collapse: collapse; width: 100%; font-size: .93rem; display: block; overflow-x: auto; }
.legal-page th, .legal-page td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-page th { background: var(--paper-2); }

@media (max-width: 860px) {
  .split, .split-rev { grid-template-columns: 1fr; gap: 32px; }
  .split-rev .side-figure { order: 2; }
  .features { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .hero { min-height: 520px; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .join .wrap { padding: 0 12px; }
  .signup-card { padding: 20px 14px; }
}

@media print {
  .topbar, .cta-row, .join .btn, .turnstile-slot { display: none; }
  .hero { color: var(--ink); min-height: 0; }
  .hero-media { display: none; }
}
