/* Empire Awaits homepage: Paper + jet black */
:root{
  --paper:#f7f7f5; --ink:#141210; --jet:#0a0a0a; --mute:#55524d; --soft:#6a6660;
  --line:#e4e1dc; --edge:#d6d2cb; --brown:#3b2a20;
  --mono:'IBM Plex Mono', ui-monospace, monospace;
  --display:'Outfit', system-ui, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter, system-ui, sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:inherit}
b{font-weight:600;color:var(--jet)}
.h-wrap{max-width:1240px;margin:0 auto;padding:0 28px}
.h-narrow{max-width:920px}
.h-center{text-align:center;display:flex;flex-direction:column;align-items:center}

/* launch bar */
.h-bar{display:block;background:var(--brown);color:var(--paper);text-align:center;padding:12px 20px;font-family:var(--mono);font-size:12px;letter-spacing:.2em;text-decoration:none;line-height:1.6}
.h-bar span{opacity:.6;margin:0 6px}
.h-bar u{text-underline-offset:4px}

/* nav */
.h-nav{position:sticky;top:0;z-index:20;background:rgba(247,247,245,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.h-nav-in{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:20px;padding-bottom:20px}
.h-logo{font-family:var(--display);font-weight:400;font-size:20px;letter-spacing:.5em;text-decoration:none;color:var(--ink)}
.h-links{display:flex;align-items:center;gap:34px;font-family:var(--mono);font-size:12px;letter-spacing:.2em}
.h-links a{text-decoration:none;color:var(--mute)}
.h-links a:hover{color:var(--ink)}

/* type */
.h-eyebrow{margin:0;font-family:var(--mono);font-size:12px;letter-spacing:.4em;color:var(--jet)}
.h-tag{margin:0;font-family:var(--mono);font-size:11px;letter-spacing:.3em;color:var(--mute)}
.h-h2{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(38px,4.6vw,64px);line-height:1.04;letter-spacing:-.02em}
.h-lede{margin:0;font-size:18px;font-weight:300;line-height:1.7;color:var(--mute);max-width:46ch}
.h-small{margin:0;font-size:13px;color:var(--soft)}

/* buttons */
.h-btn,.btn{display:inline-flex;align-items:center;justify-content:center;height:56px;padding:0 30px;border:none;background:var(--jet);color:var(--paper)!important;font-family:var(--mono);font-size:13px;letter-spacing:.18em;text-decoration:none;cursor:pointer;transition:background .2s}
.h-btn:hover,.btn:hover{background:#2b2825}
.h-btn-sm{height:44px;padding:0 20px;font-size:12px}
.h-btn-full{width:100%;margin-top:14px}
.h-link{font-family:var(--mono);font-size:12px;letter-spacing:.2em;color:var(--jet);text-decoration:none;border-bottom:1px solid var(--jet);padding-bottom:4px;white-space:nowrap}

/* hero */
.h-hero{padding:110px 0 40px;overflow:hidden}
.h-hero-in{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.h-hero-title{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(46px,7vw,104px);line-height:.98;letter-spacing:-.03em;max-width:15ch}
.h-hero-title b{font-weight:600}
.h-hero-stage{width:100%;max-width:1160px;margin-top:56px;perspective:1600px}
.h-hero-shot{border-radius:14px;overflow:hidden;border:1px solid var(--edge);box-shadow:0 40px 120px rgba(60,40,20,.18);transform-origin:50% 0;will-change:transform}
.h-hero-shot img{display:block;width:100%}

/* strip */
.h-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:70px}
.h-strip-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 26px;padding-top:26px;padding-bottom:26px;font-family:var(--mono);font-size:12px;letter-spacing:.24em;color:var(--mute)}

/* problem */
.h-problem{padding:140px 0 80px}
.h-problem .h-wrap{display:flex;flex-direction:column;gap:26px}

/* modules */
.h-modules{padding:20px 0 140px}
.h-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.h-card{display:flex;flex-direction:column;gap:12px;padding:0 0 10px}
.h-card-img{border-radius:12px;overflow:hidden;border:1px solid var(--edge);aspect-ratio:16/10;background:#111;margin-bottom:10px}
.h-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.h-card h3{margin:0;font-family:var(--display);font-weight:400;font-size:26px;letter-spacing:-.01em}
.h-card p:not(.h-tag){margin:0;font-size:15px;font-weight:300;line-height:1.7;color:var(--mute);max-width:44ch}
.h-card-dark{background:var(--jet);color:var(--paper);border-radius:12px;padding:44px;justify-content:center;gap:22px}
.h-card-dark .h-tag{color:#a8a39b}
.h-card-dark h3{font-size:clamp(30px,3vw,42px);font-weight:300;line-height:1.1}
.h-card-dark b{color:var(--paper)}
.h-card-dark ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.h-card-dark li{border-top:1px solid #2b2825;padding:14px 0;font-size:15px;color:#d9d5ce}

/* editions */
.h-editions{padding:140px 0 40px;border-top:1px solid var(--line)}
.h-editions .h-center{gap:18px;margin-bottom:30px}
.h-ed{padding-top:70px;padding-bottom:90px;display:flex;flex-direction:column;gap:34px}
.h-ed-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:22px}
.h-ed-head>div:first-child{display:flex;flex-direction:column;gap:10px}
.h-ed-name{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(32px,4vw,56px);letter-spacing:.06em}
.h-ed-buy{display:flex;align-items:center;gap:28px}
.h-price{font-family:var(--display);font-size:24px}
.h-ed-frame{display:block;perspective:1800px}
.h-ed-shot{border-radius:14px;overflow:hidden;border:1px solid var(--edge);box-shadow:0 40px 120px rgba(60,40,20,.18);will-change:transform;transition:box-shadow .3s}
.h-ed-shot img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.h-ed-frame:hover .h-ed-shot{box-shadow:0 50px 140px rgba(60,40,20,.26)}

/* steps */
.h-steps{padding:130px 0;border-top:1px solid var(--line)}
.h-steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:56px}
.h-steps-grid>div{border-top:1px solid var(--ink);padding-top:22px;display:flex;flex-direction:column;gap:12px}
.h-steps-grid h3{margin:0;font-family:var(--display);font-weight:400;font-size:24px}
.h-steps-grid p:not(.h-tag){margin:0;font-size:15px;font-weight:300;line-height:1.7;color:var(--mute)}

/* founder */
.h-founder{padding:130px 0;background:var(--jet);color:var(--paper)}
.h-founder .h-center{gap:30px}
.h-founder .h-eyebrow,.h-founder .h-tag{color:#a8a39b}
.h-quote{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(28px,3.4vw,46px);line-height:1.35}
.h-founder b{color:var(--paper)}

/* faq */
.h-faq{padding:130px 0}
.h-faq-list{margin-top:40px}
.h-q{border-top:1px solid var(--line);padding:26px 0;display:flex;flex-direction:column;gap:10px}
.h-q:last-child{border-bottom:1px solid var(--line)}
.h-q h3{margin:0;font-family:var(--display);font-weight:400;font-size:20px}
.h-q p{margin:0;font-size:16px;font-weight:300;line-height:1.7;color:var(--mute)}

/* join */
.h-join{padding:150px 0;border-top:1px solid var(--line)}
.h-join-in{max-width:760px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.h-join-title{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(46px,6vw,88px);line-height:1;letter-spacing:-.02em}
.h-form{display:flex;flex-direction:column;gap:10px;width:100%;max-width:440px;margin-top:12px;text-align:left}
.h-form label{font-family:var(--mono);font-size:11px;letter-spacing:.24em;color:var(--mute);margin-top:8px}
.h-form input,.h-form select{height:54px;padding:0 18px;border:1px solid var(--edge);border-radius:0;background:#fff;color:var(--ink);font-size:16px;font-family:inherit;-webkit-appearance:none;appearance:none}
.h-form select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center}
.h-form input:focus,.h-form select:focus{outline:2px solid var(--jet);outline-offset:-1px}
.h-form button:disabled{opacity:.6;cursor:wait}
.waitlist-note{margin:0;font-size:14px;color:#9a2c2c;min-height:1em}
.waitlist-success{border:1px solid var(--ink);padding:34px 28px;max-width:520px}
.waitlist-success-headline{margin:0;font-family:var(--display);font-size:22px;line-height:1.4}

/* footer */
.h-foot{border-top:1px solid var(--line);padding:40px 0 50px}
.h-foot-in{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.h-legal{margin-top:24px;font-size:12px;line-height:1.7;color:#8a857e}

/* reminder popup from script.js */
.modal-overlay{position:fixed;inset:0;z-index:100;background:rgba(10,10,10,.55);display:flex;align-items:center;justify-content:center;padding:24px}
.modal-overlay[hidden]{display:none}
.modal-panel{position:relative;background:var(--paper);padding:44px 36px;max-width:440px;width:100%;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}
.modal-close{position:absolute;top:10px;right:14px;border:none;background:none;font-size:28px;cursor:pointer;color:var(--ink)}
.modal-panel .eyebrow{margin:0;font-family:var(--mono);font-size:11px;letter-spacing:.3em;color:var(--mute)}
.modal-heading{margin:0;font-family:var(--display);font-weight:600;font-size:28px;letter-spacing:.04em}
.nudge-line{margin:0 0 8px;color:var(--mute);font-weight:300}

/* phone */
@media (max-width:760px){
  .h-wrap{padding:0 20px}
  .h-hide-sm{display:none}
  .h-links{gap:0}
  .h-logo{font-size:17px;letter-spacing:.4em}
  .h-hero{padding:70px 0 20px}
  .h-hero-stage{margin-top:36px}
  .h-strip{margin-top:40px}
  .h-strip-in{justify-content:center;font-size:11px}
  .h-problem{padding:90px 0 50px}
  .h-modules{padding-bottom:90px}
  .h-grid{grid-template-columns:1fr}
  .h-card-dark{padding:32px 26px}
  .h-editions{padding-top:90px}
  .h-ed{padding-top:40px;padding-bottom:50px;gap:22px}
  .h-ed-buy{gap:20px}
  .h-steps,.h-founder,.h-faq{padding:90px 0}
  .h-steps-grid{grid-template-columns:1fr;gap:30px;margin-top:40px}
  .h-join{padding:100px 0}
  .h-bar{font-size:10px;letter-spacing:.14em}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.h-hero-shot,.h-ed-shot{transform:none!important}}
