:root {
    --bg-color: #161C1F;
    --text-primary: #FFFFFF;
    --text-secondary: #A2ABB0;
    --text-disabled: #656A6C;
    --accent: #E8630A;
    --accent-hover: #ff751a;
    --card-bg: #1F262A;
    --surface-light: #2A3033;
    --surface: #1F262A;
    --surface-lighter: #3B4348;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-link:hover {
    opacity: 0.8;
}

.header-flame {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.header-wordmark {
    height: 24px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

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

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    animation: fadeIn 0.8s ease-out;
    margin-bottom: 6rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
}

.badge-row {
    display: flex;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    /* Important for flex flow if things get tight */
}

.button {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    font-size: 1.1rem;
    cursor: pointer;
}

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

.button:active:not(:disabled) {
    transform: translateY(0);
}

.button:disabled {
    cursor: default;
    background-color: var(--surface-light);
    color: var(--text-disabled);
}

.button-small {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.button-text {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.button-text:hover {
    color: var(--text-primary);
}

/* Signup Form */
#signup-form-container {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--surface-light);
    max-width: 450px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--surface-light);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* #success-msg p intentionally removed to let specific classes style it */

.error p {
    color: #ff4444;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
}

.hidden {
    display: none !important;
}

.name-status {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.name-status.available {
    color: #4caf50;
}

.name-status.taken {
    color: #f44336;
}

.name-status.info {
    color: #f5a623;
}

.name-status.checking {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    animation: pulse 1.5s infinite ease-in-out;
}

.name-status.checking::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid rgba(232, 99, 10, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Signup page */
.signup-main {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 901px) {
    .signup-main {
        max-width: 1100px;
    }
}

.signup-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-intro {
    color: var(--text-secondary);
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 500px;
}

.signup-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

@media (min-width: 901px) {
    .signup-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 5rem;
        align-items: start;
    }

    .signup-info {
        position: sticky;
        top: 2rem;
    }
}

.signup-form-panel {
    background: var(--card-bg);
    border: 1px solid var(--surface-light);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.signup-callouts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.signup-callout {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.signup-callout:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.signup-callout-title {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.signup-callout-body {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.45;
}

.signup-steps {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 2px solid var(--accent);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.signup-steps-title {
    margin: 0 0 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.signup-steps-list {
    margin: 0 0 0 1.25rem;
    padding: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.signup-steps-list li {
    margin: 0.75rem 0;
}

.signup-inline-quote {
    display: inline-block;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 0.9em;
}

.signup-requirements {
    margin-top: 0.75rem;
    text-align: left;
}

.signup-requirements-list {
    padding: 1rem 0 0 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
    justify-content: center;
}

.signup-requirement {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signup-requirement::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.signup-requirement.ok {
    color: #4caf50;
}

.signup-requirement.ok::before {
    background-color: #4caf50;
    border-color: #4caf50;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 80% auto;
    background-repeat: no-repeat;
    background-position: center;
}

.signup-requirement.error {
    color: #f44336;
}

.signup-requirement.error::before {
    background-color: #f44336;
    border-color: #f44336;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-size: 70% auto;
    background-repeat: no-repeat;
    background-position: center;
}

.signup-color-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.signup-color-hint {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.signup-color-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    max-width: 100%;
}

@media (max-width: 480px) {
    .signup-color-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.signup-color-swatch {
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    padding: 0;
    border: 2px solid var(--surface-light);
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.15s ease, transform 0.1s ease;
}

.signup-color-swatch:hover {
    border-color: var(--text-secondary);
}

.signup-color-swatch:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.signup-color-swatch.selected {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 1px var(--text-primary);
    transform: scale(1.04);
}

.signup-actions {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
}

.signup-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--surface-light);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.signup-search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--surface-light);
    transition: background-color 0.2s ease;
}

.signup-search-result-item:last-child {
    border-bottom: none;
}

.signup-search-result-item:hover {
    background-color: var(--surface-light);
}

.signup-search-result-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.signup-search-result-item small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.selected-address-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-light);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.selected-address-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.address-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.address-text {
    display: flex;
    flex-direction: column;
}

.address-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.address-details {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

#change-address-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

#change-address-btn:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-success {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(232, 99, 10, 0.08);
    border: 1px solid rgba(232, 99, 10, 0.2);
    border-radius: 12px;
}

.signup-success-title {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
}

.signup-success-body {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
}

.signup-error {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    color: #ff4444;
}

/* Mockup */
.hero-screenshot-container {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 600px;
    overflow: visible;
}

.hero-screenshot {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Left phone (home) — fans out left */
.phone-mockup {
    width: 230px;
    border-radius: 40px;
    padding: 10px;
    background: #111;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% - 150px), -50%) rotate(-6deg) scale(0.88);
    z-index: 1;
    opacity: 0.85;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* Center phone (login) — the hero, straight and forward */
.phone-mockup.secondary {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    z-index: 2;
    opacity: 1;
}

/* Right phone (map) — fans out right, symmetric to left */
.phone-mockup.tertiary {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + 150px), -50%) rotate(6deg) scale(0.88);
    z-index: 1;
    opacity: 0.85;
}

.phone-mockup:hover {
    transform: translate(calc(-50% - 150px), -54%) rotate(-3deg) scale(0.94);
    opacity: 1;
    z-index: 3;
}

.phone-mockup.secondary:hover {
    transform: translate(-50%, -54%) rotate(0deg) scale(1.05);
    z-index: 3;
}

.phone-mockup.tertiary:hover {
    opacity: 1;
    transform: translate(calc(-50% + 150px), -54%) rotate(3deg) scale(0.94);
    z-index: 3;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
}

.carousel-dots {
    display: none;
    /* Hidden by default; shown on phone via media query */
    gap: 8px;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.2s, transform 0.2s;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

@media (min-width: 901px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--surface-light);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

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

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* Legal Content specific styles */
.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content p,
.legal-content ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-content .last-updated {
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

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

a {
    cursor: pointer;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

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

footer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.beta-hero {
    margin-bottom: 3rem;
}

.beta-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

.beta-platform-badges {
    flex-wrap: wrap;
}

.badge-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-platform svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.beta-form-panel {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--surface-light);
    max-width: 450px;
    margin-top: 0.5rem;
}

.beta-form-actions {
    margin-top: 0.25rem;
}

.beta-success p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.beta-screenshot-container .beta-single-mockup-track {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 480px;
}

.beta-hero-phone.phone-mockup.secondary {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 248px;
    opacity: 1;
    z-index: 2;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

@media (min-width: 901px) {
    .beta-hero-phone.phone-mockup.secondary:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

@media (max-width: 900px) {
    .beta-screenshot-container .beta-single-mockup-track {
        min-height: 380px;
    }

    .beta-hero .hero-text h2 {
        font-size: 2.25rem;
    }
}

/* ==========================================
   TABLET (601px - 900px)
   All phones visible, scaled-down stacked layout
   ========================================== */
@media (max-width: 900px) {
    .container {
        padding: 1.5rem;
        overflow-x: hidden;
    }

    header {
        padding: 1.5rem 0;
    }

    main {
        padding: 2rem 0;
    }

    .hero {
        margin-bottom: 3rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        margin: 0 auto 1.5rem;
        max-width: 100%;
    }

    .badge-row {
        justify-content: center;
    }

    .actions {
        justify-content: center;
    }

    #signup-form-container,
    .beta-form-panel {
        margin: 0 auto;
    }

    .hero-screenshot-container {
        height: 800px;
    }

    .hero-screenshot-container.beta-screenshot-container {
        height: auto;
        min-height: 0;
    }

    .phone-mockup {
        width: 180px;
        transform: translate(calc(-50% - 110px), -50%) rotate(-5deg) scale(0.86);
    }

    .phone-mockup.secondary {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    .phone-mockup.tertiary {
        transform: translate(calc(-50% + 110px), -50%) rotate(5deg) scale(0.86);
    }

    .phone-mockup:hover {
        transform: translate(calc(-50% - 110px), -54%) rotate(-2deg) scale(0.92);
    }

    .phone-mockup.secondary:hover {
        transform: translate(-50%, -54%) rotate(0deg) scale(1.04);
    }

    .phone-mockup.tertiary:hover {
        transform: translate(calc(-50% + 110px), -54%) rotate(2deg) scale(0.92);
    }

    .carousel-dots {
        display: none;
    }
}

/* ==========================================
   PHONE (≤600px)
   JS-driven carousel, one phone at a time
   ========================================== */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    main {
        padding: 1.5rem 0;
    }

    .hero {
        margin-bottom: 2rem;
    }

    .hero-content {
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin: 0 auto 1rem;
    }

    .badge-row {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 1rem;
    }

    .badge {
        font-size: 0.8rem;
    }

    /* Screenshot carousel */
    .hero-screenshot-container {
        height: auto;
        width: 100%;
        margin-top: 0.5rem;
    }

    .hero-screenshot {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        display: block;
        /* MUST override global flex which centers the 200% width track */
    }

    .carousel-track {
        display: flex;
        width: 300%;
        transition: transform 0.4s ease;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .phone-mockup {
        flex: 0 0 33.3333%;
        width: 33.3333%;
        margin: 0;
        padding: 10px;
        /* Preserve inner padding */
        transform: none !important;
        position: static;
        z-index: auto;
        border-radius: 28px;
        box-sizing: border-box;
    }

    .phone-mockup.secondary,
    .phone-mockup.tertiary {
        position: static;
        left: auto;
        top: auto;
        z-index: auto;
        opacity: 1;
        transform: none !important;
    }

    .phone-mockup:hover {
        transform: none !important;
    }

    .phone-mockup img {
        border-radius: 22px;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
    }

    .dot {
        cursor: pointer;
    }

    .beta-form-panel {
        margin-left: auto;
        margin-right: auto;
    }

    /* Features single column */
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}