:root {
  color-scheme: light dark;

  --paper: #fdfbf7;
  --paper-deep: #f6f1e8;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #67635b;
  --border: #e6e0d6;
  --divider: #efe9df;
  --link: #0a5faf;
  --link-hover: #084b8a;
  --focus: #0a5faf;

  --amber: #ffa01c;
  --orange: #f76b15;
  --green: #299764;
  --on-fill: #1a1206;

  --shadow-sm: 0 1px 2px rgba(41, 30, 12, 0.06), 0 2px 8px rgba(41, 30, 12, 0.05);
  --shadow-md: 0 2px 6px rgba(41, 30, 12, 0.06), 0 12px 32px rgba(41, 30, 12, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --measure: 68ch;
  --shell: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --step--1: clamp(0.86rem, 0.83rem + 0.15vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.44rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.65rem + 2.75vw, 4rem);

  --display: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111111;
    --paper-deep: #0b0b0b;
    --surface: #1a1a1a;
    --ink: #eeeeee;
    --muted: #a8a8a8;
    --border: #2e2e2e;
    --divider: #262626;
    --link: #3b9eff;
    --link-hover: #7cbdff;
    --focus: #7cbdff;

    --amber: #ffb851;
    --orange: #ff8a45;
    --green: #4cc48c;
    --on-fill: #12100c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.45), 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/nunito-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;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/nunito-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@view-transition {
  navigation: auto;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-3);
}

h2 {
  font-size: var(--step-2);
  margin-top: 2.25em;
}

h3 {
  font-size: var(--step-1);
  margin-top: 1.75em;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}

a:hover {
  color: var(--link-hover);
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose {
  max-width: calc(var(--measure) + var(--gutter) * 2);
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
}

.lede {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 58ch;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1.1rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--focus);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: auto;
}

.brand-name {
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-weight: 600;
  font-size: var(--step--1);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.lang-switch {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

main {
  flex: 1;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  margin-block: 1rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card > :last-child {
  margin-bottom: 0;
}

.mail {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 800;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li + li {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--divider);
}

.link-list a {
  font-weight: 700;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

.link-list span {
  display: block;
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 0.15rem;
}

.link-list.plain li + li {
  border-top: 0;
  margin-top: 0.4rem;
  padding-top: 0;
}

.site-footer {
  border-top: 1px solid var(--divider);
  background: var(--paper-deep);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  font-size: var(--step--1);
  color: var(--muted);
}

.footer-inner > :last-child {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-note {
  max-width: 60ch;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  @view-transition {
    navigation: none;
  }
}
.eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem);
}

.hero-wash {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(48% 40% at 18% 22%, color-mix(in srgb, var(--amber) 26%, transparent), transparent 70%),
    radial-gradient(42% 38% at 82% 8%, color-mix(in srgb, var(--orange) 20%, transparent), transparent 72%),
    radial-gradient(50% 44% at 62% 78%, color-mix(in srgb, var(--green) 12%, transparent), transparent 74%);
  filter: blur(4px);
  animation: drift 26s ease-in-out infinite alternate;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .hero-wash {
    opacity: 0.4;
  }
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.06);
  }
}

.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-copy h1 {
  font-size: var(--step-4);
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.hero-copy .lede {
  max-width: 46ch;
}

.hero-figure {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.route {
  display: none;
}

@media (min-width: 56rem) {
  .hero-figure {
    justify-content: flex-end;
  }

  .route {
    display: block;
    position: absolute;
    left: 0;
    bottom: 3%;
    height: 64%;
    width: auto;
    pointer-events: none;
    z-index: 0;
  }
}

.route-start {
  fill: var(--orange);
  opacity: 0.55;
}

.route-line {
  stroke: var(--orange);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.9;
  animation: draw 2.6s cubic-bezier(0.32, 0, 0.24, 1) 0.25s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.paw {
  fill: var(--amber);
  opacity: 0;
  animation: pawIn 0.5s ease forwards;
}

.p1 {
  animation-delay: 0.55s;
}

.p2 {
  animation-delay: 1s;
}

.p3 {
  animation-delay: 1.5s;
}

.p4 {
  animation-delay: 2s;
}

.p5 {
  animation-delay: 2.45s;
}

@keyframes pawIn {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.75);
  }
  to {
    opacity: 0.85;
    transform: none;
  }
}

.route-pin {
  fill: var(--orange);
  stroke: var(--paper);
  stroke-width: 3;
  opacity: 0;
  animation: pinIn 0.4s ease 2.8s forwards;
  transform-origin: 222px 26px;
}

.route-halo {
  fill: color-mix(in srgb, var(--orange) 28%, transparent);
  opacity: 0;
  transform-origin: 222px 26px;
  animation:
    pinIn 0.4s ease 2.85s forwards,
    pulse 2.6s ease-in-out 3.3s infinite;
}

@keyframes pinIn {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale(1.35);
  }
}

.phone-hero {
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(4px);
  }
}

.cta {
  margin-top: 2rem;
}

.cta-soon {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.store-btn:hover {
  color: var(--paper);
  background: color-mix(in srgb, var(--ink) 85%, var(--orange));
}

.store-btn.is-soon {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--border);
  cursor: default;
}

.band {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.band-family {
  background: var(--paper-deep);
  border-block: 1px solid var(--divider);
}

.band-safety {
  background: var(--paper-deep);
  border-block: 1px solid var(--divider);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-copy h2 {
  margin-top: 0;
  font-size: var(--step-3);
}

.split-copy p {
  max-width: 52ch;
}

.split-figure {
  position: relative;
  display: flex;
  justify-content: center;
}

.ticks {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
}

.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.1rem;
  height: 0.55rem;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  rotate: -45deg;
  border-radius: 2px;
}

.ticks-row {
  display: grid;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
}

.promise {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
}

.promise h3 {
  margin: 0 0 0.35em;
  font-size: var(--step-0);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.promise p {
  margin: 0;
  font-size: var(--step--1);
}

.safety-inner h2,
.cta-inner h2 {
  margin-top: 0;
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-inner .lede {
  margin-inline: auto;
}

.cta-inner .cta-row {
  justify-content: center;
}

.seq-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.seq-step {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.seq-step h2 {
  margin-top: 0;
  font-size: var(--step-3);
}

.seq-step p {
  max-width: 52ch;
}

.step-phone {
  margin-top: 2rem;
}

.seq-stage {
  display: none;
}

@media (min-width: 56rem) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split-reverse .split-copy {
    order: 2;
  }

  .ticks-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .safety-inner .lede {
    max-width: 60ch;
  }
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    translate: 0 16px;
    animation: reveal linear forwards;
    animation-timeline: view();
    animation-range: entry 5% cover 22%;
  }

  @keyframes reveal {
    to {
      opacity: 1;
      translate: none;
    }
  }

  @media (min-width: 56rem) {
    .seq {
      timeline-scope: --s1, --s2, --s3;
    }

    .seq-grid {
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }

    .seq-step {
      min-height: 78vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .seq-step:nth-child(1) {
      view-timeline-name: --s1;
    }

    .seq-step:nth-child(2) {
      view-timeline-name: --s2;
    }

    .seq-step:nth-child(3) {
      view-timeline-name: --s3;
    }

    .step-phone {
      display: none;
    }

    .seq-stage {
      display: block;
      position: sticky;
      top: 12vh;
      height: 76vh;
    }

    .seq-phone {
      position: absolute;
      inset: 0;
      margin-inline: auto;
      height: 100%;
      display: grid;
    }

    .seq-phone picture {
      position: absolute;
      inset: 8px;
    }

    .seq-shot {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }

    .s1,
    .s2 {
      animation: handoff linear both;
      animation-range: exit 0% exit 85%;
    }

    .s1 {
      animation-timeline: --s1;
    }

    .s2 {
      animation-timeline: --s2;
    }

    @keyframes handoff {
      0% {
        opacity: 1;
      }
      100% {
        opacity: 0;
      }
    }
  }
}

@media (min-width: 56rem) {
  .js-seq .seq-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .js-seq .seq-step {
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .js-seq .step-phone {
    display: none;
  }

  .js-seq .seq-stage {
    display: block;
    position: sticky;
    top: 12vh;
    height: 76vh;
  }

  .js-seq .seq-phone {
    position: absolute;
    inset: 0;
    margin-inline: auto;
    height: 100%;
  }

  .js-seq .seq-phone picture {
    position: absolute;
    inset: 8px;
  }

  .js-seq .seq-shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.45s ease;
  }

  .js-seq .seq-shot.is-active {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wash {
    animation: none;
  }

  .phone-hero {
    animation: none;
  }

  .route-line,
  .paw,
  .route-pin,
  .route-halo {
    animation-delay: 0s;
  }

  .route-halo {
    animation: none;
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    translate: none;
    animation: none;
  }
}