:root {
    color-scheme: light;
    --ink: #0b2135;
    --navy: #0a2c4c;
    --navy-deep: #051a2e;
    --teal: #0e8aa6;
    --teal-ink: #0b7490;
    --teal-soft: #e4f2f6;
    --muted: #4f6272;
    --paper: #ffffff;
    --shell: #f9fbfc;
    --mist: #f2f6f9;
    --line: #e2e9ef;
    --line-strong: #7f93a4;
    --green: #14795c;
    --amber: #b7791f;
    --red: #a33a2d;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --shadow-soft: 0 1px 2px rgba(11, 33, 53, 0.05), 0 18px 46px -28px rgba(11, 33, 53, 0.24);
    --shadow-deep: 0 30px 70px -38px rgba(5, 26, 46, 0.5);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 100;
    transform: translateY(-160%);
    border-radius: 999px;
    background: var(--navy);
    color: #ffffff;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
}

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

.container {
    width: min(100% - 48px, 1240px);
    margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand img {
    width: 148px;
    height: auto;
    object-fit: contain;
}

.brand span {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav a {
    border-radius: 8px;
    padding: 9px 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--ink);
    background: var(--mist);
}

.site-nav .nav-cta {
    margin-left: 10px;
    background: var(--navy);
    color: #ffffff;
    font-weight: 600;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
    background: var(--teal-ink);
    color: #ffffff;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 3px;
}

.language-switcher button {
    min-width: 34px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus {
    color: var(--ink);
    background: var(--mist);
}

.language-switcher button.is-active {
    background: var(--navy);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 1.5px;
    background: currentColor;
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--navy);
    color: #ffffff;
}

.button-primary:hover,
.button-primary:focus {
    background: var(--teal-ink);
}

.button-secondary {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: var(--teal);
    color: var(--teal-ink);
}

/* ---------- Typography ---------- */

.eyebrow {
    margin: 0 0 18px;
    color: var(--teal-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 520;
    color: var(--ink);
    letter-spacing: 0;
    line-height: 1.08;
    text-wrap: balance;
}

/* ---------- Hero ---------- */

.hero {
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--shell) 100%);
    padding: 86px 0 76px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    gap: 56px;
    align-items: center;
}

.hero-content {
    max-width: 590px;
    margin: 0;
    text-align: left;
}

.hero h1 {
    font-size: clamp(42px, 5.4vw, 64px);
}

.hero-copy {
    max-width: 570px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 36px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 24px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    position: relative;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    padding-left: 16px;
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--teal);
}

.hero-screens {
    display: grid;
    gap: 16px;
    min-width: 0;
    margin: 0;
}

.product-screens {
    position: relative;
}

.product-screens::before {
    content: "";
    position: absolute;
    inset: 34px -28px -28px 42px;
    z-index: -1;
    border: 1px solid rgba(14, 138, 166, 0.16);
    border-radius: 8px;
    background: #e9f4f7;
}

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

/* ---------- Screen frames ---------- */

.screen-frame {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.screen-frame-primary {
    box-shadow: var(--shadow-deep);
}

.frame-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
}

.frame-bar i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--line);
}

.screen-frame img {
    width: 100%;
    height: auto;
    background: #eef4f8;
}

.screen-frame-primary img {
    min-height: 260px;
    object-fit: cover;
}

.screen-preview-grid .screen-frame img {
    min-height: 150px;
    object-fit: cover;
}

.screen-frame figcaption {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

/* ---------- Sections ---------- */

.section {
    scroll-margin-top: 92px;
    padding: 104px 0;
    background: var(--paper);
}

.exclusivity-band,
.pricing-band {
    background: var(--mist);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-copy h2,
.section-heading h2 {
    font-size: clamp(30px, 3.6vw, 44px);
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 17px;
    text-wrap: pretty;
}

.split-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 72px;
    align-items: center;
}

.contact-layout {
    align-items: start;
}

/* ---------- Zone status ---------- */

.status-list {
    display: grid;
    gap: 14px;
}

.status-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 22px 24px;
}

.status-card .status-dot {
    flex: 0 0 auto;
    margin-top: 6px;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.status-free {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(20, 121, 92, 0.14);
}

.status-negotiation {
    background: var(--amber);
    box-shadow: 0 0 0 4px rgba(183, 121, 31, 0.16);
}

.status-awarded {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(163, 58, 45, 0.14);
}

.status-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}

.status-card p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Feature grid ---------- */

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

.feature-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 28px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
    border-color: rgba(14, 138, 166, 0.4);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 8px;
    background: var(--teal-soft);
    color: var(--teal-ink);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.feature-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- AI panel ---------- */

.ai-panel {
    margin-top: 18px;
    border-radius: 8px;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.82);
    padding: 44px 48px;
    box-shadow: var(--shadow-deep);
}

.feature-kicker {
    margin: 0 0 12px;
    color: #63c4d8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-panel h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 520;
    font-size: clamp(24px, 2.6vw, 32px);
    color: #ffffff;
    letter-spacing: 0;
}

.feature-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    max-width: 860px;
}

.feature-list li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    line-height: 1.65;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 12px;
    height: 1.5px;
    background: #63c4d8;
}

.feature-result {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
}

.feature-result span {
    color: #63c4d8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feature-result strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}

/* ---------- Web band ---------- */

.web-band {
    background: var(--navy-deep);
}

.web-band .eyebrow {
    color: #63c4d8;
}

.web-band h2 {
    color: #ffffff;
}

.web-band .section-heading p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
}

.web-screens {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
    gap: 18px;
    align-items: start;
}

.web-screens .screen-preview-grid {
    grid-template-columns: 1fr;
}

.web-band .screen-frame {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-deep);
}

.web-band .screen-frame figcaption {
    background: #ffffff;
}

/* ---------- Conversation gallery ---------- */

.conversation-gallery {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 22px;
}

.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.gallery-toolbar p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.gallery-status strong {
    color: var(--ink);
    font-weight: 600;
}

.gallery-controls {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
}

.gallery-control {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.gallery-control:hover,
.gallery-control:focus {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
}

.gallery-control span {
    font-size: 26px;
    line-height: 1;
    transform: translateY(-1px);
}

.conversation-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px;
    scroll-padding: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.conversation-track::-webkit-scrollbar {
    display: none;
}

.conversation-track:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 4px;
}

.simulation-card {
    display: grid;
    flex: 0 0 100%;
    max-width: 100%;
    gap: 12px;
    align-content: start;
    min-height: 560px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--shell);
    padding: 24px;
    scroll-snap-align: start;
}

.simulation-card h3 {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chat-message {
    max-width: 82%;
    border-radius: 8px;
    padding: 12px 16px;
}

.chat-message.client {
    background: #ffffff;
    border: 1px solid var(--line);
}

.chat-message.agent {
    justify-self: end;
    background: var(--teal-soft);
    border: 1px solid rgba(14, 138, 166, 0.22);
}

.chat-message span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.chat-message.agent span {
    color: var(--teal-ink);
}

.chat-message p {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.55;
}

/* ---------- Outcomes ---------- */

.dialogue-outcomes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.dialogue-outcomes article {
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.dialogue-outcomes span {
    display: block;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 520;
    color: var(--teal-ink);
}

.dialogue-outcomes h3 {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
}

.dialogue-outcomes p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

/* ---------- Pricing ---------- */

.pricing-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    max-width: 980px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 48px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}

.pricing-amount strong {
    font-family: var(--serif);
    font-weight: 520;
    font-size: clamp(52px, 5vw, 68px);
    letter-spacing: 0;
    color: var(--ink);
    line-height: 1;
}

.pricing-amount span {
    color: var(--muted);
    font-size: 17px;
}

.pricing-main .button {
    margin-top: 28px;
}

.pricing-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 300px;
}

.pricing-detail h3 {
    margin: 0;
    color: var(--teal-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pricing-list {
    display: grid;
    gap: 12px;
    margin: 16px 0 32px;
    padding: 0;
    list-style: none;
}

.pricing-list li {
    position: relative;
    padding-left: 30px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.55;
}

.pricing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--teal-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230b7490" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / 10px no-repeat;
}

.pricing-extras {
    display: grid;
    gap: 0;
    margin: 16px 0 0;
}

.pricing-extras > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.pricing-extras > div:last-child {
    border-bottom: 1px solid var(--line);
}

.pricing-extras dt {
    color: var(--muted);
    font-size: 14.5px;
}

.pricing-extras dd {
    margin: 0;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Fit ---------- */

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.fit-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 32px;
}

.fit-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 520;
    font-size: 22px;
    color: var(--ink);
}

.fit-card ul {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.fit-card li {
    position: relative;
    padding-left: 30px;
    color: var(--ink);
    font-size: 15px;
}

.fit-card li::before {
    position: absolute;
    left: 0;
    top: 1px;
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.fit-yes li::before {
    content: "+";
    background: var(--teal-soft);
    color: var(--teal-ink);
}

.fit-no li::before {
    content: "\2212";
    background: var(--mist);
    color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-band {
    background: var(--navy-deep);
}

.contact-band .eyebrow {
    color: #63c4d8;
}

.contact-band h2 {
    color: #ffffff;
}

.contact-band .section-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
}

.contact-points {
    display: grid;
    gap: 0;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: contact-step;
    max-width: 420px;
}

.contact-points li {
    position: relative;
    counter-increment: contact-step;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.contact-points li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-points li::before {
    content: counter(contact-step, decimal-leading-zero);
    flex: 0 0 auto;
    font-family: var(--serif);
    font-size: 14px;
    color: #63c4d8;
}

.contact-form {
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 32px;
    box-shadow: var(--shadow-deep);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
}

.form-honeypot,
.contact-form .form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    padding: 12px 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14, 138, 166, 0.14);
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--paper);
    color: var(--muted);
}

.footer-layout {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 40px 0;
}

.footer-brand img {
    width: 148px;
    height: auto;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    max-width: 480px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    font-size: 14px;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--ink);
}

/* ---------- Legal pages ---------- */

.legal-page {
    min-height: 100vh;
    background: var(--paper);
}

.legal-main {
    padding: 78px 0 92px;
}

.legal-shell {
    width: min(100% - 40px, 860px);
    margin: 0 auto;
}

.legal-eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-main h1 {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 0.95;
}

.legal-updated {
    margin: 0 0 34px;
    color: var(--muted);
}

.legal-content {
    display: grid;
    gap: 26px;
}

.legal-content section {
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.legal-content h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 22px;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.legal-content p {
    margin: 0;
}

.legal-content ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.legal-content a {
    color: var(--teal);
    font-weight: 800;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.legal-links a {
    color: var(--ink);
    font-weight: 800;
}

/* ---------- Reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Chat widget ---------- */

.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: grid;
    justify-items: end;
    gap: 12px;
    font-family: var(--sans);
}

.chat-toggle,
.chat-submit,
.chat-close {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.chat-toggle {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    background: var(--navy);
    color: #ffffff;
    padding: 12px 18px;
    box-shadow: var(--shadow-deep);
    font-size: 15px;
    font-weight: 700;
}

.chat-toggle-icon {
    position: relative;
    width: 20px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 6px;
}

.chat-toggle-icon::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: -6px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: var(--navy);
    transform: rotate(45deg);
}

.chat-panel {
    width: min(380px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-deep);
}

.chat-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    background: var(--navy-deep);
    color: #ffffff;
    padding: 18px 18px 16px;
}

.chat-panel-header p,
.chat-panel-header h2 {
    margin: 0;
}

.chat-panel-header p {
    color: #63c4d8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.chat-panel-header h2 {
    margin-top: 4px;
    font-family: var(--sans);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.chat-close {
    display: inline-grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.chat-close span {
    font-size: 24px;
    line-height: 1;
    transform: translateY(-1px);
}

.chat-messages {
    display: grid;
    max-height: 360px;
    gap: 10px;
    overflow-y: auto;
    background: var(--shell);
    padding: 16px;
}

.chat-bubble {
    max-width: 88%;
    border-radius: 8px;
    padding: 11px 13px;
}

.chat-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.chat-bubble-assistant {
    justify-self: start;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink);
}

.chat-bubble-user {
    justify-self: end;
    background: var(--navy);
    color: #ffffff;
}

.chat-bubble-status {
    justify-self: start;
    border: 1px solid rgba(14, 138, 166, 0.24);
    background: var(--teal-soft);
    color: var(--teal-ink);
}

.chat-form {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 14px;
}

.chat-input-label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.chat-input-label textarea {
    width: 100%;
    resize: vertical;
    min-height: 58px;
    max-height: 150px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    padding: 10px 12px;
    outline: none;
}

.chat-input-label textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14, 138, 166, 0.14);
}

.chat-submit {
    min-height: 44px;
    border-radius: 8px;
    background: var(--navy);
    color: #ffffff;
    padding: 10px 16px;
    font-weight: 700;
}

.chat-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.chat-privacy {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

/* Sin JavaScript no hay animación de aparición ni galería (se rellena por JS). */
.no-js .reveal {
    opacity: 1;
    transform: none;
}

.no-js .conversation-gallery {
    display: none;
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-copy {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .hero-screens {
        width: min(100%, 800px);
        margin: 0 auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-layout,
    .contact-layout {
        gap: 48px;
    }

    .pricing-card {
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(100% - 36px, 1240px);
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        padding: 10px;
        box-shadow: var(--shadow-soft);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        border-radius: 8px;
        padding: 12px 14px;
    }

    .site-nav .nav-cta {
        margin-left: 0;
        margin-top: 6px;
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding: 72px 0 72px;
    }

    .hero-screens {
        gap: 18px;
        max-width: 720px;
    }

    .split-layout,
    .contact-layout,
    .fit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .web-screens {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin: 0 auto;
        gap: 18px;
    }

    .dialogue-outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pricing-note {
        max-width: none;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1240px);
    }

    .nav-shell {
        min-height: 72px;
    }

    .brand img {
        width: 132px;
    }

    .section {
        padding: 76px 0;
    }

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

    .hero {
        padding: 42px 0 56px;
    }

    .hero-layout {
        gap: 30px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-points {
        display: none;
    }

    .product-screens::before {
        inset: 22px -12px -14px 18px;
    }

    .screen-preview-grid {
        grid-template-columns: 1fr;
    }

    .screen-frame-primary img,
    .screen-preview-grid .screen-frame img {
        min-height: 180px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .ai-panel {
        padding: 32px 26px;
    }

    .conversation-gallery {
        padding: 16px;
    }

    .gallery-toolbar {
        align-items: flex-start;
    }

    .simulation-card {
        min-height: auto;
        padding: 18px;
    }

    .chat-message {
        max-width: 100%;
    }

    .dialogue-outcomes {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pricing-card {
        padding: 28px 22px;
    }

    .pricing-extras > div {
        flex-direction: column;
        gap: 2px;
    }

    .contact-form,
    .fit-card {
        padding: 24px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .button {
        width: 100%;
    }

    .chat-widget {
        right: 14px;
        bottom: 14px;
    }

    .chat-panel {
        width: calc(100vw - 28px);
    }

    .chat-messages {
        max-height: 300px;
    }
}
