:root {
  color-scheme: light;
  --ink: #171a35;
  --muted: #636882;
  --purple: #5549c7;
  --purple-dark: #4035a6;
  --lavender: #ecebff;
  --line: #e8e9f2;
  --page: #fbfbfe;
  --display: "Manrope", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  width: 100%;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(232, 233, 242, .75);
  background: rgba(251, 251, 254, .88);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); letter-spacing: -.07em; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--purple); box-shadow: 0 5px 12px rgba(85, 73, 199, .22); color: #fff; font: 800 18px/1 var(--display); letter-spacing: -.06em; }
.site-nav { display: flex; height: 100%; align-items: center; gap: 34px; color: #585c76; font-size: 13px; font-weight: 600; }
.site-nav > a:not(.nav-cta):hover, .footer-links a:hover { color: var(--purple); }
.site-nav .nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #dad8fb; border-radius: 9px; background: #f1f0ff; color: var(--purple-dark); }
.site-nav .nav-cta:hover { border-color: var(--purple); background: #e8e6ff; }
.theme-toggle {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.theme-toggle:hover { border-color: var(--purple); color: var(--purple); background: #f6f5ff; }
.nav-toggle { display: none; }

.hero { display: grid; min-height: 610px; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 32px; padding-top: 50px; padding-bottom: 60px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 8px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #5dc6a5; box-shadow: 0 0 0 4px rgba(93, 198, 165, .14); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 610px; margin-bottom: 22px; font: 800 clamp(50px, 6.5vw, 78px)/1.04 var(--display); letter-spacing: -.075em; }
.hero h1 span { color: var(--purple); }
.hero-description { max-width: 455px; margin-bottom: 29px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 16px; padding: 0 20px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 700; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); box-shadow: 0 10px 22px rgba(85, 73, 199, .19); color: white; }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 12px 25px rgba(85, 73, 199, .28); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #525671; font-size: 13px; font-weight: 700; }
.text-link span { color: var(--purple); transition: transform .18s; }
.text-link:hover span { transform: translateX(3px); }
.reassurance { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 26px; color: #757991; font-size: 11px; font-weight: 600; }
.reassurance > span { display: inline-flex; align-items: center; gap: 6px; }
.check { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; background: #e4f6ef; color: #348c6d; font-size: 10px; }

.hero-visual { position: relative; display: grid; min-width: 0; min-height: 460px; place-items: center; isolation: isolate; }
.visual-glow { position: absolute; z-index: -1; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, #eeedff 0, rgba(238, 237, 255, .6) 47%, rgba(238, 237, 255, 0) 72%); }
.browser-card { position: relative; z-index: 1; width: min(100%, 500px); overflow: hidden; border: 1px solid #e6e6ef; border-radius: 14px; background: white; box-shadow: 0 28px 70px rgba(33, 34, 75, .13), 0 4px 12px rgba(33, 34, 75, .04); transform: rotate(-2deg); }
.browser-bar { display: flex; height: 43px; align-items: center; gap: 18px; padding: 0 15px; border-bottom: 1px solid #ededf3; background: #fafafd; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d5d6e0; }
.window-dots i:first-child { background: #ef9a9e; }.window-dots i:nth-child(2) { background: #f2cb77; }.window-dots i:nth-child(3) { background: #75c9a7; }
.browser-address { display: flex; height: 24px; flex: 1; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #ececf2; border-radius: 5px; background: white; color: #989bad; font-size: 9px; }
.browser-shield { color: #8a83dc; font-size: 15px; }
.compose { padding: 0 22px; }
.compose-heading { display: flex; height: 48px; align-items: center; justify-content: space-between; border-bottom: 1px solid #efeff4; color: #34374e; font-size: 12px; font-weight: 700; }
.compose-menu { color: #9a9caf; letter-spacing: 2px; }
.compose-field { display: flex; height: 37px; align-items: center; gap: 24px; border-bottom: 1px solid #f0f0f4; color: #575b71; font-size: 10px; }
.field-label { width: 42px; color: #999caf; }
.compose-body { min-height: 232px; padding-top: 17px; color: #55596f; font-size: 11px; line-height: 1.7; }
.compose-body p { margin-bottom: 13px; }
.typed-line { display: flex; align-items: center; gap: 2px; min-height: 29px; }
.shortcut { padding: 2px 5px; border: 1px solid #e3e1fa; border-radius: 4px; background: #f3f2ff; color: var(--purple); font: 600 11px/1.4 "Cascadia Code", Consolas, monospace; }
.cursor { display: inline-block; width: 1px; height: 15px; background: #6960d1; }
.expanded-reply { display: flex; max-width: 390px; align-items: flex-start; gap: 8px; margin: 2px 0 12px; padding: 11px 12px; border: 1px solid #e5e3ff; border-radius: 7px; background: #f9f8ff; color: #363951; line-height: 1.6; animation: arrive .45s .15s both; }
.reply-spark { color: var(--purple); }
.signoff { color: #999caf; }
.compose-footer { display: flex; height: 48px; align-items: center; justify-content: space-between; border-top: 1px solid #efeff4; }
.send-pill { display: inline-flex; align-items: center; gap: 13px; padding: 7px 12px; border-radius: 5px; background: #4d70d8; color: white; font-size: 10px; font-weight: 700; }
.footer-dots { color: #a6a8b8; font-size: 13px; }
.saved-note { position: absolute; z-index: 2; right: -3px; bottom: 38px; display: flex; min-width: 255px; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid #e9e8f4; border-radius: 10px; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 35px rgba(33, 34, 75, .11); animation: float 4s ease-in-out infinite; }
.note-icon, .note-check { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #f0efff; color: var(--purple); }
.saved-note strong, .saved-note small { display: block; }
.saved-note strong { margin-bottom: 3px; color: #2b2e48; font-size: 10px; }
.saved-note small { color: #85889d; font-size: 9px; }
.note-check { width: 20px; height: 20px; margin-left: auto; border-radius: 50%; background: #e4f6ef; color: #348c6d; font-size: 10px; }
.floating-shortcut { position: absolute; top: 38px; right: 9%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #e4e2fb; border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(33, 34, 75, .07); color: #555a76; font: 600 10px "Cascadia Code", Consolas, monospace; transform: rotate(4deg); }
.floating-shortcut span { color: #9598aa; font: 13px var(--body); }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.proof-strip { border-block: 1px solid #eeedf5; background: #fff; }
.proof-inner { display: flex; width: min(1160px, calc(100% - 64px)); min-height: 94px; align-items: center; justify-content: space-between; gap: 25px; margin: auto; }
.proof-inner > p { margin: 0; color: #5f637b; font-size: 12px; font-weight: 600; }
.proof-inner em { color: var(--purple); font-style: normal; }
.proof-items { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 40px); color: #73778d; font-size: 11px; font-weight: 600; }
.proof-items span { display: inline-flex; align-items: center; gap: 8px; }
.proof-items b { color: #7972d7; font-size: 14px; }

.video-section { padding-top: 93px; padding-bottom: 20px; }
.video-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 27px; }
.video-heading .eyebrow { margin-bottom: 12px; }
.video-heading h2 { margin: 0; font: 800 clamp(32px, 4.2vw, 44px)/1.12 var(--display); letter-spacing: -.06em; }
.video-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.video-frame { overflow: hidden; margin: 0; border: 1px solid #e7e6f0; border-radius: 15px; background: #24213f; box-shadow: 0 20px 50px rgba(35, 37, 77, .12); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #24213f; object-fit: contain; }
.video-transcript { max-width: 700px; margin: 14px auto 0; color: #73778d; font-size: 11px; }
.video-transcript summary { width: fit-content; color: var(--purple); font-weight: 700; cursor: pointer; }
.video-transcript ol { display: grid; gap: 7px; margin: 12px 0 0; padding-left: 22px; line-height: 1.55; }
.video-transcript li span { margin-right: 8px; color: #555; font-weight: 700; }

.how-section { padding-top: 112px; padding-bottom: 118px; }
.section-heading { max-width: 550px; margin: 0 auto 50px; text-align: center; }
.section-heading .eyebrow, .faq-heading .eyebrow { justify-content: center; margin-bottom: 13px; }
.section-heading h2, .benefits-copy h2, .faq-heading h2 { margin-bottom: 14px; font: 800 clamp(34px, 4.6vw, 49px)/1.14 var(--display); letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 440px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 254px; padding: 25px 25px 27px; border: 1px solid #e9e9f2; border-radius: 12px; background: #fff; box-shadow: 0 5px 20px rgba(35, 37, 77, .025); transition: transform .2s, box-shadow .2s, border-color .2s; }
.step-card:hover { transform: translateY(-4px); border-color: #d4d1fa; box-shadow: 0 14px 32px rgba(35, 37, 77, .08); }
.step-number { position: absolute; top: 23px; right: 24px; color: #b0b2c2; font: 700 10px var(--body); letter-spacing: .08em; }
.step-icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 24px; border: 1px solid #e8e6ff; border-radius: 12px; background: #f4f3ff; color: var(--purple); }
.icon-note { flex-direction: column; gap: 4px; }
.icon-note span { width: 19px; height: 2px; border-radius: 2px; background: #8178dc; }
.icon-note span:nth-child(2) { width: 24px; }.icon-note span:nth-child(3) { width: 14px; align-self: flex-start; margin-left: 12px; }
.icon-shortcut { gap: 2px; font: 700 12px "Cascadia Code", Consolas, monospace; }
.icon-shortcut .cursor { height: 13px; }
.icon-spark { font-size: 20px; }
.step-card h3 { margin-bottom: 9px; font: 700 16px var(--display); letter-spacing: -.03em; }
.step-card p { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.benefits-section { padding: 89px 0; background: #f2f2fb; }
.benefits-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.benefits-copy .eyebrow { margin-bottom: 17px; }
.benefits-copy h2 { font-size: clamp(34px, 4.2vw, 46px); }
.benefits-copy > p:not(.eyebrow) { max-width: 390px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.benefit-list { display: grid; gap: 13px; }
.benefit-item { display: flex; align-items: flex-start; gap: 15px; padding: 18px 19px; border: 1px solid rgba(225, 225, 239, .9); border-radius: 10px; background: rgba(255, 255, 255, .76); }
.benefit-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #e9e7ff; border-radius: 9px; background: #f1f0ff; color: var(--purple); font-size: 17px; }
.benefit-item h3 { margin: 1px 0 4px; font: 700 13px var(--display); }
.benefit-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.closing-cta { padding-top: 92px; padding-bottom: 92px; }
.closing-card { position: relative; overflow: hidden; padding: 58px 24px 61px; border-radius: 18px; background: #29245f; color: white; text-align: center; isolation: isolate; }
.closing-card::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 0, rgba(121, 112, 227, .36), transparent 63%); content: ""; }
.closing-card .eyebrow { justify-content: center; color: #c4c0ff; }
.closing-card h2 { margin-bottom: 14px; font: 800 clamp(34px, 4.6vw, 48px)/1.12 var(--display); letter-spacing: -.06em; }
.closing-card > p:not(.eyebrow) { max-width: 475px; margin: 0 auto 23px; color: #d1d0e4; font-size: 13px; line-height: 1.75; }
.button-light { min-height: 46px; background: white; color: #4035a6; }
.button-light:hover { background: #f0efff; box-shadow: 0 7px 22px rgba(0, 0, 0, .15); }
.closing-orb { position: absolute; z-index: -1; width: 170px; height: 170px; border: 1px solid rgba(203, 199, 255, .16); border-radius: 50%; }
.orb-one { top: -105px; left: 8%; box-shadow: 0 0 0 22px rgba(203, 199, 255, .035), 0 0 0 44px rgba(203, 199, 255, .025); }
.orb-two { right: 8%; bottom: -130px; width: 230px; height: 230px; }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding-top: 5px; padding-bottom: 105px; }
.faq-heading .eyebrow { justify-content: flex-start; }
.faq-heading h2 { font-size: 38px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 18px 28px 18px 0; color: #292d49; font-size: 13px; font-weight: 700; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 15px; right: 1px; color: var(--purple); content: "+"; font-size: 19px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 630px; margin: -4px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.faq-list code, .feature-card code { padding: 1px 4px; border-radius: 4px; background: #f1f0ff; color: var(--purple-dark); font: 600 .92em "Cascadia Code", Consolas, monospace; }
.messaging-note { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: #f4f3ff; color: var(--muted); font-size: 12px; line-height: 1.75; }
.messaging-note p:last-child { margin-bottom: 0; }
.messaging-note .text-link { font-size: inherit; text-decoration: underline; }

.addons-section { padding: 104px 0 110px; background: linear-gradient(180deg, #f6f5ff 0%, #fbfbfe 100%); border-top: 1px solid #eeedf8; }

.safety-section { padding: 104px 0; background: #fff; border-top: 1px solid #eeedf5; }
.safety-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 48px; }
.safety-copy .eyebrow { margin-bottom: 14px; }
.safety-copy h2 { margin-bottom: 16px; font: 800 clamp(32px, 4.4vw, 46px)/1.12 var(--display); letter-spacing: -.06em; }
.safety-copy > p:not(.eyebrow) { max-width: 460px; margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.safety-privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 13px;
  border: 1px solid #c9eadf;
  border-radius: 99px;
  background: #ebf8f3;
  color: #1e6b52;
  font-size: 11px;
  font-weight: 700;
}
.shield-mock {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #e6e4f6;
  border-radius: 18px;
  background: linear-gradient(155deg, #f6f5ff 0%, #fbfbfe 100%);
  box-shadow: 0 22px 54px rgba(33, 34, 75, .09);
}
.shield-inbox {
  overflow: hidden;
  border: 1px solid #e6e6f0;
  border-radius: 12px;
  background: #fff;
}
.shield-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #efeff6;
  background: #fafafd;
  color: #5a5e78;
  font-size: 11px;
  font-weight: 700;
}
.shield-row {
  display: grid;
  grid-template-columns: auto 110px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f2f2f8;
  font-size: 11.5px;
}
.shield-row:last-child { border-bottom: 0; }
.shield-row.is-high { background: #fff7f7; }
.shield-row.is-caution { background: #fffcf2; }
.shield-sender { font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shield-subject { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shield-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.shield-pill.safe { background: #e8f7ef; color: #166534; padding-inline: 7px; }
.shield-pill.caution { background: #fef3c7; color: #92400e; }
.shield-pill.high { background: #fee2e2; color: #991b1b; }
.shield-report-card {
  padding: 16px 18px;
  border: 1px solid #f4c7cb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(153, 27, 27, .08);
}
.shield-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.shield-report-head strong { color: #991b1b; font: 800 13px var(--display); }
.shield-report-head span { padding: 3px 8px; border-radius: 99px; background: #fee2e2; color: #991b1b; font-size: 10px; font-weight: 700; }
.shield-report-list { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; color: #474b66; font-size: 11.5px; line-height: 1.5; }
.shield-report-list li::before { content: "• "; color: #dc2626; font-weight: 800; }
.shield-report-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.shield-chip { padding: 5px 10px; border: 1px solid #e4e5f0; border-radius: 7px; background: #f8f8fc; color: #3d425c; font-size: 10.5px; font-weight: 700; }
.shield-chip.is-danger { border-color: #f4c7cb; background: #fff5f6; color: #a52d3c; }
.plan-tag { display: inline-flex; align-items: center; margin-bottom: 12px; padding: 4px 9px; border: 1px solid #f1dfae; border-radius: 99px; background: #fff7df; color: #8a6210; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.plan-tag.plan-all { border-color: #c9eadf; background: #ebf8f3; color: #23795d; }
.plan-tag.plan-platinum { border-color: #d9d6f5; background: #f1f0ff; color: #4f4da7; }
.tick-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 22px; color: #4d5170; font-size: 12px; line-height: 1.55; }
.tick-list li::before { position: absolute; top: 1px; left: 0; display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; background: #e8e6ff; color: var(--purple); content: "✓"; font-size: 9px; font-weight: 800; }

.integration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.integration-panel { display: grid; grid-template-rows: auto 1fr; gap: 24px; padding: 28px; border: 1px solid #e6e4f6; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(35, 37, 77, .05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.integration-panel:hover { transform: translateY(-4px); border-color: #d4d1fa; box-shadow: 0 18px 38px rgba(35, 37, 77, .09); }
.integration-copy h3 { margin-bottom: 9px; font: 800 21px/1.25 var(--display); letter-spacing: -.04em; }
.integration-copy > p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.mock { position: relative; display: flex; min-height: 210px; overflow: hidden; border: 1px solid #ebeaf5; border-radius: 12px; background: #f7f7fc; }
.mock-workspace { gap: 12px; padding: 16px; }
.mock-doc { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 18px; border-radius: 8px; background: #fff; box-shadow: 0 3px 12px rgba(35, 37, 77, .05); }
.mock-line { display: block; width: 100%; height: 7px; border-radius: 9px; background: #ebebf3; }
.mock-line.w-60 { width: 60%; } .mock-line.w-70 { width: 70%; } .mock-line.w-85 { width: 85%; }
.mock-insert { padding: 8px 10px; border-left: 3px solid var(--purple); border-radius: 4px; background: #f1f0ff; color: #35386a; font-size: 11px; line-height: 1.5; animation: insertGlow 3.2s ease-in-out infinite; }
.mock-side { display: flex; width: 44%; flex-direction: column; gap: 7px; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 3px 12px rgba(35, 37, 77, .05); font-size: 10px; }
.mock-side b { color: var(--purple); font: 800 12px var(--display); }
.mock-search { padding: 6px 8px; border: 1px solid #e6e6f0; border-radius: 6px; color: #9a9db1; }
.mock-item { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 8px; border-radius: 6px; color: #45496a; font-weight: 600; }
.mock-item.is-active { background: #f1f0ff; color: var(--purple-dark); }
.mock-item i { padding: 2px 6px; border-radius: 4px; background: var(--purple); color: #fff; font-size: 9px; font-style: normal; }
.mock-phone { justify-content: center; padding: 16px 16px 0; background: linear-gradient(160deg, #efeeff, #f7f7fc); }
.phone-screen { display: flex; width: min(100%, 250px); flex-direction: column; gap: 9px; padding: 14px 13px 13px; border: 6px solid #22243f; border-bottom: 0; border-radius: 24px 24px 0 0; background: #fff; }
.phone-contact { padding-bottom: 7px; border-bottom: 1px solid #efeff5; color: #45496a; font-size: 10px; font-weight: 700; text-align: center; }
.bubble { max-width: 85%; padding: 7px 10px; border-radius: 13px; font-size: 10px; line-height: 1.45; }
.bubble-out { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--purple); color: #fff; }
.bubble-in { align-self: flex-start; border-bottom-left-radius: 4px; background: #efeff6; color: #35384f; }
.phone-input { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 5px 5px 5px 9px; border: 1px solid #e6e6f0; border-radius: 99px; }
.phone-send { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font-size: 10px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 22px; border: 1px solid #e9e9f2; border-radius: 12px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-3px); border-color: #d4d1fa; box-shadow: 0 12px 28px rgba(35, 37, 77, .07); }
.feature-icon { display: grid; width: 38px; height: 38px; margin-bottom: 14px; place-items: center; border: 1px solid #e9e7ff; border-radius: 10px; background: #f1f0ff; color: var(--purple); font-size: 17px; }
.feature-icon.feature-code { font: 800 13px "Cascadia Code", Consolas, monospace; }
.feature-card .plan-tag { display: flex; width: max-content; }
.feature-card h3 { margin-bottom: 7px; font: 700 15px var(--display); letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.plans-section { padding-top: 104px; padding-bottom: 20px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border: 1px solid #e6e5f2; border-radius: 16px; background: #fff; box-shadow: 0 6px 22px rgba(35, 37, 77, .04); }
.plan-card.is-featured { border: 2px solid var(--purple); box-shadow: 0 20px 44px rgba(85, 73, 199, .16); }
.plan-badge { position: absolute; top: -12px; left: 50%; padding: 5px 12px; border-radius: 99px; background: var(--purple); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.plan-card h3 { margin-bottom: 10px; font: 800 18px var(--display); letter-spacing: -.03em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 6px; }
.plan-price strong { font: 800 38px/1 var(--display); letter-spacing: -.05em; }
.plan-price span { color: var(--muted); font-size: 13px; }
.plan-note { min-height: 36px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.plan-card .tick-list { margin-bottom: 26px; }
.plan-card .button { width: 100%; margin-top: auto; }
.button-outline { border-color: #d9d6f6; background: #fff; color: var(--purple-dark); }
.button-outline:hover { border-color: var(--purple); background: #f6f5ff; }

@keyframes insertGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(85, 73, 199, 0); } 50% { box-shadow: 0 0 0 4px rgba(85, 73, 199, .12); } }

.site-footer { border-top: 1px solid #eeedf5; background: #fff; }
.footer-inner { display: grid; width: min(1160px, calc(100% - 64px)); grid-template-columns: 2fr repeat(3, 1fr); align-items: start; gap: 32px; margin: auto; padding-block: 48px 24px; }
.footer-brand { font-size: 17px; }.footer-brand .brand-mark { width: 27px; height: 27px; border-radius: 8px; font-size: 15px; }
.footer-inner > p { margin: 0; color: #898c9e; font-size: 10px; }
.footer-links { display: flex; gap: 17px; color: #72758b; font-size: 10px; font-weight: 600; }
.copyright { color: #999bab; font-size: 10px; white-space: nowrap; }
.footer-intro p { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-group { display: grid; justify-items: start; gap: 12px; font-size: 12px; color: var(--muted); }
.footer-group h2 { margin: 0 0 4px; color: var(--ink); font: 800 12px var(--display); }
.footer-group a:hover, .footer-bottom a:hover { color: var(--purple); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.skip-link { position: absolute; z-index: 20; top: 8px; left: 20px; padding: 12px 18px; border-radius: 8px; background: var(--purple); color: white; translate: 0 -160%; }
.skip-link:focus { translate: none; }
.resource-main { max-width: 1040px; padding-block: 76px 88px; }
.resource-heading { max-width: 740px; margin-bottom: 42px; }
.resource-heading h1 { margin-bottom: 22px; font: 800 clamp(38px, 5.5vw, 64px)/1.1 var(--display); letter-spacing: -.06em; }
.resource-heading > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.8; }
.resource-email { color: var(--purple); font: 700 clamp(20px, 4vw, 28px) var(--display); }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.resource-card, .resource-callout { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow-wrap: anywhere; }
.resource-card h2, .resource-callout h2 { margin-bottom: 14px; font: 800 22px/1.3 var(--display); letter-spacing: -.035em; }
.resource-card p, .resource-card li, .resource-callout p, .resource-callout li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.resource-card p:last-child, .resource-callout p:last-child { margin-bottom: 0; }
.resource-card ul, .resource-card ol, .resource-callout ul { padding-left: 22px; }
.resource-main a:not(.button) { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 3px; }
.resource-card .button { margin-top: 12px; }
.resource-callout { margin-top: 28px; background: #f4f3ff; }
.resource-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.resource-topics a { padding: 10px 15px; border: 1px solid #dedbf8; border-radius: 99px; background: white; font-size: 12px; font-weight: 700; }

.resource-page { background: radial-gradient(ellipse 900px 500px at 15% 80px, #eeedff, transparent), var(--page); }
.resource-heading { padding-top: 12px; }
.resource-heading::before, .document-main > .eyebrow::before { display: block; width: 48px; height: 4px; margin-bottom: 24px; border-radius: 99px; background: var(--purple); content: ""; }
.document-main { max-width: 920px; padding-block: 76px 88px; overflow-wrap: anywhere; }
.document-main > .eyebrow { display: block; }
.document-main h1 { margin-bottom: 22px; font: 800 clamp(36px, 5.5vw, 60px)/1.12 var(--display); letter-spacing: -.06em; }
.document-main h2 { margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); font: 800 24px/1.35 var(--display); letter-spacing: -.035em; }
.document-main h3 { margin: 26px 0 12px; font: 700 18px/1.4 var(--display); }
.document-main p, .document-main li { color: var(--muted); font-size: 15px; line-height: 1.85; }
.document-main li { margin-bottom: 8px; }
.document-main ul, .document-main ol { padding-left: 24px; }
.document-main a { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 3px; }
.document-main code { padding: 2px 6px; border-radius: 4px; background: var(--lavender); color: var(--purple-dark); font: .9em "Cascadia Code", Consolas, monospace; }
.document-main .effective-date { margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.document-main h2 time { display: block; margin-top: 10px; color: var(--muted); font: 500 13px/1.5 var(--body); letter-spacing: normal; }
.document-main .tag { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 99px; background: var(--lavender); color: var(--purple-dark); font-size: 12px; font-weight: 700; }
.document-main .tag.fix { background: #fdecee; color: #a52e38; }
.document-main > nav { margin-block: 28px; padding: 12px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.document-main > nav ol { columns: 2; column-gap: 36px; }
.document-main > nav li { break-inside: avoid; font-size: 13px; }
.document-main > footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-group a[aria-current="page"] { color: var(--purple-dark); font-weight: 700; }

:focus-visible { outline: 3px solid rgba(85, 73, 199, .45); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; translate: 0 28px; }
  .reveal-enter { animation: scrollReveal .72s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms) backwards; }
  .reveal-pending:focus-within, .reveal-enter:focus-within { opacity: 1; translate: none; scale: none; animation: none; }
}
@keyframes scrollReveal {
  from { opacity: 0; translate: 0 28px; scale: .98; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

@media (min-width: 901px) {
  #messaging .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .site-nav { gap: 16px; font-size: 12px; }
  .hero { min-height: 550px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero h1 { font-size: clamp(48px, 7vw, 64px); }
  .hero-visual { min-height: 405px; }
  .compose { padding-inline: 17px; }
  .safety-layout { grid-template-columns: 1fr; gap: 32px; }
  .benefits-layout { gap: 45px; }
  .faq-section { gap: 45px; }
  .integration-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 26px; }
  .footer-inner { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 22px; }
  .footer-inner > p { display: none; }
}
@media (max-width: 680px) {
  .section-wrap { width: min(100% - 40px, 500px); }
  .site-header { height: 66px; padding-inline: 20px; }
  .brand { font-size: 20px; }
  .nav-toggle { display: grid; width: 40px; height: 40px; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 9px; background: white; }
  .nav-toggle span { width: 17px; height: 2px; border-radius: 2px; background: #41445e; }
  .site-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; height: auto; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: rgba(251, 251, 254, .98); box-shadow: 0 15px 24px rgba(34, 35, 71, .08); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a:not(.nav-cta) { padding: 13px 4px; }
  .site-nav .nav-cta { justify-content: center; margin-top: 7px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 7px; padding-top: 62px; padding-bottom: 48px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 17px; font-size: 9px; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(50px, 13vw, 69px); }
  .hero-description { max-width: 420px; margin-bottom: 22px; font-size: 14px; }
  .hero-actions { flex-wrap: wrap; gap: 16px 20px; }
  .button { min-height: 47px; padding-inline: 16px; font-size: 12px; }
  .reassurance { gap: 10px 15px; margin-top: 19px; font-size: 10px; }
  .hero-visual { min-height: 345px; margin-top: 4px; }
  .visual-glow { width: 320px; height: 320px; }
  .browser-card { width: min(100%, 465px); border-radius: 10px; }
  .browser-bar { height: 36px; padding-inline: 10px; }
  .compose { padding-inline: 14px; }
  .compose-heading { height: 41px; }
  .compose-field { height: 32px; }
  .compose-body { min-height: 203px; font-size: 10px; }
  .expanded-reply { padding: 9px; }
  .saved-note { right: -3px; bottom: 9px; min-width: 235px; padding: 10px; }
  .floating-shortcut { top: 8px; right: 3%; }
  .proof-inner { width: min(100% - 40px, 500px); min-height: 0; flex-direction: column; align-items: flex-start; gap: 15px; padding-block: 21px; }
  .proof-inner > p { font-size: 11px; }
  .proof-items { gap: 12px 18px; font-size: 10px; }
  .video-section { padding-top: 63px; padding-bottom: 5px; }
  .video-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .video-heading h2 { font-size: 35px; }
  .video-heading > p { font-size: 12px; }
  .video-frame { border-radius: 10px; }
  .video-transcript { font-size: 10px; }
  .how-section { padding-top: 76px; padding-bottom: 76px; }
  .section-heading { margin-bottom: 30px; text-align: left; }
  .section-heading .eyebrow { justify-content: flex-start; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p:last-child { margin: 0; font-size: 12px; }
  .steps { grid-template-columns: 1fr; gap: 11px; }
  .step-card { min-height: 0; padding: 20px; }
  .step-icon { width: 42px; height: 42px; margin-bottom: 17px; }
  .step-card h3 { font-size: 14px; }
  .step-card p { font-size: 11px; }
  .benefits-section { padding: 65px 0; }
  .benefits-layout { grid-template-columns: 1fr; gap: 29px; }
  .benefits-copy h2 { font-size: 38px; }
  .benefits-copy > p:not(.eyebrow) { font-size: 12px; }
  .benefit-item { padding: 15px; }
  .addons-section { padding: 70px 0 72px; }
  .integration-panel { padding: 20px; gap: 18px; }
  .integration-copy h3 { font-size: 18px; }
  .integration-copy > p { font-size: 12px; }
  .mock-workspace { flex-direction: column; }
  .mock-side { width: auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-card { padding: 18px; }
  .plans-section { padding-top: 70px; }
  .plan-grid { max-width: none; }
  .plan-card { padding: 26px 20px 20px; }
  .closing-cta { padding-top: 58px; padding-bottom: 65px; }
  .closing-card { padding: 45px 21px; border-radius: 14px; }
  .closing-card h2 { font-size: 36px; }
  .closing-card > p:not(.eyebrow) { font-size: 12px; }
  .faq-section { grid-template-columns: 1fr; gap: 20px; padding-bottom: 72px; }
  .faq-heading h2 { margin-bottom: 0; font-size: 34px; }
  .faq-list summary { font-size: 12px; }
  .faq-list details p { font-size: 11px; }
  .footer-inner { width: calc(100% - 40px); grid-template-columns: repeat(2, 1fr); gap: 28px; padding-block: 34px 22px; }
  .footer-intro { grid-column: 1 / -1; }
  .resource-main { padding-block: 48px 60px; }
  .document-main { padding-block: 48px 60px; }
  .document-main h2 { font-size: 21px; }
  .document-main > nav { padding-inline: 16px; }
  .document-main > nav ol { columns: 1; }
  .resource-heading > p:not(.eyebrow) { font-size: 15px; }
  .resource-grid { grid-template-columns: 1fr; gap: 16px; }
  .resource-card, .resource-callout { padding: 22px; }
  .footer-links { justify-content: flex-end; gap: 11px; font-size: 9px; }
  .copyright { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef0fb;
  --muted: #a6aecb;
  --purple: #8c84ff;
  --purple-dark: #b3aeff;
  --lavender: #25274a;
  --line: #282e4c;
  --page: #0f1322;
}
html[data-theme="dark"] .site-header { background: rgba(15, 19, 34, .88); border-bottom-color: rgba(40, 46, 76, .85); }
html[data-theme="dark"] .site-nav { color: #b9c0dc; }
html[data-theme="dark"] .site-nav .nav-cta { border-color: #3f4380; background: #1e2144; color: #d5d2ff; }
html[data-theme="dark"] .site-nav .nav-cta:hover { border-color: var(--purple); background: #292c58; }
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .nav-toggle { background: #171c31; border-color: #2f3659; color: #d2d7ee; }
html[data-theme="dark"] .nav-toggle span { background: #d2d7ee; }
html[data-theme="dark"] .site-nav.is-open { background: rgba(15, 19, 34, .98); }
html[data-theme="dark"] .visual-glow { background: radial-gradient(circle, rgba(111, 102, 232, .25) 0, rgba(111, 102, 232, .08) 47%, transparent 72%); }
html[data-theme="dark"] .browser-card,
html[data-theme="dark"] .saved-note,
html[data-theme="dark"] .floating-shortcut,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .integration-panel,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .resource-card,
html[data-theme="dark"] .document-main > nav,
html[data-theme="dark"] .shield-inbox,
html[data-theme="dark"] .shield-report-card { background: #161b30; border-color: #2a3154; color: var(--ink); }
html[data-theme="dark"] .browser-bar,
html[data-theme="dark"] .shield-inbox-head { background: #1c223b; border-color: #2a3154; color: #b9c0dc; }
html[data-theme="dark"] .browser-address,
html[data-theme="dark"] .mock,
html[data-theme="dark"] .mock-doc,
html[data-theme="dark"] .mock-side,
html[data-theme="dark"] .phone-screen { background: #121729; border-color: #2a3154; color: #b9c0dc; }
html[data-theme="dark"] .compose-heading,
html[data-theme="dark"] .compose-field,
html[data-theme="dark"] .compose-footer,
html[data-theme="dark"] .shield-row { border-color: #252c4a; color: #cfd5ec; }
html[data-theme="dark"] .compose-body,
html[data-theme="dark"] .saved-note strong,
html[data-theme="dark"] .faq-list summary,
html[data-theme="dark"] .tick-list li { color: #d7dcf2; }
html[data-theme="dark"] .expanded-reply,
html[data-theme="dark"] .shortcut,
html[data-theme="dark"] .step-icon,
html[data-theme="dark"] .feature-icon,
html[data-theme="dark"] .benefit-icon,
html[data-theme="dark"] .note-icon,
html[data-theme="dark"] .mock-insert,
html[data-theme="dark"] .mock-item.is-active,
html[data-theme="dark"] .messaging-note,
html[data-theme="dark"] .resource-callout,
html[data-theme="dark"] .faq-list code,
html[data-theme="dark"] .feature-card code { background: #21254a; border-color: #383e72; color: #dcd9ff; }
html[data-theme="dark"] .proof-strip,
html[data-theme="dark"] .safety-section,
html[data-theme="dark"] .site-footer { background: #121728; border-color: #252b48; }
html[data-theme="dark"] .proof-inner > p,
html[data-theme="dark"] .proof-items,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .reassurance { color: #b8bfdc; }
html[data-theme="dark"] .addons-section,
html[data-theme="dark"] .benefits-section { background: #13182b; border-color: #252b48; }
html[data-theme="dark"] .benefit-item { background: rgba(22, 27, 48, .9); border-color: #2a3154; }
html[data-theme="dark"] .shield-mock { background: linear-gradient(155deg, #1b203a 0%, #14192d 100%); border-color: #303761; }
html[data-theme="dark"] .shield-row.is-high { background: rgba(220, 38, 38, .12); }
html[data-theme="dark"] .shield-row.is-caution { background: rgba(217, 119, 6, .12); }
html[data-theme="dark"] .shield-report-card { border-color: #6b2b36; }
html[data-theme="dark"] .shield-report-head strong { color: #fca5a5; }
html[data-theme="dark"] .shield-report-list { color: #cfd5ec; }
html[data-theme="dark"] .shield-chip { background: #1e243e; border-color: #343c64; color: #d5dbf2; }
html[data-theme="dark"] .shield-chip.is-danger { background: #41212b; border-color: #7d3646; color: #fca5a5; }
html[data-theme="dark"] .safety-privacy-pill { background: #14332a; border-color: #245c4b; color: #86efac; }
html[data-theme="dark"] .button-outline { background: #161b30; border-color: #3a4072; color: #d5d2ff; }
html[data-theme="dark"] .button-outline:hover { background: #21274a; }
html[data-theme="dark"] .resource-page { background: radial-gradient(ellipse 900px 500px at 15% 80px, rgba(85, 73, 199, .18), transparent), var(--page); }
html[data-theme="dark"] .resource-topics a { background: #161b30; border-color: #353c66; color: #d5d2ff; }
html[data-theme="dark"] .plan-tag { background: #362c14; border-color: #6b531c; color: #fcd34d; }
html[data-theme="dark"] .plan-tag.plan-all { background: #133329; border-color: #245c4b; color: #6ee7b7; }
html[data-theme="dark"] .plan-tag.plan-platinum { background: #252652; border-color: #46498c; color: #c7c4ff; }


/* Vertical Section-Dot Navigation Rail (right side) */
.section-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 25;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 6px 0;
}
.section-rail::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #d3d7e8;
  z-index: 0;
}
.section-rail-item {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  outline: none;
}
.section-rail-dot {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #b2b7ce;
  background: #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.section-rail-item:hover .section-rail-dot,
.section-rail-item:focus-visible .section-rail-dot {
  border-color: #4f4da7;
  transform: scale(1.12);
}
.section-rail-item.is-active .section-rail-dot {
  width: 16px;
  height: 16px;
  border: 2.5px solid #4f4da7;
  background: #4f4da7;
  box-shadow: 0 0 0 5px rgba(79, 77, 167, .22);
}
.section-rail-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 6px 13px;
  border-radius: 7px;
  background: #4f4da7;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(79, 77, 167, .24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.section-rail-tip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #4f4da7;
}
.section-rail-item.is-active .section-rail-tip,
.section-rail-item:hover .section-rail-tip,
.section-rail-item:focus-visible .section-rail-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
html[data-theme="dark"] .section-rail::before {
  background: #2f3858;
}
html[data-theme="dark"] .section-rail-dot {
  border-color: #5b668c;
  background: #141a2d;
}
html[data-theme="dark"] .section-rail-item:hover .section-rail-dot,
html[data-theme="dark"] .section-rail-item:focus-visible .section-rail-dot {
  border-color: #a4a2ff;
}
html[data-theme="dark"] .section-rail-item.is-active .section-rail-dot {
  border-color: #a4a2ff;
  background: #6c69d9;
  box-shadow: 0 0 0 5px rgba(108, 105, 217, .32);
}
html[data-theme="dark"] .section-rail-tip {
  background: #5c59c7;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .38);
}
html[data-theme="dark"] .section-rail-tip::after {
  border-left-color: #5c59c7;
}
@media (max-width: 960px) {
  .section-rail {
    display: none;
  }
}


/* Knowledge Base (web/help.php) */
.kb-hero { max-width: 820px; }
.kb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.kb-search-box {
  position: relative;
  display: flex;
  flex: 1 1 320px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9dced;
  border-radius: 10px;
  padding: 0 12px;
  box-shadow: 0 4px 14px rgba(33, 34, 75, .05);
}
.kb-search-box:focus-within {
  border-color: #4f4da7;
  box-shadow: 0 0 0 3px rgba(79, 77, 167, .16);
}
.kb-search-icon {
  color: #7c849f;
  font-size: 16px;
  margin-right: 8px;
}
.kb-search-box input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
}
.kb-clear-btn {
  border: 0;
  background: transparent;
  color: #7c849f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}
.kb-toggle-all {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #dad8fb;
  border-radius: 10px;
  background: #f4f4ff;
  color: #4f4da7;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.kb-toggle-all:hover {
  background: #4f4da7;
  border-color: #4f4da7;
  color: #ffffff;
}
.kb-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.kb-cat-btn {
  padding: 7px 14px;
  border: 1px solid #dfe2f1;
  border-radius: 999px;
  background: #ffffff;
  color: #585c76;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s;
}
.kb-cat-btn:hover { border-color: #4f4da7; color: #4f4da7; }
.kb-cat-btn.is-active {
  background: #4f4da7;
  border-color: #4f4da7;
  color: #ffffff;
}
.kb-result-count {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.kb-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 28px;
}
.kb-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}
.kb-toc strong {
  margin-bottom: 8px;
  color: #4f4da7;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kb-toc a {
  padding: 6px 9px;
  border-radius: 7px;
  color: #585c76;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.kb-toc a:hover {
  background: #f4f4ff;
  color: #4f4da7;
}
.kb-articles {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.kb-card[hidden] { display: none !important; }
.kb-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.kb-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f0efff;
  color: #4f4da7;
  font-size: 11px;
  font-weight: 700;
}
.kb-plan {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}
.kb-guide {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafe;
  overflow: hidden;
}
.kb-guide summary {
  padding: 11px 14px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kb-guide summary::-webkit-details-marker { display: none; }
.kb-guide summary::after {
  content: "+";
  color: #4f4da7;
  font-size: 16px;
  font-weight: 700;
}
.kb-guide[open] summary::after { content: "−"; }
.kb-guide[open] summary {
  border-bottom: 1px solid var(--line);
  background: #f4f4ff;
}
.kb-guide ol,
.kb-guide ul {
  margin: 0;
  padding: 12px 18px 14px 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.kb-guide li + li { margin-top: 6px; }
.kb-guide code {
  padding: 1px 6px;
  border-radius: 4px;
  background: #ecebff;
  color: #4035a6;
  font-size: 12px;
}
html[data-theme="dark"] .kb-search-box,
html[data-theme="dark"] .kb-toc,
html[data-theme="dark"] .kb-cat-btn {
  background: #171d32;
  border-color: #2b3454;
  color: #cfd5eb;
}
html[data-theme="dark"] .kb-cat-btn.is-active {
  background: #5c59c7;
  border-color: #5c59c7;
  color: #ffffff;
}
html[data-theme="dark"] .kb-toggle-all {
  background: #1f2642;
  border-color: #36416b;
  color: #c9cbff;
}
html[data-theme="dark"] .kb-toc strong,
html[data-theme="dark"] .kb-badge {
  color: #c9cbff;
}
html[data-theme="dark"] .kb-badge { background: rgba(108, 105, 217, .24); }
html[data-theme="dark"] .kb-toc a { color: #b5bddb; }
html[data-theme="dark"] .kb-toc a:hover { background: #222b48; color: #ffffff; }
html[data-theme="dark"] .kb-guide {
  background: #141a2d;
  border-color: #2b3454;
}
html[data-theme="dark"] .kb-guide[open] summary {
  background: #1c2440;
  border-color: #2b3454;
}
html[data-theme="dark"] .kb-guide code {
  background: #242d4d;
  color: #c9cbff;
}
@media (max-width: 900px) {
  .kb-layout { grid-template-columns: 1fr; }
  .kb-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .kb-toc strong { width: 100%; }
}


/* Knowledge Base Screenshots & Click-to-Zoom Lightbox */
.kb-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 6px;
}
.kb-shot-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}
.kb-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8f9fd;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kb-shot:hover {
  transform: translateY(-2px);
  border-color: #c5c4f4;
  box-shadow: 0 10px 24px rgba(33, 34, 75, .1);
}
.kb-shot img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
  cursor: zoom-in;
}
.kb-shot-grid.is-single .kb-shot img {
  height: auto;
  max-height: 310px;
  object-fit: contain;
}
.kb-shot figcaption {
  padding: 8px 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}
.kb-lightbox {
  max-width: min(94vw, 1080px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid #dfe2f1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(15, 19, 34, .45);
  overflow: hidden;
}
.kb-lightbox::backdrop {
  background: rgba(15, 19, 34, .72);
  backdrop-filter: blur(4px);
}
.kb-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.kb-lightbox-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.kb-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 58px);
  margin: auto;
  background: #f5f7fc;
}
html[data-theme="dark"] .kb-shot,
html[data-theme="dark"] .kb-lightbox {
  background: #141a2d;
  border-color: #2b3454;
}
html[data-theme="dark"] .kb-shot figcaption,
html[data-theme="dark"] .kb-lightbox-head {
  border-color: #2b3454;
}
@media (max-width: 680px) {
  .kb-shot-grid { grid-template-columns: 1fr; }
}
