/* =========================================================
   Gabli Landing — clean, white-based, alternating sections
   ========================================================= */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font: inherit;
    cursor: pointer;
}

/* ---------- Tokens ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #cdefee;
    --bg-tint: #f0f7f6;
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --line: #e5e7eb;
    --line-2: #eef0f3;

    --teal: #0f766e;
    --teal-600: #0d6960;
    --teal-50: #ecfdf5;
    --orange: #ea580c;
    --orange-50: #fff7ed;
    --violet: #7c3aed;
    --violet-50: #f5f3ff;

    --radius: 14px;
    --radius-lg: 22px;
    --radius-sm: 10px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px -12px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 48px -20px rgba(15, 23, 42, 0.18);

    --maxw: 1160px;
    --maxw-narrow: 820px;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: var(--maxw-narrow);
}

.section {
    padding: 96px 0;
}

.section--alt {
    background: #c2f0ee;
    background: linear-gradient(45deg, rgb(209 241 216) 20%, rgb(201 248 248) 56%);
}

.section--cta {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 30%, #0f766e 30%, #0f766e 100%);
    padding: 0;
}

.section--cta__inner {
    background: var(--teal);
    border-radius: var(--radius-lg);
    padding: 72px 56px;
    margin: 96px auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
    color: #ecfdf5;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 880px) {
    .section--cta__inner {
        grid-template-columns: 1fr;
        padding: 48px 28px;
        gap: 36px;
    }
}

.section__head {
    max-width: 720px;
    margin: 0 0 56px;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__title {
    font-family: 'Fraunces', 'Inter', Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 12px 0 14px;
    color: var(--ink);
}

.section__title--light {
    color: #ffffff;
}

.section__sub {
    color: var(--ink-3);
    font-size: 17px;
    max-width: 60ch;
    margin: 0;
}

.section__sub--light {
    color: #d1fae5;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-50);
    padding: 6px 12px;
    border-radius: 999px;
}

.eyebrow--accent {
    color: var(--orange);
    background: var(--orange-50);
}

.eyebrow--light {
    color: #a7f3d0;
    background: rgba(255, 255, 255, 0.12);
}

.eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition:
        transform 0.06s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
    white-space: nowrap;
}

.btn--sm {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
}

.btn--lg {
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 14px;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: var(--ink);
    color: #ffffff;
}

.btn--primary:hover {
    background: #1e293b;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn--ghost:hover {
    background: var(--bg-soft);
    border-color: #cbd5e1;
}

.btn:active {
    transform: translateY(1px);
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.nav.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(255, 255, 255, 0.94);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ink);
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 50px;
    background: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
}

.brand__name {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
    color: var(--teal);
    letter-spacing: -0.01em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14.5px;
    color: var(--ink-2);
}

.nav__links a {
    position: relative;
    padding: 6px 0;
}

.nav__links a:hover {
    color: var(--ink);
}

@media (max-width: 760px) {
    .nav__links {
        display: none;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 96px 0 72px;
    overflow: hidden;
    background: #ffffff;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-family: 'Fraunces', 'Inter', Georgia, serif;
    font-weight: 600;
    font-size: clamp(40px, 6.2vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 18px 0 18px;
}

.hero__title-accent {
    color: var(--teal);
    font-style: italic;
}

.hero__sub {
    font-size: 19px;
    color: var(--ink-3);
    max-width: 60ch;
    margin: 0 auto 32px;
}

.hero__cta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    color: var(--ink-3);
    font-size: 14px;
}

.hero__bullets li {
    position: relative;
    padding-left: 18px;
}

.hero__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.hero__visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__visual-glow {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 1100px;
    height: 1100px;
    max-width: 120vw;
    background: radial-gradient(
        closest-side,
        rgba(15, 118, 110, 0.1) 0%,
        rgba(15, 118, 110, 0.05) 35%,
        rgba(255, 255, 255, 0) 70%
    );
}

/* ---------- Band (use cases) ---------- */
.band {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.band--soft {
    background: var(--bg-soft);
    border-top-color: var(--line-2);
    border-bottom-color: var(--line-2);
}

.band__label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 18px;
}

.use-cases {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    color: var(--ink-2);
    font-weight: 500;
}

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

.use-cases__icon {
    color: var(--teal);
    font-size: 12px;
}

/* ---------- Features grid ---------- */
.grid {
    display: grid;
    gap: 20px;
}

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

@media (max-width: 880px) {
    .grid--features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .grid--features {
        grid-template-columns: 1fr;
    }
}

.feature {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #d1d5db;
}

.feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature__icon[data-color='teal'] {
    background: var(--teal-50);
    color: var(--teal);
}

.feature__icon[data-color='orange'] {
    background: var(--orange-50);
    color: var(--orange);
}

.feature__icon[data-color='violet'] {
    background: var(--violet-50);
    color: var(--violet);
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

/* ---------- Showcase ---------- */
.showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 760px) {
    .showcase {
        grid-template-columns: 1fr;
    }
}

.showcase__item {
    margin: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.showcase__item--wide {
    grid-column: span 2;
}

@media (max-width: 760px) {
    .showcase__item--wide {
        grid-column: span 1;
    }
}

.showcase__item img {
    width: 100%;
    height: auto;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line-2);
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.showcase__item--wide img {
    aspect-ratio: 16 / 8;
}

.showcase__item figcaption {
    padding: 18px 22px 22px;
    color: var(--ink-2);
    font-size: 15px;
}

.showcase__item figcaption strong {
    display: block;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

/* ---------- Steps ---------- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
}

@media (max-width: 880px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.steps li {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.steps__num {
    display: inline-block;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--teal);
    margin-bottom: 10px;
    font-style: italic;
}

.steps h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.steps p {
    margin: 0;
    color: var(--ink-3);
    font-size: 14.5px;
    line-height: 1.55;
}

/* ---------- Pricing ---------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .pricing {
        grid-template-columns: 1fr;
    }
}

.price-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.price-card--highlight {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08);
}

.price-card__tag {
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--teal);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
}

.price-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-card__price {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-card__amount {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.price-card__period {
    color: var(--ink-3);
    font-size: 14px;
}

.price-card__desc {
    margin: 0;
    color: var(--ink-3);
    font-size: 14.5px;
}

.price-card .btn {
    margin-top: 6px;
}

.price-card__list {
    list-style: none;
    margin: 6px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line-2);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink-2);
    font-size: 14.5px;
}

.price-card__list li {
    position: relative;
    padding-left: 24px;
}

.price-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--teal-50)
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230f766e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 4.5'/></svg>")
        no-repeat center / 12px 12px;
}

/* ---------- Waitlist form ---------- */
.waitlist {
    background: #ffffff;
    color: var(--ink);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

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

@media (max-width: 560px) {
    .waitlist__row {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.field__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #ffffff;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.field__input::placeholder {
    color: #94a3b8;
}

.field__input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

textarea.field__input {
    resize: vertical;
    min-height: 84px;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-2);
    font-size: 14px;
    cursor: pointer;
}

.checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--teal);
}

.waitlist__legal {
    margin: 0;
    font-size: 12.5px;
    color: var(--ink-3);
    text-align: center;
}

.waitlist__success {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--teal-50);
    border: 1px solid #a7f3d0;
    color: var(--teal-600);
    border-radius: 12px;
    text-align: center;
}

.waitlist__success strong {
    font-weight: 700;
    font-size: 15px;
}

.waitlist__success span {
    font-size: 14px;
}

.waitlist.is-submitted .waitlist__success {
    display: flex;
}

.waitlist.is-submitted > :not(.waitlist__success) {
    display: none;
}

.field.has-error .field__input {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field__error {
    font-size: 12.5px;
    color: #dc2626;
    min-height: 0;
}

/* ---------- FAQ ---------- */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq details {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.faq details[open] {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.faq summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--ink-3);
    transition: transform 0.2s ease;
    line-height: 1;
}

.faq details[open] summary::after {
    content: '−';
    color: var(--teal);
}

.faq details p {
    margin: 12px 0 0;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- Footer ---------- */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--line);
    padding: 48px 0 64px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
}

.footer__brand img {
    object-fit: contain;
    flex-shrink: 0;
}

.footer__tag {
    margin: 0;
    color: var(--ink-3);
    font-size: 14.5px;
    max-width: 50ch;
}

.footer__legal {
    margin: 0;
    color: var(--ink-3);
    font-size: 13px;
}

/* ---------- Focus visibility (a11y) ---------- */
:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .feature,
    .btn {
        transition: none;
    }
}
