:root {
  color-scheme: light;
  --ink: #20233c;
  --muted: #7c8097;
  --soft: #a7aabd;
  --line: #ececf3;
  --paper: #ffffff;
  --canvas: #f6f7fb;
  --violet: #6957e8;
  --violet-dark: #5945dc;
  --violet-pale: #f1efff;
  --mint: #2ba98b;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(105, 87, 232, .35); outline-offset: 3px; }

.topbar { width: min(1180px, calc(100% - 64px)); height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(31, 34, 60, .065); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 35px; height: 35px; color: var(--violet); display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font: 800 20px/1 var(--font-display); letter-spacing: -.8px; }
.brand-period { color: var(--violet); }
.top-nav { display: flex; align-items: center; gap: 31px; font-size: 13px; font-weight: 600; color: #676b82; }
.top-nav a { transition: color .18s ease; }
.top-nav a:hover { color: var(--violet); }
.demo-chip { display: inline-flex; gap: 7px; align-items: center; padding: 8px 11px; border: 1px solid #e6e1ff; border-radius: 999px; color: #6e5cdb; background: #f7f5ff; font-size: 9px; letter-spacing: 1px; font-weight: 700; }
.demo-chip-dot, .footer-demo span { width: 6px; height: 6px; border-radius: 50%; background: #8b78f5; box-shadow: 0 0 0 3px rgba(139, 120, 245, .12); }

.page-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.intro { padding: 47px 0 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #8276cb; font-size: 9px; letter-spacing: 1.65px; font-weight: 700; }
.eyebrow-line { width: 22px; height: 1px; background: #a59be2; }
.intro h1 { margin: 15px 0 11px; font: 800 clamp(34px, 4.3vw, 46px)/1.1 var(--font-display); letter-spacing: -2px; }
.intro-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.intro-aside { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; padding: 13px 17px; border: 1px solid #e9e8f3; border-radius: 12px; background: rgba(255,255,255,.58); }
.aside-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--violet-pale); color: var(--violet); }
.aside-icon svg { width: 20px; height: 20px; }
.intro-aside strong, .intro-aside small { display: block; }
.intro-aside strong { font-size: 12px; margin-bottom: 4px; }
.intro-aside small { color: var(--muted); font-size: 10px; }

.workspace { display: flex; align-items: flex-start; gap: 22px; }
.main-column { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.side-column { width: 321px; flex: 0 0 321px; display: flex; flex-direction: column; gap: 15px; }
.panel { border: 1px solid #ededf3; border-radius: 15px; background: var(--paper); box-shadow: 0 3px 12px rgba(40, 41, 77, .025), 0 16px 35px rgba(49, 49, 83, .025); }
.address-card { padding: 22px 25px 17px; }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.section-label { display: inline-flex; align-items: center; gap: 7px; color: #9295a8; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.label-dot { width: 6px; height: 6px; border-radius: 50%; background: #a79af2; }
.demo-tag { padding: 5px 7px; border-radius: 5px; background: #f3f0ff; color: #8374dc; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.address-card h2 { margin: 15px 0 4px; font: 700 21px/1.3 var(--font-display); letter-spacing: -.5px; }
.address-caption { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.address-field { margin-top: 18px; min-height: 57px; display: flex; align-items: center; gap: 11px; padding: 0 12px 0 15px; border: 1px solid #e8e7ef; border-radius: 9px; background: #fcfcfe; transition: border-color .2s, box-shadow .2s; }
.address-field:focus-within { border-color: #b7acf8; box-shadow: 0 0 0 3px rgba(105, 87, 232, .08); }
.address-icon { width: 21px; height: 21px; flex: 0 0 auto; color: #9486e8; }
.address-icon svg { width: 100%; height: 100%; }
.address-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; color: #33364f; font: 600 14px/1.3 var(--font-display); letter-spacing: -.15px; }
.icon-copy-button { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 7px; color: #8d8fa2; background: transparent; cursor: pointer; transition: color .15s, background .15s; }
.icon-copy-button:hover { color: var(--violet); background: var(--violet-pale); }
.icon-copy-button svg { width: 18px; height: 18px; }
.address-actions { margin-top: 12px; display: flex; align-items: center; gap: 13px; }
.button { border: 0; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.button:active { transform: translateY(1px); }
.button-primary { min-height: 42px; padding: 0 15px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 8px; color: #fff; background: var(--violet); font-size: 12px; font-weight: 700; box-shadow: 0 5px 12px rgba(104, 86, 229, .17); }
.button-primary:hover { background: var(--violet-dark); box-shadow: 0 7px 16px rgba(104, 86, 229, .23); }
.button-primary svg { width: 17px; height: 17px; }
.address-hint { color: #a1a3b3; font-size: 10px; }
.keycap { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 4px; border: 1px solid #e7e7ee; border-radius: 4px; color: #888ba1; background: #fafafd; font-size: 11px; }
.privacy-note { display: flex; align-items: center; gap: 6px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #f1f0f5; color: #9799aa; font-size: 10px; }
.privacy-note svg { width: 14px; height: 14px; color: #a19abf; }

.inbox-card { overflow: hidden; }
.inbox-header { min-height: 82px; padding: 18px 23px 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.inbox-title-row { display: flex; align-items: center; gap: 9px; }
.inbox-title-row h2 { margin: 0; font: 700 17px/1.25 var(--font-display); letter-spacing: -.4px; }
.message-count { min-width: 21px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: #7363db; background: #f1efff; font-size: 10px; font-weight: 700; }
.inbox-header p { margin: 5px 0 0; color: #9698a9; font-size: 10px; }
.refresh-button { padding: 8px 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ebebf2; border-radius: 7px; background: #fff; color: #7a7d92; font-size: 10px; font-weight: 600; cursor: pointer; transition: .16s ease; }
.refresh-button:hover { border-color: #d8d3fb; color: var(--violet); background: #fbfaff; }
.refresh-button svg { width: 15px; height: 15px; }
.refresh-button.is-spinning svg { animation: spin .6s ease; }
.inbox-toolbar { min-height: 43px; padding: 0 23px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0eff5; border-bottom: 1px solid #f0eff5; }
.inbox-tabs { display: flex; align-self: stretch; gap: 20px; }
.inbox-tab { position: relative; padding: 0; display: inline-flex; align-items: center; gap: 6px; border: 0; color: #999bad; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.inbox-tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ''; background: transparent; }
.inbox-tab.is-active { color: #5045a7; }
.inbox-tab.is-active::after { background: #7968e5; }
.inbox-tab > span { font-size: 9px; color: #a2a4b3; }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; color: #a1a2b1; font-size: 9px; }
.live-indicator > span { width: 6px; height: 6px; border-radius: 50%; background: #94cbbb; }
.message-list { min-height: 195px; }
.message-row { padding: 16px 22px 15px; border-bottom: 1px solid #f1f0f5; transition: background .16s; }
.message-row:last-child { border-bottom: 0; }
.message-row:hover { background: #fdfcff; }
.message-main { display: flex; align-items: flex-start; gap: 12px; }
.sender-avatar { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; font: 700 12px var(--font-display); }
.sender-avatar.lilac { color: #7866df; background: #f0edff; }
.sender-avatar.mint { color: #308e7d; background: #e9f6f2; }
.message-content { min-width: 0; flex: 1; }
.sender-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sender-name { overflow: hidden; color: #35374f; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.message-time { flex: 0 0 auto; color: #a1a2b0; font-size: 9px; }
.sender-email { overflow: hidden; margin-top: 3px; color: #a0a2b1; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.subject-line { margin-top: 9px; color: #55576c; font-size: 10px; font-weight: 600; }
.message-preview { margin-top: 5px; color: #9294a5; font-size: 10px; line-height: 1.55; }
.otp-row { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.otp-code { padding: 7px 10px; border: 1px dashed #dcd6ff; border-radius: 6px; color: #6554d3; background: #f7f5ff; font: 700 14px/1 var(--font-display); letter-spacing: 2px; }
.copy-code-button { min-height: 29px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #ebebf2; border-radius: 6px; color: #84869b; background: #fff; font-size: 9px; font-weight: 600; cursor: pointer; transition: .15s ease; }
.copy-code-button:hover { border-color: #d5cff9; color: #6554d3; background: #fcfbff; }
.copy-code-button svg { width: 13px; height: 13px; }
.message-details { margin: 11px 0 0 46px; padding: 10px 11px; border-radius: 7px; color: #8d8fa1; background: #faf9fe; font-size: 10px; line-height: 1.55; }
.message-details strong { color: #64667d; font-weight: 600; }
.message-details[hidden] { display: none; }
.message-toggle { width: 100%; margin: 0; padding: 0; display: block; border: 0; text-align: left; background: transparent; cursor: pointer; }
.message-toggle:focus-visible { outline-offset: 4px; border-radius: 5px; }
.inbox-footer { min-height: 38px; padding: 0 22px; display: flex; align-items: center; gap: 7px; border-top: 1px solid #f1f0f5; color: #a1a2b1; background: #fdfdff; font-size: 9px; }
.inbox-footer-icon { width: 13px; height: 13px; display: grid; place-items: center; border: 1px solid #b0b0bf; border-radius: 50%; font: 600 9px/1 var(--font-body); }
.empty-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 20px; color: #9698a8; text-align: center; }
.empty-icon { width: 38px; height: 38px; margin-bottom: 3px; display: grid; place-items: center; border-radius: 12px; color: #8f81e5; background: #f2f0ff; }
.empty-icon svg { width: 19px; height: 19px; }
.empty-state strong { color: #666980; font-size: 11px; }
.empty-state span { max-width: 235px; font-size: 10px; line-height: 1.55; }

.demo-notice { padding: 15px 15px 15px 14px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid #eee7d5; border-radius: 12px; background: #fffdf7; }
.notice-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #c29138; background: #faf2df; }
.notice-icon svg { width: 17px; height: 17px; }
.demo-notice strong { display: block; margin: 1px 0 4px; color: #665536; font-size: 11px; }
.demo-notice p { margin: 0; color: #8e8068; font-size: 10px; line-height: 1.55; }
.steps-card { padding: 20px 19px 0; }
.side-heading { display: flex; align-items: center; justify-content: space-between; }
.sparkle { color: #c3b8fa; font-size: 17px; }
.steps-card h2 { margin: 13px 0 17px; color: #272943; font: 800 21px/1.3 var(--font-display); letter-spacing: -.8px; }
.steps-card h2 span { color: #8a7be4; }
.steps-list { margin: 0; padding: 0; list-style: none; }
.steps-list li { position: relative; min-height: 61px; display: flex; align-items: flex-start; gap: 11px; }
.steps-list li:not(:last-child)::before { position: absolute; top: 27px; left: 13px; width: 1px; height: 35px; content: ''; background: #e7e3fa; }
.step-number { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #8073d0; background: #f3f1ff; font: 700 9px var(--font-display); }
.steps-list strong, .steps-list small { display: block; }
.steps-list strong { padding-top: 2px; color: #4a4c62; font-size: 10px; font-weight: 700; }
.steps-list small { margin-top: 4px; color: #989aab; font-size: 9px; line-height: 1.45; }
.steps-bottom { margin: 2px -19px 0; min-height: 39px; padding: 0 19px; display: flex; align-items: center; gap: 7px; border-top: 1px solid #f1f0f5; color: #9293a4; font-size: 9px; }
.sparkle-dot { width: 6px; height: 6px; border-radius: 50%; background: #aaa0f1; }
.safety-card { padding: 15px 15px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid #e8e7f1; border-radius: 12px; background: linear-gradient(125deg, #f8f7ff, #fbfaff); }
.safety-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #8072d9; background: #f0eeff; }
.safety-icon svg { width: 17px; height: 17px; }
.safety-card h2 { margin: 1px 0 5px; color: #4e4b76; font-size: 10px; }
.safety-card p { margin: 0; color: #8d8ca5; font-size: 9px; line-height: 1.6; }

.site-footer { min-height: 76px; margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(31, 34, 60, .075); color: #9b9dae; font-size: 9px; }
.footer-brand { display: inline-flex; align-items: center; gap: 5px; color: #74768c; font: 700 12px var(--font-display); }
.footer-logo { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 5px; color: #fff; background: var(--violet); font-size: 10px; }
.footer-demo { display: inline-flex; align-items: center; gap: 7px; }
.footer-demo span { width: 5px; height: 5px; }
.toast { position: fixed; z-index: 5; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 11px 15px; transform: translate(-50%, 12px); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; color: #fff; background: #292a45; box-shadow: 0 9px 24px rgba(29, 27, 58, .2); font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1500px) { .page-shell, .topbar { width: min(1180px, calc(100% - 96px)); } }
@media (max-width: 900px) {
  .topbar, .page-shell { width: min(100% - 44px, 720px); }
  .intro { padding-top: 39px; }
  .workspace { gap: 16px; }
  .side-column { width: 275px; flex-basis: 275px; }
  .address-card { padding-right: 20px; padding-left: 20px; }
  .address-hint { display: none; }
  .inbox-header, .inbox-toolbar { padding-right: 18px; padding-left: 18px; }
  .message-row { padding-right: 17px; padding-left: 17px; }
  .inbox-footer { padding-right: 17px; padding-left: 17px; }
}
@media (max-width: 680px) {
  .topbar, .page-shell { width: calc(100% - 34px); }
  .topbar { height: 65px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-name { font-size: 18px; }
  .top-nav { gap: 15px; font-size: 11px; }
  .top-nav a:first-child { display: none; }
  .demo-chip { padding: 7px 8px; font-size: 8px; }
  .intro { padding: 34px 0 22px; align-items: flex-start; }
  .intro h1 { margin-top: 13px; font-size: clamp(35px, 9vw, 44px); letter-spacing: -1.8px; }
  .intro-copy > p { max-width: 460px; font-size: 12px; }
  .intro-aside { display: none; }
  .workspace { flex-direction: column; gap: 15px; }
  .main-column, .side-column { width: 100%; }
  .side-column { display: contents; }
  .demo-notice { order: 2; }
  .steps-card { order: 3; }
  .safety-card { order: 4; }
  .main-column { display: contents; }
  .address-card { order: 1; padding: 19px 17px 15px; }
  .inbox-card { order: 2; }
  .demo-notice { margin-top: -1px; }
  .address-card h2 { font-size: 19px; }
  .address-caption { font-size: 11px; }
  .address-text { font-size: clamp(12px, 3.5vw, 14px); }
  .address-field { gap: 8px; padding-right: 8px; padding-left: 11px; }
  .address-actions { flex-wrap: wrap; }
  .button-primary { width: 100%; }
  .inbox-header { padding: 16px 15px 13px; }
  .inbox-toolbar { padding: 0 15px; }
  .inbox-tabs { gap: 16px; }
  .live-indicator { font-size: 8px; }
  .message-row { padding: 15px 14px; }
  .inbox-footer { padding: 0 14px; }
  .steps-card { padding: 18px 17px 0; }
  .steps-bottom { margin-right: -17px; margin-left: -17px; padding: 0 17px; }
  .site-footer { min-height: 65px; margin-top: 23px; flex-wrap: wrap; justify-content: space-between; }
  .site-footer > span:nth-child(2) { display: none; }
}
@media (max-width: 375px) {
  .topbar, .page-shell { width: calc(100% - 26px); }
  .top-nav { gap: 10px; }
  .inbox-tabs { gap: 11px; }
  .message-time { font-size: 8px; }
  .message-row { padding-right: 11px; padding-left: 11px; }
  .message-preview { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
