@font-face {
    font-family: Dana;
    src: url("../fonts/dana-regular.ttf") format("truetype");
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Dana;
    src: url("../fonts/dana-bold.ttf") format("truetype");
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f5f7fa;
    --text: #163047;
    --muted: #4e677c;
    --soft: #6d8498;
    --line: rgba(4, 88, 146, 0.12);
    --cyan: #12b8c6;
    --glow: #0cd8dc;
    --primary: #045892;
    --primary-dark: #03386c;
    --card: #ffffff;
    --shadow: 0 18px 40px rgba(16, 42, 67, 0.08);
    --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 88px; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Dana, Tahoma, sans-serif;
    background:
        radial-gradient(880px 420px at 100% -10%, rgba(18, 184, 198, 0.16), transparent 58%),
        radial-gradient(720px 380px at 0% 0%, rgba(4, 88, 146, 0.08), transparent 52%),
        var(--bg);
    color: var(--text);
    line-height: 1.9;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(4, 88, 146, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 88, 146, 0.045) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(ellipse at center, #000 15%, transparent 78%);
}

::selection { background: rgba(12, 216, 220, 0.35); }

a { color: inherit; }

img, svg { display: block; }

button, input { font: inherit; }

:focus-visible {
    outline: 2px solid var(--glow);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    inset-inline-start: 16px;
    top: -40px;
    z-index: 20;
    background: #fff;
    color: #041018;
    padding: 8px 12px;
    border-radius: 10px;
}

.skip:focus { top: 12px; }

.page { position: relative; z-index: 1; }

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    background: rgba(245, 247, 250, 0.9);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
}

.mark {
    width: 42px;
    height: 42px;
    display: block;
    border-radius: 13px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(4, 88, 146, 0.18);
}

.nav {
    display: flex;
    gap: 22px;
    margin-inline-start: auto;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a:hover { color: var(--primary); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 16px 10px 18px;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn small {
    display: block;
    font-size: 0.72rem;
    line-height: 1.4;
    opacity: 0.82;
}

.btn b {
    display: block;
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 800;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 12px 28px rgba(4, 88, 146, 0.22);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
    color: var(--primary);
    background: #fff;
    border-color: rgba(4, 88, 146, 0.16);
}

.btn-ghost:hover { border-color: rgba(12, 216, 220, 0.45); }

.btn-small {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    flex: none;
}

.btn-ghost .btn-icon { background: rgba(12, 216, 220, 0.1); }

.is-soon {
    opacity: 0.72;
    cursor: default;
}

.hero { padding: 28px 0 20px; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 36px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(18, 184, 198, 0.35);
    background: rgba(18, 184, 198, 0.12);
    color: #046f86;
    font-size: 0.86rem;
    font-weight: 600;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glow);
    box-shadow: 0 0 0 0 rgba(12, 216, 220, 0.7);
}

@media (prefers-reduced-motion: no-preference) {
    .dot { animation: pulse 2.2s ease-out infinite; }
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4.5vw, 3.45rem);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}

.grad {
    background: linear-gradient(115deg, #045892 0%, #0a8fb0 48%, #12b8c6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 38rem;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 1.06rem;
}

.prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    max-width: 38rem;
    margin-bottom: 26px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.prompt-label {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.prompt-text {
    color: var(--text);
    font-weight: 500;
}

.caret {
    width: 8px;
    height: 1.1em;
    border-radius: 2px;
    background: var(--glow);
}

@media (prefers-reduced-motion: no-preference) {
    .caret { animation: blink 1.05s steps(1) infinite; }
}

.cta-row, .store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fineprint {
    margin: 14px 0 0;
    color: var(--soft);
    font-size: 0.86rem;
}

.hero-visual {
    position: relative;
    min-height: 640px;
    display: grid;
    place-items: center;
}

.device {
    width: 292px;
    padding: 10px;
    border-radius: 40px;
    background: linear-gradient(180deg, #ffffff, #d7e2ec);
    box-shadow: 0 24px 50px rgba(16, 42, 67, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

@media (prefers-reduced-motion: no-preference) {
    .device { animation: floaty 6.5s ease-in-out infinite; }
}

.device-screen {
    overflow: hidden;
    border-radius: 30px;
    background: #f5f7fa;
    color: #163047;
    min-height: 560px;
    padding: 14px 14px 16px;
}

.device-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #355066;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.island {
    width: 78px;
    height: 16px;
    border-radius: 999px;
    background: #101820;
}

.app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.app-head small { display: block; color: #6b8194; line-height: 1.4; }

.app-head strong { font-size: 1rem; }

.app-id {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.ai-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e7fbfb;
    color: #046f86;
    font-size: 0.72rem;
    font-weight: 700;
}

.sales-card, .hint-card, .bill-list {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}

.sales-card { padding: 14px; margin-bottom: 10px; }

.sales-card span, .hint-card span {
    color: #6b8194;
    font-size: 0.75rem;
}

.sales-card strong {
    display: block;
    margin: 2px 0 10px;
    color: #045892;
    font-size: 1.25rem;
    line-height: 1.4;
}

.sales-card em {
    font-style: normal;
    font-size: 0.72rem;
    color: #6b8194;
    font-weight: 500;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 64px;
}

.bars i {
    display: block;
    width: 12px;
    height: var(--h);
    border-radius: 99px;
    background: linear-gradient(180deg, #0cd8dc, #045892);
    transform-origin: bottom;
}

.delta {
    margin: 8px 0 0;
    color: #1f7a45;
    font-size: 0.75rem;
    font-weight: 700;
}

.hint-card {
    margin-bottom: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #045892, #0e8f9c);
    color: #fff;
}

.hint-card span { color: rgba(255, 255, 255, 0.78); }

.hint-card p {
    margin: 4px 0 0;
    font-size: 0.84rem;
    line-height: 1.7;
    font-weight: 600;
}

.bill-list {
    list-style: none;
    margin: 0;
    padding: 6px 12px;
}

.bill-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid #eef2f6;
    font-size: 0.8rem;
    font-weight: 600;
}

.bill-list li:last-child { border-bottom: 0; }

.tag {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
}

.tag-ok { background: #e8f6ec; color: #1f7a45; }
.tag-due { background: #fdecec; color: #b42318; }
.tag-new { background: #e7f4ff; color: #045892; }

.metrics { padding: 10px 0 20px; }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.metric { padding: 18px 20px; }

.metric + .metric { border-inline-start: 1px solid var(--line); }

.metric svg { color: var(--primary); margin-bottom: 8px; }

.metric b {
    display: block;
    font-size: 1.05rem;
}

.metric span {
    color: var(--soft);
    font-size: 0.86rem;
}

.section { padding: 72px 0; }

.section-head {
    max-width: 40rem;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.45;
}

.section-head p { margin: 0; color: var(--muted); }

.feature-grid, .audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature, .audience, .step, .assistant, .download-panel, .faq {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.feature, .audience { padding: 22px; }

.feature:hover, .audience:hover { border-color: rgba(12, 216, 220, 0.4); }

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 15px;
    color: var(--primary);
    background: rgba(18, 184, 198, 0.14);
}

.feature h3, .audience h3, .step h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
}

.feature p, .audience p, .step p { margin: 0; color: var(--muted); }

.intel-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
}

.assistant { padding: 18px; }

.assistant-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 800;
}

.assistant-head svg { color: var(--primary); }

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3dde8a;
}

.thread { display: grid; gap: 10px; }

.bubble {
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    line-height: 1.8;
}

.bubble-user {
    justify-self: start;
    max-width: 80%;
    background: var(--primary);
    color: #fff;
}

.bubble-ai {
    background: var(--bg);
    border: 1px solid var(--line);
}

.bubble-ai ol {
    margin: 8px 0 0;
    padding-inline-start: 1.1rem;
}

.bubble-ai li { margin: 6px 0; }

.bubble-ai li.is-dim { opacity: 0.38; }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
}

.chip-btn[aria-pressed="true"] {
    color: #fff;
    background: var(--primary);
    border-color: transparent;
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step { padding: 22px; }

.step-no {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(4, 88, 146, 0.08);
    color: var(--primary);
    font-weight: 800;
}

.audience-grid { grid-template-columns: repeat(4, 1fr); }

.download-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    padding: 32px;
    background:
        radial-gradient(480px 220px at 0% 0%, rgba(18, 184, 198, 0.18), transparent 62%),
        linear-gradient(165deg, #ffffff, #eef6fb);
}

.download-panel h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.45;
}

.download-panel > div > p { color: var(--muted); }

.checklist {
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-block: 8px;
}

.checklist svg {
    flex: none;
    margin-top: 5px;
    color: var(--primary);
}

.faq { padding: 8px 22px; }

.faq details { border-bottom: 1px solid var(--line); }

.faq details:last-child { border-bottom: 0; }

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    color: var(--glow);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
    margin: 0 0 16px;
    color: var(--muted);
}

.site-footer {
    padding: 28px 0 48px;
    color: var(--soft);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.dock {
    display: none;
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 8px rgba(12, 216, 220, 0); }
    100% { box-shadow: 0 0 0 0 rgba(12, 216, 220, 0); }
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes floaty {
    50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
    .hero-grid, .intel-grid, .download-panel, .steps { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .audience-grid, .metric-grid { grid-template-columns: 1fr 1fr; }
    .metric + .metric { border-inline-start: 0; }
    .metric { border-top: 1px solid var(--line); }
    .metric:nth-child(-n + 2) { border-top: 0; }
    .hero-visual { min-height: 0; padding: 12px 0 8px; }
    .nav { display: none; }
}

@media (max-width: 680px) {
    .container { width: min(1120px, calc(100% - 28px)); }
    .feature-grid, .audience-grid, .metric-grid { grid-template-columns: 1fr; }
    .metric { border-top: 1px solid var(--line); }
    .metric:first-child { border-top: 0; }
    .header-inner .btn-small { display: none; }
    .device { width: min(292px, 100%); }
    .download-panel { padding: 22px; }
    .dock {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 12;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.94);
        border-top: 1px solid var(--line);
        backdrop-filter: blur(16px);
    }
    .dock-brand { display: flex; align-items: center; gap: 10px; }
    .dock-brand img { width: 36px; height: 36px; border-radius: 10px; }
    .dock p { margin: 0; font-weight: 800; }
    .dock span { display: block; color: var(--soft); font-size: 0.78rem; font-weight: 500; }
    body { padding-bottom: 84px; }
}
