/* Copyright (c) 2026 Michel Kris Naiken. All rights reserved. Aurisse Mail — proprietary. */
@font-face { font-family: "Cormorant"; src: url("/assets/cormorant.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Noir and gold. One accent, used sparingly; the serif carries the voice. */
:root {
  --bg: #08080a; --bg-alt: #0c0c0f; --panel: #0f0f12; --raised: #16161a; --field: #1b1b20; --line: #26262c;
  --ink: #f1ede4; --muted: #9a948a; --gold: #c9a96e; --gold-hi: #e6cc94; --gold-lo: #8f6f3a; --gold-ink: #08080a;
  --error: #e0685c; --ok: #8fc79a;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--gold); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 50; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(8,8,10,.92), rgba(8,8,10,0)); transition: background .4s; }
.nav.solid { background: rgba(8,8,10,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .18em; }
.wordmark em { font-style: normal; color: var(--gold); font-weight: 500; letter-spacing: .3em; font-size: 13px; }
.wordmark.small { font-size: 16px; }
.mark { width: 26px; height: 26px; color: var(--gold); }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; letter-spacing: .02em; }
.links a:hover { color: var(--ink); }
@media (max-width: 820px) { .links { display: none; } .nav .button.small { margin-left: auto; } }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 30px; font-weight: 500; text-decoration: none; font-size: 15px; letter-spacing: .01em;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--gold-ink); border: 0; cursor: pointer; font-family: var(--sans);
  box-shadow: 0 10px 30px -14px rgba(201,169,110,.6); transition: transform .2s, filter .2s; }
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(241,237,228,.22); box-shadow: none; }
.button.ghost:hover { border-color: var(--gold); }
.button.small { padding: 10px 18px; font-size: 13px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gutter) 80px; overflow: hidden; isolation: isolate; }
#smoke { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: -1; }
.hero-inner { max-width: 820px; text-align: center; }
.eyebrow { color: var(--gold); letter-spacing: .34em; text-transform: uppercase; font-size: 12px; margin: 0 0 22px; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 10vw, 118px); line-height: .98; letter-spacing: -.01em; margin: 0 0 26px; text-wrap: balance; }
h1 span { color: var(--gold-hi); font-style: italic; font-weight: 500; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 640px; margin: 0 auto 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 0; margin: 40px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.trust li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: middle; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.scroll-hint span { position: absolute; top: -54px; left: 0; width: 1px; height: 54px; background: var(--gold); animation: drop 2.6s ease-in-out infinite; }
@keyframes drop { 0% { top: -54px } 60%, 100% { top: 54px } }

/* chapters */
.chapter { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.chapter.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapter-head { max-width: 760px; margin: 0 auto 48px; }
.numeral { display: block; font-family: var(--serif); color: var(--gold); font-size: 22px; letter-spacing: .3em; margin-bottom: 12px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; margin: 0 0 18px; text-wrap: balance; }
.chapter-head p { color: var(--muted); font-size: 17px; margin: 0; max-width: 64ch; }

.flow { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; align-items: center; gap: 12px; max-width: 980px; margin: 0 auto 42px; padding: 0; }
.node { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 26px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.node svg { width: 40px; height: 40px; color: var(--gold); }
.node b { font-weight: 500; }
.node span { color: var(--muted); font-size: 14px; }
.node.dim svg { color: var(--muted); }
.wire { display: flex; gap: 6px; }
.wire i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .25; animation: pulse 1.8s infinite; }
.wire i:nth-child(2) { animation-delay: .3s } .wire i:nth-child(3) { animation-delay: .6s }
@keyframes pulse { 0%, 100% { opacity: .2 } 50% { opacity: 1 } }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } .wire { justify-content: center; transform: rotate(90deg); height: 6px; margin: 8px 0; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; max-width: 980px; margin: 0 auto; }
.facts > div { background: var(--panel); padding: 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.facts b { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--gold-hi); }
.facts span { color: var(--muted); font-size: 15px; }

.features { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.features li { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; transition: border-color .3s, transform .3s; }
.features li:hover { border-color: var(--gold-lo); transform: translateY(-2px); }
.features svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 6px; }
.features b { font-weight: 500; font-size: 17px; }
.features span { color: var(--muted); font-size: 14.5px; }

.table-wrap { max-width: 1100px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.compare thead th.us { color: var(--gold); }
.compare tbody th { font-weight: 400; color: var(--ink); width: 30%; }
.compare td { color: var(--muted); }
.compare td.us { color: var(--gold-hi); background: rgba(201,169,110,.05); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.fine { color: var(--muted); font-size: 13px; max-width: 1100px; margin: 14px auto 0; }

/* sign-up */
.signup { background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,.10), transparent 60%); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px) { .signup-grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-width: 0; }
label { display: block; margin: 0 0 8px; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.addr { display: flex; align-items: center; gap: 10px; background: var(--field); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px 4px 4px; }
.addr:focus-within { border-color: var(--gold); }
.addr input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font: 18px var(--sans); padding: 12px 12px; outline: none; }
.at { color: var(--muted); white-space: nowrap; font-size: 15px; }
button { font-family: var(--sans); }
#create-btn { margin-top: 16px; width: 100%; padding: 15px 22px; border-radius: 30px; border: 0; cursor: pointer; font-weight: 500; font-size: 15px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--gold-ink); }
#create-btn:disabled { opacity: .55; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 10px 0 0; color: var(--ok); font-size: 14px; }
.status.error { color: var(--error); }
.card .fine { margin-top: 14px; }
.hint { color: var(--muted); margin: 0 0 12px; font-size: 14px; }
.big { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); margin: 4px 0 8px; color: var(--gold-hi); overflow-wrap: anywhere; line-height: 1.1; }
.code { display: flex; align-items: center; gap: 12px; background: var(--field); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.code span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 19px; letter-spacing: .05em; overflow-wrap: anywhere; flex: 1; }
.code button { margin: 0; padding: 9px 16px; border-radius: 20px; border: 1px solid var(--gold-lo); background: transparent; color: var(--gold); cursor: pointer; font-size: 13px; }
.steps { list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 18px; align-content: start; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps .n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-lo); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.steps b { display: block; font-weight: 500; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 14.5px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--serif); font-size: 24px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 22px; max-width: 64ch; }

/* footer */
.foot { padding: 48px var(--gutter) 36px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; max-width: 1100px; margin: 0 auto; }
.foot p { color: var(--muted); margin: 6px 0 0; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--gold); }
.copy { text-align: center; color: var(--muted); font-size: 12px; margin: 36px 0 0; letter-spacing: .04em; }

/* reveal: visible at rest, a soft rise once seen */
.reveal { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s ease; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
