:root {
  --ink: #1c2430;
  --ink-soft: #3e4b5c;
  --muted: #6b6256;
  --paper: #f3efe6;
  --paper-deep: #e7e0d2;
  --card: #fffdf8;
  --line: #e0d5c3;
  --green: #0c6b4d;
  --green-deep: #084937;
  --green-soft: #e7f4ee;
  --brass: #8a5a22;
  --brass-soft: #f4ead6;
  --danger: #8d2f2f;
  --shadow: 0 24px 60px rgba(28, 36, 48, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(12, 107, 77, 0.08), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}
a { color: var(--green); }
img { max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--width), calc(100% - 32px)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  display: grid;
  place-items: center;
}
.brand strong { display: block; font-size: 18px; letter-spacing: -0.03em; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-primary:hover { background: var(--green-deep); }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 16px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: white; }
.btn[disabled], button:disabled { opacity: 0.55; cursor: not-allowed; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; padding: 18px 0 54px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.fine { color: var(--muted); font-size: 14px; }

.mail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mail header { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--green); color: white; }
.mail header p { margin: 0; }
.mail header .kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #d7efe4; }
.mail header h2 { margin: 4px 0 0; font-size: 26px; color: white; }
.ribbon { align-self: flex-start; background: var(--brass-soft); color: var(--brass); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.mail .body { padding: 16px 18px 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.notice { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; background: #fff; }
.notice.is-dimmed { opacity: 0.38; }
.badge { display: inline-block; background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.notice h3 { margin: 8px 0; font-size: 22px; }
.notice p { margin: 0 0 8px; color: var(--ink-soft); }
.meta { color: var(--muted); font-size: 13px; }
.plain { display: none; white-space: pre-wrap; background: #1c2430; color: #f4f0e6; border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.45; }
.plain.is-on { display: block; }
.frame-wrap { display: none; margin-top: 12px; }
.frame-wrap.is-on { display: block; }
.frame-wrap iframe { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 12px; background: white; }

.section { padding: 28px 0 64px; }
.section h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 10px; }
.grid-5, .grid-3, .grid-2 { display: grid; gap: 14px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.card, .price, .step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.card h3, .step h3, .price h3 { margin: 8px 0; font-size: 26px; }
.step span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: white; font-weight: 700; }
.price { display: flex; flex-direction: column; gap: 8px; }
.price strong { font-family: var(--serif); font-size: 48px; letter-spacing: -0.04em; }
.price strong span { font-family: var(--sans); font-size: 16px; color: var(--muted); letter-spacing: 0; }
.price ul { margin: 0 0 12px; padding-left: 18px; }
.price.featured { border-color: var(--green); box-shadow: var(--shadow); }
.sample-band { display: flex; justify-content: space-between; gap: 18px; align-items: center; background: var(--ink); color: white; border-radius: 18px; padding: 22px; }
.sample-band a { color: white; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.site-footer { padding: 10px 0 36px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { border-top: 1px solid var(--line); padding-top: 18px; }

.narrow { width: min(560px, calc(100% - 32px)); margin: 32px auto 64px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
label { display: block; font-weight: 650; margin: 14px 0 6px; }
input[type="email"], input[type="text"], input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 12px;
}
.help, .error, .toast { font-size: 14px; }
.error { color: var(--danger); }
.toast { color: var(--green); }
.status { min-height: 1.4em; }

.app { width: min(980px, calc(100% - 32px)); margin: 12px auto 64px; display: grid; gap: 14px; }
.account { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.counts { color: var(--muted); font-size: 13px; font-weight: 650; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { display: inline-flex; gap: 6px; align-items: center; background: var(--green-soft); color: var(--green-deep); border-radius: 999px; padding: 4px 8px; font-size: 13px; }
.tag button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; max-height: 240px; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.states label { margin: 0; font-weight: 500; font-size: 14px; }
.checks { display: grid; gap: 8px; }
.checks label { margin: 0; font-weight: 500; }
.lock { background: var(--brass-soft); color: var(--brass); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.switch { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.banner { border-radius: 12px; padding: 12px 14px; background: var(--brass-soft); color: #5c3d12; }

@media (max-width: 980px) {
  .hero, .grid-5, .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .sample-band, .account { flex-direction: column; }
}
@media (max-width: 640px) {
  .states { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 38px; }
}
