:root {
  --ink: #080806;
  --paper: #f5f0e6;
  --muted: #a9a093;
  --line: rgba(255, 174, 56, .23);
  --orange: #ff8a00;
  --gold: #ffc45c;
  --green: #51f29b;
  --panel: rgba(17, 10, 5, .84);
}
* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--ink); }
body { margin: 0; min-height: 100vh; color: var(--paper); font-family: "Trebuchet MS", "Avenir Next Condensed", sans-serif; background: radial-gradient(circle at 72% 8%, #4b1c00 0, transparent 30rem), linear-gradient(#080806, #0f0803 60%, #080806); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.aurora { position: fixed; z-index: -1; border: 1px solid var(--line); border-radius: 50%; filter: blur(1px); }
.aurora-one { width: 38rem; height: 38rem; right: -14rem; top: -17rem; box-shadow: 0 0 8rem #ff70002e inset; }
.aurora-two { width: 28rem; height: 28rem; left: -18rem; bottom: -12rem; box-shadow: 0 0 7rem #ffae0020 inset; }
a { color: inherit; }
.site-header, main, footer { width: min(1180px, calc(100% - 36px)); margin-inline: auto; position: relative; }
.site-header { margin-top: 24px; min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 24px; background: rgba(8, 7, 5, .78); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 14px; border: 1px solid #ff9c2a66; }
.brand span { display: grid; }
.brand b { font-size: 22px; letter-spacing: .06em; }
.brand small, .eyebrow, footer, .stamp, .signal, .number { font-family: "Courier New", monospace; text-transform: uppercase; letter-spacing: .16em; }
.brand small { color: var(--orange); font-weight: 700; font-size: 9px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: #c9c0b6; text-decoration: none; font-weight: 800; }
nav a:hover { color: white; }
.nav-cta { padding: 12px 16px; color: #1b0d02; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--orange)); }
main { padding: 42px 0 72px; }
.hero { min-height: 630px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 62px; padding: 72px; border: 1px solid var(--line); border-radius: 44px; background: linear-gradient(125deg, rgba(5, 5, 4, .96), rgba(35, 13, 1, .83)); box-shadow: 0 34px 90px #0009; }
.eyebrow { margin: 0 0 22px; color: var(--gold); font-weight: 800; font-size: 12px; }
.eyebrow span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); margin-right: 8px; }
h1, h2 { margin-top: 0; }
.hero h1 { margin-bottom: 24px; font-size: clamp(54px, 7vw, 100px); line-height: .88; letter-spacing: -.055em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.lede { max-width: 650px; color: #c8bdb1; font-size: 19px; line-height: 1.65; }
.actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button { appearance: none; border: 1px solid #ff9a1b66; border-radius: 14px; padding: 15px 20px; font: 900 13px "Trebuchet MS", sans-serif; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; cursor: pointer; }
.button.primary { color: #1a0c00; background: linear-gradient(135deg, var(--gold), var(--orange)); box-shadow: 0 10px 34px #ff760025; }
.button.ghost { background: #120b07; color: var(--paper); }
.button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .52; }
.button.full { width: 100%; }
.status { margin-top: 22px; color: var(--muted); font: 700 12px "Courier New", monospace; text-transform: uppercase; }
.status i, .live-badge i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--green); box-shadow: 0 0 12px var(--green); }
.mail-card { min-height: 430px; position: relative; border: 1px solid #ff9a2f55; border-radius: 34px; background: radial-gradient(circle at 50% 20%, #5d2100, #120904 72%); transform: rotate(2deg); overflow: hidden; }
.mail-card::before { content: ""; position: absolute; inset: 0; opacity: .25; background: repeating-linear-gradient(135deg, transparent 0 24px, #ff9b321c 25px 26px); }
.stamp { position: absolute; top: 25px; right: 28px; color: var(--gold); font-size: 10px; }
.envelope { position: absolute; width: 72%; aspect-ratio: 1.45; left: 14%; top: 24%; border: 2px solid #ff9c31; background: #1b0d05; box-shadow: 0 32px 70px #000b; }
.flap { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 62%); background: linear-gradient(#ff9c31, #8c3000); }
.letter { position: absolute; inset: 18% 10% 10%; padding: 26px 18px; background: var(--paper); color: #1b0d02; transform: translateY(-22%); box-shadow: 0 4px 20px #0006; }
.letter span { display: block; font: 800 12px "Courier New", monospace; letter-spacing: .16em; color: #9b4a00; }
.letter b { display: block; margin-top: 8px; font-size: clamp(17px, 2vw, 28px); overflow-wrap: anywhere; }
.signal { position: absolute; bottom: 24px; left: 25px; display: flex; gap: 8px; }
.signal span { padding: 7px 9px; border: 1px solid #ff99384c; border-radius: 8px; color: #d8cbbb; font-size: 9px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.feature-grid article, .settings-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.feature-grid article > span, .number { color: var(--orange); font-weight: 900; }
.feature-grid h2, .settings-card h2 { margin: 24px 0 10px; font-size: 22px; }
.feature-grid p, .form-intro p, .dashboard-head p { color: var(--muted); line-height: 1.6; }
code { color: var(--gold); }
.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; padding: 62px; border: 1px solid var(--line); border-radius: 36px; background: linear-gradient(135deg, #090806ed, #2a0e02d9); }
.form-shell.compact { max-width: 900px; margin: 30px auto; }
.form-intro h1 { font-size: clamp(40px, 5vw, 70px); line-height: .98; letter-spacing: -.04em; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; color: var(--gold); font: 800 11px "Courier New", monospace; letter-spacing: .1em; }
input { width: 100%; min-width: 0; padding: 15px 16px; border: 1px solid #ff97294d; border-radius: 12px; background: #0a0705; color: white; outline: none; font: 600 16px "Trebuchet MS", sans-serif; }
input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px #ff850018; }
.address-field { display: flex; align-items: center; border: 1px solid #ff97294d; border-radius: 12px; background: #0a0705; overflow: hidden; }
.address-field input { border: 0; border-radius: 0; }
.address-field span { padding-right: 14px; color: #b8aa9b; white-space: nowrap; text-transform: none; letter-spacing: 0; font-family: "Trebuchet MS", sans-serif; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: flex-start; color: #c8bbae; font: 500 14px/1.5 "Trebuchet MS", sans-serif; letter-spacing: 0; }
.check input { width: 18px; margin-top: 2px; }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; }
.notice { padding: 14px 16px; border: 1px solid #ff9a2a55; border-radius: 12px; background: #2b1206; color: #f4dfca; }
.notice.success { border-color: #51f29b66; background: #092117; }
.notice.error { border-color: #ff625c66; background: #2a0908; }
.dashboard-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; padding: 44px; border: 1px solid var(--line); border-radius: 30px; background: var(--panel); }
.dashboard-head h1 { margin-bottom: 6px; font-size: clamp(31px, 5vw, 62px); overflow-wrap: anywhere; }
.live-badge { padding: 12px 15px; border: 1px solid #51f29b55; border-radius: 999px; color: #b9fdd8; font: 800 11px "Courier New", monospace; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.settings-card.wide { grid-column: 1 / -1; }
dl { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px 18px; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.error-page { min-height: 570px; display: grid; place-content: center; text-align: center; border: 1px solid var(--line); border-radius: 36px; background: var(--panel); }
.error-page h1 { font-size: clamp(44px, 7vw, 84px); }
.error-page .button { justify-self: center; margin-top: 20px; }
footer { display: flex; justify-content: space-between; padding: 26px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
@media (max-width: 850px) {
  .site-header { align-items: flex-start; }
  nav { justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
  .hero, .form-shell { grid-template-columns: 1fr; padding: 36px 24px; }
  .mail-card { min-height: 340px; }
  .feature-grid, .settings-grid { grid-template-columns: 1fr; }
  .settings-card.wide { grid-column: auto; }
}
@media (max-width: 560px) {
  .site-header { width: calc(100% - 20px); margin-top: 10px; }
  .brand span { display: none; }
  nav a:not(.nav-cta) { display: none; }
  main { width: calc(100% - 20px); padding-top: 16px; }
  .hero { min-height: 0; border-radius: 26px; }
  .hero h1 { font-size: 51px; }
  .feature-grid { grid-template-columns: 1fr; }
  .two-fields { grid-template-columns: 1fr; }
  .address-field { display: grid; }
  .address-field span { padding: 0 14px 12px; }
  .dashboard-head { align-items: flex-start; flex-direction: column; padding: 28px; }
  footer { flex-direction: column; gap: 10px; }
}

