/* TELGO public website — light mode. Separate from portal styles. */

/* Theme */

:root {
    color-scheme: only light;
    --ink: #10243c;
    --muted: #526578;
    --teal: #007f86;
    --aqua: #00b7bd;
    --line: #dce5e9;
    --paper: #fff;
    --wash: #f3f8f8;
    --radius: 20px;
}

/* Base styles */

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 5px;
}

/* Containers and accessibility */

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

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    background: #fff;
    padding: 12px;
    z-index: 20;
}

.skip:focus {
    top: 10px;
}

/* Header and navigation */

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    z-index: 10;
}

.navigation {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
}

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

.navigation nav {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.navigation a:hover,
footer a:hover {
    color: var(--teal);
}

.sign-in {
    border-left: 1px solid var(--line);
    padding-left: 32px;
}

.nav-toggle {
    background: white;
    border: 1px solid var(--line);
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--ink);
}

/* Hero */

.hero {
    background: radial-gradient(ellipse at 95% 5%, #def5f1 0, transparent 55%), linear-gradient(180deg, #fff, #f7fafb);
    padding: 84px 0 88px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 68px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 750;
    color: var(--teal);
    margin: 0 0 22px;
    text-transform: uppercase;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--aqua);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 4px #d9f3f0;
}

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

h1 {
    font-size: clamp(44px, 4.8vw, 67px);
    line-height: 1.08;
    letter-spacing: -.055em;
    margin-bottom: 28px;
    font-weight: 750;
}

h1 span {
    color: var(--teal);
}

.lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 530px;
    margin-bottom: 28px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: background .15s, transform .15s;
}

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

.primary {
    background: var(--ink);
    color: white;
}

.primary:hover {
    background: #203c59;
}

.secondary {
    background: white;
    border-color: #b8c9d0;
    color: var(--ink);
}

.secondary:hover {
    background: #edf7f5;
}

.hero-note {
    font-size: 12px;
    color: var(--muted);
    margin: 18px 0 0;
}

.hero-note a {
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Bridget conversation illustration */

.conversation-scene {
    border: 1px solid #cadcde;
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 24px 65px #12384712;
    position: relative;
}

.scene-top,
.scene-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.scene-label {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
    color: var(--muted);
}

.demo-label {
    font-size: 10px;
    background: #f2f5f6;
    padding: 3px 8px;
    border-radius: 5px;
    color: var(--muted);
}

.agent-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.agent-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #d9f4ee;
    color: var(--teal);
    font-size: 28px;
    font-weight: 650;
    display: grid;
    place-items: center;
    position: relative;
}

.agent-avatar span {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--aqua);
    border: 3px solid #fff;
}

.agent-card strong {
    font-size: 22px;
    letter-spacing: -.03em;
}

.agent-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.agent-badge {
    margin-left: auto;
    font-size: 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 5px 9px;
}

.wave {
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
}

.wave i {
    display: block;
    flex: 0 1 5px;
    height: var(--h);
    background: linear-gradient(#00b7bd, #83d7c8);
    border-radius: 8px;
}

.speech {
    padding: 16px 18px;
    border-radius: 12px;
}

.speech span {
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .13em;
    color: var(--teal);
}

.speech p {
    font-size: 15px;
    line-height: 1.6;
    margin: 5px 0 0;
}

.speech.bridget {
    background: #ecf7f4;
    margin-right: 26px;
}

.speech.caller {
    background: #f5f7f9;
    margin: 12px 0 20px 48px;
}

.speech.caller span {
    color: var(--muted);
}

.handoff {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 24px;
}

.handoff-icon {
    font-size: 23px;
    color: var(--teal);
    background: #edf7f4;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-align: center;
    flex-shrink: 0;
}

.handoff strong {
    font-size: 12px;
}

.handoff p {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
}

.scene-bottom {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-size: 9px;
    color: var(--muted);
    flex-wrap: wrap;
}

/* Principles strip */

.principles {
    border-block: 1px solid var(--line);
}

.principles .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 26px;
    font-size: 12px;
}

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

.principles strong {
    font-weight: 600;
}

/* Feature sections */

.section {
    padding: 94px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

h2 {
    font-size: clamp(31px, 3.5vw, 45px);
    line-height: 1.15;
    letter-spacing: -.04em;
    margin-bottom: 22px;
}

h3 {
    line-height: 1.3;
    letter-spacing: -.025em;
}

.section-heading>p:last-child {
    color: var(--muted);
    font-size: 16px;
}

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

.feature {
    border-top: 1px solid var(--line);
    padding: 28px 12px 0 0;
}

.feature-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: #edf7f5;
    color: var(--teal);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 750;
    margin-bottom: 24px;
}

.feature h3 {
    font-size: 22px;
}

.feature p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
}

.feature a,
.text-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
}

.feature a:hover,
.text-link:hover {
    text-decoration: underline;
}

/* Bridget section */

.bridget-section {
    background: #eef7f4;
    padding: 78px 0;
    border-block: 1px solid #dcebe5;
}

.bridget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.steps article {
    display: flex;
    gap: 20px;
    padding: 23px 0;
    border-bottom: 1px solid #cddfda;
}

.steps article:last-child {
    border-bottom: 0;
}

.steps article>span {
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    padding-top: 5px;
}

.steps h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

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

/* Plans and pricing */

.centered {
    text-align: center;
    margin-inline: auto;
    max-width: 720px;
}

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

.plan {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 23px;
    display: flex;
    flex-direction: column;
    background: white;
}

.plan.featured {
    border: 2px solid var(--teal);
    padding: 27px 22px;
    background: #f5fbf9;
}

.plan-audience {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--teal);
    margin-bottom: 20px;
}

.plan h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.plan-description {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 25px;
}

.price {
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
    margin-bottom: 20px;
}

.price span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 3px;
}

.price strong {
    font-size: 39px;
    letter-spacing: -.045em;
    line-height: 1.2;
}

.price .custom-price {
    font-size: 36px;
}

.plan-fit {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 25px;
    flex: 1;
}

.plan .button {
    width: 100%;
    padding-inline: 10px;
    font-size: 12px;
}

.plan-button:disabled {
    background: #eaf0f2;
    border: 1px solid #d9e3e6;
    color: #526272;
    cursor: not-allowed;
    opacity: 1;
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    max-width: 860px;
    margin: 24px auto 50px;
    line-height: 1.8;
}

/* Contact section */

.contact-section {
    background: #e0f3ef;
    padding: 64px 0;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.contact-inner h2 {
    margin-bottom: 16px;
}

.contact-inner p:last-child {
    color: var(--muted);
    margin-bottom: 0;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.contact-actions .button {
    font-size: 20px;
    padding: 17px 27px;
}

.contact-actions>span {
    font-size: 13px;
    color: var(--muted);
}

/* Footer */

footer {
    padding: 44px 0;
    background: white;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-inner p {
    font-size: 11px;
    color: var(--muted);
    margin: 12px 0 0;
}

.footer-inner nav {
    display: flex;
    gap: 24px;
    font-size: 12px;
    flex-wrap: wrap;
    row-gap: 12px;
}

.footer-inner .copyright {
    margin: 0;
    white-space: nowrap;
}

/* Plan options: heading above four cards */

.plan-options {
    margin-top: 40px;
    padding: 32px;
    background: var(--wash);
    border-radius: 16px;
}

.plan-options-heading {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.plan-options-heading .eyebrow {
    margin: 0 0 10px;
}

.plan-options-heading h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
}

.plan-options-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.plan-option h4 {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
}

.plan-option p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.plan-option {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Responsive layouts */

@media (min-width: 801px) {
    .nav-toggle {
        display: none !important;
    }
}

@media (max-width: 1050px) {
    .hero-grid {
        gap: 35px;
    }

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

    .bridget-grid {
        gap: 45px;
    }

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

@media (max-width: 800px) {
    .container {
        width: calc(100% - 40px);
    }

    .navigation {
        min-height: 76px;
        flex-wrap: wrap;
        gap: 0;
        padding-block: 16px;
    }

    .navigation nav {
        width: 100%;
        gap: 20px;
        flex-wrap: wrap;
        padding-top: 22px;
    }

    .navigation nav.is-collapsed {
        display: none;
    }

    .sign-in {
        padding-left: 20px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-grid,
    .bridget-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    h1 {
        font-size: 54px;
    }

    .hero-copy {
        max-width: 580px;
    }

    .conversation-scene {
        max-width: 540px;
        width: 100%;
        margin: auto;
    }

    .principles .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .section {
        padding: 60px 0;
    }

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

    .feature {
        padding-bottom: 15px;
    }

    .bridget-section {
        padding: 55px 0;
    }

    .contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-inner .copyright {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .plan-options {
        padding: 24px;
    }

    .plan-options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 45px;
    }

    .hero .eyebrow {
        font-size: 9px;
    }

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

    .navigation nav {
        font-size: 12px;
        gap: 15px;
    }

    .sign-in {
        padding-left: 0;
        border: 0;
    }

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

    .conversation-scene {
        padding: 20px;
    }

    .speech.bridget {
        margin-right: 0;
    }

    .speech.caller {
        margin-left: 25px;
    }

    .hero-note {
        text-align: center;
    }

    .contact-actions {
        align-items: flex-start;
    }

    .principles .container {
        font-size: 11px;
    }

    .footer-inner nav {
        flex-wrap: wrap;
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Language selector */

.navigation nav {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 24px;
    row-gap: 12px;
}

.language-picker {
    position: relative;
    flex-shrink: 0;
    color: var(--ink);
}

    .language-picker > summary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 44px;
        padding: 8px 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--paper);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        white-space: nowrap;
        list-style: none;
        cursor: pointer;
        user-select: none;
    }

        .language-picker > summary::-webkit-details-marker {
            display: none;
        }

        .language-picker > summary::marker {
            content: "";
        }

        .language-picker > summary:hover,
        .language-picker[open] > summary {
            background: var(--wash);
            border-color: var(--teal);
        }

        .language-picker > summary:focus-visible {
            outline: 3px solid var(--teal);
            outline-offset: 4px;
        }

.language-flag {
    display: block;
    width: 24px;
    height: 16px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgb(16 36 60 / 12%);
}

.language-chevron {
    width: 7px;
    height: 7px;
    margin-left: 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.language-picker[open] .language-chevron {
    transform: translateY(2px) rotate(225deg);
}

.language-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: 190px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: 0 12px 30px rgb(16 36 60 / 14%);
}

    .language-list li {
        margin: 0;
        padding: 0;
    }

    .language-list a {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 7px;
        color: var(--ink);
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
    }

        .language-list a:hover,
        .language-list a[aria-current="page"] {
            color: var(--teal);
            background: var(--wash);
        }

        .language-list a[aria-current="page"] {
            font-weight: 700;
        }

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

@media (max-width: 800px) {
    .navigation nav {
        justify-content: flex-start;
    }

    .language-picker {
        width: 100%;
    }

    .language-list {
        position: static;
        width: min(100%, 240px);
        margin-top: 8px;
        box-shadow: none;
    }
}