/* Hero Reviews. Colours and fonts follow hero-apps.com (css/style.css there). */
:root {
  --sand: #f3e9d8;
  --sand-deep: #e9dcc4;
  --cream: #fbf7f0;
  --paper: #fffdf9;
  --cocoa: #2b1d14;
  --cocoa-soft: #5b463a;
  --cocoa-muted: #7d6758;
  --terracotta: #b5532a;
  --terracotta-hover: #9e4522;
  --terracotta-soft: rgba(181, 83, 42, 0.1);
  --teal-deep: #3f7d6b;
  --sun: #e9b64a;
  --star: #e39a2d;
  --star-empty: #e6d8c3;
  --line: rgba(43, 29, 20, 0.1);
  --line-strong: rgba(43, 29, 20, 0.2);
  --shadow: 0 18px 40px -18px rgba(43, 29, 20, 0.35);
  --font-display: 'Fredoka', 'Nunito', sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { background: var(--sand); color: var(--cocoa); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--terracotta); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--cocoa); color: var(--sand); padding: 10px 18px; border-radius: 10px; font-weight: 700; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--cocoa); }
h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: -0.5px; }
h2 { font-size: clamp(27px, 4vw, 40px); margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 6px; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--cocoa-soft); max-width: 640px; }
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 233, 216, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.4px; color: var(--cocoa); text-decoration: none; white-space: nowrap; }
.logo .accent, .logo .dot { color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.lang-switch { font-weight: 800; font-size: 14px; color: var(--cocoa-soft); text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; }
.lang-switch:hover { background: rgba(43, 29, 20, 0.06); color: var(--cocoa); }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 16px; font-family: var(--font-display); font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s; text-align: center; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -10px rgba(181, 83, 42, 0.7); }
.btn-primary:hover { background: var(--terracotta-hover); transform: translateY(-2px); }
.btn-ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn-ghost:hover { background: var(--cocoa); color: var(--sand); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.btn-dark { background: var(--cocoa); color: var(--sand); }
.btn-dark:hover { background: var(--terracotta); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 56px; }
@media (min-width: 900px) { .hero { padding: 80px 0 72px; } }
.hero h1 { max-width: 17ch; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--terracotta); }
.hero .lead { margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-ctas .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero-ctas .btn { flex: 0 0 auto; } }
.price-note { font-weight: 700; color: var(--cocoa-soft); font-size: 15px; }
.price-note strong { color: var(--cocoa); }

/* ---------- Sample slider (mirrors the WordPress plugin's look) ---------- */
.sample { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sample-frame { position: relative; margin-top: 28px; background: #f6efe4; border: 2px dashed var(--line-strong); border-radius: 22px; padding: 44px 16px 24px; }
@media (min-width: 720px) { .sample-frame { padding: 52px 32px 28px; } }
.sample-tag { position: absolute; top: -14px; left: 16px; background: var(--cocoa); color: var(--sand); font-size: 12.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.hr-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 22px; }
.hr-score { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 600; }
.hr-summary { display: flex; flex-direction: column; gap: 2px; }
.hr-count { color: var(--cocoa-muted); font-size: 15px; }
.hr-profile { margin-left: auto; font-weight: 700; color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
@media (max-width: 560px) { .hr-profile { margin-left: 0; flex-basis: 100%; } }
.stars { display: inline-flex; gap: 2px; color: var(--star-empty); }
.stars svg { width: 17px; height: 17px; fill: currentColor; }
.stars .on { color: var(--star); }
.hr-summary .stars svg { width: 21px; height: 21px; }
.hr-track { list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; }
.hr-card { flex: 0 0 86%; scroll-snap-align: start; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(43, 29, 20, 0.1); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
@media (min-width: 600px) { .hr-card { flex-basis: 320px; } }
.hr-card p { font-size: 16px; line-height: 1.6; flex: 1; }
.hr-card p .ex { font-weight: 800; color: var(--terracotta); }
.hr-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--cocoa-muted); }
.hr-meta b { color: var(--cocoa-soft); }
.hr-lang { font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--teal-deep); background: rgba(63, 125, 107, 0.1); border-radius: 999px; padding: 2px 9px; align-self: flex-start; }
.hr-nav { display: flex; justify-content: flex-end; gap: 10px; }
.hr-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--terracotta); background: transparent; color: var(--terracotta); cursor: pointer; display: grid; place-items: center; }
.hr-nav button:disabled { opacity: 0.35; cursor: default; }
.hr-nav svg { width: 18px; height: 18px; }
.sample-caption { margin-top: 18px; font-size: 15px; color: var(--cocoa-soft); max-width: 720px; }

.live-slot { margin-top: 28px; border: 2px dashed var(--terracotta); border-radius: 18px; padding: 22px; background: var(--terracotta-soft); }
.live-slot h3 { margin-bottom: 4px; }
.live-slot p { color: var(--cocoa-soft); font-size: 15.5px; }

/* ---------- Features ---------- */
.features { display: grid; gap: 16px; margin-top: 30px; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--terracotta-soft); color: var(--terracotta); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--cocoa-soft); font-size: 16px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 16px; margin-top: 30px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; position: relative; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--cocoa); color: var(--sand); display: grid; place-items: center; margin-bottom: 14px; }
.steps p { color: var(--cocoa-soft); font-size: 16px; }
.steps code, .faq code { font-size: 0.9em; background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }

/* ---------- Pricing ---------- */
.pricing { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-grid { display: grid; gap: 20px; margin-top: 30px; align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1.1fr; gap: 32px; } }
.price-card { background: var(--paper); border: 2px solid var(--cocoa); border-radius: 24px; padding: 26px 22px; box-shadow: var(--shadow); }
.price-card .amount { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; }
.price-card .amount small { font-size: 18px; font-weight: 600; color: var(--cocoa-soft); }
.price-card .then { font-weight: 700; margin: 10px 0 18px; color: var(--cocoa-soft); }
.price-card .then strong { color: var(--cocoa); }
.checks { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.checks li { display: flex; gap: 10px; font-size: 16px; }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--teal-deep); margin-top: 3px; }
.price-card .btn { width: 100%; }
.compare h3 { margin-bottom: 12px; }
.table-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-display); font-weight: 600; font-size: 15px; background: var(--sand-deep); }
tbody th { font-weight: 700; color: var(--cocoa-soft); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
td.us { font-weight: 700; color: var(--cocoa); }
.compare-note { font-size: 14px; color: var(--cocoa-muted); margin-top: 10px; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .audience-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; } }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 26px; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: 18px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--terracotta); border-bottom: 2.5px solid var(--terracotta); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 20px 18px; color: var(--cocoa-soft); font-size: 16px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Form ---------- */
.start { background: var(--cocoa); color: var(--sand); }
.start h2 { color: var(--sand); }
.start .eyebrow { color: var(--sun); }
.start .lead { color: #d9c9b5; }
.start-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .start-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; } }
.form-card { background: var(--paper); color: var(--cocoa); border-radius: 24px; padding: 24px 18px; }
@media (min-width: 640px) { .form-card { padding: 30px 28px; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; font-size: 15px; }
.field .opt { font-weight: 600; color: var(--cocoa-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); outline: none; box-shadow: 0 0 0 3px var(--terracotta-soft); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; }
.form-error { color: #a12a1a; font-weight: 700; font-size: 15px; margin-top: 12px; }
.form-small { font-size: 14px; color: var(--cocoa-muted); margin-top: 12px; }
.thanks { text-align: left; }
.thanks h3 { font-size: 26px; margin-bottom: 8px; }
.thanks p { color: var(--cocoa-soft); }
.thanks p + p { margin-top: 10px; }
.side-contact { display: grid; gap: 14px; margin-top: 22px; }
.side-contact a { color: var(--sun); font-weight: 800; }
.side-contact p { color: #d9c9b5; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #22170f; color: #cdbca6; padding: 40px 0 28px; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 22px; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr; } }
.site-footer .logo { color: var(--sand); }
.site-footer .logo .accent, .site-footer .logo .dot { color: var(--sun); }
.site-footer p { margin-top: 8px; color: #b9a893; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; align-content: start; }
.footer-links a { color: #e2d3bf; text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; font-size: 13.5px; color: #a89780; }

/* ---------- Legal placeholder pages ---------- */
.legal { padding: 48px 0 80px; }
.legal .draft { background: #fff3cd; border: 2px solid #b8860b; color: #5c4300; border-radius: 14px; padding: 16px 18px; font-weight: 800; margin: 18px 0; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); }
.legal p { margin-top: 12px; color: var(--cocoa-soft); }

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

/* hero visual: two placeholder cards, no review text */
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.35fr 1fr; } }
.hero-visual { display: none; position: relative; height: 380px; }
@media (min-width: 960px) { .hero-visual { display: block; } }
.hv-card { position: absolute; width: 300px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 22px; }
.hv-card .stars svg { width: 22px; height: 22px; }
.hv-line { height: 11px; border-radius: 6px; background: #efe5d6; margin-top: 13px; }
.hv-foot { display: flex; gap: 10px; margin-top: 20px; }
.hv-foot span { height: 9px; border-radius: 5px; background: #e3d6c3; }
.hv-1 { top: 10px; right: 20px; transform: rotate(3deg); }
.hv-2 { top: 190px; right: 120px; transform: rotate(-4deg); }
.hv-pill { position: absolute; bottom: 6px; right: 10px; background: var(--cocoa); color: var(--sand); font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 12px; }

/* let grid children shrink below their content width (tables, long words) */
.hero-grid > *, .price-grid > *, .start-grid > *, .audience-grid > *, .features > *, .steps > * { min-width: 0; }
