@layer reset, base, layout, components, themes, responsive, readability;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, blockquote { margin: 0; }
  button, input, select { font: inherit; }
  button, a, select { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  button { color: inherit; }
  [hidden] { display: none !important; }
}

@layer readability {
  .feature-card.feature-simple { position: relative; min-height: 224px; padding-bottom: 27px; }
  .feature-simple .feature-number { position: absolute; top: 29px; right: 26px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
  .feature-simple > p { margin-bottom: 0; }
  .workflow-section { border-top: 1px solid var(--line); }
  .workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .workflow-grid article { padding: 24px 22px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .workflow-grid article > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--accent); background: var(--accent-soft); font-size: 11px; font-weight: 700; }
  .workflow-grid h3 { margin-top: 22px; font-size: 17px; line-height: 1.25; }
  .workflow-grid p { margin-top: 10px; font-size: 12px; line-height: 1.75; }
  .guide-section { display: grid; grid-template-columns: .8fr 1.25fr; column-gap: 90px; border-bottom: 1px solid var(--line); }
  .guide-section > .eyebrow, .guide-section > h2 { grid-column: 1; }
  .guide-section > .eyebrow { align-self: end; }
  .guide-section > h2 { margin-top: 14px; align-self: start; }
  .guide-copy { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 19px; }
  .guide-copy > p { font-size: 13px; line-height: 1.85; }
  .guide-callout { display: flex; align-items: flex-start; gap: 16px; margin-top: 4px; padding: 21px; border-radius: 15px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
  .guide-callout > .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
  .guide-callout h3 { font-size: 16px; }
  .guide-callout p { margin-top: 7px; font-size: 12px; line-height: 1.8; }
  @media (min-width: 651px) and (max-width: 900px) {
    .feature-card.feature-simple { display: flex; min-height: 190px; }
    .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-section { column-gap: 35px; }
  }
  @media (max-width: 650px) {
    .feature-card.feature-simple { min-height: 190px; }
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-grid article { padding: 20px; }
    .workflow-grid h3 { margin-top: 14px; }
    .guide-section { grid-template-columns: 1fr; gap: 14px; }
    .guide-section > .eyebrow, .guide-section > h2, .guide-copy { grid-column: 1; grid-row: auto; }
    .guide-section > h2 { margin-top: 0; }
    .guide-copy { margin-top: 8px; }
  }
}

@layer base {
  :root { --paper: #f8fafc; --ink: #182d40; --muted: #587084; --blue: #0875cc; --blue-dark: #0867b2; --line: #dfe7ee; --navy: #122d43; --radius: 22px; }
  html { scroll-behavior: smooth; scroll-padding-top: 105px; }
  body { background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  ::selection { background: #c6e6ff; color: #143853; }
  :focus-visible { outline: 3px solid #168aee; outline-offset: 5px; }
  h1, h2, h3 { font-weight: 650; line-height: 1.15; letter-spacing: -.04em; }
  h2 { font-size: clamp(32px, 3.1vw, 43px); }
  h3 { font-size: 22px; letter-spacing: -.025em; }
  p { color: var(--muted); }
  .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .clipboard-fallback { position: fixed; left: -9999px; top: 0; opacity: 0; font-size: 16px; }
  .icon { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
  .container { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
  .section-space { padding-block: 102px; }
  .eyebrow { display: block; color: var(--blue-dark); font-size: 10px; line-height: 1.6; letter-spacing: .15em; font-weight: 750; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 23px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 650; line-height: 1.4; transition: background .2s, transform .2s, box-shadow .2s; }
  .button:hover { transform: translateY(-2px); }
  .button-blue { background: var(--blue); color: white; box-shadow: 0 6px 15px #168aee1f; }
  .button-blue:hover { background: var(--blue-dark); box-shadow: 0 8px 18px #168aee2b; }
  .button-dark { background: var(--ink); color: white; }
  .button-dark:hover { background: #28516f; }
  .button-white { background: white; color: #1479cb; }
  .button-white:hover { background: #eaf5ff; }
  .button-small { min-height: 40px; padding: 9px 15px; font-size: 12px; gap: 9px; border-radius: 8px; }
  .button-small .icon { width: 17px; height: 17px; }
  .text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
  .text-link:hover { color: var(--blue-dark); }
  .text-link .icon { width: 15px; height: 15px; }
}

@layer layout {
  .site-header { position: sticky; top: 0; z-index: 20; background: #f8fafcf2; backdrop-filter: blur(18px); border-bottom: 1px solid #e5ebf170; }
  .nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
  .brand-light { font-weight: 450; }
  .desktop-nav { display: flex; gap: 31px; }
  .desktop-nav a { color: #5d7083; font-size: 12px; font-weight: 550; }
  .desktop-nav a:hover, .site-footer a:hover { color: var(--blue); }
  .nav-actions { display: flex; align-items: center; gap: 21px; }
  .language-picker { display: inline-flex; align-items: center; gap: 4px; }
  .language-picker .icon { width: 16px; height: 16px; color: #708295; }
  .language-picker select { cursor: pointer; border: 0; padding: 8px 1px; background: transparent; color: var(--ink); font-size: 11px; font-weight: 650; }
  .menu-toggle { display: none; background: none; border: 0; width: 38px; height: 38px; border-radius: 8px; }
  .mobile-nav { padding: 4px 0 20px; }
  .mobile-nav a { display: block; padding: 11px 0; font-size: 14px; }
  .hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 64px; align-items: center; padding-block: 82px 76px; }
  .hero-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; letter-spacing: .12em; }
  .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #168aee0c; }
  h1 { font-size: clamp(45px, 4.8vw, 67px); line-height: 1.065; letter-spacing: -.055em; }
  h1 em { display: block; margin-top: 2px; color: #2485d1; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
  .hero-description { max-width: 480px; margin-top: 24px; font-size: 16px; line-height: 1.8; }
  .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 30px; }
  .hero-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 18px; font-size: 10px; max-width: 450px; }
  .hero-note .icon { width: 14px; height: 14px; color: #5a9b91; margin-top: 1px; }
  .hero-visual { position: relative; padding: 4px 10px 0 15px; isolation: isolate; min-width: 0; }
  .hero-visual::before { content: ""; position: absolute; inset: -13% -8% 0 -15%; z-index: -2; background: radial-gradient(ellipse, #d4eafe88, #e8f2fc33 53%, transparent 70%); }
  .orbit { position: absolute; z-index: -1; pointer-events: none; border: 1px solid #d8e7f17d; border-radius: 50%; }
  .orbit-one { width: 490px; height: 490px; top: -14px; left: -8px; }
  .orbit-two { width: 560px; height: 560px; top: -49px; left: -43px; }
  .proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 23px; }
  .proof-strip > div { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 11px; font-weight: 550; color: #607386; padding-inline: 12px; }
  .proof-strip > div + div { border-left: 1px solid var(--line); }
  .proof-strip .icon { width: 18px; height: 18px; color: #529cd4; }
  .section-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 60px; margin-bottom: 37px; }
  .section-heading h2 { max-width: 600px; margin-top: 12px; }
  .section-heading > p { font-size: 13px; line-height: 1.8; padding-bottom: 3px; }
  .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
  .setup-section { display: grid; grid-template-columns: 1.14fr 1fr; gap: 70px; align-items: center; padding: 58px 65px 44px; border-radius: 28px; background: var(--navy); color: white; position: relative; overflow: hidden; }
  .setup-copy { position: relative; z-index: 1; }
  .setup-section .eyebrow { color: #7cc8ff; }
  .setup-section h2 { margin-top: 15px; max-width: 390px; }
  .setup-description { color: #a0b5c6; font-size: 13px; max-width: 410px; line-height: 1.8; margin-top: 17px; }
  .setup-visual { position: relative; display: flex; align-items: center; flex-direction: column; min-width: 0; }
  .setup-visual::before { position: absolute; content: ""; width: 520px; height: 520px; top: -70px; border-radius: 50%; background: radial-gradient(circle, #23557990, transparent 66%); pointer-events: none; }
  .control-section { display: grid; grid-template-columns: 1fr 1fr; gap: 125px; border-bottom: 1px solid var(--line); }
  .control-heading h2 { margin-top: 14px; max-width: 445px; }
  .control-heading > p { font-size: 13px; margin-top: 20px; max-width: 430px; line-height: 1.8; }
  .control-brand { display: flex; align-items: center; gap: 12px; margin-top: 29px; font-size: 12px; font-weight: 600; }
  .control-brand > .icon { color: #8ca0b1; width: 15px; height: 15px; margin-inline: 7px; }
  .telegram-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: #299edd; }
  .control-facts { display: flex; flex-direction: column; gap: 27px; }
  .control-facts article { display: flex; align-items: flex-start; gap: 18px; }
  .control-facts h3 { font-size: 17px; letter-spacing: -.02em; padding-top: 2px; }
  .control-facts p { font-size: 12px; line-height: 1.85; margin-top: 7px; }
  .fact-icon { display: grid; place-items: center; flex-shrink: 0; width: 37px; height: 37px; border: 1px solid #dce9f3; border-radius: 11px; color: #2b89cf; background: #eef5fb; }
  .fact-icon .icon { width: 18px; height: 18px; }
  .faq-section { display: grid; grid-template-columns: .8fr 1.25fr; gap: 90px; }
  .faq-heading h2 { margin-top: 15px; }
  .final-cta { display: flex; align-items: center; justify-content: center; gap: 75px; padding: 58px 70px; margin-bottom: 64px; border-radius: 26px; background: var(--blue); color: white; overflow: hidden; position: relative; }
  .final-cta::after { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid #ffffff14; right: -295px; border-radius: 50%; pointer-events: none; }
  .final-cta h2 { font-size: 36px; max-width: 540px; }
  .final-cta p { color: #fff; font-size: 13px; margin-top: 13px; max-width: 540px; }
  .final-cta .button { margin-top: 24px; font-size: 12px; min-height: 47px; }
  .final-cta small { display: block; color: #fff; font-size: 10px; margin-top: 12px; }
  .site-footer { padding-bottom: 28px; }
  .footer-top { display: flex; align-items: center; gap: 35px; padding-bottom: 29px; border-bottom: 1px solid var(--line); }
  .footer-top .brand { font-size: 16px; }
  .footer-top p { font-size: 11px; }
  .footer-top > div { display: flex; gap: 25px; margin-left: auto; font-size: 11px; font-weight: 550; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; color: #607589; font-size: 10px; }
  .language-links { display: flex; gap: 20px; padding-top: 20px; color: var(--muted); font-size: 12px; }
  .language-links a[aria-current="page"] { color: var(--blue-dark); font-weight: 650; }
  .faq-list details .faq-source { padding-top: 0; margin-top: -8px; }
  .faq-source a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
}

@layer components {
  .demo-card { position: relative; max-width: 436px; margin-left: auto; border: 1px solid #d5e3ee; border-radius: 19px; box-shadow: 0 24px 55px -22px #30567438, 0 6px 18px #31506c05; overflow: hidden; background: white; }
  .demo-topline { display: flex; align-items: center; gap: 7px; padding: 16px 20px 7px; color: #8998a4; font-size: 8px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
  .demo-indicator { width: 5px; height: 5px; background: #55b49c; border-radius: 50%; }
  .demo-dots { margin-left: auto; letter-spacing: 2px; font-size: 13px; color: #a8b6c2; }
  .demo-tabs { display: flex; padding: 8px 16px 14px; gap: 7px; }
  .demo-tabs button { display: flex; justify-content: center; align-items: center; flex: 1; gap: 7px; background: transparent; border: 0; border-radius: 7px; padding: 9px 3px; color: #7c8a96; font-size: 10px; font-weight: 550; transition: .2s; }
  .demo-tabs .icon { width: 14px; height: 14px; }
  .demo-tabs button[aria-selected="true"] { background: #e8f4ff; color: #1683d9; }
  .demo-tabs button:hover { background: #eef6fc; color: #1683d9; }
  .demo-person { display: flex; align-items: center; gap: 10px; padding: 14px 21px; background: #fafcfe; border-block: 1px solid #e7edf2; }
  .person-avatar { display: grid; place-items: center; flex-shrink: 0; width: 33px; height: 33px; border-radius: 50%; color: #846148; background: #edd8bd; font-size: 14px; font-family: Georgia, serif; }
  .demo-person strong { display: block; line-height: 1.4; font-size: 11px; font-weight: 650; }
  .demo-person small { display: block; font-size: 9px; color: #8595a3; }
  .demo-chat-icon { width: 13px; height: 13px; color: #a2b1bf; margin-left: auto; }
  .demo-conversation { padding: 12px 20px 24px; min-height: 288px; background: #eaf2f7; background-image: radial-gradient(#bdcfdc68 .7px, transparent .7px); background-size: 21px 21px; }
  .demo-time { display: table; margin: 0 auto 13px; font-size: 8px; line-height: 1; color: #fff; background: #a3b6c7; border-radius: 12px; padding: 4px 9px; }
  .original-message { padding: 12px 13px 7px; background: white; border: 1px solid #dce6ee; border-radius: 11px 11px 11px 3px; margin-right: 35px; min-height: 62px; transition: .2s; }
  .original-message p { color: #304657; font-size: 11px; line-height: 1.5; }
  .original-message > span { display: block; color: #8b9ead; text-align: right; font-size: 8px; margin-top: 1px; }
  .original-message.is-deleted { background: #e7eef44d; border-style: dashed; }
  .original-message.is-deleted p { display: flex; gap: 8px; color: #8296a6; font-style: italic; }
  .original-message.is-deleted .icon { width: 13px; height: 13px; margin-top: 1px; }
  .demo-connection { display: flex; align-items: center; gap: 5px; padding-block: 13px; padding-left: 18px; color: #619792; }
  .demo-connection > span { height: 16px; width: 12px; border-bottom: 1px solid #a8c5c7; border-left: 1px solid #a8c5c7; border-bottom-left-radius: 5px; margin-right: 4px; margin-top: -8px; }
  .demo-connection .icon { width: 13px; height: 13px; }
  .demo-connection small { font-size: 8px; }
  .saved-message { background: white; border: 1px solid #d2e2ed; border-radius: 11px 11px 11px 3px; margin-left: 18px; padding: 12px 13px 8px; box-shadow: 0 2px 1px #123c5310; }
  .saved-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  .saved-heading strong { font-size: 10px; font-weight: 650; display: block; line-height: 1.3; }
  .saved-heading small { display: block; color: #738d9e; font-size: 8px; margin-top: 1px; }
  .saved-check { color: #53b19e; width: 15px; height: 15px; margin-left: auto; }
  .saved-message blockquote { border-left: 2px solid #39a5ef; background: #edf6fc; color: #385369; font-size: 10px; padding: 8px 10px; border-radius: 0 5px 5px 0; line-height: 1.5; }
  .saved-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: #97a8b5; font-size: 7px; }
  .saved-foot .icon { width: 11px; height: 11px; margin-left: 2px; color: #67b3e6; }
  .demo-action { width: 100%; border: 0; background: white; color: #1887d6; font-size: 11px; font-weight: 550; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 12px; min-height: 48px; transition: background .2s; }
  .demo-action:hover { background: #edf7fe; }
  .demo-action .icon { width: 15px; height: 15px; }
  .floating-note { position: absolute; left: -20px; bottom: 53px; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 13px 17px; border: 1px solid #e3ecf2; background: #ffffffed; backdrop-filter: blur(10px); border-radius: 12px; box-shadow: 0 9px 24px #143f5c0c; transform: rotate(-3deg); pointer-events: none; }
  .floating-note > span { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; background: #e8f7f1; color: #4da591; }
  .floating-note .icon { width: 19px; height: 19px; }
  .floating-note strong { display: block; font-size: 10px; font-weight: 650; }
  .floating-note small { display: block; color: #91a0ae; font-size: 8px; }
  .demo-caption { font-size: 8px; text-align: center; max-width: 350px; margin: 19px auto 0; line-height: 1.7; }
  .demo-edit-lines { display: grid; gap: 4px; font-size: 10px; color: #526879; }
  .demo-edit-lines small { color: #7a92a5; font-size: 8px; margin-right: 5px; }
  .demo-edit-lines > div { padding: 4px 8px; border-radius: 4px; background: #f0f5f8; }
  .demo-edit-lines > div:last-child { background: #ebf6ff; color: #2082cd; }
  .demo-photo { width: 100%; height: 70px; object-fit: cover; border-radius: 5px; margin-bottom: 5px; }
  .original-message .demo-photo { height: 42px; }
  .demo-media-label { font-size: 9px; color: #8294a3; }
  .demo-card.is-acted .saved-message { border-color: #a7d6fa; }
  .feature-card { min-width: 0; overflow: hidden; border: 1px solid #e0e8ef; border-radius: var(--radius); padding: 27px 25px 0; background: #fff; display: flex; flex-direction: column; }
  .feature-icon { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 21px; background: #eaf4fc; color: #2689d4; border: 1px solid #ddebf7; border-radius: 10px; }
  .feature-icon .icon { width: 17px; height: 17px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card > p { font-size: 12px; line-height: 1.8; margin-top: 11px; margin-bottom: 26px; }
  .delete-illustration, .edit-illustration, .media-illustration { margin-top: auto; height: 163px; flex-shrink: 0; position: relative; }
  .delete-illustration { background-image: radial-gradient(#9abed94a .8px, transparent .8px); background-size: 16px 16px; padding-top: 9px; }
  .ghost-message { display: flex; gap: 7px; align-items: center; width: 84%; border: 1px dashed #d2dfe9; background: #f7fafc; border-radius: 10px; padding: 12px; font-size: 10px; color: #8fa3b4; transform: rotate(-3deg); }
  .ghost-message .icon { width: 13px; height: 13px; }
  .kept-message { display: flex; align-items: center; gap: 10px; padding: 15px 12px; border: 1px solid #e0eaf1; background: white; border-radius: 11px; margin-top: 16px; margin-left: 15px; box-shadow: 0 6px 14px #12375207; transform: rotate(2deg); }
  .mini-logo { width: 27px; height: 27px; display: grid; place-items: center; flex-shrink: 0; border-radius: 8px; color: #168aee; background: #e6f3fd; }
  .mini-logo .icon { width: 16px; height: 16px; }
  .kept-message small { display: block; color: #4199d9; font-size: 7px; letter-spacing: .025em; }
  .kept-message p { font-size: 9px; color: #4d6477; margin-top: 4px; }
  .edit-illustration { border: 1px solid #e0e8ef; border-bottom: 0; border-radius: 12px 12px 0 0; background: #f6f9fc; padding: 13px 19px; margin-inline: 0; }
  .edit-illustration small { font-size: 8px; text-transform: uppercase; letter-spacing: .1em; color: #8a9fae; }
  .edit-illustration p { font-size: 12px; padding-top: 4px; color: #8b9daa; }
  .edit-illustration > div:last-child small, .edit-illustration > div:last-child p { color: #2388d6; }
  .edit-divider { display: block; border-top: 1px solid #e3ebf2; margin: 16px 0 9px; position: relative; }
  .edit-divider .icon { position: absolute; top: -10px; left: 45%; width: 19px; height: 19px; padding: 3px; background: #e8f1f8; border-radius: 50%; color: #88a5bb; transform: rotate(90deg); }
  .media-illustration { padding-top: 2px; }
  .media-landscape { width: 85%; height: 113px; object-fit: cover; border: 4px solid white; outline: 1px solid #e4ebef; border-radius: 11px; margin-left: 17px; transform: rotate(3deg); }
  .audio-sample { position: absolute; right: -3px; top: 75px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; background: #e0f1ff; box-shadow: 0 5px 15px #13496509; border: 1px solid #c9e2f6; border-radius: 11px; width: 83%; transform: rotate(-4deg); }
  .audio-play { width: 28px; height: 28px; display: grid; place-items: center; background: #238fe4; color: white; border-radius: 50%; }
  .audio-play .icon { width: 15px; height: 15px; fill: currentColor; stroke-width: 0; }
  .waveform { display: flex; align-items: center; flex: 1; gap: 3px; height: 26px; }
  .waveform i { width: 3px; height: 40%; background: #67afe7; border-radius: 3px; }
  .waveform i:nth-child(2n) { height: 75%; }.waveform i:nth-child(3n) { height: 100%; }.waveform i:nth-child(5n) { height: 24%; }
  .audio-sample small { font-size: 8px; color: #5e91b6; }
  .media-saved { display: flex; align-items: center; gap: 4px; position: absolute; bottom: 6px; left: 14px; color: #7f9d9c; font-size: 8px; }
  .media-saved .icon { width: 11px; height: 11px; }
  .setup-steps { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
  .setup-step { text-align: left; display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 17px 16px; color: #8ea5b8; background: transparent; border: 1px solid transparent; border-radius: 12px; transition: .2s; }
  .setup-step > span { flex-shrink: 0; font-size: 10px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #ffffff07; border: 1px solid #ffffff13; }
  .setup-step strong { display: block; font-size: 13px; font-weight: 600; margin-top: 3px; }
  .setup-step p { color: #89a1b5; font-size: 11px; line-height: 1.7; margin-top: 6px; }
  .setup-step > .icon { width: 16px; height: 16px; margin-left: auto; flex-shrink: 0; margin-top: 6px; opacity: 0; }
  .setup-step.is-active { background: #25465f; border-color: #3a607c; color: white; }
  .setup-step.is-active > span { color: #b8e1ff; background: #278acd33; border-color: #5eacd344; }
  .setup-step.is-active p { color: #adc4d5; }
  .setup-step.is-active > .icon { opacity: 1; color: #6bbbfa; }
  .setup-step:hover:not(.is-active) { background: #ffffff04; }
  .setup-phone { position: relative; width: 277px; height: 411px; border-radius: 28px; background: #f3f7fb; color: var(--ink); border: 5px solid #557085; box-shadow: 0 20px 45px #071e3866; overflow: hidden; }
  .setup-phone::after { content: ""; width: 90px; height: 4px; border-radius: 4px; background: #a1b3c1; position: absolute; bottom: 9px; left: calc(50% - 45px); }
  .phone-status { display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; padding: 12px 19px 8px; }
  .phone-status > span:last-child { font-size: 8px; letter-spacing: 1px; }
  .phone-heading { display: flex; align-items: center; gap: 9px; padding: 9px 15px 12px; background: #f3f7fb; border-bottom: 1px solid #e0e9f1; font-size: 12px; font-weight: 650; }
  .phone-heading > .icon { transform: rotate(180deg); width: 16px; height: 16px; color: #3e9bdf; }
  .phone-heading img { width: 29px; height: 29px; }
  .phone-heading small { display: block; color: #889eae; font-size: 8px; font-weight: 400; margin-top: 1px; }
  .phone-content { padding: 16px 16px 20px; }
  .phone-bot-intro { padding: 15px 13px; border: 1px solid #e0e7ee; border-radius: 10px; background: white; }
  .phone-bot-intro img { width: 42px; height: 42px; margin-bottom: 10px; }
  .phone-bot-intro strong { font-size: 12px; display: block; }.phone-bot-intro p { font-size: 9px; line-height: 1.75; margin-top: 7px; }
  .phone-languages { display: flex; gap: 5px; margin-top: 12px; }
  .phone-languages span { flex: 1; padding: 7px 0; text-align: center; background: #eaf3fa; border: 1px solid #dfe9f1; font-size: 9px; border-radius: 6px; color: #7796ae; }
  .phone-languages .is-selected { color: #208bdc; border-color: #a2d0f2; background: #dceffc; }
  .phone-button { display: flex; justify-content: center; align-items: center; gap: 8px; background: #268fe0; color: white; border: 0; border-radius: 7px; width: 100%; padding: 11px 8px; font-size: 10px; font-weight: 600; margin-top: 12px; }
  .phone-button:hover { background: #107acb; }
  .phone-button .icon { width: 13px; height: 13px; }
  .phone-profile { text-align: center; padding: 6px 0 18px; }
  .phone-profile .person-avatar { margin: 0 auto 9px; width: 56px; height: 56px; font-size: 22px; }
  .phone-profile strong { display: block; font-size: 13px; }
  .phone-profile small { font-size: 9px; color: #7d95a7; }
  .phone-row { display: flex; gap: 9px; align-items: center; background: white; border: 1px solid #e2eaf1; border-radius: 8px; padding: 12px 10px; font-size: 10px; margin-top: 8px; }
  .phone-row .icon { width: 14px; height: 14px; color: #4099d7; }
  .phone-row > .icon:last-child { margin-left: auto; color: #adbac5; width: 11px; height: 11px; }
  button.phone-row { width: 100%; text-align: left; }
  .phone-row.highlighted { background: #e7f4ff; border-color: #9fcdf0; color: #1c80c9; position: relative; }
  .phone-step-hint { display: block; margin-top: 12px; color: #6a95b1; font-size: 8px; text-align: center; }
  .phone-section-label { font-size: 8px; text-transform: uppercase; color: #8b9dae; margin: 4px 0 7px; }
  .phone-input { border: 1px solid #b7d9f2; border-radius: 8px; background: white; padding: 10px 12px; font-size: 11px; color: #2489d2; }
  .phone-connected { display: flex; align-items: center; gap: 9px; padding: 15px 0; }
  .phone-connected img { width: 35px; height: 35px; }.phone-connected strong { font-size: 10px; display: block; }.phone-connected small { font-size: 8px; color: #8199a9; }
  .phone-connected > .icon { width: 16px; height: 16px; margin-left: auto; color: #37a28c; }
  .phone-chat-toggle { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e1e9f0; padding-top: 15px; margin-bottom: 18px; font-size: 10px; color: #6c879b; }
  .phone-switch { position: relative; width: 27px; height: 16px; border-radius: 20px; background: #65b1e8; }
  .phone-switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; background: white; border-radius: 50%; }
  .phone-confirm { display: flex; gap: 7px; align-items: center; justify-content: center; border-radius: 8px; padding: 11px 8px; background: #e4f3ee; color: #36987f; font-size: 10px; }
  .phone-confirm .icon { width: 14px; height: 14px; }
  .copy-handle { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; width: 277px; padding: 15px 10px 0; background: transparent; border: 0; color: #c9deec; font-size: 12px; }
  .copy-handle .icon { width: 13px; height: 13px; color: #90b2cb; }.copy-handle small { flex-basis: 100%; font-size: 9px; color: #83a4bd; margin-top: -8px; }
  .copy-handle:hover > span { color: white; }
  #copy-feedback { font-size: 9px; color: #a5d6fa; min-height: 17px; padding-top: 4px; text-align: center; position: relative; }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list details:first-child { border-top: 1px solid var(--line); }
  .faq-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 13px; font-weight: 550; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary .icon { color: #8ba2b5; width: 17px; height: 17px; transition: transform .2s; }
  .faq-list details[open] summary { color: #2388d2; }
  .faq-list details[open] summary .icon { transform: rotate(45deg); }
  .faq-list details p { font-size: 12px; line-height: 1.9; padding: 0 35px 22px 0; }
  .cta-art { width: 140px; height: 150px; position: relative; flex-shrink: 0; transform: rotate(-9deg); }
  .cta-art > img { border: 1px solid #ffffff5c; box-shadow: 0 9px 35px #0b599b40; border-radius: 31px; width: 126px; height: 126px; }
  .cta-art-check { position: absolute; bottom: 0; right: -12px; width: 59px; height: 59px; display: grid; place-items: center; background: #eaf6ff; border-radius: 18px; border: 4px solid var(--blue); color: #278ddd; transform: rotate(17deg); }
  .cta-art-check .icon { width: 29px; height: 29px; }
}

@layer responsive {
  @media (min-width: 1550px) { .hero { padding-block: 100px 92px; } }
  @media (max-width: 1150px) {
    .container { width: calc(100% - 64px); }
    .hero { gap: 36px; padding-block: 62px; }
    h1 { font-size: 54px; }
    .hero-actions { gap: 15px; }.hero-actions .button { padding-inline: 16px; font-size: 12px; }
    .hero-visual { padding-left: 0; }.orbit-one { width: 400px; height: 400px; }.orbit-two { width: 470px; height: 470px; }
    .floating-note { left: -15px; bottom: 52px; }
    .hero-description { font-size: 14px; }
    .desktop-nav { gap: 20px; }.nav-actions { gap: 15px; }
    .section-space { padding-block: 80px; }
    .feature-card { padding: 23px 20px 0; }.feature-card h3 { font-size: 18px; }.feature-grid { gap: 14px; }
    .setup-section { padding: 42px 38px 28px; gap: 35px; }
    .control-section { gap: 70px; }.faq-section { gap: 60px; }
    .footer-top { gap: 25px; }.footer-top > div { gap: 17px; }
  }
  @media (max-width: 900px) {
    .container { width: calc(100% - 48px); }
    .nav-bar { min-height: 74px; }.desktop-nav { display: none; }.menu-toggle { display: grid; place-items: center; }
    .hero { gap: 30px; } h1 { font-size: 45px; }
    .hero-eyebrow { font-size: 8px; margin-bottom: 17px; }.hero-description { margin-top: 20px; font-size: 13px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 24px; }.hero-note { font-size: 9px; }
    .hero-visual { padding-right: 0; }.demo-conversation { padding-inline: 14px; }.floating-note { left: -8px; padding: 10px 12px; }
    .orbit { display: none; }
    .proof-strip > div { font-size: 9px; gap: 8px; }
    .section-heading { gap: 30px; grid-template-columns: 1.1fr 1fr; }.section-heading h2 { font-size: 31px; }.section-heading > p { font-size: 11px; }
    .feature-card { padding: 20px 16px 0; }.feature-card h3 { font-size: 17px; }.feature-card > p { font-size: 11px; }
    .kept-message { padding: 11px 9px; gap: 7px; margin-left: 0; }.mini-logo { width: 23px; height: 23px; }.ghost-message { width: 93%; font-size: 8px; }
    .edit-illustration { padding-inline: 14px; }.edit-illustration p { font-size: 11px; }
    .audio-sample { padding: 8px; gap: 6px; width: 99%; top: 81px; }.waveform { gap: 2px; }.waveform i { width: 2px; }.media-landscape { margin-left: 0; width: 100%; }
    .setup-section { gap: 23px; padding: 38px 26px 23px; }.setup-section h2 { font-size: 32px; }.setup-step { padding: 13px 10px; gap: 10px; }.setup-step strong { font-size: 12px; }.setup-step p { font-size: 10px; }
    .setup-phone { width: 250px; }.copy-handle { width: 250px; }
    .control-section { gap: 44px; }.control-heading h2, .faq-heading h2 { font-size: 32px; }.control-brand { gap: 8px; font-size: 10px; }
    .control-brand > .icon { margin-inline: 2px; }.control-facts h3 { font-size: 15px; }
    .faq-section { grid-template-columns: .75fr 1.25fr; gap: 35px; }.faq-list summary { font-size: 12px; }
    .final-cta { padding: 44px; gap: 40px; }.final-cta h2 { font-size: 30px; }.cta-art { width: 110px; height: 120px; }.cta-art > img { width: 100px; height: 100px; border-radius: 24px; }
    .footer-top { flex-wrap: wrap; gap: 14px 24px; }.footer-top p { order: 3; width: 100%; }
  }
  @media (max-width: 650px) {
    html { scroll-padding-top: 85px; }
    .container { width: calc(100% - 40px); }
    .nav-bar { min-height: 68px; gap: 14px; }.brand { font-size: 16px; gap: 8px; }.brand img { width: 32px; height: 32px; }
    .nav-actions { gap: 10px; }.nav-cta { display: none; }.language-picker .icon { display: none; }.menu-toggle { width: 29px; }
    .hero { grid-template-columns: 1fr; gap: 43px; padding-top: 46px; padding-bottom: 32px; }
    .hero-copy { max-width: 520px; }.hero-eyebrow { font-size: 8px; margin-bottom: 18px; }
    h1 { font-size: clamp(43px, 10.1vw, 59px); max-width: 530px; line-height: 1.075; }
    .hero-description { font-size: 14px; max-width: 460px; margin-top: 20px; line-height: 1.8; }
    .hero-actions { flex-direction: row; align-items: center; gap: 19px; margin-top: 25px; }.hero-actions .button { font-size: 12px; min-height: 48px; padding-inline: 15px; gap: 9px; }.hero-actions .text-link { font-size: 11px; gap: 4px; }
    .hero-note { font-size: 9px; max-width: 350px; margin-top: 16px; }
    .hero-visual { width: min(420px, 100%); margin: 0 auto; padding: 0 6px 0 10px; }
    .hero-visual::before { inset: -9% -4% 0; }.demo-card { width: 100%; }.demo-conversation { padding-inline: 18px; min-height: 289px; }
    .demo-topline { padding-top: 14px; }.demo-tabs { padding-bottom: 12px; }.demo-tabs button { font-size: 10px; }
    .demo-action { padding-block: 15px; }.demo-caption { margin-top: 20px; max-width: 295px; }
    .floating-note { left: -5px; bottom: 61px; padding: 11px 12px; }.floating-note strong { font-size: 9px; }.floating-note small { font-size: 7px; }.floating-note > span { width: 29px; height: 29px; }
    .proof-strip { grid-template-columns: 1fr; gap: 17px; padding-block: 24px; }.proof-strip > div { font-size: 11px; justify-content: flex-start; padding-left: 14px; gap: 13px; }.proof-strip > div + div { border: 0; }
    .section-space { padding-block: 61px; }.section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 27px; }.section-heading h2 { font-size: 33px; max-width: 400px; }.section-heading > p { font-size: 13px; max-width: 430px; }.eyebrow { font-size: 9px; }
    .feature-grid { grid-template-columns: 1fr; gap: 16px; }.feature-card { padding: 25px 24px 0; }.feature-icon { margin-bottom: 17px; }.feature-card h3 { font-size: 22px; }.feature-card > p { font-size: 13px; margin-bottom: 21px; }
    .delete-illustration, .edit-illustration, .media-illustration { height: 166px; max-width: 320px; width: 100%; margin-inline: auto; }.ghost-message { font-size: 11px; width: 85%; }.kept-message { margin-left: 18px; padding: 14px 13px; }.kept-message p { font-size: 10px; }.kept-message small { font-size: 8px; }.mini-logo { width: 29px; height: 29px; }
    .edit-illustration { padding: 13px 20px; }.edit-illustration p { font-size: 13px; }.edit-illustration small { font-size: 9px; }.media-landscape { width: 85%; margin-left: 15px; }.audio-sample { width: 82%; padding: 10px 12px; gap: 9px; top: 75px; }.waveform { gap: 3px; }.waveform i { width: 3px; }
    .setup-section { grid-template-columns: 1fr; gap: 29px; border-radius: 22px; padding: 33px 24px 22px; }.setup-section h2 { font-size: 33px; max-width: 370px; }.setup-description { font-size: 12px; }.setup-steps { margin-top: 23px; gap: 5px; }.setup-step { padding: 15px 12px; gap: 13px; }.setup-step strong { font-size: 12px; }.setup-step p { font-size: 11px; }
    .setup-phone { width: 265px; }.copy-handle { width: 265px; }.setup-visual::before { width: 400px; height: 470px; }.setup-visual { width: 100%; }
    .control-section { grid-template-columns: 1fr; gap: 38px; }.control-heading h2 { font-size: 34px; max-width: 390px; }.control-heading > p { font-size: 13px; }.control-brand { font-size: 12px; gap: 11px; }.control-brand > .icon { margin-inline: 7px; }.control-facts { gap: 26px; }.control-facts h3 { font-size: 17px; }.control-facts p { font-size: 12px; }
    .faq-section { grid-template-columns: 1fr; gap: 27px; }.faq-heading h2 { font-size: 34px; }.faq-list summary { font-size: 13px; padding-block: 20px; }.faq-list details p { font-size: 12px; }
    .final-cta { display: block; padding: 32px 25px; border-radius: 22px; margin-bottom: 43px; }.cta-art { width: 73px; height: 81px; margin-bottom: 20px; margin-left: 6px; }.cta-art > img { width: 70px; height: 70px; border-radius: 18px; }.cta-art-check { width: 38px; height: 38px; border-width: 3px; border-radius: 12px; right: -12px; }.cta-art-check .icon { width: 20px; height: 20px; }.final-cta h2 { font-size: 32px; max-width: 370px; }.final-cta p { font-size: 12px; }.final-cta .button { padding-inline: 17px; font-size: 11px; }
    .footer-top { align-items: flex-start; gap: 16px; }.footer-top > div { width: 100%; margin: 0; order: 4; font-size: 10px; margin-top: 6px; }.footer-top p { font-size: 11px; }.footer-bottom { font-size: 9px; flex-direction: column; gap: 7px; }
  }
  @media (max-width: 360px) {
    .container { width: calc(100% - 30px); }.brand { font-size: 14px; }.nav-actions { gap: 5px; }
    h1 { font-size: 40px; }.hero-actions { gap: 15px; }.hero-actions .text-link { font-size: 10px; }.hero-actions .button { gap: 7px; font-size: 11px; padding-inline: 12px; }.hero-actions .button .icon { width: 17px; height: 17px; }
    .setup-section { padding-inline: 17px; }.setup-phone, .copy-handle { width: 245px; }.control-brand { font-size: 10px; }
    .floating-note small { max-width: 195px; }.floating-note strong { font-size: 8px; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
}

@layer themes {
  :root {
    color-scheme: light;
    --page-glow-left: #b9dfff8c;
    --page-glow-right: #cceafb99;
    --page-top: #eef7ff;
    --hero-grid: #3394ca18;
    --hero-halo: #8bcaf356;
    --surface: #ffffff;
    --surface-soft: #f0f5f9;
    --surface-raised: #fafcfe;
    --chat: #eaf2f7;
    --accent: #086dbb;
    --accent-soft: #e8f4ff;
    --accent-line: #b5d9f3;
    --green: #277560;
    --green-soft: #e8f7f1;
    --header: #f8fafcf5;
    --dots: #bdcfdc68;
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --page-glow-left: #09658a42;
    --page-glow-right: #0e80a64d;
    --page-top: #102b40;
    --hero-grid: #83c9ea12;
    --hero-halo: #087fb66b;
    --paper: #101b26;
    --ink: #e5eef5;
    --muted: #b1c3d2;
    --blue-dark: #70c2ff;
    --line: #344757;
    --navy: #142b3e;
    --surface: #1d2d3d;
    --surface-soft: #182837;
    --surface-raised: #203243;
    --chat: #152532;
    --accent: #7cc9ff;
    --accent-soft: #163e5c;
    --accent-line: #3c7298;
    --green: #83d7bb;
    --green-soft: #193e37;
    --header: #101b26f5;
    --dots: #91b8d32c;
  }
  body {
    background-color: var(--paper);
    background-image:
      radial-gradient(ellipse 44rem 34rem at 4% 13rem, var(--page-glow-left), transparent 75%),
      radial-gradient(ellipse 53rem 37rem at 96% 28rem, var(--page-glow-right), transparent 76%),
      linear-gradient(180deg, var(--page-top) 0, var(--paper) 78rem);
    background-repeat: no-repeat;
  }
  .hero { position: relative; isolation: isolate; }
  .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse 38rem 30rem at 79% 48%, var(--hero-halo), transparent 73%);
  }
  .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 5%;
    right: 0;
    width: min(62%, 700px);
    height: 90%;
    pointer-events: none;
    background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 60% 50%, #000 6%, transparent 71%);
  }
  @media (max-width: 650px) {
    .hero::before { background: radial-gradient(ellipse 26rem 31rem at 80% 58%, var(--hero-halo), transparent 76%); }
    .hero::after { top: 35%; right: 0; width: 88%; height: 62%; }
  }
  .site-header { background: var(--header); border-color: var(--line); }
  .desktop-nav a, .language-picker .icon,
  .proof-strip > div, .footer-bottom { color: var(--muted); }
  .nav-actions { gap: 16px; }
  .theme-toggle { display: grid; place-items: center; flex-shrink: 0; width: 66px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; }
  .theme-toggle-track { position: relative; display: flex; align-items: center; justify-content: space-around; width: 66px; height: 36px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); }
  .theme-toggle-track::before { content: ""; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 4px #102b402b; transition: transform .2s ease; }
  .theme-toggle .icon { position: relative; width: 17px; height: 17px; color: var(--muted); transition: color .2s ease; }
  .theme-toggle .theme-sun { color: var(--accent); }
  .theme-toggle:hover .theme-toggle-track { border-color: var(--accent); }
  :root[data-theme="dark"] .theme-toggle-track::before { transform: translateX(30px); }
  :root[data-theme="dark"] .theme-toggle .theme-sun { color: var(--muted); }
  :root[data-theme="dark"] .theme-toggle .theme-moon { color: var(--accent); }
  .language-picker select option { color: var(--ink); background: var(--surface); }
  .button-dark { background: var(--ink); color: var(--paper); }
  .button-dark:hover { background: var(--accent); color: var(--paper); }
  :root[data-theme="dark"] .button-blue:hover { background: #0867b2; }
  h1 em { color: var(--accent); }
  .hero-visual::before { background: radial-gradient(ellipse, #329be61c, transparent 70%); }
  .orbit { border-color: var(--line); opacity: .55; }
  .demo-card, .original-message, .saved-message, .floating-note,
  .feature-card, .kept-message, .phone-bot-intro, .phone-row,
  .phone-input { background: var(--surface); border-color: var(--line); }
  .demo-topline, .demo-dots, .demo-tabs button, .demo-person small,
  .demo-chat-icon, .original-message > span, .original-message.is-deleted p,
  .saved-heading small, .saved-foot, .floating-note small, .demo-edit-lines small,
  .demo-media-label { color: var(--muted); }
  .demo-tabs button[aria-selected="true"], .demo-tabs button:hover,
  .demo-action:hover { background: var(--accent-soft); color: var(--accent); }
  .demo-person { background: var(--surface-raised); border-color: var(--line); }
  .demo-conversation { background-color: var(--chat); background-image: radial-gradient(var(--dots) .7px, transparent .7px); }
  .demo-time { background: var(--surface); color: var(--muted); }
  .original-message p { color: var(--ink); }
  .original-message.is-deleted { background: var(--surface-soft); }
  .demo-connection, .saved-check { color: var(--green); }
  .demo-connection > span { border-color: var(--green); }
  .saved-message blockquote { background: var(--accent-soft); color: var(--ink); }
  .saved-foot .icon { color: var(--accent); }
  .demo-action { background: var(--surface); color: var(--accent); }
  .floating-note > span { background: var(--green-soft); color: var(--green); }
  .demo-edit-lines { color: var(--muted); }
  .demo-edit-lines > div { background: var(--surface-soft); }
  .demo-edit-lines > div:last-child { background: var(--accent-soft); color: var(--accent); }
  .demo-card.is-acted .saved-message { border-color: var(--accent-line); }
  .feature-icon, .fact-icon, .mini-logo { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
  .ghost-message, .edit-illustration { background: var(--surface-soft); border-color: var(--line); color: var(--muted); }
  .kept-message small, .edit-illustration > div:last-child small,
  .edit-illustration > div:last-child p { color: var(--accent); }
  .kept-message p, .edit-illustration small, .edit-illustration p { color: var(--muted); }
  .edit-divider { border-color: var(--line); }
  .edit-divider .icon { background: var(--accent-soft); color: var(--accent); }
  .media-landscape { border-color: var(--surface); outline-color: var(--line); }
  .audio-sample { background: var(--accent-soft); border-color: var(--accent-line); }
  .audio-sample small { color: var(--muted); }
  .media-saved { color: var(--green); }
  .setup-section { border: 1px solid #35536b; }
  .setup-description, .setup-step p { color: #b5c8d7; }
  .setup-step { color: #d4e3ee; }
  .setup-step.is-active p { color: #d2e3ef; }
  .setup-phone, .phone-heading { background: var(--surface-soft); border-color: var(--line); }
  .phone-heading small, .phone-profile small, .phone-step-hint,
  .phone-section-label, .phone-connected small, .phone-chat-toggle { color: var(--muted); }
  .phone-languages span { background: var(--surface); color: var(--muted); border-color: var(--line); }
  .phone-languages .is-selected, .phone-row.highlighted { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
  .phone-input { color: var(--accent); border-color: var(--accent-line); }
  .phone-chat-toggle { border-color: var(--line); }
  .phone-confirm { color: var(--green); background: var(--green-soft); }
  .phone-button { background: #0875cc; }
  .copy-handle small { color: #b4cfdf; }
  .faq-list summary .icon { color: var(--muted); }
  .faq-list details[open] summary { color: var(--accent); }
  :root[data-theme="dark"] ::selection { background: #296189; color: #ffffff; }
}

@layer readability {
  /* Keep small interface text on a flat, opaque surface for crisp rendering. */
  .floating-note { position: relative; inset: auto; transform: none; backdrop-filter: none; width: fit-content; max-width: 100%; margin: 18px auto 0; padding: 13px 17px; box-shadow: 0 6px 20px #143f5c08; }
  .floating-note strong { font-size: 14px; line-height: 1.45; }
  .floating-note small { font-size: 12px; line-height: 1.6; margin-top: 2px; }
  .floating-note > span { flex-shrink: 0; width: 35px; height: 35px; }
  .demo-caption { font-size: 12px; max-width: 436px; margin-top: 12px; line-height: 1.7; }
  .demo-topline { font-size: 10px; color: var(--muted); letter-spacing: .09em; }
  .demo-tabs button { font-size: 12px; }
  .demo-person strong { font-size: 14px; }
  .demo-person small, .demo-time, .original-message > span,
  .demo-connection small, .saved-foot, .demo-edit-lines small { font-size: 11px; }
  .original-message p, .saved-message blockquote, .demo-edit-lines { font-size: 13px; }
  .saved-heading strong { font-size: 13px; }
  .saved-heading small { font-size: 11px; line-height: 1.5; }
  .saved-heading > div { min-width: 0; }
  .saved-heading > img { flex-shrink: 0; }
  .saved-foot { gap: 8px; flex-wrap: wrap; }
  .demo-action { font-size: 13px; }
  .demo-media-label { font-size: 12px; }
  .demo-edit-lines small { display: block; margin-bottom: 2px; }
  .demo-edit-lines > div { padding: 7px 9px; }
  .demo-conversation { min-height: 320px; }
  .ghost-message, .kept-message, .audio-sample { transform: none; }
  .kept-message small { font-size: 10px; }
  .kept-message p, .ghost-message { font-size: 12px; }
  .edit-illustration small, .media-saved, .audio-sample small { font-size: 11px; }
  .edit-illustration p { color: var(--muted); }
  .delete-illustration, .edit-illustration, .media-illustration { height: 182px; }
  .media-saved { bottom: 13px; }
  .hero-note { font-size: 12px; }
  .phone-heading small, .phone-bot-intro p, .phone-profile small,
  .phone-connected small, .phone-step-hint, .phone-section-label,
  .phone-languages span, .copy-handle small, #copy-feedback { font-size: 11px; }
  .phone-connected strong, .phone-row, .phone-button, .phone-confirm,
  .phone-chat-toggle { font-size: 12px; }
  .setup-phone { height: 455px; }
  .final-cta small, .footer-bottom { font-size: 12px; }
  @media (max-width: 1150px) {
    .nav-bar { gap: 16px; }
    .desktop-nav { gap: 15px; }
    .nav-actions { gap: 12px; }
  }
  @media (max-width: 1050px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: grid; place-items: center; }
  }
  @media (min-width: 651px) and (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 40px; }
    .hero-copy { max-width: 630px; }
    .hero-visual { width: min(480px, 100%); margin-inline: auto; }
    .hero-actions { flex-direction: row; align-items: center; }
    h1 { font-size: 58px; }
    .hero-description { font-size: 16px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; padding: 24px; }
    .feature-icon, .feature-card h3, .feature-card > p { grid-column: 1; }
    .feature-card h3 { font-size: 22px; }
    .feature-card > p { font-size: 13px; margin-bottom: 0; }
    .delete-illustration, .edit-illustration, .media-illustration { grid-column: 2; grid-row: 1 / span 3; margin-block: auto; width: 100%; }
  }
  @media (max-width: 650px) {
    .nav-bar { gap: 8px; }
    .nav-actions { gap: 7px; }
    .hero-visual { padding: 0; }
    .floating-note { padding: 12px; }
    .floating-note strong { font-size: 13px; }
    .floating-note small { font-size: 12px; }
    .demo-conversation { padding-inline: 13px; }
    .saved-message { margin-left: 10px; padding-inline: 11px; }
    .original-message { margin-right: 20px; }
    .demo-caption { max-width: 100%; }
  }
  @media (max-width: 420px) {
    .nav-bar > .brand { font-size: 14px; gap: 6px; }
    .nav-bar > .brand img { width: 28px; height: 28px; }
    .nav-actions { gap: 5px; }
    .menu-toggle { width: 24px; }
  }
  @media (max-width: 360px) {
    .nav-bar > .brand { white-space: normal; max-width: 122px; line-height: 1.2; }
    .nav-bar > .brand img { flex-shrink: 0; }
    .floating-note small { max-width: none; }
  }
}
