/* SyncToCRM website. Brand (PLAN.md, 6 Nov 2026): berry for the logo and the
   main action, green only for "in your CRM / saved", Sora for headings. */

:root {
  --ink: #1c1917;
  --ink-2: #3f3a36;
  --ink-3: #57534e;
  --muted: #736c67;
  --faint: #a8a29e;
  --line: #e7e5e4;
  --line-2: #efedeb;
  --bg: #ffffff;
  --bg-soft: #faf9f8;
  --bg-warm: #f6f3f1;

  --berry: #c4245f;
  --berry-deep: #951a4b;
  --berry-tint: #fbe7ee;
  --berry-50: #fdf3f7;
  --berry-pink: #f36c93;
  --grad: linear-gradient(135deg, #86196f 0%, #ec3a6b 100%);

  --green: #1fa971;
  --green-text: #0b6b45;
  --green-tint: #e3f6ec;
  --amber-text: #92400e;
  --amber-tint: #fff8e6;

  --night: #17101b;
  --night-2: #221827;
  --night-line: rgba(255, 255, 255, .1);
  --night-text: #d9d2dc;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06);
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 10px 28px -10px rgba(28, 25, 23, .14);
  --shadow-lg: 0 2px 6px rgba(28, 25, 23, .04), 0 30px 80px -24px rgba(90, 20, 55, .30);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.62 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 600; text-wrap: balance; }
.lede, .faq-a, .card p, .step p { text-wrap: pretty; }
h1 { font-weight: 700; font-size: clamp(38px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(29px, 3.9vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
:focus-visible { outline: 2.5px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--berry-tint); color: var(--berry-deep); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { flex: none; }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 9px; }
.wordmark-text { font: 600 19px/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.wordmark-text span { color: var(--berry); }
.brand { text-decoration: none; display: inline-flex; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 13px; }
.btn-primary { background: var(--berry); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 18px -6px rgba(196, 36, 95, .55); }
.btn-primary:hover { background: var(--berry-deep); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #d6d3d1; background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--berry-deep); }
.btn-light:hover { background: var(--berry-50); }
.btn-ghost { color: var(--ink); padding: 0 6px; height: auto; }
.btn-ghost:hover { color: var(--berry); }
.btn .icon { transition: transform .15s ease; }
.btn:hover .icon { transform: translateX(2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; height: 68px; gap: 28px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-3); padding: 8px 12px; border-radius: 9px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); background: var(--bg-warm); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer; border-radius: 8px; }
.nav-mobile { border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; background: #fff; }
.nav-mobile a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- sections ---------- */
section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--berry);
}
.lede { font-size: clamp(18px, 2vw, 20px); line-height: 1.6; color: var(--ink-3); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .lede { margin: 18px auto 0; max-width: 620px; }
.center { text-align: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 820px; z-index: -1;
  background:
    radial-gradient(42% 46% at 50% 62%, rgba(236, 58, 107, .13), transparent 70%),
    radial-gradient(30% 34% at 78% 70%, rgba(134, 25, 111, .10), transparent 70%),
    radial-gradient(26% 30% at 22% 72%, rgba(31, 169, 113, .07), transparent 70%);
}
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 8px; margin-bottom: 26px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-3); text-decoration: none;
}
.pill b { background: var(--berry-tint); color: var(--berry-deep); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; }
.pill:hover { border-color: #d6d3d1; }
.pill-short { display: none; }
@media (max-width: 520px) { .pill-long { display: none; } .pill-short { display: inline; } }
.hero h1 { max-width: 800px; margin: 0 auto; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 640px; margin: 24px auto 0; }
.without { display: block; margin-top: 6px; color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: var(--green); }

/* ---------- product demo (browser frame) ---------- */
.demo-wrap { position: relative; margin: 64px auto 0; max-width: 1120px; }
.demo {
  position: relative; border-radius: 16px; background: #fff; overflow: hidden;
  border: 1px solid rgba(28, 25, 23, .1); box-shadow: var(--shadow-lg);
}
.demo-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; background: #f4f2f0; border-bottom: 1px solid var(--line); }
.demo-dots { display: flex; gap: 7px; }
.demo-dots i { width: 11px; height: 11px; border-radius: 50%; background: #dcd8d5; }
.demo-url {
  flex: 1; max-width: 420px; margin: 0 auto; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted);
}
.demo-url .icon { color: var(--faint); }
.demo-ext { display: flex; align-items: center; gap: 4px; width: 60px; justify-content: flex-end; }
.demo-ext span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #fff; border: 1px solid var(--line); }
.demo-body { display: grid; grid-template-columns: minmax(0, 1fr) 344px; }
.demo-page { position: relative; background: #f3f2ef; padding: 26px 30px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.demo-panel { position: relative; background: #fafaf9; border-left: 1px solid var(--line); aspect-ratio: 400 / 860; }
.demo-panel img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s ease; }
.demo-panel img + img { opacity: 0; }
.demo[data-step="done"] .demo-panel img + img, .demo[data-step="view"] .demo-panel img + img { opacity: 1; }

.li-card { background: #fff; border-radius: 12px; border: 1px solid #e3e1dd; overflow: hidden; }
.li-cover { height: 118px; background: linear-gradient(110deg, #d9d4ea 0%, #ead7df 45%, #f1e3d3 100%); }
.li-main { padding: 0 24px 22px; }
.li-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.li-avatar {
  width: 112px; height: 112px; margin-top: -62px; border-radius: 50%; border: 4px solid #fff;
  background: #ffedd5; color: #9a3412; display: grid; place-items: center; font: 600 38px/1 var(--font-body);
}
.li-name { margin-top: 10px; font: 600 24px/1.25 var(--font-body); color: #191919; letter-spacing: -.01em; }
.li-head { font-size: 15.5px; color: #3d3d3d; margin-top: 2px; }
.li-meta { font-size: 13.5px; color: #6b6b6b; margin-top: 6px; }
.li-meta span { color: #5c5c5c; font-weight: 600; }
.li-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.li-btn {
  height: 32px; padding: 0 16px; border-radius: 999px; border: 1px solid #6b6b6b; color: #3d3d3d; background: #fff;
  font: 600 14.5px/1 var(--font-body); display: inline-flex; align-items: center;
}
.li-btn.solid { background: #3d3d3d; border-color: #3d3d3d; color: #fff; }
.li-section { padding: 18px 24px; }
.li-section h5 { margin: 0 0 12px; font: 600 18px/1.2 var(--font-body); color: #191919; }
.li-job { display: flex; gap: 12px; }
.li-job + .li-job { margin-top: 14px; padding-top: 14px; border-top: 1px solid #ecebe8; }
.li-logo { width: 44px; height: 44px; border-radius: 6px; flex: none; display: grid; place-items: center; color: #fff; font: 700 15px/1 var(--font-body); }
.li-job b { display: block; font-size: 15px; color: #191919; font-weight: 600; }
.li-job div > span { display: block; font-size: 13.5px; color: #5c5c5c; }
.li-job small { display: block; font-size: 13px; color: #8a8a8a; }

/* Our button in LinkedIn's row: same look as the extension's (entrypoints/linkedin.content.ts). */
.stc-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 5px; border-radius: 8px;
  background: #fff; color: var(--berry-deep); border: 1px solid rgba(196, 36, 95, .35);
  font: 600 13px/1 var(--font-body); white-space: nowrap; position: relative;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.stc-btn .ic { position: relative; width: 18px; height: 18px; display: grid; place-items: center; }
.stc-btn .ic > * { position: absolute; transition: opacity .2s ease; }
.stc-btn .spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(149, 26, 75, .25); border-top-color: var(--berry); animation: spin .8s linear infinite; opacity: 0; }
.stc-btn .tick, .stc-btn .gdot { opacity: 0; }
.stc-btn .gdot { right: -2px; bottom: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1.5px #fff; }
.stc-btn .t { display: grid; }
.stc-btn .t > span { grid-area: 1 / 1; transition: opacity .2s ease; opacity: 0; }
.demo[data-step="idle"] .stc-btn .t .s-idle,
.demo[data-step="busy"] .stc-btn .t .s-busy,
.demo[data-step="done"] .stc-btn .t .s-done,
.demo[data-step="view"] .stc-btn .t .s-view { opacity: 1; }
.demo[data-step="busy"] .stc-btn .spin { opacity: 1; }
.demo[data-step="busy"] .stc-btn .logo-mark { opacity: 0; }
.demo[data-step="done"] .stc-btn .logo-mark { opacity: 0; }
.demo[data-step="done"] .stc-btn .tick { opacity: 1; }
.demo[data-step="view"] .stc-btn .gdot { opacity: 1; }
.demo[data-step="done"] .stc-btn { color: var(--green-text); border-color: rgba(31, 169, 113, .5); background: #f0faf5; }
.demo[data-step="view"] .stc-btn { color: var(--green-text); border-color: rgba(31, 169, 113, .45); }
.stc-btn .t .s-done, .stc-btn .t .s-view { color: var(--green-text); }
.demo[data-step="idle"] .stc-btn { box-shadow: 0 0 0 4px rgba(196, 36, 95, .12); animation: nudge 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(196, 36, 95, 0); } 50% { box-shadow: 0 0 0 5px rgba(196, 36, 95, .14); } }

.cursor {
  position: absolute; top: 0; left: 0; z-index: 3; width: 22px; height: 22px; pointer-events: none; opacity: 0;
  transition: transform .7s cubic-bezier(.3, .7, .2, 1), opacity .3s ease;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
}
.demo[data-step="idle"] .cursor { opacity: 1; }
.demo[data-step="busy"] .cursor { opacity: 1; }

/* The logo tab on the page's right edge (also from the extension). */
.edge-tab {
  position: absolute; right: 0; top: 46%; z-index: 2;
  display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 7px 0 5px;
  background: #fff; border: 1px solid rgba(28, 25, 23, .12); border-right: 0; border-radius: 13px 0 0 13px;
  box-shadow: -4px 6px 18px -8px rgba(28, 25, 23, .28);
}
.edge-tab .lg { position: relative; }
.edge-tab .dot { position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: var(--green); opacity: 0; transition: opacity .3s ease; }
.demo[data-step="done"] .edge-tab .dot, .demo[data-step="view"] .edge-tab .dot { opacity: 1; }
.edge-tab .grip { display: grid; grid-template-columns: 3px 3px; gap: 3px; }
.edge-tab .grip i { width: 3px; height: 3px; border-radius: 50%; background: #c4bfbb; }

.toast {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; transform: translate(-50%, 12px); opacity: 0;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); transition: opacity .35s ease, transform .35s ease;
}
.toast .icon { color: #6ee7b7; }
.demo[data-step="done"] .toast { opacity: 1; transform: translate(-50%, 0); }

.demo-caption { display: flex; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.demo-caption button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; height: 30px; padding: 0 12px;
  font: 500 13.5px/1 var(--font-body); color: var(--ink-3); cursor: pointer;
}
.demo-caption button[aria-pressed="true"] { border-color: var(--berry); color: var(--berry-deep); background: var(--berry-50); }

@media (max-width: 940px) {
  .demo-body { grid-template-columns: 1fr; }
  .demo-panel { display: none; }
  .edge-tab { top: 40%; }
}
@media (max-width: 560px) {
  .demo-page { padding: 14px; }
  .li-section.extra { display: none; }
  .li-main { padding: 0 16px 18px; }
  .li-avatar { width: 88px; height: 88px; margin-top: -48px; font-size: 30px; }
  .li-cover { height: 84px; }
  .li-name { font-size: 21px; }
  .demo-url { font-size: 11.5px; }
  .demo-ext { display: none; }
  .toast { font-size: 13px; bottom: 14px; }
  .edge-tab { display: none; }
}

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 30px 26px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font: 600 34px/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.fact span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 20px;
  background: var(--berry-tint); color: var(--berry-deep); font: 700 15px/1 var(--font-display);
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0 0 22px; font-size: 16px; color: var(--ink-3); }
.step-visual { margin: auto -6px 0; height: 120px; border-radius: 12px; background: var(--bg-warm); display: grid; place-items: center; overflow: hidden; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.mini-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 9px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink-3);
}
.mini-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); margin-left: -2px; }
.stc-static {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 8px; border-radius: 10px;
  background: #fff; color: var(--berry-deep); border: 1px solid rgba(196, 36, 95, .35);
  font: 600 15px/1 var(--font-body); box-shadow: 0 0 0 5px rgba(196, 36, 95, .1);
}
.stc-static.view { color: var(--green-text); border-color: rgba(31, 169, 113, .45); box-shadow: 0 0 0 5px rgba(31, 169, 113, .1); }
.stc-static .lg { position: relative; }
.stc-static .lg i { position: absolute; right: -2px; bottom: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1.5px #fff; }
.icon.inline { display: inline-block; vertical-align: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 128px; }
.feature.flip .feature-media { order: -1; }
.feature-copy h2 { margin-bottom: 18px; font-size: clamp(28px, 3.3vw, 40px); }
.feature-copy .lede { margin-bottom: 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.checks .icon { margin-top: 3px; color: var(--green); }
.feature-media {
  position: relative; border-radius: 26px; padding: 40px 0; display: grid; place-items: center;
  background: radial-gradient(70% 70% at 50% 40%, #fff 0%, transparent 70%), linear-gradient(160deg, #fbeef3 0%, #f6f1ee 55%, #eef7f2 100%);
  border: 1px solid var(--line-2);
}
.shot {
  width: min(360px, 82%); border-radius: 16px; overflow: hidden; background: #fafaf9;
  border: 1px solid rgba(28, 25, 23, .1); box-shadow: var(--shadow-lg);
}
.shot img { width: 100%; height: auto; }
.shot.crop { aspect-ratio: 400 / 640; }
.shot.crop img { object-fit: cover; object-position: top; height: 100%; }
.callout {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: 250px;
  padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 500; color: var(--ink-2); line-height: 1.35;
}
.callout .icon { color: var(--green); }
.callout.berry .icon { color: var(--berry); }
.callout.c-left { left: -18px; }
.callout.c-right { right: -18px; }
@media (max-width: 940px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-media { order: 0; }
  .feature + .feature { margin-top: 96px; }
  .callout.c-left { left: 12px; }
  .callout.c-right { right: 12px; }
}
@media (max-width: 480px) { .callout { display: none; } .feature-media { padding: 28px 0; } }

/* ---------- feature grid ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.card h3 { margin: 18px 0 8px; font-size: 18px; }
.card p { margin: 0; font-size: 15.5px; color: var(--ink-3); line-height: 1.6; }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--berry-50); color: var(--berry); border: 1px solid var(--berry-tint); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--bg-warm); color: var(--muted); font: 600 11.5px/1.5 var(--font-body); letter-spacing: .02em; vertical-align: 3px; }
@media (max-width: 940px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } }

/* ---------- safety (dark band) ---------- */
.night { position: relative; background: var(--night); color: var(--night-text); overflow: hidden; }
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 0%, rgba(236, 58, 107, .22), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(134, 25, 111, .25), transparent 70%);
}
.night .wrap { position: relative; }
.night h2, .night h3 { color: #fff; }
.night .eyebrow { color: var(--berry-pink); }
.night .lede { color: #b9b0bd; }
.never-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 52px; }
.never { padding: 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); }
.never h3 { font-size: 18px; margin-bottom: 18px; }
.never ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.never li { display: flex; gap: 12px; font-size: 16px; color: var(--night-text); }
.never li .icon { color: var(--berry-pink); margin-top: 2px; }
.access { margin-top: 18px; display: grid; grid-template-columns: auto 1fr 1fr; gap: 0; border-radius: var(--radius-lg); border: 1px solid var(--night-line); background: rgba(255, 255, 255, .03); }
.access > div { padding: 22px 26px; }
.access > div + div { border-left: 1px solid var(--night-line); }
.access h3 { font-size: 16px; }
.access p { margin: 6px 0 0; font-size: 15px; color: #b9b0bd; }
.access .ok { color: #6ee7b7; display: inline-flex; vertical-align: -4px; margin-right: 6px; }
.access-title { display: flex; align-items: center; gap: 10px; color: #fff; font: 600 16px/1.3 var(--font-display); }
.night a.more { color: #fff; }
@media (max-width: 860px) {
  .never-grid { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; }
  .access > div + div { border-left: 0; border-top: 1px solid var(--night-line); }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { position: relative; padding: 34px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.now { border-color: transparent; box-shadow: 0 0 0 2px var(--berry), var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--berry); color: #fff; font: 700 12px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font-size: 18px; color: var(--ink-3); font-family: var(--font-body); font-weight: 600; }
.price { margin: 14px 0 6px; font: 700 46px/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.price small { font: 500 16px/1 var(--font-body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-note { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.plan .checks { margin-bottom: 30px; }
.plan .checks li { font-size: 15.5px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.later .checks .icon { color: var(--faint); }
.fine { margin: 26px auto 0; max-width: 640px; text-align: center; font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- changelog ---------- */
.log { max-width: 760px; margin: 0 auto; }
.log-item { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.log-item time { font-size: 14.5px; color: var(--muted); padding-top: 3px; white-space: nowrap; }
.log-item h3 { font-size: 18px; margin-bottom: 8px; }
.log-item p, .log-item li { font-size: 16px; color: var(--ink-3); }
.log-item ul { margin: 0; padding-left: 18px; }
.log-item li + li { margin-top: 4px; }
.log-short .log-item { grid-template-columns: 170px 1fr; padding: 20px 0; }
.log-short .log-item p { margin: 0; }
@media (max-width: 600px) { .log-item, .log-short .log-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px;
  cursor: pointer; list-style: none; font: 600 17.5px/1.4 var(--font-body); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--berry-deep); }
.faq-sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--muted); transition: transform .2s ease; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-a { padding: 0 2px 24px; font-size: 16.5px; color: var(--ink-3); max-width: 680px; }
.faq-a p:last-child { margin-bottom: 0; }

.faq-group { max-width: 780px; margin: 64px auto 8px; font-size: 22px; }
.faq-groups > .faq-group:first-child { margin-top: 0; }

/* ---------- beta sign-up / final CTA ---------- */
.final { padding: 112px 0 120px; }
.final-card {
  position: relative; overflow: hidden; max-width: 980px; margin: 0 auto; padding: 64px 48px; border-radius: 32px; text-align: center;
  background: radial-gradient(60% 80% at 50% 0%, rgba(236, 58, 107, .12), transparent 70%), linear-gradient(180deg, #fff 0%, #fdf6f9 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.final-card .logo-mark { margin: 0 auto 26px; filter: drop-shadow(0 10px 20px rgba(196, 36, 95, .35)); }
.final-card .lede { max-width: 560px; margin: 16px auto 0; }
.beta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin: 34px auto 0; }
.beta-form .wide { grid-column: 1 / -1; }
.field {
  height: 54px; padding: 0 16px; border-radius: 13px; border: 1px solid #d6d3d1; background: #fff; color: var(--ink);
  font: 400 16px/1 var(--font-body); min-width: 0;
}
.field:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px rgba(196, 36, 95, .14); }
.beta-form select { appearance: none; padding-right: 36px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23736c67' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.beta-form .btn { justify-content: center; }
.form-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.form-note.form-error { color: #b42318; font-weight: 600; }
.form-done { display: none; margin-top: 30px; color: var(--green-text); font-weight: 600; }
.beta-form[data-done] { display: none; }
.beta-form[data-done] + .form-done { display: block; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 600px) {
  .final-card { padding: 44px 20px; border-radius: 24px; }
  .beta-form { grid-template-columns: 1fr; }
}

/* ---------- inner pages ---------- */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); max-width: 860px; margin: 0 auto; }
.page-head .lede { max-width: 660px; margin: 20px auto 0; }
.prose { max-width: 740px; margin: 0 auto; padding-bottom: 96px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 56px 0 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--berry-deep); text-underline-offset: 3px; }
.prose a.btn { color: #fff; }
.prose .note { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-warm); font-size: 15.5px; color: var(--ink-3); }
.prose .note p:last-child { margin: 0; }
.analytics-switch { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.analytics-switch[hidden] { display: none; }
.analytics-switch p { margin: 0; font-size: 15.5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--bg-soft); }
.prose code { font: 500 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-warm); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal .prose h2 { font-size: 22px; margin-top: 44px; }
.updated { font-size: 14.5px; color: var(--muted); }
.draft {
  max-width: 740px; margin: 0 auto 36px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--amber-tint); border: 1px solid #f6e3b4; color: var(--amber-text); font-size: 15px;
}
mark.todo { background: #fff1c2; color: #7c4a03; padding: 1px 6px; border-radius: 5px; font-weight: 600; font-size: .92em; }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto 88px; }
.support-grid .card a { color: var(--berry-deep); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 64px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr 1fr; gap: 36px; }
.footer-brand p { margin: 16px 0 0; max-width: 300px; color: var(--muted); }
.site-footer h4 { font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.site-footer a:not(.brand) { display: block; text-decoration: none; color: var(--ink-3); padding: 5px 0; }
.site-footer a:not(.brand):hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 24px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.footer-base p { margin: 0; }
.footer-company p { margin: 14px 0 0; color: var(--faint); font-size: 12.5px; }
.footer-base p + p { max-width: 560px; text-align: right; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; }
  .footer-base p + p { text-align: left; }
}

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  section { padding: 76px 0; }
  .hero { padding-top: 40px; }
  .section-head { margin-bottom: 40px; }
  .btn-lg { height: 52px; padding: 0 22px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- scroll reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- guides ---------- */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--berry-deep); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--faint); margin: 0 4px; }
.guide-head { max-width: 820px; padding: 56px 0 36px; }
.guide-head h1 { font-size: clamp(32px, 4.6vw, 48px); }
.guide-head .lede { margin: 18px 0 0; }
.guide-meta { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: 220px minmax(0, 740px); gap: 56px; align-items: start; }
.guide-toc { position: sticky; top: 92px; font-size: 14.5px; }
.guide-toc p { font: 600 12.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin: 6px 0 12px; }
.guide-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.guide-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; line-height: 1.4; }
.guide-toc a:hover { color: var(--ink); border-left-color: var(--berry); }
.guide-body { margin: 0; }
.guide-body > section:first-of-type h2, .guide-body .answer + section h2 { margin-top: 44px; }
.answer { background: var(--berry-50); border: 1px solid var(--berry-tint); border-radius: var(--radius); padding: 20px 22px 6px; }
.answer-label { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--berry-deep); margin: 0 0 10px; }
.answer p, .answer li { color: var(--ink); }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 48px 0 8px; padding: 22px 24px; border-radius: var(--radius); background: var(--night); color: var(--night-text); }
.guide-cta p { margin: 0; color: var(--night-text); font-size: 15.5px; }
.guide-cta strong { color: #fff; }
.guide-cta .guide-cta-h { font: 600 18px/1.3 var(--font-display); color: #fff; margin-bottom: 6px; }
.guide-cta-btn { flex: none; }
.prose .step-list { counter-reset: s; list-style: none; padding-left: 0; }
.prose .step-list > li { counter-increment: s; position: relative; padding-left: 40px; margin-top: 14px; }
.prose .step-list > li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--berry-tint); color: var(--berry-deep); font: 600 13.5px/26px var(--font-body); text-align: center; }
.prose table.compare th[scope="row"] { font-weight: 500; background: none; color: var(--ink); }
.prose table.compare .hl { background: var(--berry-50); }
.prose table.compare thead .hl { color: var(--berry-deep); }
.m-yes { color: var(--green); display: inline-flex; }
.m-no { color: var(--faint); display: inline-flex; }
.m-part { color: var(--amber-text); font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prose .callout-warn { padding: 16px 18px; border-radius: var(--radius); background: var(--amber-tint); color: var(--ink-2); font-size: 15.5px; }
.prose .callout-warn p:last-child { margin: 0; }
.sources ol { font-size: 14.5px; }
.sources p { font-size: 14.5px; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prose a.related-card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; }
.prose a.related-card:hover { border-color: var(--berry); }
.related-card b { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.related-card span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 104px; }
.guide-item { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; background: #fff; box-shadow: var(--shadow-sm); }
.guide-item:hover { border-color: var(--berry); }
.guide-item .eyebrow { margin-bottom: 10px; }
.guide-item h2 { font-size: 21px; line-height: 1.3; color: var(--ink); margin: 0; }
.guide-item p { color: var(--ink-3); margin: 10px 0 0; font-size: 15.5px; }
@media (max-width: 940px) {
  .guide-grid { grid-template-columns: 1fr; gap: 0; }
  .guide-toc { position: static; margin-bottom: 8px; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius); }
}
@media (max-width: 640px) {
  .guide-cta { flex-direction: column; align-items: flex-start; }
  .related-grid, .guide-list { grid-template-columns: 1fr; }
  .guide-head { padding-top: 36px; }
}
.muted { color: var(--muted); font-weight: 400; font-size: .8em; }
