/* =========================================================================
   AR Agency — homepage
   Design system measured from the Monitor Framer template (1440px desktop):
   1180px container, 1px #1c1c1c hairlines, square "dots" on grid corners,
   Geist for UI, Google Sans / Google Sans Code for dashboard mockups.
   ========================================================================= */

:root {
  --bg: #000;
  --line: #1c1c1c;
  --text: #fff;
  --text-soft: #f0f0f0;
  --muted: #8a8a8a;
  --surface: #0d0d0d;
  --surface-2: #1f1f1f;
  --chip: rgba(255, 255, 255, 0.06);
  --blue: #0072f5;
  --green: #00f597;
  --container: 1180px;
  --nav-h: 70px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --geist: "Geist", system-ui, sans-serif;
  --gsans: "Google Sans", "Geist", system-ui, sans-serif;
  --mono: "Google Sans Code", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--geist);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; position: relative; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 10px; line-height: 15px; letter-spacing: -0.2px; color: var(--muted); }
.sans10 { font-family: var(--gsans); font-size: 10px; line-height: 15px; letter-spacing: -0.2px; color: var(--muted); }

/* ---------- Fixed guide lines (container edges) ---------- */
.side-lines { position: fixed; inset: 0; z-index: 2; pointer-events: none; display: flex; justify-content: center; }
.side-lines > div { width: var(--container); height: 100%; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

/* ---------- Sections & hairlines ---------- */
.section { position: relative; background: var(--bg); border-top: 1px solid var(--line); }
.block { display: flex; flex-direction: column; align-items: center; gap: 100px; padding-top: 100px; }

/* Grid cells: top + right hairline drawn on a pseudo so size never changes */
.cell { position: relative; }
.cell::after { content: ""; position: absolute; inset: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); pointer-events: none; }

/* Corner dots (added by JS to every [data-dots]) */
.dot { position: absolute; width: 10px; height: 10px; background: var(--bg); border: 1px solid var(--line); z-index: 6; pointer-events: none; }
.dot--tl { top: -5px; left: -5px; } .dot--tr { top: -5px; right: -5px; }
.dot--bl { bottom: -5px; left: -5px; } .dot--br { bottom: -5px; right: -5px; }

/* Dashed 71px background grid (Framer "V1" component) */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='71' height='71'%3E%3Cpath d='M0 .5H71M.5 0V71' fill='none' stroke='%231c1c1c' stroke-dasharray='3 3'/%3E%3C/svg%3E");
  background-position: center center;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.grid-bg--flip { inset: 0 -30px -20px; opacity: 0.48; transform: rotate(180deg); }
.grid-bg--soft { opacity: 0.64; }

/* ---------- Type pieces ---------- */
.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 100px;
  font-size: 14.08px; line-height: 19.712px; letter-spacing: -0.2816px; color: var(--text);
}
.section-head { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 30px; width: 420px; max-width: 100%; text-align: center; }
.section-head h2, .faq h2, .cta h2 { font-size: 35.2px; line-height: 42.24px; letter-spacing: -0.704px; font-weight: 500; }
.section-head h2 { width: 360px; max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: 300px;
  font-size: 15.04px; line-height: 15.04px; letter-spacing: -0.3008px; font-weight: 500;
  white-space: nowrap; transition: filter 0.2s var(--ease); filter: brightness(1);
}
.btn:hover { filter: brightness(0.85); }
.btn--primary { background: #fff; color: #000; }
.btn--secondary { background: var(--surface-2); color: #fff; }
.btn--secondary:hover { filter: brightness(1.3); }
.btn--sm { height: 34px; }

/* Caret (chevron) + arrow link */
.caret { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; }
.caret svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.caret--right svg { transform: rotate(180deg); }
.caret--down svg { transform: rotate(-90deg); }
.caret i { position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px 0 0 -4px; border-radius: 1200px; background: var(--muted); opacity: 0; transition: all 0.3s var(--ease); }

.arrow-link { display: inline-flex; align-items: center; gap: 2px; height: 30px; font-size: 15.04px; line-height: 15.04px; letter-spacing: -0.3008px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.arrow-link:hover { color: #fff; }
.arrow-link:hover .caret svg, .badge-link:hover .caret svg { transform: rotate(180deg) translateX(-3px); stroke: #fff; }
.arrow-link:hover .caret i { opacity: 1; width: 9px; margin-left: -4px; background: #fff; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; height: 26px; }
.logo img { display: block; height: 26px; width: auto; }

/* =========================== NAV =========================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: var(--nav-h); background: rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.nav__inner { max-width: var(--container); height: 100%; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; gap: 20px; }
.nav__inner > .logo { flex: none; }
.nav__links { flex: 1; display: flex; justify-content: center; align-items: center; gap: 20px; }
.nav__links a { font-size: 15.04px; line-height: 15.04px; letter-spacing: -0.3008px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover, .nav__links a.is-current { color: #fff; }
.nav__mobile a.is-current:not(.btn) { color: #fff; }
.nav__actions { display: flex; gap: 10px; flex: none; }
.nav__burger { display: none; width: 30px; height: 30px; margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 5px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease), width 0.3s var(--ease), top 0.3s var(--ease); }
.nav__burger span:nth-child(1) { top: 10px; width: 20px; }
.nav__burger span:nth-child(2) { top: 18px; width: 14px; left: 11px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { top: 14px; width: 20px; left: 5px; transform: rotate(-45deg); }
.nav__mobile { display: none; }

/* ---- Preloader: logo mark spins until the page is ready ---- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity 0.6s var(--ease), visibility 0.6s; }
.preloader img { width: 44px; height: auto; animation: preloader-spin 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; transition: transform 0.6s var(--ease); }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader.is-done img { transform: scale(0.8); }
@keyframes preloader-spin { to { rotate: 360deg; } }
html:has(.preloader:not(.is-done)) { overflow: hidden; }

/* ---- Load-in ("appear") animation ---- */
[data-appear] { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.is-loaded [data-appear] { opacity: 1; transform: none; }
.nav .logo { opacity: 0; transform: translateY(10px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.is-loaded .nav .logo { opacity: 1; transform: none; }

/* =========================== HERO =========================== */
.hero { position: relative; background: var(--bg); overflow: clip; }
.hero__stage { height: 780px; padding: 160px 20px 120px; display: flex; align-items: center; justify-content: center; overflow: clip; }
.hero__stage > .grid-bg { -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
.hero__gradient { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); -webkit-mask-image: linear-gradient(to bottom, transparent 31.5%, #000 100%); mask-image: linear-gradient(to bottom, transparent 31.5%, #000 100%); }
.is-loaded .hero__gradient { opacity: 1; }
.hero__gradient canvas, .frow__canvas canvas, .cta__gradient canvas { width: 100%; height: 100%; display: block; }
.hero__blur { position: absolute; left: 50%; top: 213px; width: 780px; height: 424px; margin-left: -390px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); -webkit-mask-image: linear-gradient(to bottom, #000 59%, transparent 94%); mask-image: linear-gradient(to bottom, #000 59%, transparent 94%); pointer-events: none; }
.hero__wrapper { position: relative; width: 700px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hero__heading { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 640px; max-width: 100%; text-align: center; }
.hero h1 { font-size: 48px; line-height: 52.8px; letter-spacing: -0.96px; font-weight: 500; }
.hero__sub { font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; opacity: 0.8; transition-delay: 0.1s; }
.hero__sub[data-appear] { transition-delay: 0.12s; }
.is-loaded .hero__sub[data-appear] { opacity: 0.8; }
.hero__actions { display: flex; gap: 10px; justify-content: center; }
.hero__actions[data-appear] { transition-delay: 0.24s; }

.badge-link { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 4px; border-radius: 661px; background: var(--surface); position: relative; }
.badge-link::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
.badge-link__tag { height: 21px; padding: 0 6px; border-radius: 12px; background: var(--chip); display: inline-flex; align-items: center; font-size: 13px; line-height: 13px; letter-spacing: -0.26px; font-weight: 500; color: var(--muted); margin-right: 2px; }
.badge-link__title { font-size: 14.08px; line-height: 19.712px; letter-spacing: -0.2816px; color: #fff; white-space: nowrap; }
.badge-link .caret { width: 18px; height: 18px; }

/* Trust bar */
.trust { background: var(--bg); position: relative; }
.trust__inner { display: flex; height: 90px; border-top: 1px solid var(--line); }
.trust__text { width: 360px; flex: none; display: flex; align-items: center; justify-content: center; padding: 30px; }
.trust__text p { color: var(--muted); text-align: center; letter-spacing: -0.32px; }
.trust__logos { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); }
.trust__logo { display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); }
.trust__logo svg { opacity: 1; }

/* =========================== INTRO =========================== */
.intro__inner { display: flex; flex-direction: column; align-items: center; padding: 200px 30px; }
.intro__text { width: 500px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.intro .reveal-words { font-size: 24px; line-height: 28.8px; letter-spacing: -0.48px; font-weight: 500; }
.intro .reveal-words .muted { color: var(--muted); }
.w { display: inline-block; opacity: 0.001; transform: translateY(10px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.w.is-in { opacity: 1; transform: none; }

/* =========================== STATS =========================== */
.stats { }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { height: 180px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
.stat__value { display: flex; align-items: flex-start; gap: 10px; padding: 4px; }
.stat h2 { font-size: 35.2px; line-height: 42.24px; letter-spacing: -0.704px; font-weight: 500; }
.stat__icon { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat p { color: var(--muted); letter-spacing: -0.32px; }

/* =========================== BENEFITS =========================== */
.benefits__grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { height: 340px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.benefit__icon { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit__spacer { flex: 1; }
.benefit__text { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.benefit h3, .step h3 { font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; }
.benefit p, .step p { color: var(--muted); letter-spacing: -0.32px; }

/* =========================== FEATURES =========================== */
.features__rows { width: 100%; display: flex; flex-direction: column; }
.frow { position: relative; display: flex; height: 500px; background: var(--bg); border-top: 1px solid var(--line); }
.frow--tall { height: 534px; }
.frow__text { position: relative; width: 360px; flex: none; padding: 30px; overflow: clip; border-right: 1px solid var(--line); }
.frow--rev .frow__text { border-right: 0; border-left: 1px solid var(--line); }
.frow__sticky { position: sticky; top: 100px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.frow__copy { display: flex; flex-direction: column; gap: 16px; }
.frow__copy h3 { font-size: 20px; line-height: 24px; letter-spacing: -0.4px; font-weight: 500; color: var(--text-soft); }
.frow__copy p { color: var(--muted); letter-spacing: -0.32px; }
.frow__visual { position: relative; flex: 1; display: flex; overflow: clip; }
.frow__canvas { position: absolute; inset: 0; z-index: 0; }
.frow__canvas { opacity: 0.85; }
.frow__visual--r1 { padding: 100px 0 0 80px; }
.frow__visual--r2 { padding: 100px 100px 0 0; }
.frow__visual--r3 { padding: 100px 0 0 100px; }

/* Dashboard window mockup */
.window { position: relative; z-index: 1; flex: 1; align-self: stretch; min-height: 440px; background: #000; border: 1px solid var(--line); overflow: clip; display: flex; flex-direction: column; }
.window--tl { border-radius: 16px 0 0 0; border-right: 0; border-bottom: 0; }
.window--tr { border-radius: 0 16px 0 0; border-left: 0; border-bottom: 0; }
.window__bar { height: 36px; flex: none; display: flex; align-items: center; gap: 10px; padding: 13px; border-bottom: 1px solid var(--line); }
.window__dots { display: flex; gap: 4px; flex: none; }
.window__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-2); }
.window__url { flex: 1; text-align: center; }
.window__acct { flex: none; text-align: right; }
.kpis { display: flex; height: 120px; flex: none; }
.kpi { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.kpi h3 { font-size: 24px; line-height: 28.8px; letter-spacing: -0.48px; font-weight: 500; }
.kpi__delta { font-family: var(--mono); font-size: 14.08px; line-height: 21.12px; letter-spacing: -0.2816px; color: var(--blue); }
.kpi__delta--sans { font-family: var(--gsans); }
.vdiv { width: 1px; background: var(--line); flex: none; }
.hdiv { height: 1px; background: var(--line); flex: none; width: 100%; }
.chart { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.chart__head { display: flex; justify-content: space-between; align-items: center; }
.chart__title { font-size: 12px; line-height: 18px; letter-spacing: -0.24px; color: #fff; }
.chart__meta { font-size: 10px; line-height: 15px; letter-spacing: -0.2px; color: var(--muted); }
.chart__body { position: relative; flex: 1; min-height: 180px; }
.chart__svg { position: absolute; left: -60px; right: -60px; top: -60px; bottom: -60px; width: calc(100% + 120px); height: calc(100% + 120px); padding: 60px; -webkit-mask-image: linear-gradient(89deg, transparent 6%, #000 25%, #000 83%, transparent 107%); mask-image: linear-gradient(89deg, transparent 6%, #000 25%, #000 83%, transparent 107%); }

/* Bars (row 2) */
.window--tr .kpis .kpi { padding: 20px; }
.bars { flex: 1; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; border-left: 1px solid var(--line); }
.bars > .chart__title { width: 360px; max-width: 100%; }
.bars__list { width: 360px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.bar { display: flex; flex-direction: column; gap: 8px; }
.bar__text { display: flex; justify-content: space-between; font-family: var(--gsans); font-size: 11px; line-height: 17px; letter-spacing: -0.22px; }
.bar__text span:last-child { color: var(--muted); }
.bar__track { height: 4px; border-radius: 245px; background: var(--chip); display: flex; }
.bar__track div { height: 100%; border-radius: 326px; background: var(--blue); width: 0; transition: width 1.2s var(--ease-out); }
.bars:not(.is-in) .bar__track div { width: 0 !important; }

/* Table (row 3) */
.table { flex: 1; display: flex; flex-direction: column; }
.table__top { padding: 20px; display: flex; justify-content: center; }
.table__head { width: 420px; max-width: 100%; display: flex; justify-content: space-between; align-items: center; height: 20px; }
.live { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 10px 0 8px; border-radius: 10px; border: 1px solid var(--line); font-family: var(--gsans); font-size: 8px; line-height: 12px; letter-spacing: -0.16px; font-weight: 500; }
.live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 1px 10px var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.8); } }
.table__body { display: flex; flex-direction: column; align-items: center; gap: 10px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%); }
.table__cols, .trow__in { width: 420px; max-width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.table__cols span { font-family: var(--gsans); font-size: 10px; line-height: 15px; letter-spacing: -0.2px; color: var(--muted); text-align: right; }
.table__cols span:first-child { text-align: left; }
.table__body > div:not(.table__cols) { width: 100%; }
.trow { height: 44px; padding: 10px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.table__body .trow:first-of-type { margin-top: 0; }
.trow__in { align-items: center; }
.trow__in > span { font-family: var(--gsans); font-size: 11px; line-height: 17px; letter-spacing: -0.22px; text-align: right; color: #fff; }
.trow__in > .up { color: var(--blue); }
.trow__in > .down { color: var(--muted); }
.trow__name { display: flex; align-items: center; gap: 10px; font-family: var(--gsans); font-size: 11px; line-height: 17px; letter-spacing: -0.22px; }
.trow__n { width: 8px; color: var(--muted); }
.trow__ic { width: 24px; height: 24px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 500; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.table__body { gap: 10px; }
.table__cols + .trow { margin-top: 0; }

/* =========================== INTEGRATIONS =========================== */
.engines__grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.engine { height: 180px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.engine__ic { position: relative; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.engine__ic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, 0.06); }
.engine__ic svg { width: 15px; height: 15px; fill: none; stroke: var(--g, #fff); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.engine__text { display: flex; flex-direction: column; gap: 6px; }
.engine__name { font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; }
.engine__desc { font-size: 14.08px; line-height: 19.712px; letter-spacing: -0.2816px; color: var(--muted); }
.engine--soon .engine__ic { opacity: 0.4; filter: grayscale(1); }
.engine--soon .engine__text { opacity: 0.4; }
.engine__status { position: absolute; top: 20px; right: 20px; height: 20px; padding: 0 6px; font-size: 14.08px; line-height: 19.712px; letter-spacing: -0.2816px; color: var(--muted); }

/* =========================== HOW IT WORKS =========================== */
.how__grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); }
.step { height: 232px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 60px; }
.step__num { width: 30px; height: 30px; border-radius: 6px; background: var(--chip); display: grid; place-items: center; font-size: 15.04px; line-height: 15.04px; letter-spacing: -0.3008px; font-weight: 500; color: var(--text-soft); }
.step__text { display: flex; flex-direction: column; gap: 10px; }

/* =========================== PRICING =========================== */
.pricing .block { gap: 100px; }
.pricing__card { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.pricing__main { padding: 40px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; border-right: 1px solid var(--line); }
.pricing__includes { padding: 40px 30px; display: flex; flex-direction: column; gap: 30px; background: var(--surface); }
.pricing__prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.pricing__plus { font-size: 32px; line-height: 1; color: var(--muted); font-weight: 400; }
.pricing__group { display: flex; flex-direction: column; gap: 16px; }
.pricing__label { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: -0.2px; color: var(--muted); text-transform: uppercase; }
.plan__name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; }
.plan__badge { height: 21px; padding: 0 8px; border-radius: 12px; background: var(--chip); display: inline-flex; align-items: center; font-size: 12px; line-height: 12px; letter-spacing: -0.24px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__amount { font-size: 48px; line-height: 52.8px; letter-spacing: -0.96px; font-weight: 500; }
.plan__unit { font-size: 16px; color: var(--muted); letter-spacing: -0.32px; }
.plan__desc { color: var(--muted); letter-spacing: -0.32px; max-width: 440px; flex: 1; }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; letter-spacing: -0.32px; }
.plan__list svg { width: 18px; height: 18px; margin-top: 3px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.pricing__wrap { width: 100%; display: flex; flex-direction: column; }
/* Add-on row (chatbot quote): same hairline/cell language as the rest of the page */
.addon { width: 100%; display: flex; align-items: center; gap: 24px; padding: 30px; background: var(--bg); transition: background-color 0.3s var(--ease); }
.addon:hover { background: var(--surface); }
.addon__tag { flex: none; color: var(--muted); }
.addon__text { flex: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.addon__title { font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; }
.addon__sub { color: var(--muted); letter-spacing: -0.32px; }
.addon__btn { flex: none; gap: 2px; padding: 0 12px 0 16px; }
.addon__btn .caret svg { stroke: #fff; }
.addon:hover .addon__btn { filter: brightness(1.3); }
.addon:hover .addon__btn .caret svg { transform: rotate(180deg) translateX(-3px); }

/* =========================== SUBPAGES (about, contact) =========================== */
.page-hero { position: relative; background: var(--bg); overflow: clip; }
.page-hero__stage { height: 560px; padding: 160px 20px 80px; display: flex; align-items: center; justify-content: center; overflow: clip; }
.page-hero__stage .hero__gradient { -webkit-mask-image: linear-gradient(to bottom, transparent 45%, #000 100%); mask-image: linear-gradient(to bottom, transparent 45%, #000 100%); opacity: 0; }
.is-loaded .page-hero__stage .hero__gradient { opacity: 0.7; }
.page-hero__inner { position: relative; width: 640px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.page-hero h1 { font-size: 48px; line-height: 52.8px; letter-spacing: -0.96px; font-weight: 500; }
.page-hero p { font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; color: rgba(255, 255, 255, 0.8); max-width: 520px; }
.page-hero .tag[data-appear] { transition-delay: 0s; }
.page-hero h1[data-appear] { transition-delay: 0.08s; }
.page-hero p[data-appear] { transition-delay: 0.16s; }

/* =========================== ABOUT =========================== */
.about .block { gap: 60px; }
.about__story { width: 560px; max-width: 100%; padding: 0 30px; }
.about__story p { font-size: 24px; line-height: 28.8px; letter-spacing: -0.48px; font-weight: 500; }
.about__grid { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
.founder { padding: 30px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.founder__initial { width: 48px; height: 48px; border-radius: 10px; background: var(--chip); display: grid; place-items: center; font-size: 20px; font-weight: 500; color: var(--text-soft); }
.founder__text { display: flex; flex-direction: column; gap: 8px; }
.founder h3 { font-size: 20px; line-height: 24px; letter-spacing: -0.4px; font-weight: 500; }
.founder__role { font-size: 14.08px; line-height: 19.712px; letter-spacing: -0.2816px; color: var(--muted); }
.founder p:last-child { color: var(--muted); letter-spacing: -0.32px; max-width: 420px; }

.values__grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
.value { min-height: 232px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 60px; }
.value h3 { font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; }
.value p { color: var(--muted); letter-spacing: -0.32px; }
.value__text { display: flex; flex-direction: column; gap: 10px; }
.about-page .about__story { padding: 200px 30px; width: 560px; }

/* =========================== CONTACT PAGE =========================== */
.contact__inner { display: flex; align-items: stretch; }
.contact__side { width: 393px; flex: none; border-right: 1px solid var(--line); }
.contact__side-in { position: sticky; top: var(--nav-h); padding: 60px 30px; display: flex; flex-direction: column; gap: 40px; }
.contact__side h2 { font-size: 35.2px; line-height: 42.24px; letter-spacing: -0.704px; font-weight: 500; color: var(--text-soft); }
.next-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps .step__num { flex: none; }
.next-steps strong { display: block; font-weight: 400; font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; margin-bottom: 4px; }
.next-steps span.muted { letter-spacing: -0.32px; }
.contact__form { flex: 1; padding: 60px 30px 80px; display: flex; flex-direction: column; gap: 24px; background: var(--bg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14.08px; line-height: 19.712px; letter-spacing: -0.2816px; color: var(--muted); }
.field label em { font-style: normal; color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--surface-2); color: #fff;
  font: inherit; font-size: 16px; line-height: 24px; letter-spacing: -0.32px; outline: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: #5c5c5c; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--muted); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { box-shadow: inset 0 0 0 1px #e5484d; }
.field__error { font-size: 13px; line-height: 18px; color: #e5484d; min-height: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__foot .btn { height: 44px; padding: 0 22px; }
.form__foot .btn[disabled] { opacity: 0.6; cursor: wait; }
.form__status { font-size: 15px; line-height: 22px; letter-spacing: -0.3px; color: var(--muted); }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: #e5484d; }

/* =========================== FAQ =========================== */
.faq__inner { display: flex; align-items: stretch; }
.faq__left { width: 393px; flex: none; }
.faq__sticky { position: sticky; top: var(--nav-h); width: 360px; padding: 60px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.faq h2 { color: var(--text-soft); }
.faq__list { flex: 1; border-left: 1px solid var(--line); background: var(--bg); }
.faq__item { position: relative; border-top: 1px solid var(--line); transition: background-color 0.3s var(--ease); }
.faq__item:first-child { border-top: 0; }
.faq__item:hover, .faq__item.is-open { background: var(--surface); }
.faq__item .dot { width: 4px; height: 4px; opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.3s var(--ease); }
.faq__item .dot--tl { top: -2px; left: -2px; } .faq__item .dot--tr { top: -2px; right: -2px; }
.faq__item .dot--bl { bottom: -2px; left: -2px; } .faq__item .dot--br { bottom: -2px; right: -2px; }
.faq__item.is-open .dot { opacity: 1; transform: scale(2.5); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 36px 30px; text-align: left; font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; }
.faq__item.is-open .faq__q { padding-bottom: 10px; }
.faq__q .caret svg { stroke-width: 3; }
.faq__item.is-open .caret svg { transform: rotate(90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq__a p { overflow: hidden; padding: 0 30px; color: var(--muted); letter-spacing: -0.32px; opacity: 0; filter: blur(4px); transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), padding 0.45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; filter: blur(0); padding-bottom: 36px; }
.faq__a p { max-width: 100%; }

/* =========================== CTA =========================== */
.cta__top { position: relative; height: 478px; padding: 140px 30px 120px; display: flex; align-items: center; justify-content: center; overflow: clip; }
.cta__gradient { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(50% 134% at 50% 50%, transparent 54%, #000 100%); mask-image: radial-gradient(50% 134% at 50% 50%, transparent 54%, #000 100%); }
.cta__circle { position: absolute; left: 50%; border-radius: 50%; border: 1px solid var(--line); -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 34%, #000 75%, transparent 100%); mask-image: linear-gradient(0deg, transparent 0%, #000 34%, #000 75%, transparent 100%); }
.cta__circle--sm { width: 499px; height: 499px; top: -9px; margin-left: -249.5px; background: var(--bg); }
.cta__circle--lg { width: 641px; height: 641px; top: -79px; margin-left: -320.5px; }
.cta__content { position: relative; width: 500px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.cta__heading { display: flex; flex-direction: column; gap: 16px; }
.cta__heading p { font-size: 18.08px; line-height: 23.504px; letter-spacing: -0.3616px; color: var(--muted); }
.cta__bottom { display: grid; grid-template-columns: repeat(3, 1fr); }
.cta__point { height: 140px; padding: 30px; display: flex; align-items: center; gap: 6px; }
.cta__point p { flex: 1; min-width: 0; max-width: 264px; color: var(--muted); letter-spacing: -0.32px; }
.cta__ic { width: 30px; height: 30px; padding: 6px; flex: none; align-self: flex-start; }
.cta__ic svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cta__point { align-items: flex-start; flex-direction: row; }
.cta__point { padding-top: 46px; }

/* =========================== FOOTER =========================== */
.footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); overflow: clip; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 60px; padding: 60px 0 40px; }
.newsletter { width: 100%; display: flex; align-items: center; gap: 40px; padding: 30px 40px 30px 30px; }
.newsletter h4,
.newsletter__title { flex: 1; max-width: 460px; margin: 0 auto 0 0; font-size: 20px; line-height: 24px; letter-spacing: -0.4px; font-weight: 500; }
.newsletter h4 span,
.newsletter__title span { color: var(--muted); }
.newsletter__form { position: relative; width: 280px; flex: none; }
.newsletter__form input { width: 100%; height: 41px; padding: 10px 46px 10px 16px; border: 0; border-radius: 634px; background: var(--surface-2); color: #fff; font: inherit; font-size: 16px; letter-spacing: -0.32px; outline: none; box-shadow: inset 0 0 0 0 var(--muted); transition: box-shadow 0.2s; }
.newsletter__form input::placeholder { color: var(--muted); }
.newsletter__form input:focus { box-shadow: inset 0 0 0 1px var(--muted); }
.newsletter__form button { position: absolute; right: 5px; top: 5px; width: 32px; height: 31px; border-radius: 629px; background: #fff; display: grid; place-items: center; transition: filter 0.2s; }
.newsletter__form button:hover { filter: brightness(0.85); }
.newsletter__form button svg { width: 16px; height: 16px; fill: none; stroke: #000; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.footer__main { width: 100%; display: flex; gap: 30px; padding: 30px; }
.footer__brand { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer__brand > p { color: var(--muted); letter-spacing: -0.32px; max-width: 545px; }
.footer__brand > p { max-width: 400px; }
.socials { display: flex; gap: 6px; }
.social { position: relative; width: 36px; height: 36px; padding: 10px; border-radius: 566px; display: grid; place-items: center; transition: background-color 0.2s; }
.social::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; }
.social:hover { background: var(--surface-2); }
.social svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__cols { flex: 1; display: flex; justify-content: flex-end; gap: 50px 70px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer__col p { letter-spacing: -0.32px; margin-bottom: 0; }
.footer__col a { font-size: 15.04px; line-height: 15.04px; letter-spacing: -0.3008px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 30px; }
.footer__bottom p { font-size: 15.04px; line-height: 15.04px; letter-spacing: -0.3008px; font-weight: 500; color: var(--muted); }
.footer__credit span { color: #fff; }

/* =========================================================================
   RESPONSIVE
   Desktop ≥ 1200 · small laptop / iPad landscape 1000–1199 · tablet 600–999 · phone < 600
   ========================================================================= */

/* ---- ≤ 1199: fluid container ---- */
@media (max-width: 1199px) {
  .side-lines { display: none; }
  .frow__text { width: 300px; }
  .faq__left { width: 320px; }
  .faq__sticky { width: 100%; }
  .contact__side { width: 320px; }
  .trust__text { width: 260px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit { height: 280px; }
  /* prices stack cleanly instead of wrapping mid-line */
  .pricing__prices { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pricing__plus { font-size: 22px; line-height: 26px; }
}

/* ---- ≤ 999: tablets (iPad portrait, iPad mini) ---- */
@media (max-width: 999px) {
  .trust__inner { flex-direction: column; height: auto; }
  .trust__text { width: 100%; padding: 24px 30px; }
  .trust__logo { height: 90px; border-top: 1px solid var(--line); }
  .trust__logo:first-child { border-left: 0; }

  .stats__grid, .engines__grid { grid-template-columns: repeat(2, 1fr); }
  .engines__grid { border-left: 0; }

  .frow, .frow--tall { flex-direction: column; height: auto; }
  .frow--rev { flex-direction: column-reverse; }
  .frow__text, .frow--rev .frow__text { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 40px 30px; }
  .frow__sticky { position: static; }
  .frow__copy p { max-width: 520px; }
  .frow__visual { height: 480px; flex: none; }
  .frow__visual--r1, .frow__visual--r3 { padding: 60px 0 0 40px; }
  .frow__visual--r2 { padding: 60px 40px 0 0; justify-content: flex-end; }
  .window { min-height: 420px; min-width: 600px; }
  .window--tr { margin-left: auto; }

  .contact__inner { flex-direction: column; }
  .contact__side { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact__side-in { position: static; padding: 50px 30px; }
  .next-steps { flex-direction: row; gap: 24px; }
  .next-steps li { flex: 1; flex-direction: column; gap: 12px; }

  .cta__top { height: auto; min-height: 478px; }
  .cta__circle--lg { display: none; }
}

/* ---- < 600: phones ---- */
@media (max-width: 599px) {
  .nav__inner { padding: 0 20px; }
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: block; }
  .nav__mobile { display: flex; flex-direction: column; gap: 22px; padding: 10px 20px 28px; background: rgba(0, 0, 0, 0.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
  .nav__mobile a:not(.btn) { font-size: 20px; line-height: 24px; letter-spacing: -0.4px; font-weight: 500; color: var(--muted); }
  .nav__mobile .btn { align-self: flex-start; }
  .nav.is-open .nav__mobile { opacity: 1; transform: none; pointer-events: auto; }

  .block { gap: 60px; padding-top: 80px; }
  .section-head { padding: 20px; }
  .section-head h2, .faq h2, .cta h2, .contact__side h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.6px; }

  .hero__stage { height: auto; min-height: 720px; padding: 140px 20px 100px; }
  .hero h1, .page-hero h1 { font-size: 38px; line-height: 42px; letter-spacing: -0.76px; }
  .hero__sub, .page-hero p { font-size: 17px; line-height: 23px; }
  .hero__blur { width: 100%; left: 0; margin-left: 0; }
  .hero__actions { flex-wrap: wrap; }
  .badge-link__title { white-space: normal; }
  .trust__logos { grid-template-columns: repeat(3, 1fr); }
  .trust__logo:nth-child(3n + 1) { border-left: 0; }

  .intro__inner { padding: 140px 20px; }
  .intro .reveal-words { font-size: 21px; line-height: 26px; letter-spacing: -0.42px; }

  .stat { height: 150px; padding: 20px; }
  .stat h2 { font-size: 30px; line-height: 36px; }
  .stat p { font-size: 14px; line-height: 20px; }

  .benefits__grid, .how__grid, .cta__bottom, .about__grid, .values__grid { grid-template-columns: 1fr; }
  .benefit { height: auto; min-height: 220px; }
  .benefit__spacer { min-height: 60px; }
  .step, .value { min-height: 0; height: auto; gap: 40px; }

  .frow__text, .frow--rev .frow__text { padding: 30px 20px; }
  .frow__visual { height: 400px; }
  .frow__visual--r1, .frow__visual--r3 { padding: 50px 0 0 20px; }
  .frow__visual--r2 { padding: 50px 20px 0 0; }
  .window { min-height: 350px; min-width: 520px; }

  .engines__grid { grid-template-columns: 1fr 1fr; }
  .engine { height: 170px; padding: 20px; gap: 12px; }
  .engine__status { top: 12px; right: 12px; font-size: 12px; padding: 0; }
  .engine__name { font-size: 16px; line-height: 21px; }
  .engine__desc { font-size: 13px; line-height: 18px; }

  .pricing__card { grid-template-columns: 1fr; }
  .pricing__main { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 20px; }
  .pricing__includes { padding: 30px 20px; }
  .plan__amount { font-size: 38px; line-height: 42px; }
  .addon { flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 20px; }
  .addon__text { flex-direction: column; }

  .page-hero__stage { height: auto; min-height: 440px; padding: 130px 20px 60px; }
  .about-page .about__story, .about__story { width: 100%; padding: 0 20px; }
  .about__story p { font-size: 20px; line-height: 26px; }
  .founder { min-height: 0; padding: 30px 20px; }

  .contact__side-in { padding: 40px 20px; gap: 30px; }
  .next-steps { flex-direction: column; }
  .next-steps li { flex-direction: row; gap: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 30px 20px 60px; }

  .faq__inner { flex-direction: column; }
  .faq__left { width: 100%; }
  .faq__sticky { position: static; width: 100%; padding: 50px 20px 30px; }
  .faq__list { border-left: 0; border-top: 1px solid var(--line); }
  .faq__q { padding: 24px 20px; font-size: 17px; line-height: 23px; }
  .faq__item.is-open .faq__q { padding-bottom: 8px; }
  .faq__a p { padding-left: 20px; padding-right: 20px; }
  .faq__item.is-open .faq__a p { padding-bottom: 24px; }

  .cta__top { min-height: 0; padding: 110px 20px 100px; }
  .cta__circle--sm { width: 380px; height: 380px; margin-left: -190px; top: 20px; }
  .cta__point { height: auto; padding: 24px 20px; }
  .cta__point p { max-width: none; }

  .newsletter { flex-direction: column; align-items: stretch; gap: 24px; padding: 30px 20px; }
  .newsletter__form { width: 100%; }
  .footer__main { flex-direction: column; gap: 50px; padding: 30px 20px; }
  .footer__cols { justify-content: flex-start; gap: 40px 50px; }
  .footer__bottom { flex-direction: column; padding: 30px 20px; }
  .footer__inner { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-appear], .w { opacity: 1 !important; transform: none !important; }
}
