@font-face {
  font-family: 'Chonburi';
  src: url('/assets/fonts/chonburi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Thai';
  src: url('/assets/fonts/noto-sans-thai-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Thai';
  src: url('/assets/fonts/noto-sans-thai-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Thai';
  src: url('/assets/fonts/noto-sans-thai-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5ead8;
  --bg-alt: #f9f4ed;
  --surface: #ebddc5;
  --bezel: #efe2cb;
  --ink: #201e1d;
  --ink-2: #4a4541;
  --muted: #5c5650;
  --sage: #56633f;
  --sage-dark: #3d472b;
  --sage-soft: #e1eecc;
  --terra: #c67139;
  --terra-dark: #8c491a;
  --terra-soft: #f6d9c2;
  --line: rgba(32, 30, 29, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(32, 30, 29, 0.06), 0 12px 32px -12px rgba(32, 30, 29, 0.22);
  --wrap: 1140px;
  --serif: 'Chonburi', 'Noto Serif Thai', Georgia, serif;
  --sans: 'Noto Sans Thai', 'Sarabun', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--terra-dark);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin: 0 0 0.5em;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
  color: var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 234, 216, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(180px, 48vw);
}
.brand small {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.site-nav {
  margin-left: auto;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-nav a:hover {
  background: rgba(32, 30, 29, 0.06);
  color: var(--ink);
}
.site-nav a.btn-ink,
.site-nav a.btn-ink:hover {
  background: var(--ink);
  color: var(--bg);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  content: '';
  transition: transform 0.2s ease;
}
.nav-toggle span::before {
  position: absolute;
  top: -6px;
}
.nav-toggle span::after {
  position: absolute;
  top: 6px;
}
.nav-toggle[aria-expanded='true'] span {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage);
  color: #fffaf1;
}
.btn-primary:hover {
  background: var(--sage-dark);
  color: #fffaf1;
}
.btn-ink {
  background: var(--ink);
  color: var(--bg);
}
.btn-ink:hover {
  background: #000;
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(32, 30, 29, 0.35);
}
.btn-ghost:hover {
  background: rgba(32, 30, 29, 0.06);
  color: var(--ink);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}

/* ---------- sections ---------- */
section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--terra-dark);
  margin-bottom: 10px;
}
.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(122, 138, 94, 0.2), transparent 60%),
    radial-gradient(ellipse 55% 45% at 100% 10%, rgba(198, 113, 57, 0.14), transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.nb {
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.3rem);
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-shots {
  position: relative;
  padding-bottom: 28px;
}
.shot {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg);
  overflow: hidden;
}
.hero-desktop {
  width: 100%;
}
.hero-phone {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 30%;
  max-width: 220px;
  border-radius: 26px;
  border: 6px solid var(--ink);
}

/* ---------- problem cards ---------- */
.cards-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.section-alt .card {
  background: var(--bg);
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  margin: 0;
}
.card .answer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--sage-dark);
  font-weight: 600;
}

/* ---------- carry / surplus benefit ---------- */
.carry-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: carry;
}
.carry-steps > li {
  position: relative;
  padding: 0 0 0 3.25rem;
  counter-increment: carry;
}
.carry-steps > li::before {
  content: counter(carry);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: var(--sage-soft, #e1eecc);
  color: var(--sage-dark, #3d472b);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.carry-steps h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.35;
}
.carry-steps p {
  margin: 0;
  color: var(--ink-2);
  max-width: 40rem;
}
.carry-foot {
  margin: 28px 0 0;
  color: var(--ink-2);
  max-width: 40rem;
}
@media (min-width: 800px) {
  .carry-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .carry-steps > li {
    padding: 3.4rem 0 0;
  }
  .carry-steps > li::before {
    top: 0;
  }
}
.dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-weight: 700;
}
.dot-sage {
  background: var(--sage-soft);
  color: var(--sage-dark);
}
.dot-terra {
  background: var(--terra-soft);
  color: var(--terra-dark);
}
.dot-sand {
  background: var(--surface);
  color: var(--ink);
}

/* ---------- features ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
}
.feature p {
  color: var(--ink-2);
}
.feature ul,
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature li,
.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.feature li::before,
.checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-soft);
}
.feature-media {
  display: flex;
  justify-content: center;
}
.feature-media .dialog {
  width: min(420px, 100%);
  border-radius: 26px;
}
.feature-media .phone {
  width: min(280px, 72%);
  border-radius: 28px;
  border: 6px solid var(--ink);
}
.chip {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.92em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.chip-sage {
  background: var(--sage-soft);
  color: var(--sage-dark);
}
.chip-terra {
  background: var(--terra-soft);
  color: var(--terra-dark);
}
.label {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.mini-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 36px;
}
.mini-grid .card h3 {
  font-size: 1.08rem;
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  align-items: start;
}
.step-body h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
}
.step-body h3::before {
  content: counter(step);
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.step-body p,
.step-body li {
  color: var(--ink-2);
}
.step-body ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}
.step-body .note {
  font-size: 0.95rem;
  background: var(--sage-soft);
  color: var(--sage-dark);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0;
}
.step-media {
  display: flex;
  justify-content: center;
}
.step-media img {
  width: min(220px, 64%);
  border-radius: 22px;
  border: 5px solid var(--ink);
}
.step-media img.wide {
  width: min(460px, 100%);
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- howto walkthrough video ---------- */
.howto-video {
  margin: 0 auto 40px;
  max-width: 920px;
  text-align: center;
}
.howto-video-head {
  margin-bottom: 14px;
}
.howto-video-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 400;
  margin: 0 0 6px;
}
.howto-video-head p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40em;
}
.howto-video-player {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--ink);
}

/* ---------- tips ---------- */
.tips {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}
.tip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.tip-mark {
  flex: none;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.tip p {
  margin: 0;
  color: var(--ink-2);
}
.modes {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}
.modes dl {
  margin: 0;
}
.mode {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.mode dt {
  font-weight: 700;
}
.mode dd {
  margin: 2px 0 0;
  color: var(--ink-2);
}

/* ---------- faq ---------- */
.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 44px 18px 0;
  font-weight: 700;
  font-size: 1.08rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .answer {
  padding: 0 0 18px;
  color: var(--ink-2);
}
.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- contact ---------- */
.contact-box {
  background: var(--ink);
  color: var(--bg);
  border-radius: 28px;
  padding: 40px 28px;
  display: grid;
  gap: 18px;
  align-items: center;
}
.contact-box h2 {
  color: var(--bg);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin: 0;
}
.contact-box p {
  margin: 0;
  color: rgba(245, 234, 216, 0.85);
}
.contact-mail {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--bg);
  word-break: break-all;
}
.contact-mail:hover {
  color: #fff;
}
.contact-box :focus-visible {
  outline-color: var(--bg);
}
.contact-box .btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.contact-box .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}
.contact-box .btn-ghost {
  border-color: rgba(245, 234, 216, 0.35);
  color: var(--bg);
}
.contact-box .btn-ghost:hover {
  background: rgba(245, 234, 216, 0.12);
  color: #fff;
}
.contact-box-form {
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 28rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245, 234, 216, 0.75);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  border: none;
  border-radius: 16px;
  background: rgba(245, 234, 216, 0.12);
  color: var(--bg);
  padding: 12px 14px;
  min-height: 44px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  border-radius: 16px;
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.contact-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  color: rgba(245, 234, 216, 0.85);
}
.quiz-dim {
  margin: 18px 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(32, 30, 29, 0.55);
}
.quiz-dim:first-of-type {
  margin-top: 0;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-row p {
  margin: 0;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.footer-links a {
  color: var(--ink-2);
}

/* ---------- legal pages ---------- */
.legal {
  padding: 48px 0 72px;
}
.legal .wrap {
  max-width: 820px;
}
.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.legal h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  margin-top: 2em;
}
.legal h3 {
  margin-top: 1.4em;
}
.legal .meta {
  color: var(--muted);
}
.legal ul {
  padding-left: 1.3em;
}
.legal li {
  margin-bottom: 6px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 0.97rem;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.legal th {
  background: var(--bezel);
  font-weight: 700;
}
.table-scroll {
  overflow-x: auto;
}
.legal code {
  font-size: 0.9em;
  background: var(--bezel);
  padding: 1px 6px;
  border-radius: 6px;
}
.callout {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 1.2em;
}

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(32, 30, 29, 0.3);
    margin: 0;
  }
  .site-nav.open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    gap: 2px;
  }
  .site-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .site-nav .nav-login {
    margin-top: 8px;
  }
  .site-nav .nav-login a {
    text-align: center;
  }
  .header-row .header-login {
    display: none;
  }
}
@media (max-width: 420px) {
  .brand small {
    display: none;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
}
@media (min-width: 700px) {
  .cards-3,
  .mini-grid,
  .tips,
  .modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step {
    grid-template-columns: minmax(0, 1fr) 190px;
    padding: 28px;
  }
  .step-media img {
    width: 100%;
  }
  .step.step-wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .contact-box {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 48px;
  }
  .contact-box-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
}
@media (min-width: 900px) {
  .site-nav .nav-login {
    display: none;
  }
  .hero {
    padding: 72px 0 96px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
  }
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step {
    grid-template-columns: minmax(0, 1fr) 170px;
  }
  .step.step-wide {
    grid-column: 1 / -1;
  }
  .mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 56px;
    padding: 48px 0;
  }
  .feature.flip .feature-text {
    order: 2;
  }
  .feature.narrow-media {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  .feature.narrow-media.flip {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  section {
    padding: 96px 0;
  }
}

/* Article crumbs + hub cards */
.crumbs {
  font-size: 0.85rem;
  color: rgba(32, 30, 29, 0.55);
  margin: 0 0 16px;
  line-height: 1.5;
}
.crumbs a {
  color: rgba(32, 30, 29, 0.72);
  text-decoration: none;
}
.crumbs a:hover {
  color: #8c491a;
  text-decoration: underline;
}
.learn-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.learn-card-link:hover {
  transform: translateY(-2px);
}
.learn-card-link h2 {
  font-family: "Chonburi", "Caprasimo", serif;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #201e1d;
}
.learn-more {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8c491a;
}
.learn-problem-list {
  margin: 12px 0 28px;
  padding-left: 1.2em;
  line-height: 1.7;
}
.learn-problem-list a {
  font-weight: 700;
  color: #8c491a;
}

/* Knowledge cards */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.learn-card {
  background: var(--surface, #ebddc5);
  border-radius: 28px;
  padding: 22px 22px 20px;
}
.learn-card h3 {
  font-family: "Chonburi", "Caprasimo", serif;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #201e1d;
}
.learn-card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(32, 30, 29, 0.78);
}
.learn-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.learn-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(32, 30, 29, 0.72);
}
.learn-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c67139;
}
.learn-calc-head {
  margin-top: 40px;
  max-width: 42rem;
}
.learn-calc-head h3 {
  font-family: "Chonburi", "Caprasimo", serif;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 8px;
}
.learn-calc-head p {
  margin: 0;
  line-height: 1.55;
  color: rgba(32, 30, 29, 0.72);
}
@media (max-width: 720px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }
}

/* Retirement / savings calculator */
.calc-card {
  background: var(--surface, #ebddc5);
  border-radius: 28px;
  padding: 28px 24px;
  margin-top: 28px;
  max-width: 720px;
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.calc-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(32, 30, 29, 0.72);
}
.calc-grid input {
  font: inherit;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  border: none;
  border-radius: 999px;
  background: #f5ead8;
  padding: 12px 16px;
  min-height: 44px;
  color: #201e1d;
}
.calc-result {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #201e1d;
  color: #f5ead8;
}
.calc-result strong {
  color: #ccdbb2;
  font-variant-numeric: tabular-nums;
}
.calc-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: rgba(245, 234, 216, 0.72);
}
.calc-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}
.calc-table th,
.calc-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(32, 30, 29, 0.12);
}
.calc-table th {
  color: rgba(32, 30, 29, 0.55);
  font-weight: 600;
  font-size: 0.75rem;
}
.calc-foot {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(32, 30, 29, 0.55);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-card .btn {
  margin-top: 16px;
}
.quiz-q {
  border: none;
  margin: 0 0 18px;
  padding: 0;
}
.quiz-q legend {
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
}
.quiz-q label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0;
  font-weight: 400;
  color: rgba(32, 30, 29, 0.82);
  line-height: 1.45;
  cursor: pointer;
}
.quiz-q input[type='radio'] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #7a8a5e;
}
.guide-tips {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}
.guide-tips a.guide-tip {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-alt, #f9f4ed);
  border: 1px solid var(--line, rgba(32, 30, 29, 0.12));
  border-radius: 20px;
  padding: 18px 20px;
}
.guide-tips a.guide-tip:hover {
  border-color: rgba(122, 138, 94, 0.45);
}
.guide-tips h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.guide-tips p {
  margin: 0;
  color: var(--ink-2, rgba(32, 30, 29, 0.72));
  font-size: 0.95rem;
}
@media (min-width: 800px) {
  .guide-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- download / install sheet ---------- */
button.linkish {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.download-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.download-sheet[hidden] {
  display: none !important;
}
.download-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(32, 30, 29, 0.45);
  cursor: pointer;
}
.download-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  margin: 0;
  padding: 22px 20px 28px;
  border-radius: 28px 28px 0 0;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 -12px 40px rgba(32, 30, 29, 0.18);
}
@media (min-width: 640px) {
  .download-sheet {
    align-items: center;
  }
  .download-panel {
    border-radius: 28px;
    margin: 16px;
  }
}
.download-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.download-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 400;
}
.download-x {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 30, 29, 0.08);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.download-lead {
  margin: 0 0 16px;
  color: rgba(32, 30, 29, 0.65);
  line-height: 1.5;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.download-actions .btn {
  width: 100%;
}
.download-howto {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(32, 30, 29, 0.7);
  line-height: 1.55;
  font-size: 0.95rem;
}
.download-howto li {
  margin-bottom: 6px;
}
.download-howto[hidden],
.download-howto li[hidden] {
  display: none !important;
}
