:root {
  --cream: #f3eee3;
  --paper: #fffdf9;
  --ink: #1d1b17;
  --muted: #6f675c;
  --green: #0e4d34;
  --green-soft: #eef3ee;
  --gold: #b08a3e;
  --line: #e0d7c6;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0;
}
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: inherit; }
.logo b { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 25px; letter-spacing: -0.01em; }
.logo span { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom: 1px solid var(--gold); }

.hero { padding: 34px 0 46px; display: grid; gap: 30px; grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.hero-copy h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(31px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
}
.hero-copy p { margin: 0 0 18px; color: #5c554a; max-width: 54ch; font-size: 17px; }
.kicker { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  background: var(--green);
  color: #fffdf9;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--green);
}
.btn:hover { background: #0a3f2b; }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn-ghost:hover { background: var(--green-soft); }

.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 13px; color: var(--muted); }
.trust span::before { content: '✓ '; color: var(--gold); }

.frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 22px 44px -30px rgba(29, 27, 23, 0.4);
}
.frame ring-builder { display: block; }
.frame img { display: block; width: 100%; height: auto; border-radius: 9px; }
.frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #14120f; border-radius: 9px; }
.frame-video { padding: 0; overflow: hidden; }

section { padding: 52px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(25px, 3.1vw, 34px);
  letter-spacing: -0.012em;
  margin: 0 0 10px;
}
h3 { font-size: 17px; margin: 0 0 6px; }
.lead { color: #5c554a; max-width: 62ch; margin: 0 0 26px; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step i {
  display: inline-flex; width: 26px; height: 26px; border-radius: 50%;
  align-items: center; justify-content: center; font-style: normal; font-size: 13px;
  background: var(--green-soft); color: var(--green); font-weight: 700; margin-bottom: 10px;
}
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.grid2 { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.pricing { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.feature { border-color: var(--green); box-shadow: 0 18px 40px -32px rgba(14, 77, 52, 0.7); }
.plan .price { font-family: Georgia, serif; font-size: 34px; letter-spacing: -0.02em; margin: 4px 0 2px; }
.plan .per { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.plan ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: 14.5px; color: #4f4a41; }
.plan li { padding: 5px 0 5px 20px; position: relative; }
.plan li::before { content: '·'; position: absolute; left: 6px; color: var(--gold); font-weight: 700; }
.plan > .btn { margin-top: auto; text-align: center; }
.addon { margin-top: 18px; font-size: 14.5px; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 18px; }

pre {
  background: #1d1b17; color: #efe7d8; padding: 16px 18px; border-radius: 12px;
  overflow-x: auto; font-size: 13px; line-height: 1.6; margin: 14px 0;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
p code, li code { background: #ece5d7; border-radius: 5px; padding: 1px 6px; font-size: 13.5px; }

.note { font-size: 14px; color: var(--muted); }
.flags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.flags span { font-size: 11.5px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 4px 11px; color: var(--muted); }

dl { margin: 0; }
dt { font-weight: 600; margin-top: 20px; }
dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 46px; margin-top: 20px; font-size: 13px; color: #8b8274; }
.foot-cols { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot a { color: #8b8274; }
.seller { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); line-height: 1.7; }
.seller p { margin: 0; }
.seller strong { color: var(--muted); font-weight: 600; }

.legal { max-width: 820px; }
.legal h3 { margin: 28px 0 6px; font-size: 18px; font-family: Georgia, serif; font-weight: 400; }
.legal p, .legal li { color: #4f4a41; font-size: 15.5px; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin: 4px 0; }

.page-head { padding: 30px 0 8px; }
.page-head h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.015em; margin: 0 0 10px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.spec caption { text-align: left; color: var(--muted); font-size: 13.5px; padding: 0 0 12px; caption-side: top; }
table.spec th, table.spec td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.spec .num { text-align: right; padding-right: 0; white-space: nowrap; }
table.spec tbody tr:last-child td { border-bottom: 0; }

.buy-form { display: grid; gap: 12px; margin: 0 0 12px; }
.buy-form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.buy-form label > span { font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.buy-form label i { font-style: normal; font-weight: 400; color: var(--muted); }
.buy-form input {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.buy-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.buy-form em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.buy-form .btn { text-align: center; cursor: pointer; font: inherit; }
.buy-form .btn[disabled] { opacity: 0.62; cursor: progress; }
.buy-fine { margin: 0; font-size: 12.5px; color: var(--muted); }
.buy-msg { margin: 0; min-height: 20px; font-size: 13.5px; color: var(--green); }
.buy-msg.bad { color: #8c2f22; }
.buy-alt { margin: 0; font-size: 13px; color: var(--muted); }
.plan [data-buy] { margin-top: auto; }
.buy-recovered {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 18px 0 0; padding: 12px 16px; border: 1px solid var(--green);
  background: var(--green-soft); border-radius: var(--radius); font-size: 14.5px;
}

.key-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.key-label { margin: 0 0 8px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.key-plan { background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 2px 10px; letter-spacing: 0; text-transform: none; font-size: 12px; }
.key-value {
  display: block; background: #1d1b17; color: #efe7d8; border-radius: 10px; padding: 14px 16px;
  font-size: 13px; line-height: 1.55; word-break: break-all;
}
.key-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.key-facts { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 0; }
.key-facts div { border-top: 1px dashed var(--line); padding-top: 8px; }
.key-facts dt { margin: 0; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.key-facts dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink); }
.next-steps { padding-left: 22px; max-width: 760px; color: #4f4a41; }
.next-steps li { margin: 8px 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .steps, .pricing, .grid2 { grid-template-columns: 1fr; }
  .key-facts { grid-template-columns: 1fr; }
}

/* Storefront assistant (/assets/ask.js). Fixed to the corner, so it must never widen the page. */
.ka { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; justify-items: end; gap: 12px; }
.ka-launch {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: var(--paper);
  border: 1px solid #0a3f2b; border-radius: 999px;
  padding: 12px 18px; font: inherit; font-size: 14px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(29, 27, 23, 0.22);
}
.ka-launch:hover { background: #0a3f2b; }
.ka-launch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ka-panel {
  display: flex; flex-direction: column;
  width: min(358px, calc(100vw - 36px));
  height: min(462px, calc(100vh - 132px));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(29, 27, 23, 0.26); overflow: hidden;
}
.ka-panel[hidden] { display: none; }
.ka-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--green-soft); }
.ka-head b { display: block; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 16px; }
.ka-sub { display: block; font-size: 12px; color: var(--muted); }
.ka-close { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 2px; }
.ka-close:hover { color: var(--ink); }
.ka-log { flex: 1; overflow-y: auto; display: grid; gap: 10px; align-content: start; padding: 14px 16px; }
.ka-msg { max-width: 88%; padding: 10px 12px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ka-msg.is-assistant { justify-self: start; background: var(--cream); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; color: #4f4a41; }
.ka-msg.is-user { justify-self: end; background: var(--green); color: var(--paper); border-radius: 12px 12px 4px 12px; }
.ka-msg.is-thinking { color: var(--muted); }
.ka-dots { letter-spacing: 2px; animation: ka-pulse 1.2s ease-in-out infinite; }
@keyframes ka-pulse { 50% { opacity: 0.25; } }
.ka-starters { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 10px; }
.ka-starters[hidden] { display: none; }
.ka-chip { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.ka-chip:hover { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.ka-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.ka-input { flex: 1; min-width: 0; resize: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14.5px; color: var(--ink); background: #fff; }
.ka-input:focus-visible, .ka-chip:focus-visible, .ka-launch:focus-visible, .ka-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ka-send { background: var(--green); color: var(--paper); border: 1px solid #0a3f2b; border-radius: 10px; padding: 0 15px; font: inherit; font-size: 14px; cursor: pointer; }
.ka-send:disabled { opacity: 0.55; cursor: default; }
.ka-foot { margin: 0; padding: 0 16px 12px; font-size: 11.5px; color: var(--muted); }

@media (max-width: 620px) {
  .ka { right: 12px; bottom: 12px; }
  .ka-launch-text { display: none; }
  .ka-launch { min-width: 50px; padding: 15px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ka-dots { animation: none; }
}
