/* SmoothSay landing, v5: one clean flow (problem → fix → try → trust → price → join)
   in the design language of the SmoothSay landing source: cream, violet, rounded cards,
   numbered kickers, a few playful details. No framework, no third-party 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: #fff;
  --ink: #211c32;
  --muted: #645d70;
  --faint: #6c6578;
  --line: #ece5ef;
  --line-v: #e3daf6;
  --sel: #e2d6ff;
  --accent: #7145ed;
  --accent-hover: #5830cd;
  --accent-soft: #f1ebff;
  --accent-fg: #fff;
  --sun: #ffd775;
  --swoop: #f0ba57;
  --rough: #d63b22;
  --ok: #146c46;
  --danger: #c2343b;
  --shadow: 0 22px 55px rgba(47, 34, 73, .11);
  --card-shadow: 0 5px 14px rgba(37, 27, 57, .06);
  --font: 'DM Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.05em; line-height: 1.1; 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; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; 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; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -.15em; }
.nowrap { white-space: nowrap; }
.accent { color: var(--accent); }
.dot { color: var(--accent); }

/* ---------- 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 15.5px/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: none; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(112, 69, 237, .22); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3c3150; }
.btn-white { background: #fff; color: var(--ink); }
.btn-line { background: #fff; border-color: #e3dcef; color: #34294b; }
.btn-line:hover { background: #faf7ff; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 14.5px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 750; color: var(--accent-hover); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 70; background: rgba(255, 251, 246, .92); border-bottom: 1px solid #f1e9e3; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 22px; font-weight: 800; letter-spacing: -0.065em; text-decoration: none; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { padding: 12px 0; font-size: 15px; font-weight: 650; color: #4f4860; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 380px) { .brand span { display: none; } }

/* ---------- kickers and section rhythm */
.section { padding: 112px 0; }
.kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hover); }
.kicker span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12px; letter-spacing: 0; }
.h2 { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -0.06em; }
.sub { margin-top: 18px; max-width: 36em; font-size: 18px; color: var(--muted); }
.sub a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--accent-hover); font-weight: 700; }
.intro { margin-bottom: 52px; }
.intro.center { text-align: center; }
.intro.center .kicker { justify-content: center; }
.intro.center .sub { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .section { padding: 80px 0; } .sub { font-size: 16.5px; } }

/* ---------- the selected phrase with handles (hero, step 1) */
.sel { background: var(--sel); border-radius: 3px; padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sel .h { display: inline-block; width: .3em; height: 1.05em; vertical-align: -.16em; margin: 0 -.15em; position: relative; z-index: 1;
  background: radial-gradient(circle at 50% var(--dot), var(--accent) clamp(3px, .09em, 7px), transparent calc(clamp(3px, .09em, 7px) + 1px)), linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat; }
.sel .hs { --dot: .1em; }
.sel .he { --dot: calc(100% - .1em); margin-left: .02em; }

/* ---------- hero: copy + form on the left, the stage shows how on the right */
.hero { position: relative; padding: 72px 0 104px; background: radial-gradient(ellipse at 85% 10%, #f1eaff 0%, transparent 50%), var(--paper); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: #f0eaff; border: 1px solid #e6dcff; color: #5e42bb; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow > span[aria-hidden] { color: var(--accent); }
.soon { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid #e6dcff; font-size: 12px; }
.hero-title { margin-top: 26px; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.05; letter-spacing: -0.065em; font-weight: 820; }
.swoop { position: relative; display: inline-block; }
.swoop::after { content: ''; position: absolute; left: 2px; right: 4px; bottom: -.1em; height: .16em; border-bottom: 5px solid var(--swoop); border-radius: 50%; transform: rotate(-1.5deg); }
.lede { max-width: 32em; margin-top: 26px; font-size: 19px; color: var(--muted); }
.lede strong { color: var(--ink); }
.for-who { display: flex; gap: 10px; align-items: flex-start; max-width: 32em; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15.5px; font-weight: 600; color: #3f3651; box-shadow: var(--card-shadow); }
.for-who span { color: #d0577f; line-height: 1.5; }
.hero .signup { max-width: 520px; margin-top: 26px; }
.hero .store-cta { margin-top: 26px; }


/* the stage: a sample email where the real toolbar and result panel play once per loop */
.hero-stage { margin: 0; }
.stage { position: relative; height: 470px; }
.st-window { position: absolute; inset: 0 0 auto 0; height: 300px; border: 1px solid #e7dfed; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(61, 45, 85, .13); overflow: hidden; }
.st-top { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; background: #faf9fe; border-bottom: 1px solid #ece8f0; }
.st-dots { display: flex; gap: 6px; }
.st-dots i { width: 10px; height: 10px; border-radius: 50%; background: #fa8d8b; }
.st-dots i:nth-child(2) { background: #fbc76c; }
.st-dots i:nth-child(3) { background: #79c8aa; }
.st-url { display: flex; align-items: center; gap: 8px; margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #fff; border: 1px solid #eee9f3; color: #7f7890; font-size: 12.5px; }
.st-body { padding: 8px 22px; }
.st-field { padding: 9px 0; border-bottom: 1px solid #f0edf2; font-size: 14px; color: #6f6880; }
.st-field b { display: inline-block; width: 62px; color: #4e4860; font-weight: 650; }
.st-text { padding-top: 18px; font-size: 16.5px; line-height: 1.7; color: #362e47; }
.st-sel { border-radius: 3px; background-image: linear-gradient(var(--sel), var(--sel)); background-size: 0% 100%; background-repeat: no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-size .7s var(--ease); }
.st-sel.on { background-size: 100% 100%; }
.st-sel.done { animation: st-flash 1.6s ease; }
@keyframes st-flash { from { background-color: #d6f5e6; } to { background-color: transparent; } }
.st-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.st-ui .sa-float { position: absolute; animation: none; transition: opacity .25s, transform .25s; }
.st-ui .sa-toolbar { box-shadow: 0 14px 34px rgba(60, 36, 120, .2); }
.st-ui .sa-popover { right: 0; left: auto; width: min(400px, 100%); resize: none; box-shadow: 0 25px 53px rgba(46, 31, 88, .2); }
.st-ui .sa-popover .sa-pop-footer .sa-icon-btn { display: none; }
.st-ui .hidden { opacity: 0; transform: translateY(6px); }
.st-ui .press { transform: scale(.94); }
.st-steps { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.st-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: #6c6578; transition: background-color .25s, color .25s, border-color .25s; }
.st-steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f0ecf6; font-size: 12.5px; transition: background-color .25s, color .25s; }
.st-steps li.on { background: var(--accent-soft); border-color: #d9c9ff; color: var(--accent-hover); }
.st-steps li.on span { background: var(--accent); color: #fff; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .for-who { text-align: left; }
  .hero .signup { width: 100%; }
  .hero-stage { width: min(560px, 100%); margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 72px; }
  .eyebrow { font-size: 11.5px; }
  .soon { display: none; }
  .lede { font-size: 17px; }
  .stage { height: 440px; }
  .st-window { height: 280px; }
  .st-body { padding: 4px 14px; }
  .st-text { font-size: 15px; }
  .st-steps li { padding: 6px 10px 6px 6px; font-size: 13px; }
  .st-steps { gap: 6px; }
}
@media (max-width: 380px) { .st-steps li { font-size: 12px; } .st-steps li span { width: 20px; height: 20px; } }

/* ---------- signup */
.signup-form { display: flex; gap: 8px; padding: 6px; border: 1.5px solid var(--line-v); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px -18px rgba(60, 36, 120, .4); }
.signup-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; background: transparent; font-size: 16.5px; }
.signup-form input:focus { outline: none; }
/* The forms sit on light and dark panels: typed text is always dark ink, the placeholder a soft grey. */
.signup-form input:not([aria-invalid="true"]) { color: var(--ink); }
.signup-form input::placeholder { color: rgba(20, 14, 40, .45); opacity: 1; }
.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: 12px; 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: 700; font-size: 16px; }
@media (max-width: 460px) { .signup-form { flex-direction: column; } .signup-form .btn { width: 100%; } }

/* ---------- 01 the problem */
.problem { background: var(--paper-2); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.story { position: relative; margin: 0; padding: 14px 12px 40px 6px; }
.story::before { content: ''; position: absolute; inset: 0 12px 20px 0; border-radius: 34px; 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-reply { position: relative; z-index: 2; width: 80%; margin: -42px -6px 0 auto; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(46, 31, 88, .16); font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; transform: rotate(-1.5deg); }
.story-who { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--faint); }
.story-who b { color: var(--ink); }
.sticker { position: absolute; z-index: 3; left: -8px; top: -4px; padding: 9px 15px; border: 4px solid #fff; border-radius: 14px; background: #ffcf72; font-size: 15px; font-weight: 850; transform: rotate(-6deg); box-shadow: 0 10px 24px rgba(86, 60, 32, .13); }
.problem h2 em { position: relative; font-style: normal; color: var(--accent); white-space: nowrap; }
.problem h2 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 4px solid var(--swoop); border-radius: 50%; transform: rotate(-3deg); }
.flow-note { margin-top: 28px; font-weight: 750; }
.moments { display: grid; gap: 10px; margin-top: 14px; }
.moments li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 12px 14px 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--card-shadow); }
.moments q { font-size: 16px; font-style: italic; color: #3b3150; quotes: '“' '”'; }
.fix { flex: none; padding: 5px 10px; border-radius: 8px; background: #f0ecff; color: #4a2fae; font-size: 13px; font-weight: 800; white-space: nowrap; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } .story { max-width: 620px; } }
@media (max-width: 560px) { .story-reply { width: 94%; font-size: 15px; } }

/* ---------- 02 what you can do (cards from the landing preview) */
.features { background: var(--lilac); }
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.feature-card{background:#fff;border:1px solid #ebe5f2;border-radius:24px;padding:25px;min-height:319px;position:relative;overflow:hidden;box-shadow:0 5px 12px #251b3910;transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #251b3915}.feature-card:after{content:"";position:absolute;top:-35px;right:-40px;width:144px;height:144px;border-radius:50%;background:#f7f4ff;z-index:0;pointer-events:none}.card-icon{position:relative;z-index:1;display:grid;place-items:center;height:45px;width:45px;border-radius:13px;background:#e8dfff;color:#6840e0;font-size:23px;font-weight:800}.icon-yellow{background:#fff2c5;color:#bb7e06}.icon-mint{background:#dff4e9;color:#24815b}.icon-lilac{background:#e4e1ff;color:#6d51d5}.icon-peach{background:#fff0e2;color:#cd804e}.icon-pink{background:#ffe7f0;color:#c65485}.feature-mini{height:105px;position:relative;z-index:1;margin:12px 0 5px;display:flex;align-items:center;justify-content:center}.feature-card h3{margin-bottom:8px}.feature-card p{font-size:13.2px;line-height:1.7;color:#756d80;margin-bottom:0}.rewrite-mini{flex-direction:column;gap:4px;align-items:flex-start}.bad-text{padding:8px 12px;background:#f6f2f5;color:#918898;font-size:12px;border-radius:8px;text-decoration:line-through;text-decoration-color:#f0989b}.feature-arrow{color:#7355ec;padding-left:45%;font-size:19px;height:18px;line-height:18px}.good-text{padding:9px 13px;background:#ebe3ff;color:#5132b4;font-weight:800;border-radius:8px;font-size:13px}.reply-mini{align-items:flex-start;flex-direction:column;gap:10px}.message-in{padding:9px 11px;border-radius:10px 10px 10px 3px;background:#f3f0f2;color:#777079;font-size:11px}.message-out{align-self:flex-end;max-width:93%;padding:10px 12px;border-radius:10px 10px 3px 10px;background:#ece7ff;color:#4c359e;font-size:11px;font-weight:700}.message-out span{color:#5d46ce}.summary-mini{gap:18px}.long-lines,.short-lines{width:38%;display:flex;flex-direction:column;gap:8px}.long-lines i{height:6px;width:100%;background:#e2dfe8;border-radius:4px}.long-lines i:nth-child(2){width:82%}.long-lines i:nth-child(3){width:94%}.long-lines i:nth-child(4){width:65%}.short-lines i{height:7px;width:95%;background:#a58af5;border-radius:4px}.short-lines i:nth-child(2){width:75%}.short-lines i:nth-child(3){width:55%}.sum-spark{color:var(--accent);font-size:24px}.explain-mini{gap:10px;justify-content:flex-start}.complicated{border-radius:8px;background:#f2f0f4;color:#797188;font-size:12px;padding:12px 11px;text-decoration:line-through;text-decoration-color:#fb9f89}.explain-chevron{font-size:22px;color:var(--accent);font-weight:800}.simple{max-width:143px;background:#eae4ff;border-radius:8px;font-size:11px;line-height:1.4;font-weight:800;padding:10px;color:#5940c7}.translate-mini{gap:11px;justify-content:flex-start}.translate-mini>span:not(.swap-circle){font-size:15px;font-weight:800;color:#4b375a;border:1px solid #e8e1ec;padding:12px;border-radius:9px}.translate-mini>span:last-child{color:#6342d3;border-color:#d8c9ff;background:#f1edff}.swap-circle{color:var(--accent);font-size:21px}.custom-mini{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:6px}.custom-tag{display:inline-block;font-size:12px;font-weight:800;background:#f0ecff;color:#6744d3;padding:8px 11px;border-radius:8px}.custom-tag:nth-child(2){margin-left:39px;background:#e9f4ed;color:#4a896e}.custom-tag:nth-child(3){margin-left:68px;background:#fff1e6;color:#aa7a47}
.feature-card h3 { font-size: 21px; letter-spacing: -0.04em; }
.feature-card p { font-size: 15px; color: var(--muted); }
.feature-card .bad-text, .feature-card .complicated { color: #6f6779; }
.feature-card .message-in { color: #5f5866; font-size: 12px; }
.feature-card .message-out { font-size: 12px; }
.feature-card .simple { font-size: 12px; }
.feature-card .custom-tag:nth-child(2) { color: #2f7556; }
.feature-card .custom-tag:nth-child(3) { color: #8a5a2c; }
.pro-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; vertical-align: 3px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature-card { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .feature-card:hover { transform: none; } }

/* ---------- 03 try it */
.try { background: var(--paper-2); }
.demo { max-width: 1000px; margin: 0 auto; border: 1px solid #e8dfef; border-radius: 28px; background: #fff; box-shadow: 0 18px 55px rgba(60, 39, 89, .08); overflow: hidden; }
.demo-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; padding: 16px 18px; background: #fbfaff; border-bottom: 1px solid #f0eaf3; }
.demo .browser { margin: 22px 24px 0; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; padding: 16px 24px; border-top: 1px solid #f0eaf3; font-size: 14px; color: var(--faint); }
@media (max-width: 640px) { .demo-foot { flex-direction: column; text-align: center; padding: 16px; } .demo-foot .btn { width: 100%; white-space: normal; } }
@media (max-width: 640px) { .demo .browser { margin: 12px 10px 0; } .demo-bar { padding: 12px; } }

/* ---------- 04 privacy */
.trust { background: var(--lilac); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.promises { display: grid; gap: 12px; margin-top: 32px; }
.promises li { position: relative; padding: 16px 18px 16px 52px; border: 1px solid #ebe5f2; border-radius: 16px; background: #fff; color: var(--muted); font-size: 16px; }
.promises li::before { content: '✓'; position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 900; }
.promises b { color: var(--ink); }
.founder { position: sticky; top: 100px; display: grid; gap: 12px; padding: 30px; border-radius: 26px; background: #241d3f; color: #fff; overflow: hidden; }
.founder::before { content: ''; position: absolute; width: 320px; height: 320px; right: -150px; top: -170px; border: 1px solid rgba(116, 98, 165, .35); border-radius: 50%; }
.founder p { position: relative; color: #ddd6ee; font-size: 16px; }
.founder .founder-k { font-size: 12.5px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: #c6b2ff; }
.founder .signature { margin-top: 8px; color: #fff; font: 400 60px/1.05 'Signature', 'Segoe Script', cursive; transform: rotate(-3deg); transform-origin: left center; }
.founder .sign-role { font-size: 14px; color: #c7bedb; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .founder { position: relative; top: auto; } }

/* ---------- 05 pricing */
.pricing { background: var(--paper-2); }
.toggle { display: inline-flex; margin-top: 28px; padding: 5px; border: 1px solid #ebe5f1; border-radius: 15px; background: #fff; box-shadow: var(--card-shadow); }
.toggle button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 11px; background: none; color: #4f4860; font-size: 15px; font-weight: 750; cursor: pointer; }
.toggle button[aria-checked="true"] { background: var(--accent); color: #fff; }
.save { margin-left: 6px; padding: 3px 7px; border-radius: 6px; background: #dff4e9; color: #1f6e4c; font-size: 12.5px; }
.toggle button[aria-checked="true"] .save { background: rgba(255, 255, 255, .2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid #ebe5f2; border-radius: 26px; background: #fff; box-shadow: var(--card-shadow); }
.plan h3 { font-size: 26px; }
.plan-for { margin-top: 4px; font-size: 15px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 4px; }
.amount { font-size: 64px; line-height: 1; font-weight: 820; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.per { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan-note { font-size: 14.5px; color: var(--muted); }
.checks { display: grid; gap: 11px; margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid #f0edf3; flex: 1; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: #4f4860; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #eee8ff; color: var(--accent); font-size: 11px; font-weight: 900; }
.checks b { color: var(--ink); }
.plan .btn { width: 100%; }
.plan-pro { background: #241d3f; border-color: #241d3f; color: #fff; box-shadow: 0 25px 55px rgba(36, 29, 63, .25); }
.plan-pro::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 85% 0%, rgba(149, 121, 237, .45), transparent 50%); pointer-events: none; }
.plan-pro > * { position: relative; }
.plan-pro .plan-for, .plan-pro .per, .plan-pro .plan-note { color: #d0c7e7; }
.plan-pro .checks { border-color: rgba(255, 255, 255, .12); }
.plan-pro .checks li { color: #ece6fb; }
.plan-pro .checks b { color: #fff; }
.plan-pro .checks li::before { background: rgba(255, 255, 255, .14); color: #ffe89b; }
.plan-tag { position: absolute !important; top: -14px; left: 32px; padding: 6px 12px; border-radius: 9px; background: var(--sun); color: #332439; font-size: 12.5px; font-weight: 850; box-shadow: 0 4px 0 #eab658; transform: rotate(-2deg); }
.fine { max-width: 900px; margin: 22px auto 0; text-align: center; font-size: 14px; color: var(--faint); }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; } .plan-key { grid-column: 1 / -1; } }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; gap: 34px; } .plan { padding: 26px; } .plan-key { grid-column: auto; } }

/* ---------- FAQ */
.faq-section { background: var(--lilac); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 0 20px; border: 1px solid #eae3f0; border-radius: 15px; 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: 17px; 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: 28px; height: 28px; border-radius: 8px; background: #f3efff; color: var(--accent); font-size: 21px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 14px 0 20px; border-top: 1px solid #f0edf3; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- join */
.join { padding: 96px 0 112px; background: var(--paper-2); }
.join-panel { position: relative; overflow: hidden; padding: 80px 24px 72px; border-radius: 32px; background: #241d3f; color: #fff; text-align: center; }
.join-panel::before, .join-panel::after { content: ''; position: absolute; width: 490px; height: 490px; border: 1px solid rgba(116, 98, 165, .3); border-radius: 50%; }
.join-panel::before { top: -260px; left: -155px; }
.join-panel::after { right: -140px; bottom: -320px; }
.join-k { position: relative; font-size: 13px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; color: #c6b2ff; }
.join-sub { position: relative; margin: -14px auto 28px; max-width: 34em; color: #ddd6ee; font-size: 17px; }
.join-panel h2 { position: relative; margin: 20px auto 34px; font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.065em; }
.join-panel h2 span { color: #c4b3ff; }
.join .signup { position: relative; z-index: 1; max-width: 540px; margin: 0 auto; }
.join .signup-form { border-color: transparent; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.join .signup-note { color: #e4dbff; }
.join .signup-note[data-kind="ok"] { color: #b6ffb4; }
.join .signup-note[data-kind="error"] { color: #ffc2c5; }
.spark { position: absolute; color: #e0cdff; font-size: 58px; }
.spark.a { top: 46px; right: 88px; }
.spark.b { bottom: 30px; left: 92px; }
@media (max-width: 640px) { .join { padding: 64px 0 80px; } .join-panel { padding: 56px 18px; border-radius: 24px; } .spark { display: none; } }

/* ---------- footer */

.footer .brand { color: var(--ink); }
.footer { border-top: 1px solid #eee4e4; background: var(--paper-2); color: var(--muted); font-size: 15px; }
.footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; padding-bottom: 14px; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { padding: 12px 0; font-weight: 700; color: #4f4860; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.legal-note { padding-bottom: 32px; font-size: 13.5px; color: var(--faint); }

/* ---------- 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; }
  .btn:hover { transform: none; }
  .tc-target.swapped { animation: none; }
}
.sa-root[data-theme] { --sa-font: var(--font); }

/* ---------- 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); }


/* ---------- demo action chips (on top of the window) */
.ta-label { font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: #5a3fc4; }
.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 15px; border-radius: 12px; border: 1px solid #ebe5f1; background: #fff; color: #3f3651; font: 750 14.5px/1 var(--font); cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s, color .15s; }
.ta-chip svg { color: var(--accent); }
.ta-chip:hover { background: #f4eeff; color: var(--accent-hover); transform: translateY(-1px); }
.ta-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 7px 14px rgba(112, 69, 237, .18); }
.ta-chip.on svg { color: #fff; }
.demo .try-actions { margin-top: 0; }
.demo .browser { box-shadow: 0 18px 40px -24px rgba(70, 45, 140, .35); }
.browser .try-card { min-height: 300px; }
.br-tab { color: #574f68; }
@media (max-width: 640px) {
  .ta-label { width: 100%; text-align: center; }
  .ta-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px; }
  .ta-chips::-webkit-scrollbar { display: none; }
  .ta-chip { flex: none; }
}

/* ---------- 04 Pro */
.pro { background: var(--paper-2); padding-top: 24px; }
.pro-panel { position: relative; overflow: hidden; padding: 56px; border-radius: 32px; background: #241d3f; color: #fff; }
.pro-panel::before { content: ''; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(149, 121, 237, .45), transparent 65%); pointer-events: none; }
.pro-head { position: relative; max-width: 720px; }
.kicker-light { color: #c6b2ff; }
.pro-accent { color: #c4b3ff; }
.pro .sub { color: #d6cde9; }
.pro-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pro-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: #2f2850; }
.pro-card h3 { font-size: 20px; letter-spacing: -.035em; }
.pro-card p { color: #d6cde9; font-size: 15.5px; }
.pro-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.pro-wide h3 { font-size: 24px; margin-bottom: 8px; }
.pro-art { padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); }
.art-refine { display: grid; gap: 10px; }
.ar-result { font-size: 15px; line-height: 1.55; color: #2c2440 !important; }
.ar-ask { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; border: 1.5px solid var(--accent); border-radius: 12px; font-size: 14px; color: #3b3150 !important; box-shadow: 0 0 0 3px var(--sel); }
.ar-ask b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; }
.ar-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-chips span { padding: 5px 10px; border-radius: 999px; border: 1px solid #e3daf6; font-size: 12.5px; font-weight: 700; color: #4a2fae; }
.art-own { display: flex; flex-wrap: wrap; gap: 6px; }
.art-own span { padding: 6px 10px; border-radius: 9px; background: #f0ecff; color: #4a2fae; font-size: 13px; font-weight: 750; }
.art-own .add { background: #fff; border: 1px dashed #c9b8f5; }
.art-long { display: grid; gap: 10px; }
.art-long p { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; font-size: 13px; color: #3b3150 !important; }
.art-long span { font-weight: 800; }
.art-long i { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, #a58af5, var(--accent)); }
.art-long p:first-child i { background: #d9d2e6; }
.art-long b { font-variant-numeric: tabular-nums; }
.art-day { text-align: center; }
.art-day .big { font-size: 44px; font-weight: 820; letter-spacing: -.06em; line-height: 1; color: var(--accent) !important; }
.art-day p { color: #5f5669 !important; font-size: 13.5px; }
.pro-cta { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; color: #d6cde9; font-size: 15px; }
@media (max-width: 960px) { .pro-grid { grid-template-columns: minmax(0, 1fr); } .pro-wide { grid-template-columns: minmax(0, 1fr); gap: 16px; } .pro-panel { padding: 40px 24px; } }
@media (max-width: 640px) { .pro-panel { padding: 32px 18px; border-radius: 24px; } .pro-cta .btn { width: 100%; } }

/* ---------- demo: "Ask for changes" is labelled as a Pro feature */
.tc-layer .sa-pro-note { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--sa-fg-muted, #6c6578); }
.tc-layer .sa-pro-badge { padding: 1px 7px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }

.art-tweak { display: grid; gap: 8px; }
.tw-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-row span { padding: 5px 10px; border-radius: 999px; border: 1px solid #e3daf6; font-size: 12.5px; font-weight: 750; color: #4a2fae !important; }
.tw-row .on { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.pro-card .tw-before { font-size: 13.5px; line-height: 1.45; color: #7a7284 !important; text-decoration: line-through; text-decoration-color: rgba(214, 59, 34, .5); }
.pro-card .tw-after { padding: 7px 10px; border-radius: 9px; background: #efe8ff; font-size: 14px; font-weight: 750; color: #3d2a91 !important; }
.art-model { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.art-model span { padding: 6px 10px; border-radius: 9px; background: #f0ecff; color: #4a2fae; font-size: 13px; font-weight: 750; }
.pro-card .art-model p { width: 100%; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--accent) !important; }
.caps-more a { color: var(--accent-hover); font-weight: 750; padding: 12px 0; margin: -12px 0; }

/* ---------- demo: steady size, one status line, a visible "done" */
.browser .try-card { min-height: 600px; }
.browser .try-card[data-app="support"] { min-height: 700px; }
@media (max-width: 640px) { .browser .try-card { min-height: 760px; } .browser .try-card[data-app="support"] { min-height: 910px; } }
.tc-target u { text-decoration: none; }
.tc-hint { display: none; }
.tc-diff { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: #e9f7f0; color: #1d5a40; font-size: 14.5px; line-height: 1.5; }
.tc-diff svg { flex: none; margin-top: 3px; color: #1f8a5c; }
.tc-diff b { margin-right: 6px; }
.tc-diff s { color: #5d6b64; text-decoration-color: rgba(214, 59, 34, .5); }
.demo-status { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin: 16px 24px 0; padding: 12px 14px; border-radius: 16px; background: #fbfaff; border: 1px solid #f0eaf3; }
.demo-status .st-steps { margin: 0; justify-content: flex-start; }
.demo-say { font-size: 15px; font-weight: 650; color: #3f3651; }
.try.section { padding-top: 92px; }
.try .intro { margin-bottom: 30px; }
#try { scroll-margin-top: 84px; }
@media (max-width: 640px) { .demo-status { margin: 12px 10px 0; flex-direction: column; align-items: stretch; text-align: center; } .demo-status .st-steps { justify-content: center; } }
.try .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.try .sub { margin-top: 10px; font-size: 17px; }
.browser .try-card { min-height: 570px; }
.browser .try-card[data-app="support"] { min-height: 700px; }
@media (max-width: 640px) { .browser .try-card { min-height: 760px; } .browser .try-card[data-app="support"] { min-height: 910px; } }
/* Privacy now comes before Pro; Pro leads straight into pricing */
.pro { padding-top: 104px; }
.pro + .pricing { padding-top: 64px; }

/* ---------- "works where you write": app logos (as provided by their owners, unaltered) */
.works-in { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.works-label { width: 100%; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.apps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.app { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--card-shadow); transition: transform .2s var(--ease), border-color .2s; }
.app:hover { transform: translateY(-2px); border-color: var(--line-v); }
.app img { width: 20px; height: 20px; object-fit: contain; }
.works-more { width: 100%; padding-left: 2px; font-size: 13.5px; }
@media (max-width: 980px) { .works-in { justify-content: center; } .works-label, .works-more { text-align: center; } .apps { justify-content: center; } }

/* ---------- demos: the pointer's hover and press look like the real extension */
.st-ui .sa-tb-btn.hovering, .tc-layer .sa-tb-btn.hovering { background: var(--sa-hover); color: var(--sa-accent-hover); }
.st-ui .sa-tb-btn.hovering svg, .tc-layer .sa-tb-btn.hovering svg { color: var(--sa-accent); }
.st-ui .sa-tb-btn.press, .tc-layer .sa-tb-btn.press { background: var(--sa-active); }
.st-ui .sa-btn-primary.hovering, .tc-layer .sa-btn-primary.hovering { background: var(--sa-accent-hover); }
.st-ui .sa-btn.hovering:not(.sa-btn-primary), .tc-layer .sa-btn.hovering:not(.sa-btn-primary) { background: var(--sa-hover); }
.st-ui.instant .sa-float { transition: none !important; }

/* ---------- hero: try it yourself on the sample email */
.st-try { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 6px; margin-top: 12px; }
.st-try-label { margin-right: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hover); }
.st-chip { min-height: 38px; padding: 0 12px; border: 1px solid #e3daf6; border-radius: 10px; background: #fff; color: #3f3651; font: 700 14px/1 var(--font); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.st-chip:hover { background: #f4eeff; color: var(--accent-hover); }
.st-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-reset { min-height: 38px; padding: 0 10px; border: 0; background: none; color: var(--accent-hover); font: 700 14px/1 var(--font); cursor: pointer; }
.st-reset:hover { text-decoration: underline; }
@media (max-width: 640px) { .st-chip { min-height: 40px; font-size: 13.5px; } }
.st-reset { min-width: 38px; font-size: 18px; border-radius: 10px; }
.st-reset:hover { background: #f4eeff; text-decoration: none; }
/* The email window fills the stage: the result panel floats over the compose area (no empty gap). */
.st-window { inset: 0; height: auto; }
.stage { height: 470px; }
@media (max-width: 640px) { .stage { height: 492px; } }
.st-ui, .st-ui * { pointer-events: none !important; }
@media (max-width: 360px) { .stage { height: 500px; } }

/* ---------- 02 what you can do: each action at work in the real result panel */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feat { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ebe5f2; border-radius: 24px; background: #fff; box-shadow: var(--card-shadow); }
.feat-ui { display: flex; flex-direction: column; gap: 12px; min-height: 330px; padding: 20px 20px 22px; background: linear-gradient(180deg, #f8f5ff, #fdfcff); border-bottom: 1px solid #f0ebf6; }
.feat-place { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a7fa0; }
.feat-src { font-size: 16px; line-height: 1.6; color: #2c2440; }
.feat-sel { border-radius: 3px; background-image: linear-gradient(var(--sel), var(--sel)); background-size: 0% 100%; background-repeat: no-repeat; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-size .6s var(--ease); }
.feat-sel.on { background-size: 100% 100%; }
.feat-bubble { display: inline-block; max-width: 92%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid #ece6f3; }
.feat-bubble b { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--faint); }
.feat-pop .sa-float { position: static; width: 100%; max-width: 460px; margin-left: auto; animation: none; box-shadow: 0 16px 36px rgba(46, 31, 88, .16); resize: none; }
.feat-pop .sa-pop-footer .sa-icon-btn { display: none; }
.feat-pop, .feat-pop * { pointer-events: none; }
.feat-copy { padding: 20px 22px 24px; }
.feat-copy h3 { font-size: 21px; letter-spacing: -.035em; }
.feat-copy p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
.feat-custom { grid-column: 1 / -1; flex-direction: row; }
.feat-custom .feat-ui { flex: 1.2; border-bottom: 0; border-right: 1px solid #f0ebf6; }
.feat-custom .feat-copy { flex: 1; align-self: center; padding: 28px; }
.feat-mine { display: flex; flex-wrap: wrap; gap: 6px; }
.feat-mine span { padding: 6px 10px; border-radius: 9px; background: #fff; border: 1px solid #e6def4; color: #4a2fae; font-size: 13px; font-weight: 750; }
.feat-mine .on { background: var(--accent); border-color: var(--accent); color: #fff; }
.feat-mine .add { border-style: dashed; }
@media (max-width: 900px) { .feats { grid-template-columns: minmax(0, 1fr); } .feat-custom { flex-direction: column; } .feat-custom .feat-ui { border-right: 0; border-bottom: 1px solid #f0ebf6; } }
@media (max-width: 560px) { .feat-ui { padding: 16px 14px 18px; min-height: 0; } .feat-src { font-size: 15px; } }

/* Tiles: Ask for changes and Your own actions (both Pro) sit side by side at the end */
.feat-custom { grid-column: auto; flex-direction: column; }
.feat-custom .feat-ui { border-right: 0; border-bottom: 1px solid #f0ebf6; }
.feat-custom .feat-copy { align-self: auto; padding: 20px 22px 24px; }
.feat-ui { min-height: 360px; }
/* The tone / language picker being changed */
.feat-pop .sa-select-wrap.sa-flash .sa-select { box-shadow: 0 0 0 3px var(--sel); border-color: var(--accent); }
.feat-pop .sa-send.hovering { background: var(--sa-accent-hover); }
.feat-pop .sa-send.press { transform: scale(.92); }
.feat-pop .sa-refine textarea { pointer-events: none; }
@media (max-width: 560px) { .feat-ui { min-height: 0; } }
.st-ui .sa-popover { width: min(440px, 100%); }
.st-ui .sa-skeleton { display: none; }

/* ---------- Launch film (hero button + player) */
.film-btn { display: flex; align-items: center; gap: 10px; margin: 14px auto 0; padding: 7px 16px 7px 7px; border: 1px solid var(--line-v); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; box-shadow: var(--card-shadow); transition: border-color .2s, transform .2s var(--ease); }
.film-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.film-btn:focus-visible { outline: 3px solid var(--sel); outline-offset: 2px; }
.film-play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; padding-left: 2px; }
.film-len { color: var(--muted); font-weight: 600; }
.film { width: min(1100px, 92vw, calc((100dvh - 120px) * 16 / 9)); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; box-shadow: 0 40px 90px rgba(20, 14, 40, .45); }
.film::backdrop { background: rgba(26, 20, 44, .72); backdrop-filter: blur(4px); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; }
.film-close { position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.film-close:hover { background: rgba(255, 255, 255, .28); }
.film-close:focus-visible { outline: 3px solid var(--sel); outline-offset: 2px; }
@media (max-width: 560px) { .film { width: 96vw; border-radius: 14px; } .film video { border-radius: 14px; } }
/* the vertical cut (phones held upright): as tall as the screen allows, close button still visible */
.film.film-tall { width: min(92vw, calc((100dvh - 120px) * 9 / 16)); }
.film.film-tall video { aspect-ratio: 9 / 16; }

/* ---------- "You're confirmed" banner (after Kit's double opt-in) */
.confirmed { position: fixed; z-index: 60; top: 84px; left: 50%; transform: translateX(-50%); display: flex; align-items: flex-start; gap: 12px; width: min(560px, calc(100vw - 32px)); padding: 14px 14px 14px 16px; border: 1px solid #cfe9db; border-radius: 16px; background: #fff; box-shadow: 0 22px 55px rgba(47, 34, 73, .16); animation: confirmed-in .45s var(--ease) both; }
.confirmed[hidden] { display: none; }
.confirmed p { margin: 0; flex: 1; font-size: 15px; line-height: 1.5; color: var(--muted); }
.confirmed strong { display: block; color: var(--ink); }
.confirmed-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #e3f5ec; color: var(--ok); }
.confirmed-close { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.confirmed-close:hover { background: #f4f0f8; color: var(--ink); }
.confirmed-close:focus-visible { outline: 3px solid var(--sel); outline-offset: 2px; }
@keyframes confirmed-in { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .confirmed { animation: none; } }
