/* Athene — athene.theadipost.com
   One stylesheet for all three pages. No build step: this folder is uploaded to
   Cloudflare Pages exactly as it sits. */

:root {
  --abyss:  #08161b;
  --deep:   #0e2126;
  --raise:  #143034;
  --line:   #1e3f43;
  --mint:   #6be5c4;
  --pale:   #a8f0da;
  --fog:    #93aaa8;
  --dim:    #6d8583;
  --paper:  #f5f1e6;
  --ink:    #16211f;

  --measure: 34rem;
  --display: "Fraunces", "Hoefler Text", Georgia, serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --label: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--abyss);
  color: #d6e3e1;
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.75rem; }

a { color: var(--mint); text-decoration-color: color-mix(in srgb, var(--mint) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--mint); }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 3px; }

/* ---- the small uppercase labels, borrowed from the design sheets ------------ */
.label {
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 0.9rem;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; line-height: 1.3; color: #e8f2f0; }
p  { max-width: var(--measure); }

/* ---- masthead --------------------------------------------------------------- */
.masthead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.6rem 0; flex-wrap: wrap;
}
.mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.mark img { width: 34px; height: 34px; border-radius: 8.5px; display: block; }
.mark span { font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.01em; color: #eaf5f3; }
.masthead nav { display: flex; gap: 1.5rem; font-size: 0.92rem; }
.masthead nav a { color: var(--fog); text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--mint); }

/* ---- hero ------------------------------------------------------------------- */
.hero { padding: 4rem 0 4.5rem; display: grid; gap: 2.75rem; grid-template-columns: 200px 1fr; align-items: start; }
.hero img { width: 200px; height: 200px; border-radius: 45px; display: block;
            box-shadow: 0 24px 60px -20px #000, 0 0 0 1px #ffffff0f; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; color: #f2fbf9;
           font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 100; }
.hero .lede { font-size: 1.25rem; line-height: 1.5; color: #c2d5d2; margin: 1.1rem 0 0; max-width: 30rem; font-weight: 300; }
.hero p.sub { color: var(--fog); margin: 1.5rem 0 0; }
.status {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.9rem;
  font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--pale); background: #6be5c414; border: 1px solid #6be5c433;
  padding: 0.5rem 0.9rem; border-radius: 999px;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

@media (max-width: 620px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 3rem; }
  .hero img { width: 128px; height: 128px; border-radius: 29px; }
}

/* ---- the three lights ------------------------------------------------------- */
.lights { border-top: 1px solid var(--line); padding: 3.5rem 0; }
.spread {
  margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 15rem; gap: 2rem; align-items: stretch;
}
.leaf {
  border-radius: 14px; padding: 2rem 2.25rem; transition: background 420ms ease, color 420ms ease;
  background: var(--leaf-bg, #f7f3e9); color: var(--leaf-ink, #1e2422);
  font-family: var(--display); font-size: 1.02rem; line-height: 1.72;
  box-shadow: 0 18px 44px -24px #000;
}
.leaf p { margin: 0 0 1rem; max-width: none; }
.leaf p:last-child { margin-bottom: 0; }
.leaf .folio {
  font-family: var(--label); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.42; margin-top: 1.75rem;
}
.switches { display: flex; flex-direction: column; gap: 0.6rem; }
.switches button {
  font: inherit; font-family: var(--label); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-align: left; cursor: pointer; color: var(--fog);
  background: var(--deep); border: 1px solid var(--line); border-radius: 11px;
  padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.75rem;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.switches button:hover { border-color: #2c5b5f; color: #cfe0de; }
.switches button[aria-pressed="true"] { color: var(--abyss); background: var(--mint); border-color: var(--mint); }
.switches .chip { width: 15px; height: 15px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1px #0003; }
.switches .note { margin: 0.4rem 0 0; font-size: 0.86rem; color: var(--dim); line-height: 1.5; }

@media (max-width: 720px) { .spread { grid-template-columns: 1fr; } }

/* ---- features --------------------------------------------------------------- */
.features { border-top: 1px solid var(--line); padding: 3.5rem 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2.4rem 3rem; margin-top: 2.25rem; }
.grid section p { margin: 0.5rem 0 0; color: #b6c8c6; font-size: 0.97rem; max-width: 26rem; }
.grid section h3 + p { margin-top: 0.45rem; }
.pro-tag {
  font-family: var(--label); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pale); border: 1px solid #6be5c440; border-radius: 4px;
  padding: 0.1rem 0.35rem; margin-left: 0.5rem; vertical-align: 2px;
}

/* ---- pro -------------------------------------------------------------------- */
.pro { border-top: 1px solid var(--line); margin-top: 3rem; padding: 3.5rem 0; }
.pro .card {
  margin-top: 1.75rem; background: linear-gradient(160deg, var(--raise), var(--deep));
  border: 1px solid var(--line); border-radius: 18px; padding: 2.25rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.pro ul { margin: 0; padding-left: 1.1rem; color: #b6c8c6; font-size: 0.97rem; }
.pro li { margin: 0.35rem 0; }
.price { text-align: right; }
.price .amount { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: #f2fbf9; display: block; }
.price .terms { font-family: var(--label); font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--dim); display: block; margin-top: 0.6rem; }
@media (max-width: 620px) { .pro .card { grid-template-columns: 1fr; } .price { text-align: left; } }

/* ---- the quiet claim -------------------------------------------------------- */
.quiet { border-top: 1px solid var(--line); padding: 3.5rem 0; }
.quiet .big { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.3; color: #eaf5f3; max-width: 36rem; margin: 1rem 0 0; }
.quiet p.after { margin-top: 1.5rem; color: #b6c8c6; }

/* ---- footer ----------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 2.5rem 0 4rem; color: var(--dim); font-size: 0.9rem; }
footer .row { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
footer nav { display: flex; gap: 1.4rem; }
footer a { color: var(--fog); text-decoration: none; }
footer a:hover { color: var(--mint); }

/* ---- long-form document pages ----------------------------------------------- */
.doc { padding: 3rem 0 5rem; max-width: 42rem; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; color: #f2fbf9; }
.doc .stamp { font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim); margin: 0.9rem 0 2.5rem; }
.doc h2 { font-size: 1.4rem; margin: 2.75rem 0 0.75rem; color: #eaf5f3; }
.doc p, .doc li { color: #c2d3d1; max-width: none; }
.doc ul { padding-left: 1.15rem; }
.doc li { margin: 0.5rem 0; }
.doc strong { color: #eaf5f3; font-weight: 500; }
.doc .callout {
  background: var(--deep); border: 1px solid var(--line); border-left: 3px solid var(--mint);
  border-radius: 0 12px 12px 0; padding: 1.25rem 1.5rem; margin: 1.75rem 0;
}
.doc .callout p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.94rem; }
.doc th, .doc td { text-align: left; padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--label); font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.doc .scroll { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Inline code — server addresses and hostnames, which appear in both documents
   and are the one thing on the page a reader is likely to type out by hand. */
code {
  font-family: var(--label);
  font-size: 0.86em;
  color: var(--pale);
  background: #6be5c412;
  border: 1px solid #6be5c41f;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  white-space: nowrap;
}
