/* Every Orbits page: the nav and footer, the front page (hero with a live card, how, the free calculator, what's on
   a card, price + questions, band), the card maker (/make/), the card's own page (/c/), the account (/app/, /login/). */
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.top { position: sticky; z-index: 10; top: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 var(--gutter); background: var(--paper); border-bottom: var(--line); }
.top-r { display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 8px; font: 800 26px/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.brand .mo-svg { width: 40px; height: 40px; }
.brand .wm span { color: var(--pink); }
section h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 10px 0 16px; text-wrap: balance; }
h2 em { font-style: normal; color: var(--pink); }
.lead { font-size: 19px; font-weight: 600; color: var(--ink-2); max-width: 32em; }
.two { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 26px; font-weight: 600; font-size: 14px; color: var(--muted); }
.orbit-card { width: 100%; height: auto; filter: drop-shadow(0 8px 0 var(--ink)); }

/* hero */
.hero { background: var(--grape); border-bottom: var(--line); overflow: hidden; position: relative; }
.hero .night { position: absolute; inset: 0; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; min-height: min(760px, calc(100svh - 64px)); padding-top: 36px; padding-bottom: 44px; }
.hero-copy { display: grid; gap: 16px; justify-items: start; }
.hero .chip { background: var(--sun); }
.hero h1 { font-size: clamp(42px, min(5.6vw, 9vh), 78px); max-width: 10em; color: var(--white); text-wrap: balance; text-shadow: 0 4px 0 var(--ink); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .sub { font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; max-width: 28em; background: var(--paper); border: var(--line); border-radius: 16px; padding: 12px 16px; }
.hero .small { font-weight: 700; background: var(--white); border: var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.hero-card { position: relative; justify-self: center; width: min(440px, 100%); transform: rotate(3deg); }
.hero-card .orbit-card { animation: floaty 6s ease-in-out infinite; }
.hero-card .peek { position: absolute; left: -54px; bottom: -30px; width: 130px; transform: rotate(-12deg); }
.hero-card .flip { position: absolute; right: -10px; top: -18px; background: var(--sun); border: var(--line-2); border-radius: 999px; padding: 8px 14px; font: 800 15px/1 var(--display); box-shadow: 0 3px 0 var(--ink); transform: rotate(6deg); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* how */
.how { padding: clamp(56px, 8vw, 100px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.step { position: relative; background: var(--white); border: var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 6px 0 var(--ink); display: grid; gap: 8px; align-content: start; }
.step .n { position: absolute; top: -16px; left: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); border: var(--line-2); font: 800 17px/30px var(--display); text-align: center; }
.step .ic { font-size: 44px; line-height: 1.1; }
.step h3 { font-size: 28px; }
.step p { font-weight: 600; color: var(--ink-2); }

/* the free calculator */
.what { padding: clamp(56px, 8vw, 100px) 0; background: var(--sun); border-top: var(--line); border-bottom: var(--line); }
.what .kick { color: var(--ink); }
.calc { background: var(--paper); border: var(--line); border-radius: 28px; box-shadow: 0 8px 0 var(--ink); padding: 20px; display: grid; gap: 14px; }
.calc .ins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc label, .form label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.calc label small, .form label small { font-weight: 600; color: var(--muted); }
.field { width: 100%; }
input[type="date"].field { padding: 0 12px; font-family: var(--mono); font-size: 16px; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.num { background: var(--white); border: var(--line-2); border-radius: 18px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; min-height: 104px; }
.num b { font: 800 clamp(26px, 3vw, 36px)/1.05 var(--display); letter-spacing: -0.02em; }
.num span { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.num.hot { background: var(--pink-2); }
.num.wide { grid-column: 1 / -1; min-height: 0; display: flex; gap: 12px; align-items: center; }
.num.wide b { font-size: 24px; }
.calc .say { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.calc .say .mo-svg { width: 64px; height: 64px; flex: none; }
.calc .go { width: 100%; }

/* what's on a card */
.inside { padding: clamp(56px, 8vw, 100px) 0; background: var(--white); border-bottom: var(--line); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.feat { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: var(--line); border-radius: 20px; padding: 14px 16px; box-shadow: 0 4px 0 var(--ink); }
.feat i { width: 52px; height: 52px; flex: none; border-radius: 14px; border: var(--line-2); display: grid; place-items: center; font-style: normal; font-size: 26px; }
.feat b { font: 800 19px/1.15 var(--display); display: block; margin-bottom: 4px; }
.feat small { font-size: 14px; font-weight: 600; color: var(--ink-2); display: block; }
.real { margin-top: 26px; display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; background: var(--sky); border: var(--line); border-radius: 26px; padding: 20px; box-shadow: 0 6px 0 var(--ink); }
.real .orrery { width: 100%; height: auto; border: var(--line); border-radius: 36px; }
.real h3 { font-size: 30px; margin-bottom: 8px; }

/* price + faq */
.price { padding: clamp(56px, 8vw, 100px) 0; background: var(--paper); }
.price-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; background: var(--pink); color: var(--white); border: var(--line); border-radius: 30px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 8px 0 var(--ink); width: min(1160px, calc(100% - 2 * var(--gutter))); }
.price-in .kick { color: var(--white); }
.price-in .lead { color: var(--white); }
.price-in h2 { text-shadow: 0 3px 0 var(--ink); }
.price-right { display: grid; gap: 18px; justify-items: start; }
.ticks2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 700; font-size: 17px; }
.ticks2 li { display: flex; gap: 10px; align-items: center; }
.ticks2 li::before { content: '✓'; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--white); color: var(--ink); border: var(--line-2); display: grid; place-items: center; font-weight: 800; }
.faq-h { margin-top: clamp(48px, 6vw, 80px); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: var(--line); border-radius: 18px; padding: 0 18px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 16px 0; font: 800 19px/1.2 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 16px; font-weight: 600; color: var(--ink-2); }

/* band */
.band { padding: clamp(40px, 6vw, 70px) 0; background: var(--sea); border-top: var(--line); border-bottom: var(--line); }
.band-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.band .mo-svg { width: 130px; height: 130px; }
.band h2 { margin: 0 0 6px; font-size: clamp(28px, 3.4vw, 42px); }
.band .lead { color: var(--ink); }

/* the maker */
body.maker { background: var(--paper); }
.mk { width: min(1240px, 100%); margin: 0 auto; padding: clamp(18px, 3vw, 36px) var(--gutter) 60px; display: grid; grid-template-columns: minmax(320px, 440px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.mk h1 { font-size: clamp(30px, 3.6vw, 44px); }
.form { display: grid; gap: 14px; }
.panel { background: var(--white); border: var(--line); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 12px; align-content: start; }
.panel h2 { font-size: 24px; }
.panel.sun { background: var(--sun); } .panel.sky { background: var(--sky); } .panel.pinkish { background: var(--pink-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 52px; height: 52px; border-radius: 50%; border: var(--line); cursor: pointer; box-shadow: 0 3px 0 var(--ink); padding: 0; }
.sw[aria-pressed="true"] { outline: 4px solid var(--pink); outline-offset: 3px; }
.tones { display: flex; gap: 8px; flex-wrap: wrap; }
.tone { border: var(--line-2); border-radius: 999px; background: var(--white); padding: 8px 14px; font: 800 15px/1 var(--display); cursor: pointer; }
.tone[aria-pressed="true"] { background: var(--ink); color: var(--white); }
textarea.field { min-height: 92px; padding: 12px 14px; line-height: 1.4; resize: vertical; font-size: 16px; }
.hint { font-size: 14px; font-weight: 600; color: var(--muted); }
.stage { position: sticky; top: 84px; display: grid; gap: 16px; justify-items: center; }
.stage .orbit-card { width: min(560px, 100%); }
.stage .empty { width: min(560px, 100%); aspect-ratio: 4 / 5; border: var(--line); border-radius: 30px; background: var(--ink); color: var(--paper); display: grid; place-items: center; text-align: center; padding: 30px; gap: 10px; align-content: center; }
.stage .empty h2 { font-size: 30px; }
.buy { width: min(560px, 100%); display: grid; gap: 10px; }
.buy .btn { width: 100%; }
.buy .note { text-align: center; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.done { background: var(--leaf-2); }
.link-row { display: flex; gap: 8px; }
.link-row input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; }

/* the card's own page */
body.cardpage { background: var(--ink); color: var(--paper); }
body.cardpage .top { background: var(--ink); border-bottom-color: var(--paper); }
body.cardpage .brand { color: var(--paper); }
body.cardpage .foot { color: #a9b6c9; }
.cp { width: min(1100px, 100%); margin: 0 auto; padding: clamp(18px, 3vw, 40px) var(--gutter) 40px; display: grid; gap: 28px; }
.cp-top { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: clamp(20px, 4vw, 50px); align-items: start; }
.cp h1 { font-size: clamp(34px, 4.6vw, 58px); color: var(--paper); }
.cp .lead { color: #d8e0eb; }
.tl { display: grid; gap: 10px; }
.tl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; background: #1b3354; border: 2px solid var(--paper); border-radius: 16px; padding: 10px 14px; font-weight: 600; }
.tl b { font: 700 13px/1.3 var(--mono); color: var(--sun); }
.tl .soon b { color: var(--pink); }
.cp .orrery { width: min(420px, 100%); height: auto; border: 3px solid var(--paper); border-radius: 36px; }
.cp-cta { background: var(--sun); color: var(--ink); border: var(--line); border-radius: 26px; padding: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; box-shadow: 0 6px 0 var(--paper); }
.cp-cta h2 { font-size: 28px; }

/* account pages */
body.grown { background: var(--paper); }
.page { width: min(1040px, 100%); margin: 0 auto; padding: clamp(20px, 4vw, 44px) var(--gutter) 60px; display: grid; gap: 20px; }
.page h1 { font-size: clamp(32px, 4.4vw, 48px); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.auth { width: min(460px, 100%); margin: 0 auto; }
.auth form { display: grid; gap: 12px; }
.auth label { display: grid; gap: 6px; font-weight: 700; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: var(--line); border-radius: 999px; overflow: hidden; }
.tabs button { border: 0; background: var(--white); padding: 12px; font: 800 16px/1 var(--display); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: var(--line-2); border-radius: 999px; font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--white); }
.status.on { background: var(--leaf-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cards a { display: grid; gap: 8px; text-decoration: none; font-weight: 800; font-family: var(--display); }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ok-msg { color: var(--leaf); font-weight: 700; }

@media (max-width: 900px) {
  .top { height: 58px; }
  .hide-s { display: none; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; }
  .hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .hero .sub { font-size: 16px; }
  .hero-card { width: min(330px, 84%); }
  .hero-card .peek { width: 90px; left: -30px; }
  .cta, .cta .btn { width: 100%; }
  .cta .btn { white-space: normal; text-align: center; line-height: 1.15; padding: 10px 18px; }
  .two, .price-in, .steps, .feats, .real, .grid2 { grid-template-columns: 1fr; }
  .real .orrery { max-width: 300px; justify-self: center; }
  .steps { gap: 26px; }
  .calc .ins { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .price-right .btn { width: 100%; }
  .band-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .band-in .btn { width: 100%; }
  .mk { grid-template-columns: 1fr; }
  .stage { position: static; order: -1; }
  .cp-top { grid-template-columns: 1fr; }
  .tl div { grid-template-columns: 1fr; gap: 2px; }
}

@media print {
  @page { size: letter portrait; margin: 0.4in; }
  body { background: #fff !important; }
  .top, .foot, .no-print, .cp-cta, .form, .buy { display: none !important; }
  .cp, .mk { display: block; padding: 0; }
  .orbit-card { width: 7.2in !important; margin: 0 auto; filter: none; break-after: page; }
  .cp-top > div:not(:first-child) { break-before: page; color: var(--ink); }
  .tl div { background: #fff; color: var(--ink); border-color: var(--ink); }
  .tl b { color: var(--pink); }
  .cp h1, .cp .lead { color: var(--ink); }
}
