@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #F4F5F7;
  --card: #FFFFFF;
  --line: #E0E3E8;
  --ink: #15181D;
  --muted: #5B6370;
  --amber: #FFB000;
  --on-amber: #2A1A0C;
  --amber-text: #8A5A00;
  --brown: #4A2C17;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", cursive;
  --shadow: 0 1px 2px rgba(21, 24, 29, .05), 0 8px 24px rgba(21, 24, 29, .06);
  --gutter: max(16px, 5vw);
  color-scheme: only light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 12px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

a {
  color: var(--amber-text);
}

a:hover {
  color: #6B4600;
}

:focus-visible {
  outline: 3px solid var(--amber-text);
  outline-offset: 3px;
  border-radius: 6px;
}

img,
svg {
  display: block;
}

.defs {
  position: absolute;
}

.line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.hand {
  font-family: var(--hand);
  font-weight: 600;
  line-height: 1;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
}

.btn:focus-visible {
  border-radius: 12px;
}

.btn.compact {
  min-height: 44px;
  padding: 6px 20px;
  font-size: 1rem;
}

.btn.amber,
.btn.amber:hover {
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 600;
}

.btn.amber:hover {
  background: #F2A700;
}

.btn.plain,
.btn.plain:hover {
  border-color: #D5D9E0;
  background: var(--card);
  color: var(--ink);
}

.btn.plain:hover {
  border-color: #B9BFC9;
}

.btn.ghost,
.btn.ghost:hover {
  border-color: #4A515C;
  color: #FFFFFF;
}

.btn.ghost:hover {
  border-color: #8D95A1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.top {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}

.mark,
.mark:hover {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.sections {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 1rem;
}

.sections a,
.sections a:hover {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}

.sections a:hover {
  background: var(--ground);
}

.hero {
  padding: 72px var(--gutter) 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hero-hand {
  color: var(--amber-text);
  font-size: 2rem;
}

.lead {
  max-width: 34em;
  color: var(--muted);
  font-size: 1.1875rem;
}

.hero .actions {
  margin-top: 4px;
}

.phones {
  --s: .6;
  --u: calc(var(--s) / .6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: calc(20px * var(--u));
  min-width: 0;
}

.phone {
  flex: none;
  padding: calc(8px * var(--u));
  border-radius: calc(40px * var(--u));
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(21, 24, 29, .22);
}

.phone + .phone {
  margin-top: calc(44px * var(--u));
}

.glass {
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  border-radius: calc(32px * var(--u));
  overflow: hidden;
}

.app {
  display: flex;
  flex-direction: column;
  width: 390px;
  height: 844px;
  background: var(--ground);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  transform: scale(var(--s));
  transform-origin: top left;
}

.a-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.a-head {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 52px 8px 8px;
}

.a-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.a-title {
  font-size: 20px;
  font-weight: 600;
}

.a-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: 8px 16px 16px;
}

.a-power {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 16px 22px;
}

.a-glow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 210px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 176, 0, .32) 0%, rgba(255, 176, 0, 0) 60%);
}

.a-state {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.a-since,
.a-key {
  color: var(--muted);
}

.a-facts {
  padding: 4px 16px;
  font-size: 15px;
}

.a-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.a-fact:last-child {
  border-bottom: 0;
}

.a-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.a-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1E7B4C;
}

.a-tabs {
  display: flex;
  padding: 10px 8px 22px;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.a-tab {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.a-tab.a-now {
  color: var(--ink);
  font-weight: 600;
}

.a-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 32px;
  border-radius: 999px;
}

.a-now .a-pill {
  background: var(--amber);
  color: var(--on-amber);
}

.app-devices {
  gap: 14px;
  padding: 56px 16px 24px;
}

.a-who {
  display: flex;
}

.a-person {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(21, 24, 29, .05);
}

.a-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 600;
}

.a-hello {
  color: var(--brown);
  font-family: var(--hand);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
}

.a-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 4px;
}

.a-heading {
  flex: 1;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.a-views {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 14px;
  background: #E6E8EC;
}

.a-view {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: var(--muted);
}

.a-view.a-now {
  background: var(--card);
  box-shadow: 0 1px 2px rgba(21, 24, 29, .14);
  color: var(--ink);
}

.a-room {
  margin: 4px 4px -4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.a-room-next {
  margin-top: 8px;
}

.a-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.a-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 10px;
}

.a-pic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
}

.a-pic.a-on {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 176, 0, .2);
  color: var(--brown);
}

.a-pic.a-off {
  background: #ECEEF2;
  color: var(--muted);
}

.a-pic.a-away {
  border: 1px dashed #C4C9D1;
  color: #8D95A1;
}

.a-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
}

.a-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}

.a-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.a-sub {
  color: var(--muted);
  font-size: 12px;
}

.a-foot {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.a-btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 15px;
}

.a-btn.a-main-btn {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 600;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.how {
  padding: 24px var(--gutter) 64px;
}

.steps,
.features,
.pair {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.step {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 24px;
}

.step-no {
  color: var(--amber-text);
  font-size: 2.5rem;
}

.step h3 {
  font-size: 1.3125rem;
}

.step p,
.model p {
  color: var(--muted);
}

.features {
  margin-top: 40px;
}

.feature {
  display: flex;
  flex: 1 1 240px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 8px 4px;
}

.feature-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFF1CF;
  color: #6B4600;
}

.feature h3 {
  margin-top: 4px;
  font-size: 1.1875rem;
}

.feature p {
  color: var(--muted);
  font-size: 1rem;
}

.soon,
.feature .soon,
.model .soon {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFF1CF;
  color: #6B4600;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.models {
  padding: 0 var(--gutter) 72px;
}

.model {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.model-pic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--amber);
  color: var(--brown);
}

.model-plus {
  position: absolute;
  top: -7px;
  right: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
}

.model h3 {
  margin-top: 4px;
  font-size: 1.625rem;
}

.band {
  padding: 64px var(--gutter);
  background: var(--ink);
  color: #FFFFFF;
}

.band :focus-visible {
  outline-color: #FFC24D;
}

.band-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
}

.band-text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.band-hand {
  color: #FFC24D;
  font-size: 1.875rem;
}

.band-text p:last-child {
  max-width: 34em;
  color: #C5CAD3;
}

.foot {
  padding: 28px var(--gutter) 36px;
  color: var(--muted);
  font-size: .9375rem;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot a {
  color: var(--muted);
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 1039px) {
  .hero {
    padding-top: 48px;
  }

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

@media (max-width: 639px) {
  .bar {
    gap: 4px 12px;
  }

  .sections {
    order: 3;
    flex-basis: 100%;
    margin: 0 -14px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .hero-grid {
    gap: 36px;
  }

  .how {
    padding-bottom: 48px;
  }

  .features {
    margin-top: 24px;
  }

  .models {
    padding-bottom: 56px;
  }

  .band {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .step,
  .model {
    padding: 20px;
  }
}

@media (max-width: 599px) {
  .phones {
    --s: .5;
  }
}

@media (max-width: 499px) {
  .phones {
    --s: .42;
  }

  .actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 419px) {
  .phones {
    --s: .37;
  }
}

@media (max-width: 359px) {
  .phones {
    --s: .33;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .btn,
  .sections a {
    transition: background-color .15s, border-color .15s;
  }
}
