@font-face { font-family: nouvelr; src: url(fonts/nouvelrlight.woff2) format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: nouvelr; src: url(fonts/nouvelrbook.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: nouvelr; src: url(fonts/nouvelrregular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: nouvelr; src: url(fonts/nouvelrbold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: nouvelr; src: url(fonts/nouvelrextrabold.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --black: #050505;
  --white: #fff;
  --primary: #efdf00;
  --neutral-light: #f2f2f2;
  --neutral-medium: #d9d9d6;
  --neutral: #b9b9b9;
  --neutral-darker: #777;
  --border-dark: #252626;
  --red: #c8102e;
  --font: nouvelr, ui-sans-serif, system-ui, sans-serif;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; line-height: 1.5; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--black); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.logo { fill: currentColor; height: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  text-align: center; text-decoration: none; cursor: pointer;
  border: 1px solid; border-radius: 4px; padding: 10px 16px;
  min-width: 48px; min-height: 48px;
  font-size: 16px; font-weight: 700; line-height: 16px;
  transition: color .2s cubic-bezier(.4, 0, .2, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), border-color .2s cubic-bezier(.4, 0, .2, 1);
}
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.btn:disabled { cursor: not-allowed; opacity: .75; }
.btn-solid-white { border-color: var(--white); background: var(--white); color: var(--black); }
.btn-outline-white { border-color: var(--white); background: transparent; color: var(--white); }
.btn-solid-white:hover, .btn-solid-white:focus-visible, .btn-outline-white:hover, .btn-outline-white:focus-visible { border-color: #ddd; background: var(--black); color: var(--white); }
.btn-solid-black { border-color: var(--border-dark); background: var(--black); color: var(--white); }
.btn-outline-black { border-color: var(--border-dark); background: transparent; color: var(--black); }
.btn-solid-black:hover, .btn-solid-black:focus-visible, .btn-outline-black:hover, .btn-outline-black:focus-visible { border-color: #707171; background: var(--white); color: var(--black); }

.link {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font-size: 18px; font-weight: 700; line-height: 120%;
  text-decoration: underline; text-decoration-color: var(--black); text-decoration-thickness: 2px; text-underline-offset: 4px;
  transition: text-decoration-thickness .15s;
}
.link:hover { text-decoration-thickness: 3px; }
.link:focus-visible { outline-color: var(--black); }

.top { position: absolute; z-index: 30; top: 0; left: 0; right: 0; color: var(--white); background: linear-gradient(to bottom, rgb(0 0 0 / .5), transparent); }
.top-in { display: flex; align-items: center; gap: 16px; padding: 8px 24px 16px; }
.brand { display: block; margin-right: 16px; }
.brand .logo { width: 40px; }
.nav { display: none; gap: 16px; font-size: 14px; font-weight: 700; line-height: 120%; margin-right: auto; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.top .btn { margin-left: auto; }

.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: flex-end; background: var(--black); color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .85) 0%, rgb(0 0 0 / .45) 45%, rgb(0 0 0 / 0) 75%); }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 120px var(--gutter) 40px; }
h1 { text-transform: uppercase; font-weight: 700; font-size: 44px; line-height: 100%; }
.hero-sub { font-size: 24px; font-weight: 200; line-height: 120%; margin-top: 12px; }
.hero-lead { font-size: 16px; font-weight: 300; line-height: 140%; margin-top: 16px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-fine { font-size: 12px; font-weight: 300; line-height: 130%; color: var(--neutral-medium); margin-top: 16px; max-width: 40em; }

.section { padding: 56px 0; }
.section-grey { background: var(--neutral-light); }

.display { text-align: center; font-weight: 700; font-size: 44px; line-height: 90%; }
.display span { display: block; }
.display small { display: block; font-size: 28px; font-weight: 200; line-height: 100%; margin-top: 10px; }
.intro { text-align: center; font-size: 18px; font-weight: 300; line-height: 130%; max-width: 30em; margin: 24px auto 0; }

h2 { font-size: 24px; font-weight: 700; line-height: 120%; }
h3 { font-size: 20px; font-weight: 700; line-height: 120%; }
.light { font-weight: 200; font-size: 16px; line-height: 140%; margin-top: 12px; max-width: 30em; }
.note { font-size: 14px; font-weight: 200; line-height: 120%; }
.fine { font-size: 14px; font-weight: 200; line-height: 130%; text-align: center; margin: 40px auto 0; max-width: 46em; }

.steps { display: grid; gap: 32px; margin-top: 40px; }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-n { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 18px; line-height: 120%; margin-bottom: 12px; }
.steps p { font-weight: 200; line-height: 140%; margin-top: 8px; max-width: 22em; }

.cars { display: grid; gap: 32px 32px; margin-top: 40px; }
.car { display: flex; flex-direction: column; align-items: flex-start; }
.car img { width: 100%; max-width: 448px; min-height: 120px; object-fit: contain; }
.car-body { margin-left: 40px; }
.car h3 { text-transform: uppercase; font-weight: 800; font-size: 28px; line-height: 120%; }
.car-price { font-size: 18px; font-weight: 300; line-height: 120%; opacity: .8; }
.car-price strong { font-weight: 700; }
.car .link { margin-top: 8px; }

.callback-in { display: grid; gap: 56px; }
.form { display: grid; gap: 24px; margin-top: 32px; max-width: 520px; }
.form h3 { font-size: 16px; }
.form .note { margin-top: -16px; }
.field input, .field select {
  display: block; width: 100%; margin: 0;
  font: inherit; font-size: 16px; line-height: 1.25; color: var(--black); background: transparent;
  border: 1px solid var(--black); border-radius: 0; padding: 12px 16px;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--neutral-darker); opacity: 1; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--black); outline-offset: 0; }
.field.select { position: relative; }
.field.select select { padding-right: 36px; cursor: pointer; }
.field.select::after { content: ""; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid var(--black); pointer-events: none; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.25; cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none; margin: 0; cursor: pointer;
  width: 20px; height: 20px; border: 2px solid var(--neutral-medium); border-radius: 4px; background: var(--white) center / 12px no-repeat;
}
.check input:checked { background-color: var(--black); border-color: var(--black); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.check input:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-error { color: var(--red); font-size: 14px; font-weight: 700; }
.form-done { margin-top: 32px; padding: 24px; background: var(--neutral-light); max-width: 520px; }
.sample { font-size: 14px; font-weight: 300; border-left: 4px solid var(--black); padding: 8px 12px; margin-top: 16px; background: var(--white); }
.callback-talk .btn { margin-top: 24px; }
.callback-talk .note { margin-top: 16px; max-width: 30em; }

.foot { background: #000; color: var(--white); padding: 56px 0; }
.foot-top { display: flex; flex-direction: column; align-items: center; gap: 32px; margin-bottom: 32px; }
.foot .logo { width: 40px; }
.foot-title { font-size: 18px; line-height: 120%; margin-bottom: 16px; }
.foot-text { font-size: 14px; line-height: 120%; }
body.va-open .foot { padding-bottom: 140px; }

.fab {
  position: fixed; z-index: 35; right: 24px; bottom: 24px;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: #000; color: var(--white); box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
}
.fab .ico { width: 24px; height: 24px; }
.fab:focus-visible { outline-color: var(--black); outline-offset: 3px; }
body.va-open .fab { display: none; }

.va {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  background: var(--white); color: var(--black);
  box-shadow: 0 -8px 40px rgb(0 0 0 / .28);
  display: flex; flex-direction: column;
  max-height: min(78vh, 560px);
  padding-bottom: env(safe-area-inset-bottom);
}
.va-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #000; color: var(--white); }
.va-head .logo { width: 22px; }
.va-name { margin-right: auto; }
.va-title { font-weight: 700; font-size: 16px; line-height: 120%; }
.va-sub { font-size: 12px; font-weight: 300; line-height: 120%; color: var(--neutral-medium); }
.va-close { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--white); }
.va-stage { display: flex; align-items: center; gap: 16px; padding: 16px 16px 12px; }
.va-status { font-size: 16px; font-weight: 700; line-height: 130%; min-height: 1.3em; }
.va-orb[data-state="error"] + .va-status { font-weight: 300; font-size: 15px; }

.va-orb { width: 52px; height: 52px; flex: none; position: relative; display: grid; place-items: center; }
.va-orb span { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; background: var(--black); transition: transform .25s, background-color .25s; }
.va-orb::before, .va-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--neutral-medium); opacity: 0; transform: scale(.55); }
.va-orb[data-state="connecting"] span { animation: va-blink 1s ease-in-out infinite; }
.va-orb[data-state="listening"]::before { opacity: .7; animation: va-breathe 2.2s ease-in-out infinite; }
.va-orb[data-state="speaking"] span { transform: scale(1.15); }
.va-orb[data-state="speaking"]::before { background: var(--black); animation: va-ring 1.1s ease-out infinite; }
.va-orb[data-state="speaking"]::after { background: var(--black); animation: va-ring 1.1s ease-out .55s infinite; }
.va-orb[data-state="ended"] span, .va-orb[data-state="error"] span { background: var(--neutral); }

@keyframes va-blink { 50% { opacity: .25; } }
@keyframes va-breathe { 0%, 100% { transform: scale(.7); } 50% { transform: scale(.98); } }
@keyframes va-ring { 0% { transform: scale(.55); opacity: .35; } 100% { transform: scale(1.15); opacity: 0; } }

.va-log { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.va-log:empty { display: none; }
.va-log li { max-width: 88%; padding: 8px 12px; font-size: 15px; font-weight: 300; line-height: 1.35; background: var(--neutral-light); align-self: flex-start; }
.va-log li.me { background: var(--black); color: var(--white); align-self: flex-end; }
.va-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 16px 8px; }
.va-actions .btn { flex: 1 1 auto; }
.va-note { font-size: 12px; font-weight: 300; line-height: 130%; color: var(--neutral-darker); padding: 0 16px 12px; }

@media (min-width: 640px) {
  .cars { grid-template-columns: repeat(2, 1fr); }
  .va { left: auto; right: 24px; bottom: 24px; width: 380px; border: 1px solid var(--neutral-medium); box-shadow: 0 12px 48px rgb(0 0 0 / .3); }
  body.va-open .foot { padding-bottom: 56px; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .top-in { padding: 12px 32px 20px; gap: 32px; }
  .brand { margin-right: 0; }
  .brand .logo, .foot .logo { width: 56px; }
  .nav { display: flex; }
  .hero-in { padding-bottom: 72px; }
  h1 { font-size: 64px; }
  .hero-sub { font-size: 32px; }
  .hero-lead { font-size: 18px; }
  .section { padding: 96px 0; }
  .display { font-size: 80px; line-height: 80%; }
  .display small { font-size: 40px; margin-top: 16px; }
  .intro { font-size: 24px; margin-top: 40px; }
  h2 { font-size: 44px; }
  .form h3 { font-size: 28px; }
  .form .note { margin-top: -16px; }
  .steps { grid-template-columns: repeat(3, 1fr); margin-top: 64px; }
  .cars { margin-top: 64px; }
  .car-body { margin-left: 64px; }
  .car h3 { font-size: 32px; }
  .foot-top { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .cars { grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
  .callback-in { grid-template-columns: 1.1fr 1fr; gap: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .va-orb span, .va-orb::before, .va-orb::after { animation: none !important; }
  .va-orb[data-state="listening"]::before { opacity: .7; transform: scale(.9); }
  .va-orb[data-state="speaking"]::before { opacity: .3; transform: scale(.95); }
}
