@font-face {
    font-family: Inter;
    src: url("fonts/inter-latin-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #1a8f98;
    --brand-dark: #147a82;
    --brand-tint: rgba(26, 143, 152, 0.08);
    --brand-line: rgba(26, 143, 152, 0.18);
    --warning-bg: #fff8e8;
    --warning-border: #f0d48a;
    --warning-text: #6a4b00;
    --danger: #b42318;
    --danger-bg: #fff3f2;
    --success: #0f7b4c;
    --success-bg: #ecfdf3;
    --accent: #f26522;
    --accent-dark: #dc5618;
    --ink: #0f2f36;
    --ink-soft: #17414a;
    --bg: #f7f9fa;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #5b6472;
    --line: #dbe4ee;
    --border: #d7dde2;
    --shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
    --shadow-soft: 0 4px 14px rgba(16, 24, 40, 0.04);
    --radius: 16px;
    --max: 1200px;
    --narrow: 820px;
    --form: 720px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --text-lead: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    font-size: 1rem;
}

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

.container {
    width: min(var(--max), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

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

section[id] { scroll-margin-top: 80px; }

/* Header */

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

.nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    min-height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-right: auto;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
}

.brand-badge {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 9px;
    background: var(--brand-dark);
    color: white;
    display: grid;
    place-items: center;
}

.brand-mark {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--brand-dark); }

.nav-links a[aria-current="page"] {
    color: var(--brand-dark);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-login {
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-login:hover,
.nav-login:focus-visible { color: var(--brand-dark); }

.site-header .nav-signup,
.site-header .nav-cta {
    min-height: 38px;
    padding: 0.35rem 0.95rem;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.nav-menu {
    display: none;
    color: var(--ink);
}

.nav-menu summary {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    cursor: pointer;
    list-style: none;
}

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

.nav-menu svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.nav-menu[open] summary { background: var(--brand-tint); }

.nav-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.25rem var(--gutter) 0.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.nav-menu-panel a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text);
    font-weight: 500;
}

.nav-menu-panel a + a { border-top: 1px solid var(--line); }

.nav-menu-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--line);
}

.nav-menu-panel .nav-menu-auth a {
    display: flex;
    padding: 0.5rem 1rem;
    min-height: 44px;
    border-top: 1px solid var(--border);
}

.nav-menu-panel a[aria-current="page"] {
    color: var(--brand-dark);
    font-weight: 600;
}

/* Typography */

h1, h2, h3 {
    line-height: 1.15;
    margin: 0;
}

h1 {
    font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-title {
    font-size: clamp(1.625rem, 1.4rem + 1vw, 2.25rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-intro {
    color: var(--muted);
    max-width: 70ch;
    margin: 0 0 2rem;
    font-size: var(--text-lead);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    background: var(--brand-tint);
    color: var(--brand-dark);
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

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

.btn-primary:hover,
.btn-primary:focus-visible { background: var(--accent-dark); }

.btn-secondary {
    background: white;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--brand);
    color: var(--brand-dark);
}

/* Hero */

.hero {
    padding: 2.5rem 0 3rem;
    background:
        radial-gradient(60% 70% at 15% 0%, rgba(26, 143, 152, 0.16), transparent 70%),
        radial-gradient(50% 60% at 90% 10%, rgba(242, 101, 34, 0.08), transparent 70%);
}

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

.hero-center .hero-copy {
    max-width: 860px;
    margin-inline: auto;
}

.hero.hero-center p {
    margin-inline: auto;
    max-width: 72ch;
    text-wrap: balance;
}

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

.hero-visual { margin-top: 2.25rem; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.hero p {
    margin: 0;
    color: var(--muted);
    max-width: 62ch;
    font-size: var(--text-lead);
}

.hero-copy > p + p { margin-top: 0.5rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-note {
    color: var(--muted);
    font-size: 0.9375rem;
    padding-top: 1rem;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: var(--shadow);
}

.browser-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 47, 54, 0.14);
}

.browser-bar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: #eef1f4;
    border-bottom: 1px solid var(--border);
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfd6dd;
}

.browser-frame img { width: 100%; }

/* Fact strip */

.fact-strip {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.fact-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    list-style: none;
    margin-block: 0;
    padding: 1.1rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
}

.fact-list li {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

/* Feature rows */

.feature-rows {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
    margin-top: 2.5rem;
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.feature-row-reverse { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }

.feature-row-reverse .feature-row-copy { order: 2; }

.feature-row h3 {
    font-size: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.feature-row p {
    margin: 0;
    color: var(--muted);
    font-size: var(--text-lead);
}

.feature-row p + p { margin-top: 0.75rem; }

.section-more {
    margin: 1.75rem 0 0;
    text-align: center;
    font-weight: 600;
}

.section-more a { color: var(--brand-dark); }

.section-more a:hover { text-decoration: underline; }

/* Features page */

.page-tight { padding-bottom: 0; }

.browser-first {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    border: 2px solid var(--brand);
    box-shadow: var(--shadow);
}

.browser-first h2 {
    font-size: clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
    letter-spacing: -0.02em;
}

.browser-first-copy > p {
    color: var(--muted);
    font-size: var(--text-lead);
    margin: 0.75rem 0 0;
}

.essentials-checklist.browser-first-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.device-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.device-list li {
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    background: var(--brand-tint);
    border: 1px solid var(--brand-line);
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.9375rem;
}

.browser-first-note {
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9375rem;
}

/* Sections and cards */

.section { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }

.section-alt {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

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

.features-grid-compact .feature { padding: 1.25rem; background: var(--bg); }

.features-grid-compact .feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.features-grid-compact .feature h3 { font-size: 1rem; }

.features-grid-compact .feature p { font-size: 0.9375rem; }

.section-intro + .features-grid { margin-top: 0; }

.feature,
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.feature { transition: box-shadow 0.18s ease, border-color 0.18s ease; }

.feature:hover {
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.07);
    border-color: var(--brand-line);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    background: var(--brand-tint);
    color: var(--brand-dark);
    font-weight: 700;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature h3,
.step-card h3 {
    font-size: 1.125rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature p,
.step-card p {
    color: var(--muted);
    margin: 0;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Demo page panel */

.panel-title {
    font-size: 1.125rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.panel-group + .panel-group {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.limit-list,
.capability-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.9375rem;
}

.limit-list strong { color: var(--text); }

.limit-list li,
.capability-list li {
    position: relative;
    padding-left: 1.6rem;
}

.limit-list li + li,
.capability-list li + li { margin-top: 0.6rem; }

.limit-list li::before,
.capability-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.inline-form { margin: 0; }

.callouts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.callout {
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    font-size: 0.9375rem;
}

.callout h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    line-height: 1.3;
}

.callout p {
    margin: 0;
    color: var(--muted);
}

.callout ul {
    margin: 0;
    padding-left: 1.1rem;
}

.callout li + li { margin-top: 0.35rem; }

.callout.warning {
    background: var(--warning-bg);
    border-color: var(--warning-border);
    color: var(--warning-text);
}

.callout.important {
    background: var(--brand-tint);
    border-color: var(--brand-line);
}

/* Closing call to action */

.final-cta { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }

.final-cta-card {
    background: linear-gradient(120deg, var(--ink), var(--ink-soft));
    border-radius: var(--radius);
    color: white;
    padding: clamp(1.5rem, 4vw, 2.75rem);
}

.final-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
}

.final-cta-card h2 {
    font-size: clamp(1.375rem, 1.25rem + 0.6vw, 1.875rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.final-cta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 62ch;
}

.final-cta-meta {
    margin-top: 0.5rem;
    color: #8fd6db;
    font-size: 0.875rem;
    font-weight: 600;
}

.final-cta-card :focus-visible { outline-color: white; }

.final-cta-actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Footer */

.site-footer {
    padding: 2.75rem 0 2.25rem;
    color: rgba(255, 255, 255, 0.72);
    background: var(--ink);
    font-size: 0.9375rem;
}

.site-footer :focus-visible { outline-color: white; }

.footer-wrap {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.footer-copyright {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
}

.footer-heading {
    margin: 0 0 0.5rem;
    color: white;
    font-weight: 600;
}

.footer-column a {
    display: block;
    padding: 0.3rem 0;
}

.footer-column a:hover,
.footer-column a:focus-visible { color: white; }

/* Inner pages */

.page { padding: 2.5rem 0 clamp(2.5rem, 4vw, 3.5rem); }

.intro { margin-bottom: 2rem; }

.intro-center {
    text-align: center;
    margin-bottom: 1.75rem;
}

.intro.intro-center p { margin-inline: auto; }

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.split-aside {
    position: sticky;
    top: 84px;
}

.split-aside h1 { font-size: clamp(2.125rem, 1.8rem + 1.2vw, 2.75rem); }

.split-aside p {
    margin: 0;
    color: var(--muted);
}

.split-aside .intro-lead { font-size: var(--text-lead); }

.aside-note {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: 0.9375rem;
}

.aside-note h2 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.aside-note a {
    color: var(--brand-dark);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.aside-note a:hover { text-decoration: underline; }

.container-legal { max-width: 1040px; }

.legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    font-size: 0.875rem;
}

.legal-toc-title {
    margin: 0 0 0.5rem;
    color: var(--ink);
    font-weight: 600;
}

.legal-toc a {
    display: block;
    padding: 0.25rem 0;
    color: var(--muted);
    line-height: 1.35;
}

.legal-toc a:hover,
.legal-toc a:focus-visible { color: var(--brand-dark); }

.legal-copy h2 { scroll-margin-top: 80px; }

.intro p {
    color: var(--muted);
    margin: 0;
    max-width: 62ch;
    font-size: var(--text-lead);
}

.contact-card,
.legal-card,
.section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow-soft);
}

.legal-copy h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.375rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.legal-copy h3,
.legal-copy h4 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.0625rem;
    line-height: 1.3;
}

.legal-copy h2:first-child,
.legal-copy h3:first-child,
.legal-copy h4:first-child { margin-top: 0; }

.legal-copy p,
.legal-copy ul { margin: 0 0 1rem; }

.legal-copy ul { padding-left: 1.3rem; }

.legal-copy li + li { margin-top: 0.45rem; }

.legal-copy a {
    color: var(--brand-dark);
    font-weight: 600;
}

.legal-copy a:hover,
.legal-copy a:focus-visible { text-decoration: underline; }

.legal-copy hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2rem 0;
}

/* FAQ */

.faq-accordion {
    padding: 0;
    overflow: hidden;
}

.faq-item { scroll-margin-top: 84px; }

.faq-item + .faq-item { border-top: 1px solid var(--border); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.faq-item summary:hover { background: rgba(26, 143, 152, 0.04); }

.faq-item summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: -4px;
    border-radius: 8px;
}

.faq-indicator {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--brand-dark);
}

.faq-indicator::before,
.faq-indicator::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
}

.faq-indicator::before {
    width: 14px;
    height: 2px;
    top: 7px;
    left: 1px;
}

.faq-indicator::after {
    width: 2px;
    height: 14px;
    top: 1px;
    left: 7px;
}

.faq-item[open] .faq-indicator::after { display: none; }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted);
}

.faq-answer p {
    max-width: 70ch;
    margin: 0;
    line-height: 1.65;
}

.faq-answer p + p { margin-top: 0.85rem; }

/* Pricing */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1.25rem;
}

.pricing-plans > h2,
.pricing-essentials h2 {
    font-size: clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
    letter-spacing: -0.02em;
}

.pricing-plans > h2 {
    margin-bottom: 1.25rem;
    text-align: center;
}

.pricing-plans { margin-top: 2.5rem; }

.pricing-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1040px;
    margin-inline: auto;
}

.billing-toggle,
.plan-sizes {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}

.billing-toggle[hidden],
.plan-sizes[hidden],
.plan-sizes-static[hidden] { display: none; }

.billing-toggle {
    width: fit-content;
    margin: 0 auto 1.5rem;
}

.billing-toggle button,
.plan-sizes button {
    flex: 1;
    min-height: 40px;
    padding: 0.4rem 1rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    white-space: nowrap;
}

.billing-toggle button:hover,
.plan-sizes button:hover { color: var(--brand-dark); }

.billing-toggle button[aria-pressed="true"],
.plan-sizes button[aria-pressed="true"] {
    background: var(--surface);
    color: var(--brand-dark);
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}

.billing-save {
    margin-left: 0.35rem;
    border-radius: 999px;
    padding: 1px 7px;
    background: var(--success-bg);
    color: var(--success);
    font-size: 0.75rem;
}

.plan-sizes {
    margin: 0 0 1rem;
}

.plan-sizes button { padding-inline: 0.5rem; }

.plan-sizes-static {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.pricing-registration a,
.pricing-addons a { color: var(--brand-dark); font-weight: 600; }

.pricing-addons {
    max-width: 1040px;
    margin-inline: auto;
}

.pricing-addons h2 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.pricing-addons > p {
    color: var(--muted);
    margin: 0.4rem 0 0;
}

.addon-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.addon-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
}

.addon-list strong { white-space: nowrap; }

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    min-width: 0;
}

.plan-card-popular {
    border: 2px solid var(--brand);
    padding: calc(1.5rem - 1px);
    box-shadow: var(--shadow);
}

.plan-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 30px;
}

.plan-heading h3 {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.plan-badge {
    border-radius: 999px;
    padding: 2px 8px;
    background: var(--brand-dark);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.plan-description {
    color: var(--muted);
    line-height: 1.5;
    margin: 4px 0 0;
}

.plan-price {
    color: var(--text);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    min-height: 68px;
    margin: 1rem 0;
}

.plan-amount { display: block; }

.plan-currency,
.plan-period {
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}

.plan-period {
    display: block;
    line-height: 1.5;
    margin-top: 2px;
}

.plan-details {
    margin: 0 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.plan-details > div { padding: 0.3rem 0; }

.plan-details dt {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.35;
}

.plan-details dd {
    margin: 2px 0 0;
    font-size: 1.0625rem;
    line-height: 1.45;
    font-weight: 600;
}

.plan-storage dd {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--brand-dark);
}

.plan-cta { margin-top: auto; }

.plan-note {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 20px;
    min-height: 20px;
    margin: 0 0 8px;
}

.plan-signup {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 1rem;
}

.plan-signup:disabled {
    background: #eef1f4;
    border-color: var(--border);
    color: var(--muted);
    cursor: not-allowed;
    transform: none;
}

.pricing-registration {
    margin: 1.5rem auto 2.5rem;
    text-align: center;
}

.pricing-registration .section-intro {
    margin: 0 auto;
    font-size: 1rem;
}

.pricing-essentials p {
    max-width: 70ch;
    color: var(--muted);
    margin: 0.75rem 0 0;
}

.essentials-checklist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.essentials-checklist li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: 0.9375rem;
}

.feature-check {
    flex-shrink: 0;
    color: var(--brand);
    font-weight: 700;
}

/* Forms and alerts */

.alert {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-weight: 600;
}

.alert-error {
    background: var(--danger-bg);
    border-color: #fecdca;
    color: var(--danger);
}

.alert-success {
    background: var(--success-bg);
    border-color: #abefc6;
    color: var(--success);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field-full { grid-column: 1 / -1; }

label { font-weight: 600; }

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(26, 143, 152, 0.12);
}

textarea {
    min-height: 170px;
    resize: vertical;
}

.error {
    color: var(--danger);
    font-size: 0.9375rem;
    font-weight: 600;
}

.help-text {
    color: var(--muted);
    font-size: 0.9375rem;
    overflow-wrap: anywhere;
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

/* Responsive */

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
        margin-inline: auto;
    }

    .pricing-plans > h2 {
        max-width: 720px;
        margin-inline: auto;
    }

    .pricing-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
    }

    .nav { gap: 1.25rem; }

    .nav-links { gap: 1.25rem; }
}

@media (max-width: 900px) {
    .site-header .nav-signup { display: none; }

    .pricing-grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }

    .pricing-grid-3 { grid-auto-rows: auto; }
}

@media (max-width: 980px) {
    .hero-grid,
    .split-layout,
    .legal-layout,
    .feature-row,
    .feature-row-reverse { grid-template-columns: minmax(0, 1fr); }

    .feature-row-reverse .feature-row-copy { order: 0; }

    .split-aside { position: static; }

    .legal-toc { display: none; }

    .fact-list,
    .features-grid,
    .features-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .fact-list li { justify-content: flex-start; }

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

    .how-it-works { grid-template-columns: minmax(0, 1fr); }

    .footer-wrap { grid-template-columns: repeat(4, 1fr); }

    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .nav { gap: 0.5rem; }

    .nav-links { display: none; }

    .nav-login { display: none; }

    .nav-menu { display: block; }

    .browser-first,
    .essentials-checklist.browser-first-list,
    .addon-list { grid-template-columns: minmax(0, 1fr); }

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

    .final-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-item summary { padding: 1rem; }

    .faq-answer { padding: 0 1rem 1.25rem; }
}

@media (max-width: 720px) {
    .form-grid { grid-template-columns: minmax(0, 1fr); }

    .actions .btn { width: 100%; }
}

@media (max-width: 600px) {
    .essentials-checklist,
    .pricing-grid { grid-template-columns: minmax(0, 1fr); }

    .pricing-grid { grid-auto-rows: auto; }

    .hero-actions .btn,
    .hero-actions .inline-form,
    .hero-actions .inline-form .btn,
    .final-cta-actions,
    .final-cta-actions .btn,
    .final-cta-card .inline-form,
    .final-cta-card .inline-form .btn { width: 100%; }
}

@media (max-width: 480px) {
    .footer-wrap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 340px) {
    .brand-badge { display: none; }
}

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

    .btn,
    .feature { transition: none; }

    .btn:hover,
    .btn:focus-visible { transform: none; }
}

/* Beta landing page (/beta) */

.landing .site-header .nav { min-height: 56px; }

.beta-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Invite form: a framed card, email and button side by side */

.beta-invite {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 1rem;
    background: var(--surface);
    border: 1px solid var(--brand-line);
    border-radius: var(--radius);
    box-shadow: 0 0 0 6px var(--brand-tint), var(--shadow);
    color: var(--text);
    text-align: left;
}

.beta-invite-label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--ink);
    font-size: 0.9375rem;
}

.beta-invite-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.beta-invite-row input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
}

.beta-invite-row input[aria-invalid="true"] { border-color: var(--danger); }

.beta-invite-row .btn {
    width: 80%;
    white-space: nowrap;
}

.beta-cta .beta-invite .cta-note { margin-top: 0.7rem; }

.beta-invite .cf-turnstile:not(:empty) { margin-top: 0.75rem; }

.beta-invite .beta-invite-error {
    margin: 0.55rem 0 0;
    color: var(--danger);
    font-size: 0.875rem;
    font-weight: 600;
}

.beta-invite-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.beta-invite-sent {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    border-color: rgba(15, 123, 76, 0.28);
    box-shadow: 0 0 0 6px var(--success-bg), var(--shadow);
}

.beta-invite-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--success-bg);
    color: var(--success);
    font-weight: 700;
}

.beta-invite .beta-invite-title {
    margin: 0 0 0.25rem;
    color: var(--ink);
    font-weight: 700;
}

.hero .beta-invite-text,
.final-cta-card .beta-invite-text,
.beta-invite-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
    max-width: none;
}

.beta-cta .beta-demo-link {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.9375rem;
}

.beta-demo-link a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.final-cta-actions .beta-invite { width: min(100%, 480px); }

.final-cta-card .beta-invite .cta-note { color: var(--muted); }

.final-cta-card .beta-demo-link { color: rgba(255, 255, 255, 0.72); }

.final-cta-card .beta-demo-link a { color: white; }

.hero .cta-note,
.cta-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.final-cta-actions .beta-cta { margin-top: 0; }

.final-cta-card .cta-note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
}

.beta-copy p {
    margin: 0;
    color: var(--muted);
    font-size: var(--text-lead);
    max-width: 62ch;
}

.beta-copy p + p { margin-top: 0.75rem; }

.beta-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 2rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.beta-checklist li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    color: var(--muted);
}

.beta-checklist strong { color: var(--text); }

.hero-offer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 640px;
    margin: 1.75rem auto 0;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 2px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
}

.hero-offer-badge {
    flex: none;
    width: 88px;
    height: 88px;
    border-radius: 14px;
    background: var(--brand-dark);
    color: white;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1.1;
}

.hero-offer-badge strong {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-offer-badge span {
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-offer-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    color: var(--ink);
    letter-spacing: -0.02em;
}

.hero .hero-offer p {
    max-width: none;
    margin: 0;
    font-size: 1rem;
    text-wrap: pretty;
}

.hero-offer a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

.beta-offer {
    background: var(--brand-tint);
    border: 1px solid var(--brand-line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.beta-offer-intro {
    margin: 0;
    max-width: 70ch;
    color: var(--text);
    font-size: var(--text-lead);
}

.beta-offer-intro strong { color: var(--brand-dark); }

.beta-offer-intro a,
.offer-steps a,
.offer-note a,
.beta-faq .faq-answer a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.offer-steps-title {
    margin: 1.75rem 0 1rem;
    font-size: 1.125rem;
    color: var(--ink);
}

.offer-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}

.offer-steps li {
    position: relative;
    padding-left: 2.75rem;
    color: var(--muted);
    counter-increment: step;
}

.offer-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-dark);
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
}

.offer-steps strong { color: var(--text); }

.offer-note {
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--brand-line);
    color: var(--muted);
    font-size: 0.875rem;
}

.beta-faq { margin-top: 1.5rem; }

.beta-faq .faq-item summary h3 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.offer-terms {
    padding: 0 0 clamp(2.5rem, 4vw, 3.5rem);
    color: var(--muted);
    font-size: 0.875rem;
}

.offer-terms h2 {
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.offer-terms ul {
    margin: 0;
    padding-left: 1.2rem;
}

.offer-terms li + li { margin-top: 0.3rem; }

.shot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.shot-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px;
}

.shot { margin: 0; }

.shot .browser-frame { box-shadow: var(--shadow); }

.shot figcaption {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

.landing-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 2rem;
}

.landing-footer .footer-brand { margin-right: auto; }

.landing-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.landing-footer-links a:hover,
.landing-footer-links a:focus-visible { color: white; }

.landing-footer .footer-copyright { margin: 0; }

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

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

    .final-cta-actions .beta-cta { align-items: stretch; }

    .final-cta-actions .beta-invite { width: 100%; }
}

@media (max-width: 480px) {
    .beta-invite { padding: 1rem; }

    .beta-invite-row .btn { width: 100%; }
}

@media (max-width: 600px) {
    .beta-checklist { grid-template-columns: minmax(0, 1fr); }

    .hero-offer {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1.25rem 1rem;
        text-align: center;
    }

    .hero-offer-badge {
        width: 72px;
        height: 72px;
    }

    .hero-offer-badge strong { font-size: 1.125rem; }

    .beta-cta { align-items: stretch; }

    .beta-cta .btn { width: 100%; min-width: 0; }

    .beta-cta .cta-note { text-align: center; }

    .landing-footer { flex-direction: column; align-items: flex-start; }
}
