:root {
    --bg: #071426;
    --bg-deep: #040d1a;
    --surface: #0c1d33;
    --surface-strong: #102742;
    --surface-soft: #132d4c;
    --line: rgba(164, 205, 237, 0.18);
    --line-strong: rgba(121, 214, 255, 0.42);
    --text: #f5f1e8;
    --text-soft: #b8c5d5;
    --muted: #8798ad;
    --cyan: #55d8ff;
    --blue: #4c86ff;
    --violet: #806bff;
    --coral: #f0846c;
    --gold: #e4bd68;
    --success: #7fd9b4;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --font-body: "Manrope Variable", Manrope, Arial, sans-serif;
    --font-display: "Cormorant Garamond Variable", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.dialog-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

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

h1,
h2,
h3 {
    text-wrap: balance;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 4.6vw, 4rem);
}

h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.22rem;
    line-height: 1.3;
}

.shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: rgba(7, 20, 38, 0.82);
    backdrop-filter: blur(18px);
    transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    background: rgba(4, 13, 26, 0.95);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 82px;
    gap: 40px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1;
}

.brand-tagline {
    max-width: 92px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 650;
    line-height: 1.25;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.language-switcher {
    display: inline-grid;
    grid-template-columns: repeat(2, 44px);
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(12, 29, 51, 0.72);
}

.language-switcher a {
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
    color: var(--text);
}

.language-switcher a[aria-current="page"] {
    background: var(--cyan);
    color: var(--bg-deep);
}

.primary-nav {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 2.2vw, 34px);
}

.primary-nav a {
    position: relative;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--text);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 750;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 12px 34px rgba(76, 134, 255, 0.28), 0 0 28px rgba(85, 216, 255, 0.12);
}

.button-primary:hover {
    background: #5b90ff;
    box-shadow: 0 16px 40px rgba(76, 134, 255, 0.34), 0 0 36px rgba(85, 216, 255, 0.16);
}

.button-secondary {
    border-color: var(--line-strong);
    background: rgba(15, 36, 61, 0.68);
    color: var(--text);
}

.button-secondary:hover {
    border-color: var(--cyan);
    background: var(--surface-strong);
}

.button-small {
    min-height: 44px;
    padding-inline: 20px;
    font-size: 0.82rem;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 820px;
    padding: 150px 0 96px;
    background: var(--bg-deep);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
    align-items: center;
    gap: 54px;
}

.hero-copy h1 {
    max-width: 740px;
    margin-bottom: 24px;
    font-size: clamp(3.9rem, 5.5vw, 5rem);
    line-height: 1.01;
}

.hero-copy h1 span {
    color: var(--coral);
}

.hero-lead {
    max-width: 690px;
    margin-bottom: 24px;
    color: var(--text-soft);
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    line-height: 1.55;
}

.hero-use-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 10px 22px;
    margin: 0 0 30px;
    padding: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 650;
    list-style: none;
}

.hero-use-cases li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-use-cases i {
    color: var(--cyan);
    font-size: 1.1rem;
}

.hero-button {
    min-height: 62px;
    padding-inline: 30px;
}

.channel-choice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.channel-choice > span {
    width: 100%;
    color: var(--muted);
    font-size: 0.76rem;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.channel-link i {
    color: var(--cyan);
    font-size: 1.15rem;
}

.channel-link:hover {
    border-color: var(--line-strong);
    background: var(--surface);
}

.hero-portrait {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-portrait > img {
    width: min(460px, 100%);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(218, 241, 255, 0.38), 0 0 55px rgba(85, 216, 255, 0.32), 0 38px 110px rgba(0, 0, 0, 0.48);
}

.hero-message {
    position: absolute;
    right: 0;
    bottom: 46px;
    display: grid;
    width: min(380px, 88%);
    padding: 20px 22px;
    gap: 5px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: rgba(12, 29, 51, 0.94);
    box-shadow: var(--shadow);
}

.hero-message strong {
    color: var(--cyan);
    font-size: 0.84rem;
}

.hero-message span {
    color: var(--text-soft);
    font-size: 0.83rem;
    line-height: 1.5;
}

.section-heading {
    margin-bottom: 54px;
}

.section-heading > p:last-child {
    max-width: 710px;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.centered-heading {
    text-align: center;
}

.centered-heading > p:last-child {
    margin-inline: auto;
}

.reviews-section {
    padding: 78px 0 84px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.reviews-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 34px;
}

.reviews-heading .eyebrow {
    margin-bottom: 12px;
}

.reviews-heading h2 {
    max-width: 720px;
    margin-bottom: 0;
    font-size: clamp(2.6rem, 4vw, 3.7rem);
}

.reviews-controls {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
}

.reviews-controls button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.reviews-controls button svg,
.nav-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reviews-controls button:hover:not(:disabled) {
    border-color: var(--cyan);
    background: var(--surface-strong);
}

.reviews-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}

.reviews-controls span {
    min-width: 48px;
    color: var(--text-soft);
    font-size: 0.76rem;
    text-align: center;
}

.reviews-carousel {
    position: relative;
}

.reviews-viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.reviews-viewport::-webkit-scrollbar {
    display: none;
}

.reviews-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
}

.review-slide {
    display: grid;
    place-items: center;
    flex: 0 0 min(820px, calc(100vw - 80px));
    min-height: 500px;
    padding: 28px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    scroll-snap-align: start;
}

.review-slide a {
    display: block;
    width: 100%;
    min-width: 0;
}

.review-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.reviews-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.65rem;
}

.context-section {
    padding: 98px 0 82px;
    background: var(--bg);
}

.context-stage {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.context-stage > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.context-conversation {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(430px, 44%);
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: rgba(7, 20, 38, 0.95);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.52), 0 0 40px rgba(85, 216, 255, 0.18);
    transform: translate(-50%, -50%);
}

.message-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
}

.message-row img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.message-row p {
    margin: 3px 0 18px;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.55;
}

.message-author {
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 750;
}

.message-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 12px 0 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-strong);
    color: var(--muted);
    font-size: 0.76rem;
}

.message-input i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.proof-strip > div {
    padding: 28px 34px;
    text-align: center;
}

.proof-strip > div + div {
    border-left: 1px solid var(--line);
}

.proof-strip dt {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1;
}

.proof-strip dd {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.transformation-section {
    padding: 98px 0;
    background: var(--bg-deep);
}

.transformation-visual {
    width: min(980px, 100%);
    margin: 42px auto 0;
    overflow: hidden;
    aspect-ratio: 4 / 1;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.transformation-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transformation-copy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
    margin-top: 0;
}

.transformation-copy article {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    column-gap: 14px;
}

.transformation-copy h3,
.transformation-copy p {
    grid-column: 2;
}

.transformation-copy p {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.step-number {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 0.7rem;
    font-weight: 750;
}

.demo-section {
    padding: 98px 0;
    background: var(--bg);
}

.demo-tabs {
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 24px;
    padding: 5px;
    gap: 4px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    scrollbar-width: none;
}

.demo-tabs::-webkit-scrollbar {
    display: none;
}

.demo-tabs button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.demo-tabs button[aria-selected="true"] {
    background: var(--surface-soft);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.demo-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.demo-image {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.demo-image.avatar-demo {
    padding: 80px;
    background: var(--bg-deep);
    object-fit: contain;
}

.demo-chat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
    padding: clamp(28px, 5vw, 64px);
    gap: 20px;
    background: var(--surface-strong);
}

.user-question {
    align-self: flex-end;
    max-width: 82%;
    padding: 13px 17px;
    border-radius: 18px 18px 5px 18px;
    background: var(--blue);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 650;
}

.aika-answer {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px 20px 20px 5px;
    background: rgba(7, 20, 38, 0.72);
}

.answer-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.answer-head img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.answer-head div {
    display: grid;
}

.answer-head strong {
    color: var(--cyan);
    font-size: 0.85rem;
}

.answer-head span {
    color: var(--muted);
    font-size: 0.68rem;
}

.aika-answer p,
.aika-answer li {
    color: var(--text-soft);
    font-size: 0.87rem;
    line-height: 1.6;
}

.aika-answer p:last-of-type {
    margin-bottom: 0;
}

.aika-answer ul {
    padding-left: 20px;
}

.answer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.answer-actions span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--cyan);
    font-size: 0.68rem;
}

.memory-section {
    padding: 104px 0;
    border-block: 1px solid var(--line);
    background: var(--bg-deep);
}

.memory-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 90px;
}

.memory-grid h2 {
    max-width: 560px;
}

.memory-grid > div:first-child > p:not(.eyebrow) {
    max-width: 540px;
    color: var(--text-soft);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.memory-thread {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.memory-note,
.memory-reply {
    padding: 22px;
    border-radius: 18px;
    background: var(--surface-strong);
}

.memory-note span,
.memory-reply span {
    color: var(--cyan);
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: uppercase;
}

.memory-note ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--text-soft);
    font-size: 0.77rem;
}

.memory-reply p {
    margin: 14px 0 0;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.pricing-section {
    padding: 118px 0 96px;
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 18px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.price-card.recommended {
    border-color: var(--line-strong);
    background: var(--surface-strong);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28), 0 0 35px rgba(85, 216, 255, 0.1);
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--coral);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
}

.price-card h3 {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
}

.price {
    margin: 22px 0 0;
    line-height: 1;
}

.price strong {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 500;
}

.monthly,
.discount {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.74rem;
}

.discount {
    color: var(--success);
}

.price-card ul {
    display: grid;
    margin: 28px 0 34px;
    padding: 0;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.78rem;
    list-style: none;
}

.price-card li {
    display: flex;
    gap: 8px;
}

.price-card li i {
    color: var(--cyan);
}

.price-card .button {
    width: 100%;
    margin-top: auto;
}

.principles-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 50px;
}

.principles-row > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    column-gap: 12px;
}

.principles-row i {
    grid-row: 1 / span 2;
    color: var(--gold);
    font-size: 1.8rem;
}

.principles-row strong {
    font-size: 0.82rem;
}

.principles-row span {
    color: var(--muted);
    font-size: 0.7rem;
}

.terms-section {
    padding: 104px 0;
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

.terms-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: 90px;
}

.terms-layout .section-heading {
    margin-bottom: 0;
}

.terms-layout .section-heading > p:last-of-type {
    max-width: 470px;
}

.terms-layout .text-link {
    margin-top: 22px;
}

.terms-list {
    border-top: 1px solid var(--line);
}

.terms-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.terms-list article > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 1.35rem;
}

.terms-list article > div {
    min-width: 0;
}

.terms-list h3 {
    margin: 0 0 7px;
    font-size: 1rem;
}

.terms-list p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.65;
}

.faq-section {
    padding: 110px 0;
    background: var(--bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 90px;
}

.faq-grid > div:first-child > p:last-child {
    max-width: 400px;
    color: var(--text-soft);
}

.faq-list {
    border-top: 1px solid var(--line);
}

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

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 18px;
    color: var(--text);
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary i {
    flex: 0 0 auto;
    color: var(--cyan);
    font-size: 1.3rem;
    transition: transform 160ms ease;
}

.faq-list details[open] summary i {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 680px;
    padding: 0 48px 26px 0;
    color: var(--text-soft);
    font-size: 0.86rem;
}

.final-cta {
    padding: 72px 0;
    background: var(--bg);
}

.final-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 34px 40px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.final-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(85, 216, 255, 0.25);
}

.final-card .eyebrow {
    margin-bottom: 8px;
}

.final-card h2 {
    margin-bottom: 8px;
    font-size: clamp(2.3rem, 4vw, 4rem);
}

.final-card p:last-child {
    margin-bottom: 0;
    color: var(--text-soft);
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    align-items: center;
    gap: 30px;
}

.footer-brand .brand-name {
    font-size: 1.5rem;
}

.footer-inner > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.68rem;
    text-align: center;
}

.footer-inner nav {
    display: flex;
    gap: 18px;
}

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

.footer-inner nav a:hover {
    color: var(--text);
}

.footer-legal {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) auto;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.67rem;
    line-height: 1.6;
}

.footer-legal > div {
    display: grid;
    gap: 2px;
}

.footer-legal strong {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 650;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--text);
}

.messenger-dialog {
    width: min(520px, calc(100% - 32px));
    padding: 42px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    color: var(--text);
    text-align: center;
    box-shadow: var(--shadow);
}

.messenger-dialog::backdrop {
    background: rgba(2, 8, 17, 0.78);
    backdrop-filter: blur(8px);
}

.messenger-dialog > img {
    width: 112px;
    height: 112px;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(85, 216, 255, 0.28);
}

.messenger-dialog h2 {
    margin-bottom: 12px;
    font-size: 3rem;
}

.messenger-dialog > p {
    margin: 0 auto 28px;
    color: var(--text-soft);
}

.dialog-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}

.dialog-actions {
    display: grid;
    gap: 12px;
}

@media (max-width: 1050px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
        gap: 16px;
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
        grid-column: 3;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 24px;
        display: none;
        width: min(320px, calc(100vw - 48px));
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--surface-strong);
        box-shadow: var(--shadow);
    }

    .primary-nav.open {
        display: grid;
    }

    .primary-nav a {
        padding: 11px 12px;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 30px;
    }

    .hero-copy h1 {
        font-size: clamp(3.5rem, 7.1vw, 5rem);
    }

    .hero-portrait {
        min-height: 520px;
    }

    .reviews-heading {
        align-items: center;
    }

    .context-stage {
        min-height: 540px;
    }

    .context-conversation {
        width: 46%;
    }

    .memory-grid,
    .faq-grid,
    .terms-layout {
        gap: 48px;
    }

    .final-card {
        grid-template-columns: 92px 1fr;
    }

    .final-card img {
        width: 92px;
        height: 92px;
    }

    .final-card .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 780px) {
    .shell {
        width: min(100% - 32px, 640px);
    }

    h2 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-tagline,
    .header-cta {
        display: none;
    }

    .brand-name {
        font-size: 1.65rem;
    }

    .hero {
        min-height: 0;
        padding: 120px 0 76px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .hero-copy h1 {
        font-size: clamp(3.55rem, 15.5vw, 4.85rem);
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-button {
        width: 100%;
        min-height: 58px;
        padding-inline: 18px;
    }

    .channel-link {
        flex: 1;
        justify-content: center;
    }

    .hero-use-cases {
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
    }

    .hero-portrait {
        min-height: 420px;
    }

    .hero-portrait > img {
        width: min(420px, 92vw);
    }

    .hero-message {
        right: 50%;
        bottom: 0;
        width: min(360px, 92%);
        transform: translateX(50%);
    }

    .reviews-section {
        padding: 68px 0 72px;
    }

    .reviews-heading {
        flex-direction: column;
        align-items: start;
        gap: 22px;
    }

    .reviews-heading h2 {
        width: 100%;
        font-size: clamp(2.3rem, 10vw, 3rem);
    }

    .reviews-controls {
        gap: 8px;
        margin-left: 0;
    }

    .reviews-controls button {
        width: 48px;
        height: 48px;
    }

    .reviews-controls span {
        min-width: 38px;
    }

    .review-slide {
        flex-basis: calc(100vw - 32px);
        height: clamp(240px, 62vw, 300px);
        min-height: 0;
        padding: 16px;
    }

    .review-slide img {
        width: auto;
        height: auto;
        max-height: calc(clamp(240px, 62vw, 300px) - 32px);
        margin-inline: auto;
        border-radius: 12px;
    }

    .context-section,
    .transformation-section,
    .demo-section,
    .pricing-section,
    .terms-section,
    .faq-section {
        padding: 84px 0;
    }

    .terms-layout {
        grid-template-columns: 1fr;
    }

    .context-stage {
        min-height: 680px;
    }

    .context-stage > img {
        object-position: center;
    }

    .context-conversation {
        top: 50%;
        width: calc(100% - 32px);
    }

    .proof-strip,
    .transformation-copy,
    .pricing-grid,
    .principles-row {
        grid-template-columns: 1fr;
    }

    .proof-strip > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .transformation-visual {
        margin-top: 32px;
        aspect-ratio: 2.6 / 1;
    }

    .transformation-visual img {
        width: 100%;
        max-width: 100%;
        object-fit: cover;
    }

    .transformation-copy {
        gap: 28px;
    }

    .demo-tabs {
        justify-content: flex-start;
        width: 100%;
    }

    .demo-panel {
        grid-template-columns: 1fr;
    }

    .demo-image {
        min-height: 330px;
        max-height: 420px;
    }

    .demo-chat {
        min-height: 0;
        padding: 24px;
    }

    .memory-section {
        padding: 84px 0;
    }

    .memory-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .memory-thread {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: 390px;
    }

    .principles-row {
        width: fit-content;
        margin-inline: auto;
    }

    .final-card {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        text-align: center;
    }

    .final-card img {
        margin-inline: auto;
    }

    .final-card .button {
        grid-column: auto;
        justify-self: stretch;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-legal {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .footer-brand,
    .footer-inner nav {
        justify-content: center;
    }

    .messenger-dialog {
        padding: 38px 22px 24px;
    }
}

@media (max-width: 440px) {
    .hero-copy h1 {
        font-size: 3.4rem;
    }

    .hero-use-cases {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .channel-choice {
        align-items: stretch;
    }

    .channel-link {
        min-width: calc(50% - 5px);
    }

    .context-stage {
        min-height: 600px;
    }

    .context-conversation {
        padding: 14px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .proof-strip > div {
        padding: 24px 18px;
    }

    .user-question {
        max-width: 92%;
    }

    .aika-answer {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
