@font-face {
  font-family: Geist;
  src: url("../assets/geist-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f0f0ec;
  background: #000;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; margin: 0; }
body { font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #f0f0ec; outline-offset: 5px; }
[hidden] { display: none !important; }

.contact-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(26px, env(safe-area-inset-top)) max(40px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(40px, env(safe-area-inset-left));
}
.contact-header { display: flex; align-items: center; justify-content: flex-end; }
.contact-back { display: inline-flex; min-height: 44px; align-items: center; padding: 0 2px; color: #aaa9a5; font-size: 14px; transition: color 160ms ease; }
.contact-back:hover { color: #f0f0ec; }
.contact-main { width: min(100%, 500px); margin: clamp(42px, 7vh, 78px) auto 44px; }
.contact-main h1 { margin: 0 0 25px; font-size: clamp(64px, 6vw, 82px); line-height: 1.02; font-weight: 400; letter-spacing: -.05em; }
.contact-form { margin: 0; }

.audience-switch { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.audience-options { display: flex; align-items: center; gap: 28px; }
.audience-options label { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; cursor: pointer; }
.audience-options input { width: 14px; height: 14px; margin: 0; accent-color: #f0f0ec; cursor: pointer; }
.audience-options label > span { color: #92928f; font-size: 13px; transition: color 180ms ease; }
.audience-options input:checked + span { color: #f0f0ec; }
.audience-options input:hover + span { color: #f0f0ec; }
.audience-switch:disabled label, .audience-switch:disabled input { cursor: default; }

.contact-description { max-width: 380px; min-height: 3.1em; margin: 0 0 17px; color: #aaa9a5; font-size: 16px; line-height: 1.55; }
.contact-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-team-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(108px, .52fr); gap: 30px; }
.contact-field { min-width: 0; margin: 0 0 25px; }
.contact-field label { display: block; margin-bottom: 0; color: #b2b1ac; font-size: 13px; line-height: 1.5; }
.field-optional { margin-left: 5px; color: #7e7e7a; font-size: 11px; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; padding: 10px 0 11px; border: 0; border-bottom: 1px solid #3b3b38; border-radius: 0; outline: 0; color: #f0f0ec; background: transparent; font-size: 17px; line-height: 1.5; transition: border-color 160ms ease; }
.contact-field input, .contact-field select { height: 48px; }
.contact-field select { padding-right: 3px; background: #000; }
.contact-field select:has(option[value=""]:checked) { color: #7e7e7a; }
.contact-field option { color: #f0f0ec; background: #111; }
.contact-field textarea { min-height: 74px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #7e7e7a; opacity: 1; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { border-bottom-color: #f0f0ec; }
.contact-field input:focus-visible, .contact-field select:focus-visible, .contact-field textarea:focus-visible { box-shadow: 0 1px #f0f0ec; }
.contact-field [aria-invalid="true"] { border-bottom-color: #e5a9a1; }
.contact-field input:disabled, .contact-field select:disabled, .contact-field textarea:disabled { opacity: .65; }
.contact-field-message { margin-bottom: 22px; }

.contact-verification:empty { display: none; }
.contact-verification { margin: 0 0 18px; }
.contact-error { margin: 0 0 16px; color: #e5a9a1; font-size: 13px; line-height: 1.5; }
.contact-error:empty { display: none; }
.contact-retry { display: block; min-height: 44px; margin: -8px 0 14px; padding: 8px 0; border: 0; background: none; color: #f0f0ec; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.contact-submit { display: inline-flex; align-items: center; justify-content: center; min-width: 156px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 7px; background: #f0f0ec; color: #111; font-size: 14px; line-height: 1.5; transition: background-color 160ms ease, opacity 160ms ease; }
.contact-submit:hover { background: #dcdcd7; }
.contact-submit:active { background: #cbcbc6; transition-duration: 90ms; }
.contact-submit:disabled { cursor: default; opacity: .5; }
.contact-submit[aria-busy="true"] { cursor: wait; }
.contact-note { margin: 17px 0 0; color: #858581; font-size: 12px; line-height: 1.6; }
.contact-success { margin-top: 50px; }
.contact-success h2 { margin: 0; font-size: 29px; line-height: 1.2; font-weight: 400; letter-spacing: -.03em; }
.contact-success > p { margin: 14px 0 28px; color: #aaa9a5; font-size: 16px; line-height: 1.55; }
.contact-home { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-decoration-color: #666663; text-underline-offset: 5px; }
.contact-home:hover { text-decoration-color: currentColor; }
.contact-answers { margin-top: 62px; border-top: 1px solid #2a2a28; padding-top: 27px; }
.contact-answers h2 { margin: 0 0 18px; font-size: 18px; font-weight: 400; line-height: 1.35; letter-spacing: -.02em; }
.contact-answers details { border-bottom: 1px solid #252523; }
.contact-answers summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; padding: 12px 0; color: #b2b1ac; font-size: 14px; cursor: pointer; list-style: none; }
.contact-answers summary::-webkit-details-marker { display: none; }
.contact-answers summary::after { content: '+'; flex: 0 0 12px; color: #858581; text-align: center; font-size: 18px; line-height: 1; }
.contact-answers details[open] summary { color: #f0f0ec; }
.contact-answers details[open] summary::after { content: '−'; }
.contact-answers p { max-width: 430px; margin: 0 0 21px; color: #aaa9a5; font-size: 14px; line-height: 1.6; }
.contact-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 32px; color: #94979c; font-size: 12px; }
.contact-yc { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-block: -14px; color: #d9dbe0; }
.contact-yc .backed-by { margin-right: 2px; color: #94979c; }
.contact-yc img { display: block; width: 18px; height: 18px; }
.contact-yc:hover { opacity: .78; }
.contact-visually-hidden, .contact-trap, .contact-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.contact-trap { pointer-events: none; }
.contact-skip:focus { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px 18px; background: #f0f0ec; color: #000; }

@media (max-width: 600px) {
  .contact-shell { padding: max(18px, env(safe-area-inset-top)) max(23px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(23px, env(safe-area-inset-left)); }
  .contact-main { margin-top: 45px; margin-bottom: 25px; }
  .contact-main h1 { margin-bottom: 24px; font-size: 66px; }
  .contact-description { min-height: 4.65em; margin-bottom: 12px; font-size: 15px; }
  .audience-switch { margin-bottom: 25px; }
  .contact-team-top { grid-template-columns: minmax(0, 1fr) minmax(98px, .55fr); gap: 24px; }
  .contact-field { margin-bottom: 22px; }
  .contact-footer { font-size: 11px; gap: 8px; }
  .contact-yc { gap: 5px; }
  .contact-yc img { width: 16px; height: 16px; }
}

@media (max-width: 350px) {
  .contact-shell { padding-left: 19px; padding-right: 19px; }
  .contact-main h1 { font-size: 60px; }
  .contact-team-top { gap: 18px; }
  .contact-yc { gap: 4px; }
  .contact-yc .backed-by { margin-right: 0; }
}

@media (max-height: 780px) and (min-width: 601px) {
  .contact-main { margin-top: 25px; margin-bottom: 20px; }
  .contact-main h1 { font-size: 65px; margin-bottom: 23px; }
  .contact-description { margin-bottom: 12px; }
  .contact-field { margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

@media (max-width:760px) { .contact-footer .yc-name { display: none; } }
