@font-face {
  font-family: "Roboto";
  src: url("assets/ROBOTO-REGULAR.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/ROBOTO-BOLD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --line: rgba(0, 0, 0, 0.1);
  --radius-large: 28px;
  --radius-medium: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 48px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 120px;
  height: 32px;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text-primary);
  font-size: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.64;
}

.nav .nav-cta {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--text-primary);
  color: #fff;
}

.nav .nav-cta:hover {
  opacity: 0.82;
}

.section-pad {
  padding: 132px 0;
}

.hero {
  padding-top: 128px;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 100%);
}

.hero-content {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(14, 30, 83, 0.18);
  border-radius: 999px;
  background: #eef0f9;
  color: #0e1e53;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.hero-title,
.title-large,
.title-medium {
  letter-spacing: -0.035em;
}

.hero-title {
  margin-bottom: 16px;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.04;
}

.typewriter-text {
  white-space: nowrap;
}

.typewriter-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.86em;
  margin-left: 0.08em;
  background: currentColor;
  vertical-align: -0.02em;
  animation: typewriter-caret 0.7s steps(1, end) infinite;
}

.typewriter.is-complete .typewriter-caret {
  opacity: 0;
  animation: none;
  transition: opacity 0.2s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.title-large {
  margin-bottom: 20px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.07;
}

.title-medium {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
}

.hero-lede,
.lede-text {
  color: var(--text-secondary);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.38;
}

.hero-lede {
  max-width: 560px;
  margin: 0 auto;
}

.lede-text {
  max-width: 630px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.link,
.text-link {
  color: var(--accent);
}

.button.link {
  padding-right: 0;
  padding-left: 0;
}

.button.link:hover,
.text-link:hover {
  text-decoration: underline;
}

.button.large {
  min-height: 54px;
  padding: 15px 27px;
  font-size: 19px;
}

.availability {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-visual,
.media-card,
.product-image,
.in-box-image,
.video-wrapper {
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.hero-visual {
  background: #f1f1f3;
}

.hero-visual img,
.media-card img {
  width: 100%;
}

.product-intro {
  background: var(--bg-primary);
}

.product-grid,
.in-box-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(48px, 8vw, 104px);
}

.product-image {
  background: #ececea;
}

.product-image img,
.in-box-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-copy .lede-text {
  margin-bottom: 16px;
}

.body-copy {
  max-width: 590px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.spec-list div {
  min-height: 90px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-secondary);
}

.spec-list dt {
  margin-bottom: 3px;
  color: var(--text-secondary);
  font-size: 12px;
}

.spec-list dd {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
}

.modes-section {
  background: var(--bg-secondary);
}

.section-header {
  margin-bottom: 54px;
}

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

.center .lede-text {
  margin-right: auto;
  margin-left: auto;
}

.media-card {
  background: #e8e9ef;
}

.video-section {
  background: #fff;
}

.video-wrapper {
  width: min(100%, 720px);
  margin: 0 auto;
  background: #000;
}

.instruction-video {
  width: 100%;
  aspect-ratio: 1;
  background: #000;
  object-fit: contain;
}

.in-box-section {
  background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}

.in-box-copy .lede-text {
  margin-bottom: 25px;
}

.text-link {
  font-size: 17px;
  text-decoration: none;
}

.buy-section {
  padding-top: 112px;
  padding-bottom: 132px;
  background: #0e1e53;
  color: #f5f5f7;
}

.buy-section .lede-text {
  color: #a1a1a6;
}

.buy-section .eyebrow {
  border-color: rgba(185, 195, 232, 0.42);
  background: rgba(94, 111, 180, 0.18);
  color: #d2daf7;
}

.buy-section .lede-text {
  margin-bottom: 28px;
}

.footer {
  padding: 40px 0 25px;
  background: #f5f5f7;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 38px;
}

.footer-brand img {
  width: 160px;
  height: auto;
  filter: none;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-left: auto;
}

.footer-contact-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 188px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-contact-link:hover {
  border-color: rgba(14, 30, 83, 0.24);
  background: #fff;
  transform: translateY(-1px);
}

.footer-contact-link span {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact-link strong {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  color: var(--text-secondary);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px 28px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.instagram-link:hover {
  background: #0e1e53;
  transform: translateY(-1px);
}

.instagram-link:focus-visible {
  outline: 2px solid #0e1e53;
  outline-offset: 3px;
}

.footer-links .instagram-link .instagram-mark {
  color: #fff;
}

.footer-links .instagram-link:hover .instagram-mark,
.footer-links .instagram-link:focus-visible .instagram-mark {
  color: #eef0f5;
}

.instagram-mark {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.instagram-mark::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 5px;
  height: 5px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.instagram-mark::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes typewriter-caret {
  50% {
    opacity: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .typewriter-caret {
    display: none;
  }
}

@media (max-width: 760px) {
  .container,
  .header-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .section-pad {
    padding: 86px 0;
  }

  .hero {
    padding-top: 105px;
  }

  .hero-content {
    margin-bottom: 34px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 6px;
  }

  .product-grid,
  .in-box-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .in-box-image {
    grid-row: 1;
  }

  .spec-list {
    gap: 10px;
  }

  .spec-list div {
    min-height: 78px;
    padding: 12px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .hero-visual,
  .media-card,
  .product-image,
  .in-box-image,
  .video-wrapper {
    border-radius: var(--radius-medium);
  }

  .buy-section {
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .footer-content,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-content {
    gap: 25px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-contact-link {
    min-width: 0;
  }
}
