/* Copyright (c) 2026 Meenox. All rights reserved. Owner: Raj Meena, Meenox. */
/* ReviewKind: warm paper, deep green, gold stars. Gambetta for headings, General Sans for everything else. */
:root {
  --bg: #fffaf2;
  --surface: #f6eedf;
  --surface-2: #ece0c8;
  --ink: #1d2433;
  --muted: #555c6c;
  --accent: #17694f;
  --accent-ink: #ffffff;
  --gold: #e09a00;
  --line: #e4d8bf;
  --danger: #a23a1f;
  --fd: "Gambetta", Georgia, serif;
  --f: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--f); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--fd); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 1.5rem + 2.9vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); }
p { margin: 0; }
em { font-style: italic; color: var(--accent); }
code { font: .92em ui-monospace, Menlo, Consolas, monospace; background: var(--surface); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 9; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 1rem/1 var(--f); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn.ghost { background: var(--surface); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #0f5440; }
  .btn.ghost:hover { background: var(--surface-2); }
}
.link { background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; font: 600 1rem var(--f); color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.row.center { justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.2rem var(--fd); }
.top nav { display: flex; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .top nav a:hover { background: var(--surface); } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 36em; }
.hero .lead { margin: 22px 0 30px; }
.phone { justify-self: center; width: min(320px, 100%); padding: 12px; border-radius: 40px; background: var(--ink); transform: rotate(2.5deg); }
.phone-screen { padding: 26px 20px 22px; border-radius: 30px; background: var(--bg); display: grid; gap: 12px; }
.biz-name { font: 600 .8rem var(--f); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.ph-h { font: 600 1.4rem/1.15 var(--fd); }
.ph-rates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ph-rates li { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.ph-rates i { /* taste-skill-ignore: a star meter inside the phone mock-up (data-ui) */ width: 92px; height: 16px; background: linear-gradient(90deg, var(--gold) var(--w), var(--surface-2) var(--w)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 16'%3E%3Cg fill='black'%3E%3Cpath id='s' d='M8 .8l2.1 4.4 4.8.6-3.5 3.3.9 4.8L8 11.6 3.7 13.9l.9-4.8L1.1 5.8l4.8-.6z'/%3E%3Cuse href='%23s' x='19'/%3E%3Cuse href='%23s' x='38'/%3E%3Cuse href='%23s' x='57'/%3E%3Cuse href='%23s' x='76'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 16'%3E%3Cg fill='black'%3E%3Cpath id='s' d='M8 .8l2.1 4.4 4.8.6-3.5 3.3.9 4.8L8 11.6 3.7 13.9l.9-4.8L1.1 5.8l4.8-.6z'/%3E%3Cuse href='%23s' x='19'/%3E%3Cuse href='%23s' x='38'/%3E%3Cuse href='%23s' x='57'/%3E%3Cuse href='%23s' x='76'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; }
.ph-rates .s5 { --w: 100%; } .ph-rates .s4 { --w: 80%; }
.ph-review { padding: 14px; border-radius: 14px; background: var(--surface); font-size: .9rem; line-height: 1.5; }
.ph-btn { text-align: center; padding: 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; }

/* sections */
.why, .how, .setup, .honest, .faq { padding: clamp(56px, 8vw, 104px) 0 0; }
.why-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.why-grid article { padding-top: 18px; border-top: 3px solid var(--gold); }
.why-grid .why-lead { padding: 28px; border: 0; border-radius: var(--r); background: var(--accent); color: #fff; }
.why-grid .why-lead p { color: #d9efe6; }
.why-grid b { display: block; margin-bottom: 8px; font: 600 1.35rem var(--fd); }
.why-grid p, .steps p { color: var(--muted); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { padding-top: 18px; border-top: 2px solid var(--ink); }
.steps .n { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; }
.steps b { display: block; margin-bottom: 6px; font: 600 1.25rem var(--fd); }

/* setup */
.setup { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.setup .lead { margin: 16px 0 24px; }
.help { padding: 18px 20px; border-radius: var(--r); background: var(--surface); }
.help summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.help ol { margin: 12px 0; padding-left: 20px; display: grid; gap: 6px; }
.card { padding: clamp(22px, 3.4vw, 36px); border-radius: 24px; background: #fff; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.typepick { display: grid; gap: 8px; }
.typepick > label { font-weight: 600; }
.form small { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg);
  font: 400 1rem/1.4 var(--f); color: var(--ink); transition: border-color 200ms ease;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(23, 105, 79, .25); outline-offset: 0; border-color: var(--accent); }
.err { color: var(--danger); font-weight: 600; }
.hint { color: var(--muted); font-size: .95rem; }

/* result */
.result { padding-top: 40px; }
.result-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.qr-wrap { width: 230px; padding: 14px; border-radius: 18px; background: var(--surface); text-align: center; }
#qr svg { width: 100%; height: auto; }
#qr-name { margin-top: 8px; font: 600 1rem var(--fd); overflow-wrap: anywhere; }
.result-copy { display: grid; gap: 16px; }
.linkbox input { font-size: .9rem; color: var(--muted); }
.tips { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }

/* honest, faq, meenox */
.honest-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.honest-list li { padding: 22px; border-radius: var(--r); background: var(--surface); }
.honest-list h3 { margin-bottom: 8px; font-size: 1.25rem; }
.honest-list p { color: var(--ink); }
.faq details { margin-bottom: 8px; padding: 0 20px; border-radius: 16px; background: var(--surface); }
.faq h2 { margin-bottom: 16px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.1rem; min-height: 44px; }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 40em; }
.meenox { margin-top: clamp(56px, 8vw, 104px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--ink); color: var(--bg); }
.meenox h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: 8px; }
.meenox p { color: #c9cdd8; max-width: 44em; }
.meenox .btn { background: var(--gold); color: var(--ink); }
.foot { margin-top: clamp(48px, 6vw, 80px); padding: 28px 0 36px; background: var(--surface); color: var(--muted); font-size: .95rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.prose { padding: 48px 0 0; max-width: 40em; }
.prose h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); }
.prose .btn { margin-top: 8px; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 8px; }
.prose p { margin-bottom: 12px; color: var(--muted); }
.prose .lead { margin: 16px 0 8px; }

/* customer flow */
.flow-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--surface); }
.flow { width: min(720px, 100% - 24px); padding: 20px 0; flex: 1; }
.flow .card { display: grid; gap: 14px; }
.flow h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem); }
.biz-in { color: var(--accent); }
.biz { justify-content: flex-end; }
.biz:has(h1) { justify-content: space-between; align-items: end; }
.flow h2 { font-size: 1.35rem; margin-top: 10px; }
.biz { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.biz-score b { font: 600 1.4rem var(--fd); color: var(--ink); }
.lang { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font: 600 .95rem var(--f); cursor: pointer; color: var(--ink); }
.aspects { display: grid; gap: 4px; }
.aspect { margin: 0; padding: 12px 0; border: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name word" "stars stars"; align-items: center; gap: 4px 12px; }
.aspect legend { float: left; grid-area: name; padding: 0; font-weight: 600; font-size: 1.05rem; }
.star-word { grid-area: word; color: var(--muted); font-size: .9rem; min-height: 1.4em; }
.stars { grid-area: stars; display: flex; gap: 2px; }
.star { width: 52px; height: 52px; padding: 7px; border: 0; background: none; cursor: pointer; border-radius: 12px; transition: transform 160ms var(--ease); }
.star svg { width: 100%; height: 100%; fill: var(--surface-2); transition: fill 160ms ease; }
.star.on svg { fill: var(--gold); }
.star:active { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { .stars:hover .star svg { fill: var(--gold); } .stars .star:hover ~ .star svg { fill: var(--surface-2); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font: 500 .95rem var(--f); color: var(--ink); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.words { display: grid; gap: 6px; font-weight: 600; margin-top: 6px; }
#text { min-height: 190px; font-size: 1.05rem; line-height: 1.6; resize: vertical; }
.is-writing #text { animation: breathe 1.4s ease-in-out infinite alternate; }
@keyframes breathe { from { background-color: var(--bg); } to { background-color: var(--surface); } }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks li::before { content: ""; width: 8px; height: 4px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }
.checks li.no { color: var(--danger); }
.checks li.no::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--danger); transform: none; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choices.one { grid-template-columns: 1fr; }
.choice { display: grid; gap: 6px; padding: 18px; text-align: left; border-radius: 18px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease); }
.choice b { font: 600 1.15rem var(--fd); }
.choice span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.choice:active { transform: scale(.98); }
#toGoogle { border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .choice:hover { border-color: var(--accent); background: #fff; } }
.center { text-align: center; justify-items: center; }
.done-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); }
.done-mark svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.flow-foot { padding: 16px; text-align: center; color: var(--muted); font-size: .9rem; }

/* entrances: blocks rise and fade in once as they reach the screen (motion.js adds the classes) */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
  .rv.in { opacity: 1; transform: none; }
  .phone.rv { transform: translateY(24px) rotate(5deg); }
  .phone.rv.in { transform: rotate(2.5deg); transition-duration: 1000ms, 1100ms; }
  .star.on svg { animation: pop 320ms var(--ease); }
}
@keyframes pop { 50% { transform: scale(1.25); } }

/* phones and tablets */
@media (max-width: 900px) {
  .hero, .setup, .result-card { grid-template-columns: 1fr; }
  .phone { transform: none; }
  .why-grid { grid-template-columns: 1fr; }
  .honest-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .qr-wrap { justify-self: center; }
}
@media (max-width: 560px) {
  .top nav a:not(:last-child) { display: none; }
  .steps, .choices, .honest-list { grid-template-columns: 1fr; }
  .star { width: 48px; height: 48px; padding: 6px; }
  .btn.big { width: 100%; }
}
