:root {
  --cream: #f3ead8;
  --cream-soft: #ede2cc;
  --paper: #fbf4e3;
  --paper-warm: #fff8e8;
  --ink: #1f1a14;
  --ink-soft: #5a4f42;
  --ink-faint: #8a7b6e;
  --border: rgba(31, 26, 20, 0.12);
  --border-soft: rgba(31, 26, 20, 0.06);
  --mint: #a5ddc6;
  --mint-deep: #6fb89a;
  --coral: #e89968;
  --coral-soft: #f3c7a8;
  --rose: #d88a8a;
  --butter: #f4d27a;
  --shadow-card: 0 1px 0 rgba(31, 26, 20, 0.04), 0 14px 30px -18px rgba(31, 26, 20, 0.25);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1100px;
  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--cream);
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(252, 240, 200, 0.55), transparent 55%),
    radial-gradient(ellipse at 95% 25%, rgba(250, 222, 205, 0.50), transparent 50%),
    radial-gradient(ellipse at 40% 95%, rgba(222, 242, 232, 0.60), transparent 55%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* paper noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0 0.08 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding: clamp(70px, 11vw, 130px) 0;
  z-index: 1;
}

/* ---------- Eyebrow / sticker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding: 6px 14px;
  background: var(--paper-warm);
  border: 1px dashed rgba(31, 26, 20, 0.25);
  border-radius: 999px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 153, 104, 0.18);
}

/* The kitschy rotated sticker */
.sticker {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  background: var(--butter);
  color: var(--ink);
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.sticker.mint {
  background: var(--mint);
}
.sticker.coral {
  background: var(--coral-soft);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: rgba(243, 234, 216, 0.78);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  line-height: 0;
  transition: opacity 160ms ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo svg {
  height: 26px;
  width: auto;
  display: block;
}

footer .logo svg {
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 160ms ease;
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: var(--sans);
  border: 1.5px solid var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
}

.btn-mint {
  background: var(--mint);
  color: var(--ink);
}

.btn-coral {
  background: var(--coral);
  color: var(--paper);
}

@media (max-width: 760px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(60px, 10vw, 110px);
  padding-bottom: clamp(80px, 11vw, 140px);
  text-align: center;
  position: relative;
}

.hero-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-doodles svg {
  position: absolute;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 7.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
  font-variation-settings: "SOFT" 70, "WONK" 1;
  margin-top: 28px;
  max-width: 16ch;
  margin-inline: auto;
}

.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 4%;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' fill='none'><path d='M2 8 Q 30 0, 60 7 T 120 7 T 198 6' stroke='%23E89968' stroke-width='3.5' stroke-linecap='round'/></svg>") no-repeat center/100% 100%;
  z-index: -1;
}

.hero p.lede {
  font-family: var(--serif);
  margin: 26px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 400;
  line-height: 1.5;
}

.hero-cta {
  margin-top: 38px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-meta {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-faint);
}

/* Two-friends illustration under hero */
.hero-illo {
  margin: 56px auto 0;
  max-width: 460px;
  position: relative;
}

.hero-illo svg {
  width: 100%;
  height: auto;
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-variation-settings: "SOFT" 60;
  margin-top: 18px;
}

.section-head h2 em {
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}

.section-head p {
  font-family: var(--serif);
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

/* ---------- Steps (polaroid cards) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }
}

.step {
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px 32px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 240ms ease;
}

.step:nth-child(1) {
  transform: rotate(-1.5deg);
}
.step:nth-child(2) {
  transform: rotate(1deg) translateY(-8px);
}
.step:nth-child(3) {
  transform: rotate(-0.5deg);
}

.step:hover {
  transform: rotate(0) translateY(-4px);
}

/* tape sticker */
.step::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 80px;
  height: 22px;
  background: rgba(232, 153, 104, 0.45);
  border: 1px solid rgba(31, 26, 20, 0.18);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(31, 26, 20, 0.1);
}

.step:nth-child(2)::before {
  background: rgba(165, 221, 198, 0.55);
  transform: translateX(-50%) rotate(2deg);
}

.step:nth-child(3)::before {
  background: rgba(244, 210, 122, 0.6);
  transform: translateX(-50%) rotate(-1deg);
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
}

.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin-top: 12px;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.step p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

.step-icon {
  margin-bottom: 18px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}

.step:nth-child(2) .step-icon {
  background: var(--coral-soft);
}
.step:nth-child(3) .step-icon {
  background: var(--butter);
}

/* ---------- Features (notebook cards) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: var(--mint);
  border: 1.5px solid var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.feature:nth-child(2) .feature-tag {
  background: var(--coral-soft);
}
.feature:nth-child(3) .feature-tag {
  background: var(--butter);
}
.feature:nth-child(4) .feature-tag {
  background: #e8d5f0;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.feature p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Ref-lection preview ---------- */
.reflection-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 880px) {
  .reflection-row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

.report-card {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 280ms ease;
}

.report-card:nth-child(1) {
  transform: rotate(-1.2deg);
}

.report-card:nth-child(2) {
  transform: rotate(0.8deg) translateY(-8px);
}

.report-card:nth-child(3) {
  transform: rotate(-0.6deg);
}

.report-card:hover {
  transform: rotate(0) translateY(-4px);
}

.report-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.report-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 8px;
  line-height: 1.2;
  color: var(--ink);
}

.report-note {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.report-severity {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  align-self: flex-start;
}

.report-severity .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
}

.split-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
}

.split-percent {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.split-name {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
}

.split-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.advice-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.advice-item {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.advice-item strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
  font-size: 13.5px;
  letter-spacing: 0.01em;
}

/* ---------- CTA ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
  padding: clamp(46px, 7vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--coral);
  border: 1.5px solid var(--ink);
}

.cta-banner .eyebrow {
  background: rgba(255, 248, 232, 0.08);
  color: var(--mint);
  border-color: rgba(165, 221, 198, 0.35);
}

.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-top: 18px;
  color: var(--paper);
}

.cta-banner h2 em {
  font-style: italic;
  color: var(--mint);
  font-weight: 400;
}

.cta-banner p {
  font-family: var(--serif);
  margin: 18px auto 32px;
  max-width: 520px;
  color: rgba(251, 244, 227, 0.78);
  font-size: 18px;
}

.cta-banner .btn-mint {
  border-color: var(--mint);
  box-shadow: 3px 3px 0 var(--mint);
}

.cta-banner .btn-mint:hover {
  box-shadow: 4px 4px 0 var(--mint);
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1.5px dashed var(--border);
  padding: 50px 0 64px;
  color: var(--ink-faint);
  font-size: 14px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-faint);
}

/* ---------- Legal / Support page ---------- */
.doc {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
  position: relative;
  z-index: 1;
}

.doc-inner {
  max-width: 720px;
  margin: 0 auto;
}

.doc h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 60px);
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.05;
  font-variation-settings: "SOFT" 60;
  margin-top: 18px;
}

.doc .updated {
  margin-top: 14px;
  color: var(--ink-faint);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}

.doc h2 {
  font-family: var(--serif);
  margin-top: 52px;
  font-size: 26px;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.doc h3 {
  font-family: var(--serif);
  margin-top: 28px;
  font-size: 19px;
  font-weight: 500;
}

.doc p,
.doc ul,
.doc ol {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.doc ul,
.doc ol {
  padding-left: 24px;
}

.doc li {
  margin-top: 8px;
}

.doc li::marker {
  color: var(--coral);
}

.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.doc a:hover {
  background: var(--coral-soft);
}

.doc strong {
  color: var(--ink);
  font-weight: 600;
}

.doc-card {
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 28px;
  box-shadow: 4px 4px 0 var(--mint);
}

.doc-card p {
  margin-top: 0;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}

/* Support page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.contact-card:nth-child(1) {
  transform: rotate(-1deg);
}

.contact-card:nth-child(2) {
  transform: rotate(1deg);
  background: var(--paper-warm);
}

.contact-card .label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.contact-card .value {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-all;
  letter-spacing: -0.01em;
}

.contact-card .value a {
  color: var(--ink);
  text-decoration: none;
}

.contact-card .value a:hover {
  color: var(--coral);
}

/* FAQ */
.faq {
  margin-top: 24px;
}

details {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 12px;
  box-shadow: var(--shadow-card);
}

details[open] {
  background: var(--paper-warm);
}

summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

summary::after {
  content: "+";
  font-family: var(--sans);
  color: var(--coral);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition: transform 240ms ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
