/* SmoothSay site. Design system from the SmoothSay landing preview: cream + violet, numbered
   sections, playful stickers, framed illustrations. The live demo uses the real extension UI.
   One typeface for copy and headlines (the system UI font; self-hosted Inter where there is none).
   No framework, no external requests. */

@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Variable-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Signature'; src: url('/fonts/Kristi.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --paper: #fffbf6;
  --paper-2: #fffaf5;
  --lilac: #faf7ff;
  --card: #ffffff;
  --ink: #211c32;
  --muted: #625b6e;
  --faint: #6c6578;
  --line: #ebe5f0;
  --line-v: #e3daf6;
  --sel: #e5dbff;
  --accent: #7145ed;
  --accent-hover: #5830cd;
  --accent-soft: #f1ebff;
  --accent-fg: #ffffff;
  --yellow: #f0ba57;
  --sun: #ffd775;
  --rough: #d63b22;
  --ok: #146c46;
  --danger: #c2343b;
  --bar: #ffffff;
  --bar-fg: #211c32;
  --bar-hover: rgba(113, 69, 237, 0.08);
  --bar-shadow: 0 0 0 1px rgba(33, 28, 50, 0.07), 0 2px 4px -1px rgba(33, 28, 50, 0.06), 0 12px 32px -10px rgba(60, 36, 120, 0.22);
  --shadow: 0 22px 55px rgba(47, 34, 73, .11);
  --display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font: var(--display);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--sel); }
:focus-visible { outline: 3px solid #a98dff; outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1234px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { display: inline-block; width: 1.05em; height: 1.05em; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -.15em; }
[data-icon] svg { display: block; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.accent { color: var(--accent); }
.brand-dot { color: var(--accent); }
.eyebrow-sm { font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--faint); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 15px; border: 1px solid transparent; font: 750 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: 0 10px 24px rgba(112, 69, 237, .21); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 15px 30px rgba(112, 69, 237, .26); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #403552; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f4eaff; }
.btn-line { background: #fff; color: #34294b; border-color: #e3dcef; }
.btn-line:hover { background: #faf7ff; }
.btn-small { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 750; font-size: 15px; color: var(--ink); text-decoration: none; }
.text-link:hover { color: var(--accent); }

/* ---------- section kicker: number tile + label */
.kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; font-size: 13px; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: var(--accent-hover); }
.kicker span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 5px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12px; letter-spacing: 0; }
.section { padding: 112px 0; }
.h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.1; letter-spacing: -0.06em; font-weight: 800; }
.sub { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 38em; }
.sub a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--accent-hover); font-weight: 650; }
.section-intro { max-width: 820px; margin-bottom: 44px; }
.section-intro.centered, .demo-intro { text-align: center; margin: 0 auto 44px; }
.section-intro.centered .kicker, .demo-intro .kicker { justify-content: center; }
.section-intro.centered .sub, .demo-intro .sub { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .section { padding: 76px 0; } .h2 { font-size: clamp(34px, 9.4vw, 46px); } .sub { font-size: 16px; } }

/* ---------- announcement + header */
.announce { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; min-height: 36px; padding: 6px 16px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 650; text-align: center; }
.announce a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; margin: -10px 0; color: #d9caff; text-underline-offset: 3px; }
.announce .i { width: 13px; height: 13px; }
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: #b6ffb4; box-shadow: 0 0 0 3px rgba(182, 255, 180, .14); }
.site-header { position: sticky; top: 0; z-index: 70; height: 80px; background: rgba(255, 251, 246, .94); border-bottom: 1px solid #f1e9e3; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font: 800 24px/1 var(--display); letter-spacing: -0.065em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand img { border-radius: 11px; box-shadow: 0 4px 9px rgba(112, 69, 237, .14); }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.desktop-nav a { padding: 10px 0; font-size: 14.5px; font-weight: 700; color: #51495b; text-decoration: none; transition: color .2s; }
.desktop-nav a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .site-header { height: 68px; }
  .desktop-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f0eafa; cursor: pointer; }
  .menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--accent-hover); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px; padding: 8px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 24px rgba(28, 16, 52, .1); }
  .mobile-nav a { padding: 14px 6px; font-size: 16px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #f1ebf0; }
  .mobile-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) { .nav-cta { display: none; } .brand { font-size: 22px; } }
@media (max-height: 500px) and (orientation: landscape) { .site-header { position: static; } }

/* ---------- hero */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding: 84px 0 104px; background: radial-gradient(ellipse at 92% 24%, #f1eaff 0%, transparent 40%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: 24px; }
.hero-copy { position: relative; z-index: 4; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 7px 7px 7px 14px; border-radius: 999px; background: #f0eaff; border: 1px solid #e6dcff; color: #5e42bb; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow > .i { color: var(--accent); width: 15px; height: 15px; }
.eyebrow .soon { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid #e6dcff; font-size: 12px; letter-spacing: .08em; }
.hero-title { font-size: clamp(50px, 6vw, 86px); line-height: 1.04; letter-spacing: -0.07em; font-weight: 820; margin-bottom: 26px; }
.swoop { position: relative; white-space: nowrap; }
.swoop-line { position: absolute; left: 2px; right: -2px; bottom: -.12em; height: .16em; border-bottom: 5px solid var(--yellow); border-radius: 50%; transform: rotate(-2deg); }
.lede { max-width: 33em; font-size: 17.5px; line-height: 1.75; color: var(--muted); margin-bottom: 28px; }
.lede strong { color: var(--ink); font-weight: 800; }
.hero .signup { max-width: 520px; }
.hero .text-link { margin-top: 10px; }
.hero .store-cta { margin-bottom: 8px; }
.spark { position: absolute; color: #d0c1ff; pointer-events: none; }
.spark-a { width: 48px; height: 48px; left: 3%; top: 14%; }

.hero-art { position: relative; height: 590px; }
.hero-browser { position: absolute; left: 4%; right: 6%; top: 64px; height: 380px; border: 1px solid #e7dfed; border-radius: 19px; background: #fff; box-shadow: 0 22px 70px rgba(61, 45, 85, .13); transform: rotate(-2deg); }
.hb-top { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; background: #faf9fe; border-bottom: 1px solid #ece8f0; border-radius: 19px 19px 0 0; }
.hb-dots { display: flex; gap: 5px; }
.hb-dots i { width: 9px; height: 9px; border-radius: 50%; background: #fa8d8b; }
.hb-dots i:nth-child(2) { background: #fbc76c; }
.hb-dots i:nth-child(3) { background: #79c8aa; }
.hb-url { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto; min-width: 55%; padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid #eee9f3; color: #8a8398; font-size: 12px; }
.hb-url .br-lock { transform: scale(.8); }
.hb-body { padding: 4px 24px; }
.hb-head { display: flex; justify-content: space-between; padding: 14px 0 10px; font-size: 13px; }
.hb-head span { color: #a6a0b0; letter-spacing: .2em; }
.hb-field { padding: 8px 0; border-bottom: 1px solid #f0edf2; font-size: 13px; color: #6f6880; }
.hb-field b { color: #4e4860; font-weight: 650; margin-right: 6px; }
.hb-text { padding-top: 22px; font-size: 15px; line-height: 1.7; color: #362e47; }
.hb-sel { background: var(--sel); box-shadow: 3px 0 var(--sel), -3px 0 var(--sel); border-radius: 3px; }
.hero-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-ui .sa-toolbar { position: absolute; right: auto; left: 7%; top: 318px; z-index: 1; transform: rotate(-2deg) scale(.86); transform-origin: left top; animation: none; }
.hero-ui .sa-popover { position: absolute; left: auto; right: 0; top: 368px; width: 370px; resize: none; transform: rotate(1.5deg); animation: none; box-shadow: 0 25px 53px rgba(46, 31, 88, .2); }
.hero-ui .sa-popover .sa-pop-footer .sa-icon-btn { display: none; }
.hero-char { position: absolute; right: -6px; top: 0; z-index: 4; width: 160px; margin: 0; border: 6px solid #fff; border-radius: 22px; background: #fff; box-shadow: 0 18px 35px rgba(44, 30, 76, .14); transform: rotate(7deg); }
.hc-img { display: block; overflow: hidden; border-radius: 16px; }
.hero-char img { width: 138%; max-width: none; height: 170px; object-fit: cover; object-position: 0 30%; border-radius: 16px; }
.oops-label { position: absolute; top: -18px; right: -22px; padding: 7px 13px; border-radius: 11px; background: var(--sun); color: #332439; font-size: 18px; font-weight: 850; letter-spacing: -0.03em; transform: rotate(9deg); box-shadow: 0 5px 0 #eab658; }
.sticker { position: absolute; z-index: 4; left: -6px; bottom: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; background: #fff6cf; border: 1px solid #fae49b; color: #2e2a36; font-size: 14.5px; font-weight: 850; transform: rotate(-7deg); box-shadow: 0 8px 20px rgba(103, 80, 26, .11); }
.sticker .i { color: var(--accent); }
@media (max-width: 1100px) { .hero-ui .sa-popover { width: 340px; } .hero-ui .sa-toolbar { transform: rotate(-2deg) scale(.76); } }
@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-art { width: min(620px, 100%); margin: 0 auto; }
}
@media (max-width: 560px) {
  .eyebrow { font-size: 12px; letter-spacing: .07em; }
  .eyebrow .soon { display: none; }
  .hero-title { font-size: clamp(44px, 12.4vw, 60px); }
  .lede { font-size: 16.5px; }
  .hero-art { height: 520px; }
  .hero-browser { left: 0; right: 8px; top: 64px; height: 290px; }
  .hb-top { height: 38px; padding: 0 12px; }
  .hb-body { padding: 0 14px; }
  .hb-head { padding: 10px 0 6px; }
  .hb-field { padding: 6px 0; font-size: 12.5px; }
  .hb-text { padding-top: 12px; font-size: 14px; }
  .hero-ui .sa-toolbar { transform: rotate(-2deg) scale(.9); }
  .hero-ui .sa-popover { width: min(330px, 94%); right: -4px; }
  .hero-char { width: 104px; right: -2px; top: -4px; border-width: 4px; border-radius: 16px; }
  .hero-char img { height: 112px; }
  .hc-img { border-radius: 11px; }
  .oops-label { font-size: 14px; right: -8px; top: -14px; padding: 5px 9px; box-shadow: 0 3px 0 #eab658; }
  .sticker { left: 0; top: 4px; bottom: auto; font-size: 13px; padding: 8px 12px; }
  .spark-a { display: none; }
}

/* ---------- action strip */
.strip { overflow: hidden; height: 60px; display: flex; align-items: center; background: #f0eafa; border-block: 1px solid #eae0fa; color: #5f3fc0; }
.strip-track { display: flex; align-items: center; gap: 28px; white-space: nowrap; width: max-content; font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; animation: marquee 48s linear infinite; }
.strip-track b { font-size: 19px; color: #a48de8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 the problem */
.story { background: var(--paper-2); }
.story-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 64px; }
.story-visual { position: relative; margin: 0; padding: 16px 20px 40px 8px; }
.story-visual::before { content: ''; position: absolute; inset: 0 10px 18px 0; border-radius: 36px; background: #efe6ff; transform: rotate(-4deg); }
.story-frame { position: relative; overflow: hidden; border: 8px solid #fff; border-radius: 26px; background: #fff; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.story-frame img { width: 100%; height: auto; }
.story-msg { position: relative; z-index: 2; width: 76%; margin: -46px -4px 0 auto; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(46, 31, 88, .16); font-size: 16.5px; font-weight: 650; line-height: 1.45; color: var(--ink); transform: rotate(-1.5deg); }
.story-msg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.story-msg-head .i { width: 30px; height: 30px; color: var(--accent); }
.story-msg-head b { display: block; font-size: 15px; }
.story-msg-head small { display: block; font-size: 13px; color: var(--faint); font-weight: 500; line-height: 1.2; }
.story-caption { position: absolute; z-index: 3; left: -12px; bottom: 6px; padding: 10px 16px; border: 4px solid #fff; border-radius: 15px; background: #ffcf72; font-size: 15px; font-weight: 850; transform: rotate(-6deg); box-shadow: 0 10px 24px rgba(86, 60, 32, .13); }
.story-copy h2 em { position: relative; font-style: normal; color: var(--accent); white-space: nowrap; }
.story-copy h2 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; border-bottom: 4px solid #fac85c; border-radius: 50%; transform: rotate(-3deg); }
.story-quote { margin-top: 22px; font-size: 18px; font-style: italic; font-weight: 750; color: #413753; }
.story-text { margin-top: 14px; color: var(--muted); max-width: 34em; }
.story-punch { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; max-width: 34em; padding: 18px 20px; border-radius: 16px; background: #f2edff; color: #5a4f7d; font-size: 15.5px; line-height: 1.6; }
.story-punch .i { width: 24px; height: 24px; margin-top: 1px; color: var(--accent); }
.story-punch strong { color: #4a2fae; }
@media (max-width: 960px) { .story-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } .story-visual { max-width: 640px; } }
@media (max-width: 560px) { .story-msg { width: 92%; font-size: 15px; } .story-caption { font-size: 13px; left: -4px; } }

/* ---------- 02 use cases */
.features { background: var(--lilac); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { position: relative; overflow: hidden; padding: 26px; border: 1px solid #ebe5f2; border-radius: 24px; background: #fff; box-shadow: 0 5px 12px rgba(37, 27, 57, .06); transition: transform .2s var(--ease), box-shadow .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(37, 27, 57, .08); }
.feature-card::after { content: ''; position: absolute; top: -35px; right: -40px; width: 144px; height: 144px; border-radius: 50%; background: #f7f4ff; pointer-events: none; }
.feature-card > * { position: relative; z-index: 1; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #e8dfff; color: #6840e0; }
.icon-yellow { background: #fff2c5; color: #a26b00; }
.icon-mint { background: #dff4e9; color: #1f7651; }
.icon-lilac { background: #e4e1ff; color: #5d43c9; }
.icon-peach { background: #ffeedd; color: #b4652f; }
.icon-pink { background: #ffe7f0; color: #b8406f; }
.feature-mini { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 112px; margin: 14px 0 8px; font-size: 13px; line-height: 1.35; }
.feature-card h3 { font-size: 21px; letter-spacing: -0.04em; margin-bottom: 8px; }
.feature-card p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.mini-rewrite { flex-direction: column; align-items: flex-start; gap: 4px; }
.bad { padding: 7px 11px; border-radius: 8px; background: #f6f2f5; color: #7c7383; text-decoration: line-through; text-decoration-color: #e8797d; }
.mini-arrow { color: var(--accent); font-size: 18px; font-weight: 800; padding-left: 40%; line-height: 1; }
.good { padding: 8px 12px; border-radius: 8px; background: #ebe3ff; color: #4a2fae; font-weight: 800; }
.mini-reply { flex-direction: column; align-items: flex-start; }
.msg-in { padding: 8px 11px; border-radius: 10px 10px 10px 3px; background: #f3f0f2; color: #6a636e; }
.msg-out { align-self: flex-end; padding: 9px 12px; border-radius: 10px 10px 3px 10px; background: #ece7ff; color: #4c359e; font-weight: 750; }
.mini-sum { gap: 18px; }
.mini-sum .long, .mini-sum .short { display: flex; flex-direction: column; gap: 8px; width: 38%; }
.mini-sum .long i { height: 6px; border-radius: 4px; background: #e2dfe8; }
.mini-sum .long i:nth-child(2) { width: 82%; } .mini-sum .long i:nth-child(3) { width: 94%; } .mini-sum .long i:nth-child(4) { width: 65%; }
.mini-sum .short i { height: 7px; border-radius: 4px; background: #a58af5; }
.mini-sum .short i:nth-child(2) { width: 75%; } .mini-sum .short i:nth-child(3) { width: 55%; }
.sum-spark { color: var(--accent); font-size: 22px; }
.mini-explain { justify-content: flex-start; }
.complicated { padding: 10px 11px; border-radius: 8px; background: #f2f0f4; color: #6f687c; text-decoration: line-through; text-decoration-color: #f0907b; }
.mini-explain .mini-arrow { padding: 0; }
.simple { padding: 10px; border-radius: 8px; background: #eae4ff; color: #4a2fae; font-weight: 800; }
.mini-translate { justify-content: flex-start; }
.mini-translate > span:not(.swap) { padding: 11px 12px; border: 1px solid #e8e1ec; border-radius: 9px; font-weight: 800; font-size: 14px; color: #4b375a; }
.mini-translate .to { color: #5132c4 !important; border-color: #d8c9ff !important; background: #f1edff; }
.swap { color: var(--accent); font-size: 20px; }
.mini-custom { flex-direction: column; align-items: flex-start; gap: 6px; }
.tag { padding: 7px 11px; border-radius: 8px; background: #f0ecff; color: #5a38c7; font-weight: 800; }
.tag-2 { margin-left: 36px; background: #e9f4ed; color: #2f7556; }
.tag-3 { margin-left: 64px; background: #fff1e6; color: #95632f; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature-card { padding: 22px; } }

/* ---------- 03 live demo */
.try { background: var(--paper-2); }
.try-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }

/* ---------- 04 how it works */
.how { background: var(--lilac); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.step-card { padding: 28px; border: 1px solid #ebe6ee; border-radius: 22px; background: #fff; }
.step-number { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #eee8ff; color: #5a38c7; font-size: 13px; font-weight: 800; }
.step-graphic { position: relative; display: flex; align-items: center; justify-content: center; height: 140px; }
.step-line { max-width: 230px; text-align: center; font-size: 17px; font-weight: 700; line-height: 2.1; color: #5f5669; }
.step-line mark { padding: 3px 4px; border-radius: 3px; background: #e2d6ff; color: #4a2fae; }
.cursor { position: absolute; width: 24px; height: 24px; background: center / contain no-repeat; }
.c-text { right: 26%; bottom: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h2.5a1.5 1.5 0 0 1 1.5 1.5v15a1.5 1.5 0 0 1-1.5 1.5H9m6-18h-2.5M15 21h-2.5' fill='none' stroke='%23211c32' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.c-arrow { right: 24%; bottom: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9.5-7 1.6-3.2 6.4z' fill='%23211c32' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.micro-toolbar { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid #e9e2f1; border-radius: 12px; background: #fff; box-shadow: 0 9px 20px rgba(71, 48, 113, .12); font-size: 13px; font-weight: 700; color: #5f5669; transform: rotate(-3deg); }
.micro-toolbar > * { padding: 6px 9px; border-radius: 8px; }
.micro-toolbar b { background: var(--accent-soft); color: var(--accent-hover); }
.mt-brand { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border-radius: 8px; background: var(--accent); color: #fff; }
.result-bubble { padding: 14px 18px; border: 1px solid #d9c9ff; border-radius: 13px; background: #e9e2ff; color: #4a2fae; font-weight: 800; box-shadow: 0 7px 20px rgba(209, 188, 250, .32); }
.result-check { position: absolute; top: 26px; right: 16%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #3fa57d; color: #fff; box-shadow: 0 5px 9px rgba(88, 170, 139, .17); }
.step-card h3 { margin: 6px 0 8px; font-size: 21px; }
.step-card p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .steps-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }

/* ---------- a little help */
.personality { background: var(--paper-2); padding: 100px 0; }
.personality-panel { position: relative; display: grid; grid-template-columns: 43% 57%; align-items: center; min-height: 390px; overflow: hidden; border-radius: 31px; background: #6c43e7; color: #fff; box-shadow: 0 16px 35px rgba(101, 57, 202, .15); }
.personality-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 77% 20%, #9579ed 0%, transparent 45%); pointer-events: none; }
.personality-image { position: relative; z-index: 1; align-self: stretch; }
.personality-image img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%); }
.personality-copy { position: relative; z-index: 1; padding: 50px 50px 50px 28px; }
.light-kicker { font-size: 13px; letter-spacing: .14em; font-weight: 850; text-transform: uppercase; color: #e8e0ff; }
.personality-copy h2 { margin: 14px 0 16px; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.1; letter-spacing: -0.06em; }
.personality-copy h2 i { font-style: normal; color: #ffe89b; }
.personality-copy p:not(.light-kicker) { max-width: 30em; margin-bottom: 26px; color: #f3efff; font-size: 16.5px; }
.personality-deco { position: absolute; right: 6px; bottom: -50px; font-size: 120px; color: rgba(255, 255, 255, .14); }
@media (max-width: 760px) {
  .personality-panel { grid-template-columns: minmax(0, 1fr); }
  .personality-image img { height: 280px; object-position: center 30%; clip-path: none; }
  .personality-copy { padding: 30px 24px 36px; }
}

/* ---------- 05 privacy */
.trust { background: var(--lilac); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.promises { margin-top: 32px; display: grid; gap: 12px; }
.promises li { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid #ebe5f2; border-radius: 16px; background: #fff; color: var(--muted); font-size: 15.5px; }
.promises b { color: var(--ink); font-weight: 750; }
.p-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-hover); }
.trust .text-link { margin-top: 14px; color: var(--accent-hover); }
.founder { position: sticky; top: 110px; display: grid; gap: 14px; padding: 30px; border: 1px solid #ebe5f2; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.founder p:not(.eyebrow-sm) { color: var(--muted); }
.founder-sign { margin-top: 6px; }
.founder .signature { margin: 0; padding: 0.05em 0.25em 0.1em 0; color: var(--ink) !important; font: 400 64px/1.05 'Signature', 'Segoe Script', cursive; letter-spacing: 0; transform: rotate(-3deg); transform-origin: left center; }
.founder .sign-role { margin: 0; color: var(--muted); font: 500 14px/1.3 var(--font); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .founder { position: static; } }

/* ---------- 06 pricing */
.pricing { background: var(--paper-2); }
.pricing-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.toggle { display: inline-flex; padding: 4px; border: 1px solid #ebe5f2; border-radius: 14px; background: #fff; }
.toggle button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: none; color: #4f4860; font-size: 15px; font-weight: 700; cursor: pointer; }
.toggle button[aria-checked="true"] { background: var(--accent); color: #fff; }
.save { margin-left: 4px; padding: 2px 7px; border-radius: 6px; background: #def5ea; color: var(--ok); font-size: 13px; font-weight: 750; }
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid #ebe5f2; border-radius: 24px; background: #fff; box-shadow: 0 5px 12px rgba(37, 27, 57, .06); }
.plan-pro { background: #f8f5ff; border: 2px solid var(--accent); box-shadow: 0 18px 40px rgba(112, 69, 237, .12); }
.plan-for { margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.plan-pro .plan-for { color: var(--accent-hover); }
.plan-name { font-size: 24px; }
.price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amount { font: 820 clamp(56px, 6vw, 78px)/.95 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.per { color: var(--muted); }
.plan-note { margin-top: 8px; color: var(--muted); }
.plan-note b { color: var(--ink); }
.plan ul { margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 26px; color: var(--muted); }
.plan li b { color: var(--ink); font-weight: 750; }
.plan li::before { content: ''; position: absolute; left: 1px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.byok { margin-top: 20px; padding: 18px 22px; border: 1px dashed #d8ccf5; border-radius: 16px; background: #fff; }
.byok p { color: var(--muted); font-size: 15.5px; }
.byok b { color: var(--ink); }
.fine { margin-top: 18px; font-size: 14.5px; color: var(--faint); }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { padding: 24px; } }

/* ---------- 07 FAQ */
.faq-section { background: var(--lilac); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { padding: 0 20px; border: 1px solid #eae3f0; border-radius: 14px; background: #fff; }
.faq details[open] { box-shadow: 0 9px 20px rgba(93, 66, 135, .07); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 18px 0; font-size: 16.5px; font-weight: 750; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #f3efff; color: #6f4be3; font: 400 21px/1 var(--font); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 14px 0 20px; border-top: 1px solid #f0edf3; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.faq a { color: var(--accent-hover); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- final call to action */
.final-cta { background: var(--paper-2); padding: 88px 0 110px; }
.cta-panel { position: relative; overflow: hidden; padding: 76px 24px 72px; border-radius: 30px; background: #241d3f; color: #fff; text-align: center; }
.cta-panel::before, .cta-panel::after { content: ''; position: absolute; width: 490px; height: 490px; border: 1px solid rgba(116, 98, 165, .3); border-radius: 50%; }
.cta-panel::before { top: -260px; left: -155px; }
.cta-panel::after { right: -140px; bottom: -320px; }
.cta-kicker { position: relative; font-size: 13px; letter-spacing: .18em; font-weight: 850; text-transform: uppercase; color: #c6b2ff; }
.cta-panel h2 { position: relative; z-index: 1; max-width: 850px; margin: 20px auto 16px; font-size: clamp(42px, 5.6vw, 82px); line-height: 1.08; letter-spacing: -0.065em; }
.cta-panel h2 span { color: #c4b3ff; }
.cta-sub { position: relative; z-index: 1; max-width: 520px; margin: 0 auto 28px; color: #ddd6ee; font-size: 16.5px; }
.cta-spark { position: absolute; color: #e0cdff; font-size: 60px; }
.cta-spark.a { top: 50px; right: 90px; }
.cta-spark.b { bottom: 30px; left: 95px; }
.signup-final { position: relative; z-index: 1; max-width: 540px; margin: 0 auto; }
.signup-final .signup-form { border-color: transparent; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.signup-final .signup-note { color: #e4dbff; }
.signup-final .signup-note[data-kind="ok"] { color: #b6ffb4; }
.signup-final .signup-note[data-kind="error"] { color: #ffc2c5; }
.soon-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #99ebc0; vertical-align: 1px; }
@media (max-width: 640px) { .cta-panel { padding: 56px 18px; border-radius: 24px; } .cta-spark { display: none; } .final-cta { padding: 64px 0 80px; } }

/* ---------- footer (also legal pages) */
.footer { background: var(--paper-2); border-top: 1px solid #eee4e4; color: var(--muted); font-size: 14.5px; }
.footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding-top: 30px; padding-bottom: 24px; }
.footer-tag { color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: auto; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 700; color: #4f4860; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: grid; gap: 6px; padding-top: 18px; padding-bottom: 32px; border-top: 1px solid #f0e8e4; font-size: 13.5px; color: var(--faint); }
.footer-inner { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 8px; }
.footer-inner nav { display: flex; gap: 8px; margin-left: auto; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
.legal-note { font-size: 13.5px; color: var(--faint); padding-bottom: 36px; }
.footer-bottom .legal-note { padding-bottom: 0; }
@media (max-width: 760px) { .footer-links { margin-left: -10px; width: 100%; } .footer-inner { flex-wrap: wrap; } .footer-inner nav { margin-left: -8px; width: 100%; } }

/* ---------- reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tc-target.swapped { animation: none; }
  .strip-track { animation: none; }
  .btn:hover, .feature-card:hover { transform: none; }
}

/* ---------- signup */
.signup-form { display: flex; gap: 8px; padding: 6px; background: var(--card); border: 1.5px solid var(--line-v); border-radius: 16px; box-shadow: 0 10px 30px -18px rgba(60, 36, 120, .35); }
.signup-form input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 16px; font-size: 16.5px; }
.signup-form input:focus { outline: none; }
.signup-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--sel); }
.signup-form input[aria-invalid="true"] { color: var(--danger); }
.signup-note { margin-top: 10px; font-size: 14.5px; color: var(--faint); }
.signup-note[data-kind="error"] { color: var(--danger); }
.signup-note[data-kind="ok"] { color: var(--ok); font-weight: 600; font-size: 16px; }
@media (max-width: 420px) { .signup-form { flex-direction: column; border-radius: 16px; } .signup-form .btn { width: 100%; } }

/* ---------- live demo (real extension UI) */
.try-head { margin-bottom: 44px; }
.try-card { position: relative; min-height: 340px; background: var(--card); border: 1px solid var(--line-v); border-radius: 24px; padding: 18px 26px 26px; box-shadow: 0 30px 70px -30px rgba(70, 45, 140, .3); }
.tc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tc-head .tc-reset { margin-left: auto; }
.tc-where { font-size: 13.5px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.tc-reset { border: 1px solid var(--line-v); background: #fff; border-radius: 10px; color: var(--accent-hover); min-height: 36px; padding: 0 12px; font-size: 14px; cursor: pointer; color: var(--muted); }
.tc-body { padding-top: 72px; }
.tc-text { font-size: 19px; line-height: 1.7; }
.tc-target { cursor: text; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; outline-offset: 4px; }
.tc-target u { text-decoration: underline wavy var(--rough); text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-skip-ink: none; }
.tc-target.selected { background: var(--sel); }
.tc-target.swapped { animation: swapflash 1.6s ease; }
@keyframes swapflash { from { background: var(--sel); } to { background: transparent; } }
.tc-hint { margin-top: 18px; font-size: 14.5px; color: var(--faint); }
.tc-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.tc-layer .sa-float { position: absolute; pointer-events: auto; }
.tc-layer .sa-popover { max-width: calc(100% - 16px); }
.tc-layer .press { transform: scale(.96); }
.pointer { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 6; pointer-events: none; opacity: 0; transition: transform .75s cubic-bezier(.45, 0, .2, 1), opacity .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9.5-7 1.6-3.2 6.4z' fill='%23111' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pointer.on { opacity: 1; }
.pointer.text { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h2.5a1.5 1.5 0 0 1 1.5 1.5v15a1.5 1.5 0 0 1-1.5 1.5H9m6-18h-2.5M15 21h-2.5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.places { margin-top: 40px; color: var(--muted); font-size: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
@media (max-width: 560px) { .try-card { padding: 16px 16px 20px; } .tc-text { font-size: 17.5px; } .tc-body { padding-top: 64px; } }

/* ---------- see it in action: app tabs and app chrome */
.tc-where { text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--ink); }
.tc-playing { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-size: 12.5px; font-weight: 700; }
.tc-playing::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.tc-playing:not([hidden]) + .tc-reset { margin-left: 8px; }
.tc-pre { padding-top: 14px; font-size: 15px; color: var(--muted); }
.tc-pre:empty { display: none; }
.tc-field { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tc-field span { width: 60px; color: var(--faint); }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-author b { display: block; color: var(--ink); font-size: 15px; }
.tc-author small { font-size: 13px; }
.tc-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #dfe8f7; color: #2e5ea8; font-weight: 800; font-size: 14px; }
.tc-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #f2eff7; color: var(--ink); line-height: 1.5; }
.tc-msg b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.tc-label { margin-top: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.try-card .tc-body { padding-top: 64px; }
.try-card[data-app="support"] .tc-body, .try-card[data-app="chat"] .tc-body { padding-top: 58px; }
.try-card.is-playing { cursor: pointer; }
@media (max-width: 560px) { .tc-playing { font-size: 11.5px; } .tc-field span { width: 52px; } }
@media (prefers-reduced-motion: reduce) { .tc-playing::before { animation: none; } }
.is-playing .tc-reset { display: none; }

/* ---------- place icons and the support conversation */
.tc-target.tc-thread { display: grid; gap: 8px; padding: 4px; border-radius: 14px; }
.tc-bubble { display: block; justify-self: start; max-width: 85%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #f2eff7; font-size: 15.5px; line-height: 1.45; }
.tc-bubble b { display: block; font-size: 12.5px; color: var(--muted); }
.tc-bubble.tc-mine { justify-self: end; border-radius: 14px 14px 4px 14px; background: #ebe6f3; }
.tc-target.tc-thread.selected { background: var(--sel); }
.tc-target.tc-thread.selected .tc-bubble { background: rgba(255, 255, 255, .55); }
.try-card[data-app="support"] .tc-body { padding-top: 58px; }
.try-card[data-app="support"] .tc-text { font-size: 15.5px; }
.tc-compose { margin-top: 14px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; color: var(--faint); font-size: 15.5px; line-height: 1.5; }
.tc-compose.filled { color: var(--ink); border-color: var(--line-v); }
.tc-compose.swapped { animation: swapflash 1.6s ease; }

/* ---------- see it in action: a browser window */
.browser { max-width: 980px; margin: 0 auto; border-radius: 22px; background: #ece6f4; border: 1px solid var(--line-v); box-shadow: 0 40px 90px -40px rgba(70, 45, 140, .45); overflow: hidden; }
.br-top { display: flex; align-items: flex-end; gap: 14px; padding: 10px 14px 0; }
.br-dots { display: flex; gap: 7px; padding-bottom: 14px; }
.br-dots i { width: 11px; height: 11px; border-radius: 50%; background: #fc8681; }
.br-dots i:nth-child(2) { background: #f0c157; }
.br-dots i:nth-child(3) { background: #79c38d; }
.br-tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.br-tabs::-webkit-scrollbar { display: none; }
.br-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px 12px 0 0; background: none; color: var(--muted); font: 600 14px/1 var(--font); white-space: nowrap; cursor: pointer; }
.br-tab:hover { background: rgba(255, 255, 255, .5); color: var(--ink); }
.br-tab[aria-selected="true"] { background: #fff; color: var(--ink); }
.br-ico { width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.br-bar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.br-url { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #f4f1f8; color: var(--muted); font-size: 14px; }
.br-lock { width: 10px; height: 8px; border: 2px solid #9a93a6; border-radius: 2px; position: relative; top: 2px; }
.br-lock::before { content: ''; position: absolute; left: 0; right: 0; top: -7px; height: 6px; border: 2px solid #9a93a6; border-bottom: 0; border-radius: 5px 5px 0 0; }
.br-ext { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--line-v); }
.br-ext img { border-radius: 5px; }
.browser .try-card { border: 0; border-radius: 0; box-shadow: none; min-height: 360px; padding: 18px 28px 28px; }
.browser .tc-head { padding-bottom: 0; border-bottom: 0; min-height: 30px; }
.try-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 26px; }
.ta-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ta-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-v); background: #fff; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; box-shadow: 0 4px 14px rgba(60, 36, 120, .08); transition: transform .12s, background-color .15s, border-color .15s; }
.ta-chip svg { color: var(--accent); }
.ta-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.ta-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ta-chip.on svg { color: #fff; }
@media (max-width: 640px) {
  .browser { border-radius: 18px; }
  .br-dots { display: none; }
  .br-top { padding: 8px 8px 0; }
  .br-tab { padding: 0 12px; font-size: 13.5px; }
  .browser .try-card { padding: 14px 16px 22px; }
  .ta-label { width: 100%; text-align: center; }
}


/* ---------- the real extension UI, in the brand violet */
.sa-root[data-theme] { --sa-font: var(--font); }

/* ---------- 404 */
.notfound { min-height: 100vh; display: grid; align-items: center; padding: 64px 0; background: radial-gradient(ellipse at 85% 20%, #f1eaff 0%, transparent 45%), var(--paper); }
.notfound .brand { margin-bottom: 48px; }
.nf-actions { margin-top: 32px; }

/* ---------- legal pages */
/* legal pages */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav .btn-ink { background: var(--accent); color: var(--accent-fg); }
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 10px; }
.legal .updated { color: var(--faint); margin-bottom: 40px; font-size: 15px; }
.legal h2 { font: 700 21px/1.3 var(--display); margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; display: grid; gap: 4px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent); }
.legal code { font-size: .9em; font-family: var(--mono); color: var(--ink); background: var(--sel); padding: 1px 5px; border-radius: 4px; }
.draft-note { border: 1px dashed var(--line); padding: 12px 16px; border-radius: 12px; font-size: 14.5px; color: var(--muted); margin-bottom: 32px; }
