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

:root {
    --navy: #121827;
    --blue: #00335a;
    --ink: #333333;
    --muted: #444444;
    --line: #cccccc;
    --paper: #ffffff;
    --error: #a22b21;
    --success: #236447;
    --font-body: 17px;
    --font-small: 14px;
    --font-ui: 15px;
    --font-h1: 32px;
    --font-h2: 28px;
    --font-h3: 18px;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: var(--font-body);
    line-height: 1.6;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

p {
    font-size: var(--font-body);
}

.content-width {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 8px 12px;
    background: white;
    color: var(--navy);
    transform: translateY(-180%);
}

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

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    display: grid;
    height: 60px;
    padding: 0 20px;
    background: var(--navy);
    box-shadow: 0 2px 6px rgb(0 0 0 / 17%);
    color: white;
    grid-template-columns: 28px 1fr 28px;
    place-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    text-decoration: none;
}

.menu-button,
.header-spacer {
    width: 24px;
    height: 18px;
    justify-self: start;
}

.menu-button {
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: space-between;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: white;
}

.menu-button:focus-visible,
.drawer-close:focus-visible,
.site-logo:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.nav-drawer a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -3px;
}

.nav-drawer {
    position: fixed;
    z-index: 300;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(84vw, 280px);
    padding: 0;
    background: white;
    color: var(--ink);
    transform: translateX(-105%);
    transition: transform 200ms ease;
}

.nav-drawer.is-open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
    background: var(--navy);
    color: white;
}

.drawer-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.drawer-close {
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    font-size: 30px;
    font-weight: 200;
    line-height: 0.8;
}

.nav-drawer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-drawer li {
    border-bottom: 1px solid #f2f2f2;
}

.nav-drawer a {
    display: block;
    padding: 15px 20px;
    color: var(--ink);
    font-size: 16px;
    text-decoration: none;
}

.nav-drawer a[aria-current="page"] {
    background: #f0f0f0;
    font-weight: 700;
}

.drawer-overlay {
    position: fixed;
    z-index: 200;
    inset: 0;
    visibility: hidden;
    border: 0;
    opacity: 0;
    background: rgb(0 0 0 / 48%);
    transition: opacity 200ms ease, visibility 200ms ease;
}

.drawer-overlay.is-visible {
    visibility: visible;
    opacity: 1;
}

.kota-app {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 15px 0;
}

.kota-intro {
    position: relative;
    display: flex;
    flex-direction: column;
}

.kota-text {
    flex: 1;
}

h1,
h2 {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
}

h1 {
    margin-bottom: 16px;
    font-size: var(--font-h1);
}

h2 {
    margin-bottom: 24px;
    font-size: var(--font-h2);
}

.kota-text p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: var(--font-body);
    line-height: 1.6;
}

.kota-text .intro-lead {
    color: var(--muted);
    font-size: var(--font-body);
    font-weight: 400;
}

.kota-porsche-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

.kota-porsche-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.domain-sale {
    margin-top: 20px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.domain-sale h2 {
    margin-bottom: 12px;
}

.domain-sale > p {
    max-width: 600px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: var(--font-body);
}

.domain-sale .domain-sale-note {
    margin-bottom: 22px;
    color: var(--ink);
    font-size: var(--font-small);
    font-weight: 600;
}

.primary-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: 1px solid #0073aa;
    border-radius: 5px;
    background: #0073aa;
    color: white;
    font-size: var(--font-ui);
    font-weight: 700;
    text-decoration: none;
    transition: background 150ms ease, border-color 150ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
    border-color: #005a87;
    background: #005a87;
}

.okaa-story {
    padding: 40px 0 0;
    border-bottom: 1px solid var(--line);
}

.okaa-story-layout {
    display: grid;
    gap: 28px;
}

.okaa-story-content {
    padding-bottom: 40px;
}

.story-kicker {
    margin-bottom: 6px;
    color: var(--blue);
    font-size: var(--font-small);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.okaa-story h2 {
    margin-bottom: 18px;
}

.okaa-copy {
    max-width: 800px;
}

.okaa-copy p {
    margin-bottom: 14px;
    color: var(--muted);
}

.okaa-copy p:first-child {
    color: var(--ink);
    font-weight: 600;
}

.okaa-copy p:last-child {
    margin-bottom: 0;
}

.okaa-portrait {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    align-self: end;
}

.okaa-portrait img {
    width: 100%;
    height: auto;
}

.kota-faq {
    padding-top: 40px;
    padding-bottom: 40px;
}

.kota-faq > h2 {
    margin-bottom: 24px;
}

.accordion-list {
    border-top: 0;
}

.kota-accordion {
    border-top: 1px solid var(--line);
}

.kota-accordion summary {
    position: relative;
    display: flex;
    min-height: 0;
    padding: 15px 46px 15px 0;
    align-items: center;
    color: var(--ink);
    cursor: pointer;
    font-size: var(--font-h3);
    font-weight: 600;
    list-style: none;
}

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

.kota-accordion summary span,
.kota-accordion summary span::after {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 18px;
    height: 2px;
    background: var(--navy);
    content: "";
    transform: translateY(-50%);
    transition: transform 150ms ease;
}

.kota-accordion summary span::after {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.kota-accordion[open] summary span::after {
    transform: rotate(0deg);
}

.kota-accordion summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.accordion-content {
    max-width: 800px;
    padding: 0 46px 24px 0;
    color: var(--muted);
}

.accordion-content p {
    margin-bottom: 14px;
}

.accordion-content p:last-child,
.arena-quote blockquote {
    margin-bottom: 0;
}

.arena-quote blockquote {
    padding-left: 16px;
    border-left: 3px solid var(--blue);
}

.arena-quote cite {
    display: block;
    color: var(--ink);
    font-style: normal;
    font-weight: 700;
}

.contact-page {
    width: 100%;
    max-width: 800px;
    padding: 95px 20px 70px;
}

.contact-intro {
    margin-bottom: 30px;
}

.contact-intro h1 {
    margin-bottom: 18px;
}

.contact-intro p {
    max-width: 640px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: var(--font-body);
}

.contact-intro a {
    color: var(--blue);
}

.form-panel {
    max-width: 600px;
}

.success-message,
.form-alert {
    margin-bottom: 24px;
    padding: 12px 14px;
    border-left: 4px solid var(--success);
    background: #e9f2ed;
}

.success-message p {
    margin-bottom: 0;
}

.form-alert {
    border-color: var(--error);
    background: #f8e9e7;
    color: var(--error);
}

.field-grid {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
}

.field {
    margin-bottom: 20px;
}

.field-control {
    position: relative;
}

.field-control label {
    position: absolute;
    top: 50%;
    left: 13px;
    display: inline-flex;
    gap: 4px;
    align-items: baseline;
    margin: 0;
    color: #626873;
    cursor: text;
    font-size: var(--font-ui);
    font-weight: 600;
    line-height: 1;
    pointer-events: auto;
    transform: translateY(-50%);
    transform-origin: left top;
    transition: color 150ms ease, font-size 150ms ease, top 150ms ease, transform 150ms ease;
}

.field-control input:focus + label,
.field-control input:not(:placeholder-shown) + label,
.field-control textarea:focus + label,
.field-control textarea:not(:placeholder-shown) + label {
    top: 9px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transform: none;
}

.field-control--textarea label {
    top: 15px;
    transform: none;
}

.field-control--textarea textarea:focus + label,
.field-control--textarea textarea:not(:placeholder-shown) + label {
    top: 9px;
}

.optional {
    color: var(--muted);
    font-size: 0.78em;
    font-weight: 400;
}

.required-mark {
    color: var(--blue);
}

input,
textarea {
    width: 100%;
    border: 2px solid #aeb4bd;
    border-radius: 4px;
    outline: 0;
    background: white;
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

input {
    height: 52px;
    padding: 20px 12px 6px;
}

textarea {
    min-height: 156px;
    padding: 25px 12px 10px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgb(0 59 92 / 12%);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--error);
}

.field-control input[aria-invalid="true"] + label,
.field-control textarea[aria-invalid="true"] + label {
    color: var(--error);
}

.field-error {
    margin: 5px 0 0;
    color: var(--error);
    font-size: var(--font-small);
}

.char-counter {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.form-actions {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

.verification {
    min-height: 65px;
    margin-left: auto;
}

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

.kota-portrait {
    margin-top: 20px;
    margin-bottom: 0;
    text-align: center;
}

.kota-portrait-frame {
    display: flow-root;
    width: min(100%, 400px);
    overflow: visible;
    margin: 0 auto;
}

.kota-portrait img {
    width: 100%;
    max-width: none;
    height: auto;
    position: relative;
    z-index: 2;
    margin: 0;
}

.site-footer {
    display: flex;
    width: min(calc(100% - 30px), 1170px);
    min-height: 80px;
    margin: 0 auto;
    padding: 16px 15px;
    align-items: center;
    border-top: 3px solid var(--blue);
    color: #54585f;
}

.site-footer small {
    font-size: 16px;
}

.contact-page + .site-footer {
    margin-top: 20px;
}

.not-found {
    display: grid;
    min-height: 100vh;
    padding: 20px;
    background: var(--navy);
    color: white;
    place-items: center;
    text-align: center;
}

.not-found h1 {
    color: white;
}

.not-found p {
    color: #cdd2dc;
}

.not-found .text-link {
    color: white;
}

@media (min-width: 768px) {
    .kota-app {
        padding-top: 70px;
    }

    .kota-intro {
        gap: 40px;
        margin-bottom: 20px;
        flex-direction: row;
    }

    .kota-porsche-container {
        flex: 0 0 500px;
        max-width: 500px;
        margin: 0;
    }

    .nav-drawer {
        width: 350px;
    }

    .nav-drawer a {
        padding: 18px 25px;
    }

    .okaa-story-layout {
        gap: 48px;
        align-items: start;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    }

    .okaa-portrait {
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .domain-sale {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .kota-accordion summary {
        padding-right: 38px;
    }

    .accordion-content {
        padding-right: 8px;
    }

    .contact-page {
        padding-top: 85px;
        padding-bottom: 52px;
    }

    .form-actions .primary-button {
        width: 100%;
    }

    .form-actions {
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .verification {
        width: 100%;
        margin-left: 0;
    }

}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
