:root {
    --midnight: #0d2340;
    --royal: #1f5ea8;
    --deep: #123b6d;
    --brass: #c9a35a;
    --antique: #a87c2a;
    --ivory: #f5f1e8;
    --paper: #fffaf0;
    --warm-gray: #cfc7b8;
    --ink: #15233a;
    --muted: #667085;
    --line: rgba(168, 124, 42, 0.25);
    --shadow: 0 28px 80px rgba(13, 35, 64, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: "Inter", system-ui, sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(201, 163, 90, 0.18), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(31, 94, 168, 0.1), transparent 28%),
        linear-gradient(90deg, rgba(168, 124, 42, 0.13) 1px, transparent 1px) 24px 30px / calc(100% - 48px) 1px no-repeat,
        linear-gradient(180deg, var(--paper), var(--ivory) 52%, #eee4d6);
}

body::before {
    content: "";
    position: fixed;
    inset: 24px;
    z-index: -1;
    border: 1px solid rgba(168, 124, 42, 0.28);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font: inherit;
}

.section-shell,
.site-header,
.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 240, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.brand,
.header-nav,
.header-actions,
.language-control,
.hero-actions,
.trust-metrics {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
    font-weight: 900;
}

.typewriter-logo {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid var(--brass);
    border-radius: 50%;
    color: #e6bf67;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    background:
        radial-gradient(circle at 35% 24%, rgba(31, 94, 168, 0.9), transparent 42%),
        linear-gradient(145deg, var(--deep), var(--midnight));
    box-shadow: inset 0 0 0 1px rgba(168, 124, 42, 0.72), 0 14px 28px rgba(13, 35, 64, 0.18);
}

.brand-text {
    font-size: 1.35rem;
    letter-spacing: -0.055em;
}

.header-nav {
    gap: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-nav a {
    padding: 10px 11px;
    border-radius: 999px;
}

.header-nav a:hover {
    color: var(--midnight);
    background: rgba(201, 163, 90, 0.16);
}

.header-actions {
    gap: 10px;
}

.language-control {
    gap: 8px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.language-control select {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--midnight);
    background: var(--paper);
    font-weight: 900;
}

.locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 250, 240, 0.82);
}

.locale-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 30px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.locale-switch a.active {
    color: var(--paper);
    background: linear-gradient(135deg, var(--deep), var(--midnight));
    box-shadow: inset 0 0 0 1px rgba(201, 163, 90, 0.45);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid rgba(168, 124, 42, 0.36);
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-small {
    min-height: 40px;
    padding-inline: 15px;
    border-radius: 13px;
}

.btn-primary {
    color: var(--paper);
    background: linear-gradient(135deg, #071a31, var(--midnight));
    box-shadow: 0 18px 36px rgba(13, 35, 64, 0.2);
}

.btn-primary::after {
    content: "->";
    color: var(--brass);
}

button.btn-primary::after {
    content: "";
}

.btn-secondary {
    color: var(--midnight);
    background: rgba(255, 250, 240, 0.76);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
    gap: 56px;
    align-items: center;
    min-height: auto;
    padding: 34px 0 54px;
}

.hero-copy,
.hero-visual,
.section-heading,
.step-card,
.feature-card,
.trust-card,
.capsule-card,
.pricing-card,
.final-cta {
    min-width: 0;
}

.pill,
.section-kicker {
    color: var(--antique);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pill {
    display: inline-flex;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.78);
}

h1,
h2 {
    margin: 0;
    color: var(--midnight);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.96;
}

h1 {
    max-width: 11ch;
    font-size: clamp(4rem, 9vw, 8rem);
}

.hero h1 {
    max-width: 12ch;
    font-size: 5.35rem;
}

h2 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
}

h3 {
    margin: 0;
    color: var(--midnight);
    font-size: 1.25rem;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-subtitle {
    max-width: 64ch;
    margin: 18px 0 0;
    font-size: 1.12rem;
}

.hero-mobile-subtitle {
    display: none;
}

.hero-position {
    max-width: 48ch;
    margin: 14px 0 0;
    color: var(--midnight);
    font-weight: 800;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.trust-metrics {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.trust-metrics span {
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 250, 240, 0.7);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 600px;
}

.real-phone-shot {
    position: relative;
    width: 340px;
    max-width: 78vw;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(201, 163, 90, 0.52);
    border-radius: 44px;
    background:
        linear-gradient(145deg, rgba(201, 163, 90, 0.34), transparent 40%),
        linear-gradient(180deg, var(--midnight), #071a31);
    box-shadow: 0 48px 120px rgba(13, 35, 64, 0.28), 0 0 0 9px rgba(255, 250, 240, 0.9);
    overflow: hidden;
    transform: rotate(1.2deg);
}

.real-phone-shot img {
    display: block;
    width: 100%;
    height: 640px;
    object-fit: cover;
    object-position: top center;
    border-radius: 32px;
    background: #081421;
}

.real-phone-shot figcaption {
    margin: 12px 4px 0;
    color: rgba(255, 250, 240, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.keyboard-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.demo-phone {
    width: 358px;
    max-width: 100%;
    min-height: 594px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(201, 163, 90, 0.55);
    border-radius: 42px;
    background: #081421;
    box-shadow: 0 42px 90px rgba(13, 35, 64, 0.24), 0 0 0 8px rgba(255, 250, 240, 0.88);
}

.demo-chat-head {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 60px;
    padding: 0 8px;
    color: #f7f9fc;
}

.demo-chat-head strong,
.demo-chat-head small {
    display: block;
}

.demo-chat-head small {
    margin-top: 2px;
    color: #91a0b4;
    font-size: 0.72rem;
}

.demo-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #0c1724;
    background: var(--brass);
    font-weight: 800;
}

.demo-private {
    margin-left: auto;
    color: #e6c478;
    font-size: 0.63rem;
    font-weight: 800;
}

.demo-chat-stream {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 13px;
    min-height: 126px;
    padding: 16px 8px 23px;
}

.demo-message {
    width: fit-content;
    max-width: 82%;
    margin: 0;
    padding: 11px 14px;
    border-radius: 16px;
    color: #f4f7fb;
    font-size: 0.86rem;
    line-height: 1.4;
    background: #172638;
}

.demo-message.outgoing {
    align-self: flex-end;
    min-width: 166px;
    background: #245a91;
    transition: background 220ms ease, color 220ms ease;
}

.demo-phone.is-encrypted .demo-message.outgoing {
    background: #163b37;
    color: #69d5a2;
    font-weight: 700;
}

.demo-keyboard {
    min-height: 349px;
    margin: 0 -14px -14px;
    padding: 13px 11px 15px;
    background: #0c131b;
}

.demo-compose {
    min-height: 44px;
    padding: 13px 14px;
    overflow: hidden;
    border-radius: 13px;
    color: #d9e0e8;
    background: #172330;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 220ms ease;
}

.demo-phone.is-encrypted .demo-compose {
    color: #69d5a2;
}

.demo-keyboard .demo-hint {
    --hint-arrow-position: 12.5%;
    position: relative;
    padding: 6px 9px;
    margin: 8px 0 6px;
    border: 1px solid rgba(228, 190, 103, .7);
    border-radius: 7px;
    color: #f7dfae;
    background: #222d38;
    font-size: .67rem;
    font-weight: 700;
    line-height: 1.25;
}

.demo-keyboard .demo-hint::after {
    content: "";
    position: absolute;
    top: 100%;
    left: calc(var(--hint-arrow-position) - 6px);
    border: 6px solid transparent;
    border-top-color: rgba(228, 190, 103, .9);
}

.demo-keyboard .demo-hint.is-decrypt {
    --hint-arrow-position: 37.5%;
    border-color: rgba(86, 196, 148, .75);
    color: #b9f2d7;
}

.demo-keyboard .demo-hint.is-decrypt::after {
    border-top-color: rgba(86, 196, 148, .9);
}

.demo-toolbar {
    display: flex;
    gap: 4px;
    margin: 9px 0 7px;
}

.demo-tool {
    flex: 1;
    height: 38px;
    border: 1px solid #283747;
    border-radius: 10px;
    color: #d4dce6;
    background: #162331;
    cursor: pointer;
}

.demo-tool img {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    object-fit: contain;
}

.demo-tool img[src$=".png"] {
    filter: brightness(0) invert(1);
}

.demo-tool.active {
    border-color: #d1a653;
    color: #0c1724;
    background: #e4be67;
}

.demo-phone.is-encrypted .demo-tool.active {
    border-color: #3faa7c;
    background: #56c494;
}

.demo-number-row,
.demo-key-row,
.demo-bottom-row {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.demo-number-row span,
.demo-key-row span,
.demo-bottom-row span {
    display: grid;
    place-items: center;
    height: 30px;
    border-radius: 5px;
    color: #d4dce6;
    background: #172737;
    font-size: 0.67rem;
    font-weight: 600;
}

.demo-number-row {
    margin-bottom: 3px;
}

.demo-number-row span {
    width: calc((100% - 18px) / 10);
    height: 25px;
}

.demo-key-row {
    margin-bottom: 3px;
}

.demo-key-row span {
    flex: 1;
    margin-bottom: 3px;
}

.demo-key-row.middle {
    padding-inline: 10px;
}

.demo-keys .utility {
    color: #e4be67;
    background: #213347;
}

.demo-bottom-row {
    flex-wrap: nowrap;
}

.demo-bottom-row span {
    flex: 1;
}

.demo-bottom-row .space {
    flex: 3.2;
}

.demo-hint {
    max-width: 350px;
    margin: 0;
    color: var(--midnight);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

.product-tour .section-heading p {
    max-width: 620px;
    margin: 18px 0 0;
}

.tour-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}

.tour-controls {
    display: grid;
    gap: 10px;
}

.tour-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--midnight);
    background: rgba(255, 250, 240, 0.7);
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease;
}

.tour-tab strong {
    color: var(--antique);
    font-size: 0.86rem;
}

.tour-tab span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 800;
}

.tour-tab small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.tour-tab.is-active {
    border-color: rgba(201, 163, 90, 0.9);
    background: var(--paper);
    box-shadow: 0 18px 34px rgba(13, 35, 64, 0.09);
}

.tour-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 338px;
    padding: 38px 48px;
    border-radius: 24px;
    color: var(--paper);
    background: #0f1419;
}

.tour-lock {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 25px;
    border-radius: 50%;
    color: #e4be67;
    background: #24231d;
    font-size: 2.25rem;
}

.tour-panel {
    display: none;
    text-align: center;
}

.tour-panel.is-active {
    display: block;
    animation: demoReveal 230ms ease both;
}

.tour-label {
    margin: 0 0 13px;
    color: #e4be67;
    font-size: 0.7rem;
    font-weight: 800;
}

.tour-panel strong {
    display: block;
    color: #f7f9fc;
    font-size: 1.42rem;
}

.tour-panel .cipher {
    color: #69d5a2;
}

.tour-panel .emoji-key {
    font-size: 1.33rem;
}

.tour-panel p:last-child {
    max-width: 400px;
    margin: 17px auto 0;
    color: #aab4c0;
    line-height: 1.55;
}

@keyframes demoReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-shell {
    padding: 96px 0 0;
}

.problem {
    max-width: 980px;
    padding: 46px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(135deg, var(--midnight), #071a31);
    box-shadow: var(--shadow);
}

.problem h2,
.problem p {
    color: var(--paper);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-kicker {
    margin-bottom: 14px;
}

.section-kicker::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 13px;
    background: linear-gradient(90deg, var(--brass), transparent);
}

.steps-grid,
.features-grid,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.section-note {
    margin: 18px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--midnight);
    background: rgba(255, 250, 240, 0.72);
    font-weight: 800;
}

.features-grid,
.trust-grid {
    grid-template-columns: repeat(3, 1fr);
}

.step-card,
.feature-card,
.trust-card,
.capsule-card,
.faq-list details {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 240, 0.78);
    box-shadow: var(--shadow);
}

.step-card span,
.feature-card span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--brass);
    background: linear-gradient(145deg, var(--deep), var(--midnight));
    font-weight: 900;
}

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

.capsule-stack {
    display: grid;
    gap: 14px;
}

.capsule-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.capsule-card span {
    color: var(--antique);
    font-weight: 900;
}

.capsule-card strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    color: var(--midnight);
}

.comparison-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 250, 240, 0.82);
    box-shadow: var(--shadow);
}

.row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
}

.row span {
    padding: 18px;
    border-bottom: 1px solid rgba(168, 124, 42, 0.16);
}

.row span + span {
    border-left: 1px solid rgba(168, 124, 42, 0.16);
}

.row.header {
    color: var(--paper);
    background: linear-gradient(135deg, var(--deep), var(--midnight));
    font-weight: 900;
}

.pricing-card,
.final-cta {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 30px;
    align-items: center;
    padding: 42px;
    border: 1px solid rgba(201, 163, 90, 0.42);
    border-radius: 34px;
    color: var(--paper);
    background:
        radial-gradient(circle at 16% 20%, rgba(31, 94, 168, 0.25), transparent 35%),
        linear-gradient(135deg, var(--midnight), #071a31);
    box-shadow: var(--shadow);
}

.pricing-card h2,
.pricing-card p,
.final-cta h2,
.final-cta p {
    color: var(--paper);
}

.price-box {
    padding: 26px;
    border: 1px solid rgba(201, 163, 90, 0.46);
    border-radius: 26px;
    background: rgba(255, 250, 240, 0.08);
}

.price-box span,
.price-box small {
    display: block;
    color: rgba(255, 250, 240, 0.72);
}

.price-box strong {
    display: block;
    margin: 6px 0 20px;
    color: var(--brass);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 5rem;
    line-height: 1;
}

.price-box .btn {
    width: 100%;
}

.price-box small {
    margin-top: 12px;
}

.creator-price-note,
.offer-summary {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 163, 90, 0.38);
    border-radius: 14px;
    background: rgba(201, 163, 90, 0.10);
    color: rgba(255, 250, 240, 0.82);
    font-size: 0.95rem;
}

.creator-price-note strong,
.offer-summary strong {
    color: var(--brass);
}

.invite-program {
    display: grid;
    gap: 22px;
}

.invite-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.invite-link-box {
    display: grid;
    gap: 10px;
    margin: 22px 0 8px;
}

.invite-link-box span {
    color: rgba(255, 250, 240, 0.72);
    font-size: 0.92rem;
}

.invite-link-box input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 163, 90, 0.42);
    border-radius: 12px;
    background: rgba(5, 10, 18, 0.68);
    color: var(--paper);
    font: inherit;
}

.partner-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.partner-form label,
.activation-card label {
    display: grid;
    gap: 7px;
    color: rgba(255, 250, 240, 0.72);
}

.partner-form input,
.activation-card input {
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(201, 163, 90, 0.36);
    border-radius: 12px;
    background: rgba(5, 10, 18, 0.68);
    color: var(--paper);
    font: inherit;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list summary {
    cursor: pointer;
    color: var(--midnight);
    font-weight: 900;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--antique);
}

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

.final-cta {
    margin-bottom: 60px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0 42px;
    color: var(--muted);
}

.activation {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
    padding-top: 70px;
}

.activation-card,
.activation-help {
    border: 1px solid rgba(201, 163, 90, 0.28);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(245, 241, 232, 0.72)),
        radial-gradient(circle at 20% 0%, rgba(201, 163, 90, 0.18), transparent 34%);
    box-shadow: var(--shadow-soft);
    padding: clamp(28px, 4vw, 48px);
}

.activation-card h1 {
    margin-bottom: 18px;
}

.founder-page .activation {
    padding-top: 42px;
}

.founder-page .activation-card h1 {
    max-width: 18ch;
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: 0;
}

.founder-page .activation-help h2 {
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 0;
}

.founder-page .hero-subtitle,
.founder-page .hero-position {
    margin-top: 10px;
}

.founder-page .hero-actions {
    margin-top: 16px;
}

.partner-economics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 8px;
}

.partner-economics div {
    padding: 16px;
    border: 1px solid rgba(255, 250, 240, 0.12);
    border-radius: 16px;
    background: rgba(255, 250, 240, 0.06);
}

.partner-economics span {
    display: block;
    color: rgba(255, 250, 240, 0.68);
    font-size: 0.86rem;
}

.partner-economics strong {
    display: block;
    margin-top: 6px;
    color: var(--brass);
    font-size: 1.55rem;
}

.install-page .activation {
    padding-top: 42px;
}

.install-page .activation-card h1 {
    max-width: 17ch;
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: 0;
}

.install-page .activation-help h2 {
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 0;
}

.install-page .hero-actions {
    margin-top: 16px;
}

.activation-form {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.activation-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 800;
}

.activation-form input,
.activation-result textarea {
    width: 100%;
    border: 1px solid rgba(13, 35, 64, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--navy);
    font: inherit;
    padding: 15px 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.activation-result {
    margin-top: 26px;
    border-top: 1px solid rgba(13, 35, 64, 0.12);
    padding-top: 24px;
}

.activation-result h2,
.activation-help h2 {
    margin: 0 0 14px;
    color: var(--navy);
}

.activation-result textarea {
    min-height: 164px;
    resize: vertical;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
}

.activation-error {
    margin-top: 18px;
    border: 1px solid rgba(164, 58, 58, 0.28);
    border-radius: 18px;
    background: rgba(255, 232, 232, 0.75);
    color: #8d2424;
    font-weight: 800;
    padding: 14px 16px;
}

.muted {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.16);
}

.reveal {
    animation: reveal 700ms ease both;
}

.delay-1 {
    animation-delay: 120ms;
}

.delay-2 {
    animation-delay: 220ms;
}

.delay-3 {
    animation-delay: 320ms;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1040px) {
    .site-header,
    .hero,
    .capsules,
    .tour-layout,
    .pricing-card,
    .final-cta,
    .activation {
        grid-template-columns: 1fr;
    }

    .site-header {
        display: grid;
    }

    .header-nav,
    .header-actions {
        flex-wrap: wrap;
    }

    .steps-grid,
    .features-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: 5.2rem;
    }
}

@media (max-width: 720px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
        background:
            radial-gradient(circle at 12% 8%, rgba(201, 163, 90, 0.14), transparent 26%),
            radial-gradient(circle at 88% 12%, rgba(31, 94, 168, 0.08), transparent 28%),
            linear-gradient(180deg, var(--paper), var(--ivory) 52%, #eee4d6);
    }

    body::before {
        display: none;
    }

    .section-shell,
    .site-header,
    .site-footer {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .header-nav {
        display: none;
    }

    .site-header {
        display: flex;
        top: 10px;
        gap: 8px;
        border-radius: 20px;
        padding: 8px 10px;
    }

    .header-actions {
        margin-left: auto;
        flex-direction: row;
        gap: 8px;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .header-actions .btn {
        display: none;
    }

    .locale-switch {
        flex: 0 0 auto;
    }

    h1 {
        max-width: 9.5ch;
        font-size: clamp(2.75rem, 13.6vw, 3.7rem);
        line-height: 0.98;
    }

    .hero h1 {
        max-width: 9.5ch;
        font-size: 3.25rem;
    }

    .hero {
        gap: 14px;
        padding-top: 16px;
    }

    .hero-copy,
    .hero-subtitle,
    .hero-position {
        width: 100%;
        max-width: 100%;
    }

    .hero-subtitle,
    .hero-position {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        display: none;
    }

    .hero-mobile-subtitle {
        display: block;
        margin: 10px 0 0;
        color: var(--muted);
        font-size: .94rem;
        line-height: 1.46;
    }

    .pill {
        margin-bottom: 12px;
        padding: 8px 12px;
        font-size: .68rem;
    }

    .hero-actions {
        margin-top: 14px;
    }

    .hero-actions .btn-secondary {
        display: none;
    }

    .hero-actions .btn {
        min-height: 46px;
    }

    .hero-position,
    .hero .trust-metrics {
        display: none;
    }

    .hero-visual {
        min-height: auto;
    }

    .demo-phone {
        min-height: 580px;
    }

    .demo-chat-stream {
        min-height: 94px;
    }

    .tour-stage {
        min-height: 304px;
        padding: 32px 20px;
    }

    .tour-panel .emoji-key {
        font-size: 1.08rem;
    }

    .real-phone-shot img {
        height: 560px;
    }

    .steps-grid,
    .features-grid,
    .trust-grid,
    .invite-grid,
    .partner-economics,
    .row {
        grid-template-columns: 1fr;
    }

    .row span + span {
        border-left: 0;
    }

    .problem,
    .pricing-card,
    .final-cta,
    .activation-card,
    .activation-help {
        padding: 26px;
    }

    .founder-page .activation-card h1 {
        font-size: 3rem;
    }

    .founder-page .activation-help h2 {
        font-size: 2.5rem;
    }

    .install-page .activation-card h1 {
        font-size: 3rem;
    }

    .install-page .activation-help h2 {
        font-size: 2.5rem;
    }

    .site-footer {
        flex-direction: column;
    }
}
