:root {
  --bg: #faf6f0;
  --paper: #fffdf9;
  --ink: #3d3027;
  --muted: #6b5a4c;
  --accent: #9a7b5b;
  --accent-ink: #7a5c40; /* accent dark enough for text and buttons (AA on --bg) */
  --line: #e6dccf;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; } /* clears the sticky header */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg) radial-gradient(60rem 40rem at 85% 0, #f1e6d6, transparent 70%) no-repeat; color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); letter-spacing: -.01em; }
h1 em { font-style: italic; font-weight: 500; color: var(--accent-ink); }
h2 { font-size: clamp(2rem, 6vw, 2.9rem); margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: .4rem; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
section.wrap { padding-block: clamp(3.5rem, 10vw, 6.5rem); border-top: 1px solid var(--line); }
/* Also a <span> inside the hero <h1>, so the search keyword is part of the heading: set the whole font. */
.eyebrow { display: block; font: 500 .78rem/1.65 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .9rem; }
.fine { font-size: .875rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .75rem 1.5rem; border-radius: 999px; background: var(--accent-ink); color: #fff; font: 500 1rem var(--sans); text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { background: var(--ink); }
.btn:not(.btn-ghost, .btn-light):hover { box-shadow: 0 10px 24px -12px rgb(61 48 39 / .6); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 40px; padding: .4rem 1.1rem; font-size: .95rem; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link { font-weight: 500; text-underline-offset: .3em; text-decoration-color: var(--accent); padding: .75rem .25rem; }

/* Header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brand { font: 600 1.6rem var(--serif); text-decoration: none; }
.brand span { color: var(--accent-ink); }
.top nav { display: flex; align-items: center; gap: 1.75rem; }
.top nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--muted); }
.top nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { display: grid; gap: 3rem; align-items: center; padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.hero-copy { display: grid; gap: 1.4rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }

.demo { display: grid; justify-items: center; gap: .75rem; }
.demo-label { font-size: .95rem; font-weight: 500; }
.demo input { width: min(300px, 100%); min-height: 48px; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 400 1rem var(--sans); color: var(--ink); text-align: center; }
.demo input:focus { border-color: var(--accent-ink); outline: none; box-shadow: 0 0 0 3px rgb(122 92 64 / .15); }
.phone { width: min(300px, 82vw); aspect-ratio: 9 / 18.5; margin-top: .5rem; border: 10px solid #2b2420; border-radius: 42px; overflow: hidden; background: var(--bg); box-shadow: 0 40px 60px -30px rgb(61 48 39 / .45); }
.phone iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Features */
#fitur { counter-reset: f; } /* one count across both lists */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem 3rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.more { margin-top: 2.25rem; }
.more summary { display: flex; justify-content: center; min-height: 50px; align-items: center; border: 1px solid var(--accent-ink); border-radius: 999px; font-weight: 500; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { display: none; }
.features li { padding-top: 1.25rem; border-top: 1px solid var(--accent); counter-increment: f; }
.features li::before { content: counter(f, decimal-leading-zero); display: block; font: italic 500 1rem var(--serif); color: var(--accent-ink); margin-bottom: .35rem; }
.features p, .steps p, .faq details p { color: var(--muted); }
.features a { color: var(--accent-ink); text-underline-offset: .2em; }
.section-lede { max-width: 38rem; margin: -1.25rem 0 2rem; color: var(--muted); }

/* Theme catalog: a swipeable row of covers on phones, a grid on wider screens. Images load only when near. */
.themes { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(46%, 190px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; }
.themes li { scroll-snap-align: start; }
.themes a { display: grid; gap: .6rem; text-decoration: none; text-align: center; font-weight: 500; }
.themes img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 34px -26px rgb(61 48 39 / .55); transition: transform .25s; }
.themes a:hover img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .themes img { transition: none; } }

/* How it works */
.how { display: grid; gap: 3rem; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; counter-increment: s; }
.steps li::before { content: counter(s); grid-row: span 2; font: 500 2.6rem/1 var(--serif); color: var(--accent); }

/* WhatsApp chat mock: WhatsApp's own colours so it reads as a real chat */
.chat { margin: 0; justify-self: center; width: min(360px, 100%); padding: 1.25rem; border-radius: 28px; background: #efe7de; display: grid; gap: .75rem; }
.bubble { justify-self: end; width: 92%; padding: 4px 4px 6px; border-radius: 10px 10px 2px 10px; background: #d9fdd3; box-shadow: 0 1px 1px rgb(0 0 0 / .08); font: 14px/1.4 system-ui, sans-serif; color: #111b21; }
.preview { border-radius: 7px; overflow: hidden; background: #cbeec3; }
.preview img { display: block; width: 100%; height: auto; }
.preview-text { display: grid; gap: 1px; padding: 6px 8px 8px; }
.preview-text span, .preview-text small { color: #54656f; }
.bubble > p { padding: 6px 6px 0; }
.bubble .url { color: #01658f; word-break: break-all; }
.bubble time { display: block; text-align: right; padding: 0 6px; font-size: 11px; color: #52616a; }
.chat figcaption { text-align: center; }

/* Packages */
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 2rem 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.plan h3 { margin: 0; }
.plan ul { list-style: none; margin: .25rem 0 1rem; padding: 0; display: grid; align-content: start; gap: .4rem; flex: 1; } /* short lists stay together; buttons line up at the bottom */
.plan li { position: relative; padding-left: 1.6rem; }
.plan li::before { content: ''; position: absolute; left: .3rem; top: .45em; width: .35rem; height: .65rem; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); } /* check mark */
.plan .btn { align-self: stretch; }
.price { font: 600 2.4rem/1 var(--serif); color: var(--accent-ink); font-variant-numeric: lining-nums; }
.plan-note { margin-top: -.5rem; font-size: .9rem; color: var(--muted); }
/* The add-on below the packages. */
.addon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.25rem; padding: 1.5rem; border: 1px dashed var(--accent); border-radius: 20px; }
.addon > div { flex: 1 1 22rem; }
.addon p { color: var(--muted); }
.plan-premium { border-color: var(--accent-ink); box-shadow: 0 24px 50px -32px rgb(61 48 39 / .55); }
.plan-tag { position: absolute; top: -.8rem; left: 1.5rem; padding: .2rem .8rem; border-radius: 999px; background: var(--accent-ink); color: #fff; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.btn-ghost { background: none; color: var(--ink); border: 1px solid var(--accent-ink); }
.btn-ghost:hover { background: var(--bg); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); max-width: 46rem; }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::after { content: '+'; font: 400 1.5rem/1 var(--serif); color: var(--accent-ink); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding-bottom: 1.2rem; }

/* Closing band */
.closing { background: var(--ink); color: var(--bg); text-align: center; padding-block: clamp(4rem, 10vw, 6rem); }
.closing .wrap { display: grid; justify-items: center; gap: 1rem; }
.closing h2 { margin: 0; }
.closing p { color: #d8ccbd; margin-bottom: .75rem; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 2rem; font-size: .9rem; color: var(--muted); }
.contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.contact a { color: var(--ink); text-underline-offset: .2em; }

/* Mobile: thumb-reach order button, no nav links */
.sticky-cta[hidden] { display: none; }
.sticky-cta { position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 10; box-shadow: 0 10px 30px -8px rgb(61 48 39 / .5); }
@media (max-width: 767px) {
  body { padding-bottom: 5.5rem; }
  .top nav a { display: none; }
  .hero-copy { text-align: center; justify-items: center; }
  .themes { margin-inline: -1.25rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; } /* the row swipes to the screen edge */
  .actions { justify-content: center; }
}
@media (min-width: 768px) {
  .sticky-cta { display: none; }
  .top { position: sticky; top: 0; z-index: 5; background: rgb(250 246 240 / .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgb(230 220 207 / .6); }
  .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
  section.hero { grid-template-columns: 1.15fr .85fr; border-top: 0; } /* the sticky header draws the line */
  .phone { width: min(280px, 32svh); } /* whole phone fits above the fold on laptop screens */
  .how { grid-template-columns: 1.1fr .9fr; }
  .themes { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); overflow: visible; }
}
