/* j*bby — landing page styles. No frameworks, no third-party requests. */

@font-face { font-family: "Montserrat"; font-weight: 300; font-display: swap; src: url("/fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #467a00;
  --green-dark: #2f5400;
  --green-soft: #e4efd3;
  --blush: #fff3f2;
  --blush-deep: #fbe3e0;
  --ink: #1d2414;
  --ink-soft: #4a5240;
  --line: #e8d6d3;
  --card: #ffffff;
  --error: #b42318;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--green-dark); }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
  display: inline-flex; align-items: baseline; text-decoration: none; color: var(--green);
  font-weight: 300; font-size: 30px; letter-spacing: 0.01em; line-height: 1;
}
.wordmark .star { width: 0.62em; height: 0.62em; margin: 0 0.04em; align-self: center; transform: translateY(-0.06em); }
.nav-link { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.nav-link:hover { background: var(--ink); color: var(--blush); }

/* ---------- hero ---------- */
.hero { padding: 48px 0 72px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 22px; }
h1 .censor { color: var(--green); }
.lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px;
  background: var(--green); color: #fff; border: 0; border-radius: 999px;
  padding: 16px 28px; text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-block { width: 100%; margin-top: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--blush-deep); }
.small-print { font-size: 14px; color: var(--ink-soft); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.hero-art .big-star { width: 100%; height: 100%; color: var(--green); animation: spin 40s linear infinite; }
.bubble {
  position: absolute; background: var(--card); border-radius: 16px; padding: 12px 16px;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(70, 40, 30, 0.12); max-width: 230px; line-height: 1.35;
}
.bubble small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
.bubble.b1 { top: 6%; left: -6%; }
.bubble.b2 { bottom: 10%; right: -4%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .big-star { animation: none; } }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--card); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; font-weight: 700; }
.section-intro { color: var(--ink-soft); max-width: 40em; margin: 0 0 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { background: var(--blush); border-radius: var(--radius); padding: 28px; counter-increment: step; }
.section-alt .steps li { background: var(--blush); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.versus > div { border-radius: var(--radius); padding: 28px; }
.versus .old { background: var(--blush-deep); }
.versus .new { background: var(--green-soft); }
.versus h3 { margin: 0 0 12px; font-size: 18px; }
.versus ul { margin: 0; padding-left: 20px; }
.versus li { margin: 6px 0; }
.versus .old li { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(180, 35, 24, 0.5); }

/* ---------- forms ---------- */
.form-section .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.form-aside p { color: var(--ink-soft); }
.form-aside ul { padding-left: 20px; color: var(--ink-soft); }
.card { background: var(--card); border-radius: 24px; padding: 32px; box-shadow: 0 20px 50px rgba(70, 40, 30, 0.08); }
.section-alt .card { background: var(--blush); box-shadow: none; }

.field { margin-bottom: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(70, 122, 0, 0.15); }
fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(70, 122, 0, 0.25); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.counter { float: right; font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-error { color: var(--error); font-weight: 600; font-size: 14px; margin: 0 0 14px; min-height: 1px; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .star { width: 56px; height: 56px; color: var(--green); margin: 0 auto 14px; }
.form-success h3 { margin: 0 0 8px; font-size: 24px; }
.form-success p { color: var(--ink-soft); margin: 0; }

/* ---------- footer ---------- */
.site-footer { padding: 40px 0 56px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--ink-soft); }

/* ---------- prose pages ---------- */
.prose { max-width: 720px; padding-top: 24px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose li { margin: 6px 0; }
.draft-note { background: var(--blush-deep); border-radius: 12px; padding: 14px 18px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap, .form-section .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 260px; }
  .bubble.b1 { left: -2%; }
  .bubble.b2 { right: -2%; }
  .steps, .versus { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 24px 0 48px; }
  section { padding: 52px 0; }
  .card { padding: 22px 18px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .wordmark { font-size: 26px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.05em; }
  .nav-link { padding: 8px 12px; font-size: 14px; }
  .bubble { font-size: 12px; max-width: 170px; padding: 10px 12px; }
}
