:root {
  --bg: #f3efe7;
  --paper: #faf7f2;
  --ink: #1b1916;
  --muted: #6d665d;
  --soft: #3e3933;
  --line: rgba(27, 25, 22, 0.1);
  --green: #17332c;
  --green-2: #21483e;
  --gold: #8c7046;
  --max: 1160px;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 231, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; }
.brand strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 550; letter-spacing: -0.03em; line-height: 1; }
.brand em { display: block; margin-top: 3px; font-style: normal; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav-try {
  background: var(--green);
  color: #f6f1e8 !important;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px !important;
  font-weight: 500;
}
.nav-try:hover { background: var(--green-2); }
.nav-toggle, .nav-burger { display: none; }

.hero { padding: 54px 0 18px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.hero .eyebrow { margin-bottom: 8px; }
.hero-line {
  margin: 0 0 18px;
  max-width: 36ch;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.hero h1 { font-size: clamp(44px, 4.8vw, 68px); max-width: 12ch; line-height: 1.02; }
.lede { margin: 18px 0 0; max-width: 42ch; color: var(--soft); font-size: 18px; line-height: 1.5; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 22px 0 26px; color: var(--muted); font-size: 13.5px; }
.meta-row span { display: inline-flex; align-items: center; }
.meta-row span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); margin: 0 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #f7f3ec;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.btn:hover { background: var(--green-2); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(27, 25, 22, 0.18);
}
.btn.ghost:hover { border-color: var(--ink); background: transparent; }

.window {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px 12px 14px;
  box-shadow: 0 28px 70px rgba(55, 40, 18, 0.12);
}
.window img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.window figcaption { margin: 12px 4px 2px; text-align: center; color: var(--muted); font-size: 13px; }

.section { padding: 72px 0 8px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 48px); max-width: 16ch; }
.sec-head p { margin: 0; max-width: 36ch; color: var(--muted); font-size: 15px; }

.suite { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.suite-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.suite-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(55, 40, 18, 0.08); }
.suite-card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(0.9); }
.suite-body { padding: 14px 16px 16px; }
.suite-body h3 { font-size: 23px; margin-bottom: 6px; }
.suite-body p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.45; min-height: 2.9em; }
.trial { font-size: 13px; color: var(--green); border-bottom: 1px solid rgba(23, 51, 44, 0.35); padding-bottom: 1px; }

.sample {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 12px;
  border-top: 1px solid var(--line);
}
.sample h2 { font-size: clamp(32px, 4vw, 46px); margin: 8px 0 12px; }
.sample .intro { margin: 0; color: var(--muted); }
.draft {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px 24px;
}
.draft .label { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.draft h3 { font-size: 30px; line-height: 1.15; margin-bottom: 14px; }
.draft ul { margin: 0; padding: 0; list-style: none; }
.draft li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.draft .note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.reason { padding-top: 18px; border-top: 1px solid var(--line); }
.reason h3 { font-size: 28px; margin-bottom: 8px; }
.reason p { margin: 0; color: var(--muted); font-size: 15px; }

.modules { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 28px 0 0; margin: 0; }
.modules li {
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.6);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--soft);
}

.compare-scroll { overflow-x: auto; margin-top: 18px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.compare td:first-child { color: var(--muted); width: 22%; }
.compare .win { color: var(--green); }

.closing {
  margin: 56px 0 28px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}
.closing > div { min-width: 0; flex: 1 1 auto; }
.closing h2 { font-size: clamp(28px, 3vw, 40px); max-width: 16ch; }
.closing p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.closing a { color: var(--green); border-bottom: 1px solid rgba(23, 51, 44, 0.35); }
a.btn:not(.ghost),
a.btn:not(.ghost):hover {
  color: #f7f3ec;
  border-bottom: 0;
}
.closing a.btn {
  flex: 0 0 auto;
  align-self: center;
  white-space: nowrap;
  margin: 4px 0;
}

.page { padding: 56px 0 8px; }
.page-kicker { margin-bottom: 10px; }
.page h1 { font-size: clamp(42px, 5vw, 68px); max-width: 20ch; }
.page > .lede { margin-bottom: 28px; }

.sheet { margin-top: 10px; border-top: 1px solid var(--line); }
.sheet-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.sheet-row h2 { font-size: 28px; }
.sheet-row p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.sheet-row a.choice { display: block; font-size: 15px; color: var(--green); padding: 4px 0; }
.sheet-row a.choice b { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; color: var(--ink); }
.fine { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 68ch; }
.coupon {
  margin: 18px 0 8px;
  color: var(--soft);
  font-size: 15px;
}

.product { padding-top: 42px; }
.product-top { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: start; }
.catalog {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
}
.product h1 { font-size: clamp(40px, 4.5vw, 58px); max-width: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 22px; }
.actions .btn { flex: 0 0 auto; }
.linkish { color: var(--green); font-size: 15px; border-bottom: 1px solid rgba(23, 51, 44, 0.3); white-space: nowrap; }
.steps { margin: 8px 0 0; padding-left: 18px; color: var(--soft); }
.steps li { margin: 6px 0; }

.prose { max-width: 760px; }
.prose h1 { margin-bottom: 18px; }
.prose .note { color: var(--muted); font-size: 14px; }
.prose .card { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 22px; margin: 0 0 22px; }
.prose .card h2 { font-size: 28px; margin-bottom: 8px; }
.prose .card p { margin: 0 0 10px; color: var(--soft); }
.prose .card p:last-child { margin-bottom: 0; }
.prose a { color: var(--green); border-bottom: 1px solid rgba(23, 51, 44, 0.3); }
.prose .assets { margin: 8px 0 0; padding-left: 18px; color: var(--soft); }
.prose .assets li { margin: 6px 0; }

form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
form input, form select, form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
}
form textarea { resize: vertical; }
form .btn { margin-top: 6px; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(27, 25, 22, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}
.modal-card {
  position: relative;
  width: min(460px, 100%);
  background: var(--paper);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 70px rgba(27, 25, 22, 0.2);
}
.modal-card h2 { font-size: clamp(26px, 4vw, 32px); margin-bottom: 8px; padding-right: 52px; }
.modal-card p { margin: 0 0 10px; color: var(--soft); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.modal-close:hover { border-color: var(--ink); }
.file-note { color: var(--muted) !important; font-size: 13px; }
.modal-card .btn { margin-top: 8px; }

.foot { margin-top: 64px; border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 13.5px; }
.foot-links, .policy-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.foot a:hover { color: var(--ink); }
.addr { margin: 0; }

@media (max-width: 980px) {
  .hero-grid, .sample, .product-top, .reasons { grid-template-columns: 1fr; }
  .suite { grid-template-columns: 1fr 1fr; }
  .sheet-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet-row > div { grid-column: 1 / -1; }
  .sec-head, .closing { flex-direction: column; align-items: flex-start; }
  .closing a.btn { margin-top: 16px; }
  .hero h1, .page h1, .product h1 { max-width: none; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .suite { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .sheet-row { grid-template-columns: 1fr; }
  .nav-burger {
    display: flex;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    align-items: center;
    justify-content: center;
    background: var(--paper);
    flex: 0 0 auto;
  }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; content: "";
  }
  .nav-burger span::before { position: absolute; top: -5px; }
  .nav-burger span::after { position: absolute; top: 5px; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: rgba(243, 239, 231, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 24px 18px;
    margin: 0;
    z-index: 30;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: auto; }
  .compare tr { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
  .compare td { border: 0; padding: 3px 0; }
  .compare td:first-child {
    width: auto;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .compare td:nth-child(2)::before,
  .compare td:nth-child(3)::before {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
  }
  .compare td:nth-child(2)::before { content: "A typical cloud writer"; }
  .compare td:nth-child(3)::before { content: "PromptStudio"; }
}
