:root {
  --bg: #FFF8F0;
  --bg-2: #FBEDE0;
  --card: #FFFFFF;
  --ink: #2A1A14;
  --dim: #6F5A4E;
  --line: #EADBCC;
  --accent: #B83324;
  --accent-ink: #FFFFFF;
  --butter: #FFC850;
  --butter-ink: #2A1A14;
  --glow: rgba(244, 122, 98, .16);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17100D;
    --bg-2: #211612;
    --card: #241915;
    --ink: #F6ECE4;
    --dim: #BBA597;
    --line: #3A2A23;
    --accent: #F47A62;
    --accent-ink: #1A0E0A;
    --glow: rgba(244, 122, 98, .12);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav a { color: var(--dim); text-decoration: none; margin-left: 18px; font-size: 16px; white-space: nowrap; }
.brand { white-space: nowrap; }
.top nav a:hover { color: var(--ink); }

/* Hero */
/* A printed menu: cream paper, dark ink, coral only where it means something. */
.hero {
  background: radial-gradient(900px 520px at 78% 38%, var(--glow), transparent 70%), var(--bg);
  color: var(--ink);
  overflow: hidden;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.hero h1 { text-wrap: balance; }
.hero .kicker { margin: 0 0 14px; font-size: 15px; }
.hero h1 span { color: var(--accent); display: block; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 30px 0 0; }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero .lead { font-size: 21px; color: var(--dim); max-width: 540px; margin: 0 0 26px; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 26px rgba(90, 30, 15, .22); margin-bottom: 22px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 17px;
}
.btn.light { background: var(--accent); color: var(--accent-ink); }
.btn.butter { background: var(--accent); color: var(--accent-ink); }
.soon { color: var(--dim); font-weight: 600; }
.phones { position: relative; height: 620px; }
.phones img {
  position: absolute; width: 270px; bottom: -120px;
  filter: drop-shadow(0 24px 40px rgba(60, 20, 10, .28));
  transition: transform .4s ease;
  cursor: zoom-in;
}
.phones img:nth-child(1) { left: 0; transform: rotate(-8deg) translateY(40px); }
.phones img:nth-child(2) { left: 50%; margin-left: -135px; z-index: 2; bottom: -60px; }
.phones img:nth-child(3) { right: 0; transform: rotate(8deg) translateY(40px); }
.phones:hover img:nth-child(1) { transform: rotate(-11deg) translate(-14px, 30px); }
.phones:hover img:nth-child(3) { transform: rotate(11deg) translate(14px, 30px); }

/* Sections */
section { padding: 110px 0; }
section:nth-of-type(even) { background: var(--bg-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.015em; margin: 0 0 18px;
}
h3 { font-size: 19px; margin: 0 0 4px; }
.copy p { color: var(--dim); font-size: 19px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.points .dot {
  width: 34px; height: 34px; border-radius: 10px; background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 17px;
}
.points p { margin: 0; color: var(--dim); font-size: 17px; }
.points .dot.num { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 18px; }
.shot { width: min(330px, 80%); margin: 0 auto; filter: drop-shadow(0 22px 36px rgba(60, 20, 10, .22)); cursor: zoom-in; }
.duo { display: flex; justify-content: center; gap: 22px; }
.duo img { width: min(280px, 46%); filter: drop-shadow(0 22px 36px rgba(60, 20, 10, .22)); cursor: zoom-in; }
.duo img:last-child { margin-top: 70px; }

/* The draft section */
.draft { text-align: center; }
.draft .copy { max-width: 720px; margin: 0 auto; }
.draft-row { display: flex; justify-content: center; align-items: flex-start; gap: 26px; margin-top: 46px; }
.draft-row figure { margin: 0; width: min(250px, 30%); }
.draft-row img { filter: drop-shadow(0 22px 36px rgba(60, 20, 10, .22)); cursor: zoom-in; }
.draft-row figcaption { margin-top: 14px; color: var(--dim); font-size: 16px; }
.draft-row figure:nth-child(2) { margin-top: 50px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 0; text-align: left; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.step b { display: block; font-family: var(--display); font-size: 30px; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.step p { margin: 0; color: var(--dim); font-size: 16px; }

/* The three problems */
.problems { padding: 96px 0 104px; }
.problems-title { text-align: center; margin: 0 0 40px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px;
  display: flex; flex-direction: column;
}
.problem b { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: 16px; }
.problem h3 { font-family: var(--display); font-size: 26px; line-height: 1.15; margin: 0 0 12px; }
.problem p { margin: 0; color: var(--dim); font-size: 17px; line-height: 1.5; }
/* The fix sits at the bottom of every card, so the three dividers line up. */
.problem .fix { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); }
.problem p:not(.fix) { margin-bottom: 22px; }

/* iPad */
.ipad { text-align: center; }
.ipad .copy { max-width: 680px; margin: 0 auto; }
.ipads { display: flex; justify-content: center; align-items: flex-end; margin-top: 46px; }
.ipads img { width: min(390px, 34%); filter: drop-shadow(0 22px 36px rgba(60, 20, 10, .22)); cursor: zoom-in; }
.ipads img:nth-child(2) { width: min(520px, 44%); position: relative; z-index: 2; margin: 0 -70px; }

/* Discord: its own mark in its own blurple, wherever it appears */
.discord-link { display: inline-flex; align-items: center; gap: 6px; color: #5865F2 !important; white-space: nowrap; }
.discord-link svg, .discord-btn svg { width: 18px; height: 18px; flex: none; }
.btn.discord-btn { background: #5865F2; color: #fff; }
.btn.discord-btn svg { width: 22px; height: 22px; }

/* Closing */
.closing { text-align: center; }
.closing .app-icon { margin: 0 auto 22px; }
.closing .ctas { justify-content: center; }
.closing .btn.light { background: var(--accent); color: var(--accent-ink); }

footer { padding: 40px 0 60px; color: var(--dim); font-size: 15px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer a { color: var(--dim); margin-right: 16px; }

/* Plain pages (privacy, support) */
.page { max-width: 760px; padding: 20px 0 80px; }
.page h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 52px); line-height: 1.05; margin: 20px 0 10px; }
.page h2 { font-size: 26px; margin: 40px 0 10px; }
.page p, .page li { color: var(--dim); }
.page .updated { color: var(--dim); font-size: 15px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; }

/* Lightbox */
.viewer { position: fixed; inset: 0; background: rgba(15, 8, 6, .86); display: grid; place-items: center; z-index: 50; padding: 24px; }
.viewer img { max-height: calc(100vh - 48px); max-width: min(560px, 100%); width: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.viewer button {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #FFF6EA; color: #2A1A14; font-size: 24px; cursor: pointer;
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > :first-child { order: 0; }
  .hero .lead { font-size: 19px; }
  .phones { height: 430px; }
  .phones img { width: 190px; bottom: -110px; }
  .phones img:nth-child(2) { margin-left: -95px; bottom: -60px; }
  section { padding: 72px 0; }
  .steps, .three { grid-template-columns: 1fr; }
  .problems { padding: 64px 0 72px; }
  .problems-title { margin-bottom: 28px; }
  .draft-row { gap: 10px; }
  .draft-row figure:nth-child(2) { margin-top: 30px; }
  .draft-row figcaption { font-size: 13px; }
  .top nav a { margin-left: 12px; }
}
@media (max-width: 480px) {
  .top nav a[href="#draft"], .top nav a[href="/"] { display: none; }
  .ipads img:nth-child(2) { margin: 0 -30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phones img { transition: none; }
}
