:root {
  --paper: #f7f3ea;
  --paper-2: #fbf8f1;
  --ink: #1c2631;
  --muted: #5f6b76;
  --line: #e3dccd;
  --accent: #3d6b9c;
  --accent-dark: #2b5480;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 3.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

p { margin: 0 0 1.1em; }

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }

code, kbd, pre {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
}

code {
  background: #efe9dc;
  border-radius: 5px;
  padding: 0.1em 0.35em;
}

kbd {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.05em 0.4em;
  font-size: 0.82em;
}

.muted { color: var(--muted); }

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

.brand img { border-radius: 6px; }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fdfbf6;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--ink);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: #0f1720; transform: translateY(-1px); }

.btn-small { padding: 9px 16px; font-size: 0.92rem; }
.btn-wide { display: block; text-align: center; width: 100%; }

/* ---------- hero ---------- */

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 10px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.2em;
}

.lede {
  font-size: 1.16rem;
  color: #2c3742;
  max-width: 62ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 26px 0 40px;
}

.fine {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.shot {
  margin: 0;
}

.shot img, .split img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(28, 38, 49, 0.45);
}

figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1080px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.split figure { margin: 0; }

/* ---------- features ---------- */

.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 76px 24px 0;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.grid li {
  background: var(--paper-2);
  padding: 22px 22px 24px;
}

.grid strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.grid span { font-size: 0.94rem; color: var(--muted); }

/* ---------- plain file ---------- */

.plain-file {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  max-width: 1080px;
  margin: 84px auto 0;
  padding: 0 24px;
}

.window code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: 1em;
}

.window {
  margin: 0;
  background: #1c2631;
  color: #e8e4da;
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  overflow-x: auto;
  line-height: 1.6;
  box-shadow: 0 18px 40px -26px rgba(28, 38, 49, 0.6);
}

/* ---------- price ---------- */

.price {
  max-width: 620px;
  margin: 84px auto 0;
  padding: 0 24px;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 34px 30px;
  box-shadow: 0 24px 60px -40px rgba(28, 38, 49, 0.5);
}

.card h2 { margin-bottom: 0.15em; }

.amount {
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 2.6rem;
  margin: 0.1em 0 0.5em;
}

.amount span {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--muted);
  margin-left: 6px;
}

.checks {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 0.96rem;
}

.checks li {
  padding: 7px 0 7px 28px;
  position: relative;
  border-top: 1px solid var(--line);
}

.checks li:first-child { border-top: 0; }

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.card .fine { margin-top: 14px; text-align: center; }

/* ---------- faq ---------- */

.faq {
  max-width: 760px;
  margin: 92px auto 0;
  padding: 0 24px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 400;
}

details[open] summary::after { content: "−"; }

details p { color: #39434e; font-size: 0.97rem; padding-right: 24px; }

/* ---------- footer ---------- */

footer {
  max-width: 1080px;
  margin: 90px auto 0;
  padding: 26px 24px 46px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

footer p { margin: 0 0 4px; }

/* ---------- thanks page ---------- */

.thanks {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

.thanks .fine { margin-top: 22px; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .nav { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .plain-file { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .topbar { gap: 12px; }
}
