/* Calm Focus — website. Shares the product's brand theme (single source of truth). */
@import url("tokens.css");

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font-body);
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--font-display); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px;
  padding: 14px 26px; border-radius: 40px; border: 1.5px solid transparent; cursor: pointer; transition: .18s; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px var(--accent); }
.btn.primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--accent-ink); }
.btn.ghost:hover { background: var(--paper-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.brand .mark { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); position: relative; }
.brand .mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--tint-a), var(--tint-b)); }
.nav .sp { flex: 1; }
.nav a.lk { font-weight: 600; color: var(--ink-soft); font-size: 14.5px; }
.nav a.lk:hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero p.sub { font-size: 18px; color: var(--ink-soft); margin: 20px 0 28px; max-width: 30ch; }
.hero .cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero .rea { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
.hero-art { position: relative; }
.hero-art img { border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(52,48,42,.28); border: 1px solid var(--line); transform: rotate(2deg); }
.hero-art img.back { position: absolute; top: -18px; left: -22px; width: 62%; transform: rotate(-6deg); z-index: -1; opacity: .96; }

/* section */
section.blk { padding: 62px 0; }
.blk.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { text-align: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.h2 { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.015em; margin: 8px 0 10px; }
.lede { text-align: center; font-size: 17px; color: var(--ink-soft); max-width: 60ch; margin: 0 auto 34px; }
.lede b { color: var(--accent-ink); }

/* empathy list */
.empathy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.emp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.blk.alt .emp { background: var(--paper); }
.emp .q { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.emp p { font-size: 14px; color: var(--ink-soft); }

/* method steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stp { text-align: center; }
.stp .n { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 22px; display: grid; place-items: center; }
.stp.anchor .n { background: var(--accent-ink); }
.stp h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.stp p { font-size: 13px; color: var(--ink-soft); }

/* inside grid */
.inside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); box-shadow: 0 14px 30px -18px rgba(52,48,42,.22); }
.pg img { border-bottom: 1px solid var(--line); }
.pg .cap { padding: 12px 16px; }
.pg .cap b { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; }
.pg .cap span { display: block; font-size: 12.5px; color: var(--ink-soft); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; }
.tier.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 44px -24px var(--accent); position: relative; }
.tier .flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; }
.tier .tname { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.tier .tsub { font-size: 13px; color: var(--ink-soft); margin: 2px 0 14px; min-height: 34px; }
.tier .price { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -.02em; }
.tier .price small { font-size: 14px; color: var(--ink-faint); font-family: var(--font-body); }
.tier ul { list-style: none; margin: 16px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.tier li { font-size: 14px; color: var(--ink); padding-left: 24px; position: relative; }
.tier li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); }
.tier .btn { justify-content: center; margin-top: auto; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.blk.alt .qa { background: var(--paper); }
.qa .q { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; margin-bottom: 5px; }
.qa p { font-size: 14px; color: var(--ink-soft); }

/* footer */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); text-align: center; }
footer .disc { font-size: 12px; color: var(--ink-faint); max-width: 62ch; margin: 14px auto 0; line-height: 1.6; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 300px; margin: 0 auto; }
  .hero-art img { transform: none; }
  .hero-art img.back { display: none; }              /* absolute back-card caused overflow */
  .empathy, .inside, .tiers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .nav a.lk { display: none; }
  .nav .btn.primary { padding: 9px 15px; font-size: 13.5px; }
  .hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .hero p.sub, .lede { max-width: 100%; }
  /* let flex/grid items shrink below content (kills horizontal overflow) */
  .wrap, .hero .wrap > *, .cta, .cta > *, .empathy > *, .steps > *, .inside > *, .tiers > *, .faq > * { min-width: 0; }
  .cta { flex-wrap: wrap; }
  .cta > * { flex: 1 1 auto; text-align: center; justify-content: center; }
}

/* buy buttons are <button> — force brand font (buttons don't inherit) */
.btn { font-family: var(--font-body); }
.foot-links { margin: 12px 0 6px; font-size: 13px; color: var(--ink-soft); }
.foot-links a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.foot-links a:hover { color: var(--accent-ink); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 54px 24px 80px; }
.legal .back { display: inline-block; margin-bottom: 22px; color: var(--ink-soft); font-size: 14px; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -.01em; margin-bottom: 6px; }
.legal .updated { color: var(--ink-faint); font-size: 13px; margin-bottom: 26px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink); font-size: 15px; line-height: 1.7; }
.legal ul { margin: 8px 0 8px 22px; }
.legal a { color: var(--accent-ink); text-decoration: underline; }

/* thank-you / download page */
.thanks { max-width: 640px; margin: 0 auto; padding: 70px 24px 90px; text-align: center; }
.thanks .bloom { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; border: 2px solid var(--accent); position: relative; }
.thanks .bloom::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--tint-a), var(--tint-b)); }
.thanks h1 { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -.015em; margin-bottom: 10px; }
.thanks p.sub { color: var(--ink-soft); font-size: 16px; margin-bottom: 30px; }
.dl-list { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.dl { display: flex; align-items: center; gap: 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; text-decoration: none; color: inherit; }
.dl:hover { border-color: var(--accent); }
.dl .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--hi-bg); border: 1.5px solid var(--hi-line); display: grid; place-items: center; font-size: 17px; }
.dl b { font-family: var(--font-display); font-weight: 600; font-size: 15px; display: block; }
.dl span { font-size: 12.5px; color: var(--ink-soft); }
.dl .arr { margin-left: auto; color: var(--accent); font-weight: 800; font-size: 18px; }
.thanks .note { margin-top: 26px; font-size: 13px; color: var(--ink-faint); }
