:root {
  --bg: #f4eee1;
  --bg-deep: #efe4cf;
  --card: rgba(255, 251, 244, 0.74);
  --text: #241b16;
  --muted: #6e6156;
  --accent: #d26d4d;
  --accent-soft: #f0c480;
  --ink: #1e1612;
  --border: rgba(80, 54, 36, 0.14);
  --shadow: 0 18px 44px rgba(50, 28, 15, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #f7f1e6 42%, var(--bg-deep) 100%);
}
.topbar, .hero, .section, .footer, .manuscript-band, .quick-steps {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
}
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a, .footer a {
  color: var(--ink);
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.98fr;
  gap: 36px;
  align-items: center;
  padding: 40px 0 54px;
}
.eyebrow {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 10px;
}
h1, h2, h3, h4, .brand {
  font-family: "Cormorant Garamond", serif;
}
h1 {
  font-size: clamp(3rem, 6.2vw, 5.1rem);
  line-height: .95;
  margin: 0 0 18px;
  font-weight: 500;
  max-width: 12ch;
}
.subhead {
  font-size: 1.18rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 28px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
}
.button.primary {
  background: var(--accent);
  color: #fffaf6;
  box-shadow: var(--shadow);
}
.proof-line {
  color: var(--muted);
  font-size: 1rem;
  max-width: 36rem;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.device-frame {
  background: linear-gradient(180deg, #2f241e 0%, #1b1512 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 28px 60px rgba(26, 14, 8, 0.18);
  width: 100%;
  max-width: 360px;
}
.device-screen {
  width: 100%;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #182018 0%, #0f1514 100%);
  border-radius: 32px;
  padding: 22px 18px 28px;
  color: #f8f3eb;
  position: relative;
  overflow: hidden;
}
.scrollable-demo {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent;
}
.scrollable-demo::-webkit-scrollbar { width: 6px; }
.scrollable-demo::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.22);
  border-radius: 999px;
}
.device-screen::after {
  content: "";
  position: absolute;
  inset: auto -15% -18% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(240,196,128,.28) 0%, rgba(240,196,128,0) 70%);
}
.screen-kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .7rem;
  color: rgba(248,243,235,.72);
  position: relative;
  z-index: 2;
}
.device-screen h3 {
  font-size: 2.05rem;
  line-height: 1;
  margin: 14px 0 16px;
  position: relative;
  z-index: 2;
}
.devo-block {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}
.devo-block h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: rgba(240,196,128,.95);
}
.devo-block p {
  margin: 0;
  line-height: 1.75;
  color: rgba(248,243,235,.9);
  font-size: .95rem;
}
.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 18px;
}
.quick-steps article, .feature-card, .compare-card, .art-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.quick-steps article {
  padding: 24px;
}
.quick-steps span, .feature-card span {
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}
.quick-steps h3, .feature-card h3, .compare-card h3 {
  font-size: 2rem;
  margin: 0 0 12px;
}
.quick-steps p, .feature-card p, .compare-card li {
  color: var(--muted);
  line-height: 1.7;
}
.manuscript-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px 0 8px;
}
.dropcap {
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  line-height: .8;
  color: var(--ink);
}
.manuscript-band p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  line-height: 1.4;
  margin: 0;
}
.section { padding: 58px 0; }
h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  margin: 0 0 16px;
  font-weight: 500;
}
.section p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 44rem;
}
.two-up, .features, .comparison, .art-section {
  display: grid;
  gap: 18px;
}
.two-up, .art-section { grid-template-columns: repeat(2, 1fr); }
.features { grid-template-columns: repeat(3, 1fr); }
.comparison { grid-template-columns: 1fr 1fr; }
.feature-card, .compare-card {
  padding: 26px;
}
.compare-card.good {
  background: linear-gradient(180deg, rgba(210,109,77,.10), rgba(255,251,244,.8));
}
.compare-card ul {
  margin: 0;
  padding-left: 18px;
}
.art-panel {
  min-height: 420px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
}
.art-panel p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
}
.art-flare {
  position: absolute;
  right: 8%;
  top: 12%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(210,109,77,.42) 0%, rgba(240,196,128,.28) 28%, rgba(240,196,128,0) 72%);
  filter: blur(6px);
}
.dragon-stroke {
  position: absolute;
  left: 12%;
  top: 20%;
  width: 50%;
  height: 46%;
  border-left: 10px solid rgba(27,20,16,.92);
  border-top: 10px solid rgba(27,20,16,.92);
  border-radius: 60% 40% 50% 35%;
  transform: rotate(-18deg);
  opacity: .85;
}
.cta-section { text-align: center; }
.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
input {
  min-width: min(100%, 320px);
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  font: inherit;
}
.footer {
  display: flex;
  gap: 20px;
  padding: 30px 0 64px;
  color: var(--muted);
}
@media (max-width: 960px) {
  .hero, .two-up, .art-section, .quick-steps, .features, .comparison { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { padding-top: 20px; }
}
@media (max-width: 720px) {
  .manuscript-band { grid-template-columns: 1fr; }
  .dropcap { font-size: 4rem; }
}