/* ===== Fonts (self-hosted) ===== */
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f6f4ef;
  --paper-2: #eeebe3;
  --white: #ffffff;
  --ink: #121211;
  --ink-2: #33322e;
  --muted: #74726b;
  --line: #e2dfd6;
  --line-dark: #2b2a27;
  --accent: #ff5a1f;
  --green: #12a150;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--muted); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 239, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 550 15.5px/1 var(--body); letter-spacing: -0.005em;
  padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2926; }
.btn-light { background: transparent; color: var(--ink); border-color: #cfccc2; }
.btn-light:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #ff6d39; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper-2); }
.btn-sm { padding: 11px 17px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ===== Hero ===== */
.hero { padding: 84px 0 0; }
.hero-top { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--ink-2); background: var(--white);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px 6px 9px; margin-bottom: 28px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,161,80,.14); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .96; max-width: 980px; }
.hero h1 .serif { font-size: 1.06em; letter-spacing: -0.02em; }
.hero-side { max-width: 360px; padding-bottom: 10px; }
.hero-side p { font-size: 18px; color: var(--ink-2); line-height: 1.5; }
.hero-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* Showcase stage */
.stage {
  position: relative; margin-top: 64px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, var(--paper-2) 70%);
  border: 1px solid var(--line);
  height: 640px;
}
.stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(18,18,17,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* Browser mock */
.browser {
  position: absolute; left: 6%; top: 64px; width: 70%;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -20px rgba(30,25,15,.35), 0 0 0 1px rgba(0,0,0,.06);
}
.browser-bar { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #f3f2ee; border-bottom: 1px solid #e6e4dd; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #dcd9d1; }
.browser-url { flex: 1; max-width: 340px; margin: 0 auto; height: 24px; border-radius: 7px; background: #fff; border: 1px solid #e6e4dd; font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.browser-url svg { width: 10px; height: 10px; }

/* Mock site: winery */
.site-w { position: relative; height: 540px; color: #fff; font-family: var(--body); }
.site-w > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-w::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,6,.55) 0%, rgba(20,14,6,.05) 40%, rgba(20,14,6,.65) 100%); }
.site-w-nav { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 22px 34px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.site-w-nav b { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: 0; text-transform: none; }
.site-w-nav span { display: flex; gap: 22px; opacity: .9; }
.site-w-body { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 34px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.site-w-body h4 { font-family: var(--serif); font-weight: 400; font-size: 58px; line-height: .98; letter-spacing: -0.01em; }
.site-w-body p { font-size: 13px; opacity: .85; margin-top: 12px; max-width: 300px; }
.site-w-btn { display: inline-block; margin-top: 18px; background: #f4ecdc; color: #2a1d0b; font-size: 12px; font-weight: 600; padding: 10px 16px; border-radius: 999px; }

/* Phone mock */
.phone {
  position: absolute; right: 7%; top: 120px; width: 252px; height: 520px;
  background: #0f0f0e; border-radius: 42px; padding: 9px;
  box-shadow: 0 40px 80px -24px rgba(30,25,15,.5), 0 0 0 1px rgba(0,0,0,.2);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fbf7f1; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 20px; background: #0f0f0e; z-index: 3; }
.site-c-img { position: relative; height: 300px; }
.site-c-img img { width: 100%; height: 100%; object-fit: cover; }
.site-c-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, transparent 60%, rgba(0,0,0,.5)); }
.site-c-nav { position: absolute; z-index: 2; top: 42px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: -.01em; }
.site-c-nav i { width: 18px; height: 2px; background: #fff; box-shadow: 0 5px 0 #fff; display: block; margin-top: -5px; }
.site-c-title { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 27px; line-height: 1; letter-spacing: -.03em; }
.site-c-body { padding: 16px 18px; font-size: 11.5px; color: #4a453c; }
.site-c-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #ece6db; }
.site-c-row b { color: #1d1a15; font-weight: 600; }
.site-c-btn { margin-top: 14px; background: #1d1a15; color: #fff; text-align: center; padding: 11px; border-radius: 999px; font-weight: 600; font-size: 12px; }

/* Floating chips */
.chip {
  position: absolute; z-index: 4; background: #fff; border-radius: 14px;
  box-shadow: 0 18px 40px -14px rgba(30,25,15,.35), 0 0 0 1px rgba(0,0,0,.05);
  font-size: 13px; padding: 12px 14px; display: flex; align-items: center; gap: 12px;
}
.chip-score { left: 2.5%; top: 236px; }
.ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 650 15px var(--display); color: var(--green); background: conic-gradient(var(--green) 0 100%, #e7e5df 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.ring span { position: relative; }
.chip small { display: block; color: var(--muted); font-size: 12px; }
.chip b { font-weight: 600; }
.chip-lead { right: 24%; bottom: 40px; max-width: 300px; }
.chip-lead .av { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }

.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ===== Facts strip ===== */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 96px; }
.fact { padding: 30px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font: 600 34px/1 var(--display); letter-spacing: -.035em; }
.fact span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 128px 0; }
.eyebrow { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--ink); }
.h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; }
.h2 .soft { color: #a6a399; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 520px; line-height: 1.5; }
.sec-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }

/* ===== Bento ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; min-height: 440px; }
.tile.span-2 { grid-column: span 2; }
.tile-vis { flex: 1; position: relative; background: var(--paper-2); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 28px; }
.tile-txt { padding: 26px 28px 28px; }
.tile-txt h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.tile-txt p { color: var(--muted); font-size: 16px; max-width: 460px; }

/* Search mock */
.serp { width: 100%; max-width: 560px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(30,25,15,.3), 0 0 0 1px rgba(0,0,0,.05); padding: 18px; font-size: 13px; }
.serp-q { display: flex; align-items: center; gap: 10px; border: 1px solid #e3e1da; border-radius: 999px; padding: 10px 16px; color: var(--ink); margin-bottom: 14px; }
.serp-q svg { width: 15px; height: 15px; color: var(--muted); }
.serp-res { display: flex; gap: 14px; padding: 12px; border-radius: 12px; background: #fbfaf7; border: 1px solid #efede7; }
.serp-res img { width: 92px; height: 92px; object-fit: cover; border-radius: 9px; flex: none; }
.serp-res .u { color: var(--muted); font-size: 11.5px; }
.serp-res .t { color: #1f3fbf; font-size: 16px; font-weight: 500; margin: 2px 0 4px; letter-spacing: -.01em; }
.serp-res .s { color: #e8a317; letter-spacing: 1px; }
.serp-res .d { color: #4b4a45; font-size: 12.5px; line-height: 1.45; }
.serp-ghost { height: 10px; border-radius: 6px; background: #efede7; margin-top: 12px; }
.serp-ghost.w2 { width: 70%; }

/* Mini phone (bento) */
.mini-phone { width: 190px; height: 330px; background: #0f0f0e; border-radius: 34px; padding: 7px; box-shadow: 0 24px 50px -18px rgba(30,25,15,.45); transform: translateY(46px) rotate(-4deg); }
.mini-phone .phone-screen { border-radius: 28px; background: #fff; }
.mini-site-img { height: 170px; position: relative; }
.mini-site-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-site-img span { position: absolute; left: 14px; bottom: 12px; color: #fff; font: 700 19px/1 var(--display); letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.mini-site-body { padding: 12px 14px; }
.mini-site-body i { display: block; height: 7px; border-radius: 4px; background: #ecebe6; margin-bottom: 7px; }
.mini-site-body .cta { height: 28px; border-radius: 999px; background: var(--accent); margin-top: 12px; }

/* Inbox mock */
.inbox { width: 100%; max-width: 330px; display: grid; gap: 10px; }
.mail { background: #fff; border-radius: 14px; padding: 13px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px -16px rgba(30,25,15,.3), 0 0 0 1px rgba(0,0,0,.05); font-size: 13px; }
.mail .av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12.5px; }
.mail b { display: block; font-weight: 600; font-size: 13px; }
.mail span { color: var(--muted); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.mail.new { box-shadow: 0 16px 40px -14px rgba(255,90,31,.45), 0 0 0 1.5px var(--accent); }
.mail:nth-child(2) { opacity: .75; transform: scale(.97); }
.mail:nth-child(3) { opacity: .45; transform: scale(.94); }

/* Score mock */
.scores { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.score { text-align: center; font-size: 13px; color: var(--muted); }
.score .ring { width: 84px; height: 84px; font-size: 26px; margin: 0 auto 10px; }
.score .ring::before { inset: 6px; background: var(--paper-2); }

/* ===== Pricing ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #fff; }
.plan { padding: 40px 36px 36px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.plan:first-child { border-left: 0; }
.plan.dark { background: var(--ink); color: #fff; border-left-color: var(--ink); }
.plan-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.plan-name { font: 600 19px var(--display); letter-spacing: -.02em; }
.tag { font-size: 12px; font-weight: 600; background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 999px; }
.plan-desc { margin-top: 12px; font-size: 15.5px; color: var(--muted); min-height: 72px; }
.plan.dark .plan-desc { color: #a9a69e; }
.price { margin-top: 28px; font: 600 72px/1 var(--display); letter-spacing: -.05em; display: flex; align-items: flex-start; gap: 4px; }
.price sup { font-size: 30px; margin-top: 8px; letter-spacing: -.02em; }
.price-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.plan.dark .price-note { color: #a9a69e; }
.plan ul { list-style: none; margin: 30px 0 34px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 13px; flex: 1; }
.plan.dark ul { border-top-color: var(--line-dark); }
.plan li { display: flex; gap: 12px; font-size: 15.5px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ink); }
.plan.dark li svg { color: var(--accent); }
.plans-note { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; max-width: 820px; }
.plans-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.plans-note b { color: var(--ink); font-weight: 600; }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 28px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 21px; margin: 22px 0 8px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 16px; }

/* ===== Why us (dark) ===== */
.dark-sec { background: var(--ink); color: #fff; border-radius: 36px; margin: 0 16px; }
.dark-sec .eyebrow { color: #a9a69e; }
.dark-sec .eyebrow::before { background: #fff; }
.dark-sec .h2 .soft { color: #6f6c65; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.why > div { padding: 30px 28px 6px 0; }
.why > div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.why svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 22px; }
.why h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.why p { color: #a9a69e; font-size: 15.5px; }

/* ===== Products ===== */
.products { border-top: 1px solid var(--line); }
.product { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s; }
.product b { font: 600 22px var(--display); letter-spacing: -.02em; }
.product span { color: var(--muted); }
.product svg { width: 20px; height: 20px; transition: transform .25s; }
.product:hover { padding-left: 12px; }
.product:hover svg { transform: translate(3px, -3px); color: var(--accent); }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq-side p { margin-top: 18px; color: var(--muted); }
.faq-side a { color: var(--ink); text-underline-offset: 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 550 19px var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .25s, background .2s; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--paper-2); }
.faq details p { padding: 0 60px 26px 0; color: var(--ink-2); }

/* ===== CTA + footer ===== */
.cta-sec { background: var(--ink); color: #fff; border-radius: 36px 36px 0 0; margin: 0 16px; padding: 120px 0 0; overflow: hidden; }
.cta-sec h2 { font-size: clamp(48px, 8.4vw, 124px); line-height: .94; letter-spacing: -.045em; max-width: 1050px; }
.cta-sec h2 .serif { color: var(--accent); }
.cta-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.cta-row p { color: #a9a69e; font-size: 18px; max-width: 440px; }
.foot { margin-top: 120px; border-top: 1px solid var(--line-dark); padding: 28px 0 34px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: #8b887f; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.wordmark { font: 650 clamp(64px, 17vw, 250px)/.8 var(--display); letter-spacing: -.06em; color: #1d1c1a; margin: 40px 0 -0.12em; white-space: nowrap; user-select: none; }

/* ===== Contact page ===== */
.contact { padding: 72px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact h1 { font-size: clamp(44px, 6vw, 84px); line-height: .96; }
.contact .lead { margin-top: 24px; }
.next { margin-top: 48px; border-top: 1px solid var(--line); }
.next li { list-style: none; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next li span { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 26px; line-height: 1; }
.next li b { display: block; font-weight: 600; margin-bottom: 2px; }
.next li p { color: var(--muted); font-size: 15.5px; }
.contact-meta { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 15px; }
.contact-meta small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: 0 30px 80px -40px rgba(30,25,15,.25); }
.form-card h2 { font-size: 26px; letter-spacing: -.025em; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 550; margin-bottom: 8px; padding: 0; }
.field label .opt { font-weight: 400; color: var(--muted); }
.input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.input::placeholder { color: #a3a097; }
.input:hover { background: #f1eee7; }
.input:focus { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,18,17,.07); }
textarea.input { resize: vertical; min-height: 130px; }
select.input { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121211' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { margin: 0; font-weight: 500; font-size: 14.5px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: all .15s; }
.chips label:hover { border-color: #bdb9ae; }
.chips input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: #c0261a; font-size: 14px; margin-top: 14px; }
.success { text-align: center; padding: 56px 10px; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; }
.success .tick svg { width: 28px; height: 28px; }
.success h2 { font-size: 30px; }
.success p { color: var(--muted); margin-top: 8px; }
.simple-foot { border-top: 1px solid var(--line); padding: 28px 0 34px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.simple-foot nav { display: flex; gap: 24px; }
.simple-foot a { text-decoration: none; }
.simple-foot a:hover { color: var(--ink); }

/* ===== Reveal on scroll ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-a, .float-b { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { max-width: 560px; }
  .browser { width: 78%; left: 4%; }
  .phone { right: 4%; }
  .chip-lead { right: auto; left: 30%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.span-2 { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .plan-desc { min-height: 0; }
  .steps, .why { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3), .why > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3), .why > div:nth-child(n+3) { padding-top: 40px; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding-top: 48px; }
  .stage { height: 600px; margin-top: 44px; border-radius: 22px; }
  .browser { display: none; }
  .phone { right: 50%; transform: translateX(50%); top: 64px; width: 240px; height: 490px; }
  .phone.float-b { animation: none; }
  .chip-score { left: 12px; top: 18px; }
  .chip-lead { left: 12px; right: 12px; bottom: 16px; max-width: none; }
  .logo { font-size: 16.5px; white-space: nowrap; }
  .nav .btn-sm { padding: 10px 14px; font-size: 14px; }
  .serp-res img { width: 56px; height: 56px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .fact { padding: 22px 0 22px 18px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: 28px; }
  .section { padding: 88px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile.span-2 { grid-column: auto; }
  .tile { min-height: 0; }
  .tile-vis { min-height: 280px; }
  .plan { padding: 32px 24px; }
  .steps, .why { grid-template-columns: 1fr; }
  .step, .step + .step, .why > div, .why > div + div { padding: 28px 0 0; border-left: 0; }
  .step + .step, .why > div + div { margin-top: 28px; border-top: 1px solid var(--line); }
  .why > div + div { border-top-color: var(--line-dark); }
  .dark-sec, .cta-sec { margin: 0 8px; border-radius: 26px; }
  .cta-sec { border-radius: 26px 26px 0 0; padding-top: 80px; }
  .product { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .product span { grid-column: 1; grid-row: 2; }
  .product svg { grid-row: 1 / span 2; grid-column: 2; }
  .faq details p { padding-right: 0; }
  .form-card { padding: 26px 20px; border-radius: 22px; }
  .row-2, .contact-meta { grid-template-columns: 1fr; }
}
