:root {
  --bg: #f7f8ff;
  --card: #fff;
  --text: #17172a;
  --muted: #666a7d;
  --purple: #6f56f8;
  --blue: #1188ee;
  --line: #e8e9f4;
}

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

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

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

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(111, 86, 248, .14), transparent 34%),
    radial-gradient(circle at 94% 10%, rgba(17, 136, 238, .14), transparent 32%),
    var(--bg);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - clamp(32px, 5vw, 64px)), 1200px);
  min-width: 0;
  max-width: 100%;
  margin-inline: auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(247, 248, 255, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 20px;
  font-weight: 750;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  object-fit: cover;
}

.links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  color: var(--muted);
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .75);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform .2s, opacity .2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding-block: clamp(48px, 6vw, 78px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.hero-copy,
.product-stage {
  min-width: 0;
  max-width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(111, 86, 248, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 8px 30px rgba(75, 70, 140, .06);
  color: #504e70;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 0 0 4px rgba(111, 86, 248, .1);
}

h1 {
  max-width: 710px;
  margin: 22px 0 24px;
  font-size: clamp(2.75rem, 5.6vw, 4.75rem);
  line-height: 1.01;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.gradient {
  color: transparent;
  background: linear-gradient(95deg, #6e46ee 10%, #087eea 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 18px;
  padding: 12px 19px;
  border-radius: 14px;
  background: linear-gradient(100deg, #6e46ee, #087eea);
  box-shadow: 0 14px 34px rgba(74, 86, 230, .25);
  color: #fff;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(74, 86, 230, .32);
}

.button span {
  font-size: 20px;
  line-height: 1;
}

.privacy-note {
  color: var(--muted);
  font-size: 14px;
}

.product-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  margin-inline: auto;
  padding: clamp(8px, 2vw, 18px);
}

.product-stage::before {
  position: absolute;
  z-index: -2;
  width: min(88%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 133, 244, .22), rgba(118, 78, 241, .08) 52%, transparent 72%);
  filter: blur(6px);
  content: "";
}

.product-stage::after {
  position: absolute;
  z-index: -1;
  bottom: 3%;
  width: min(58%, 280px);
  height: clamp(22px, 4vw, 40px);
  border-radius: 50%;
  background: rgba(49, 44, 100, .18);
  filter: blur(20px);
  content: "";
}

.phone-hero {
  width: min(100%, 520px);
  max-width: clamp(360px, 38vw, 560px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 34px rgba(40, 35, 92, .18))
    drop-shadow(0 8px 12px rgba(40, 35, 92, .1));
  animation: phone-float 6s ease-in-out infinite;
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  top: 18%;
  right: 4%;
  width: clamp(76px, 9vw, 118px);
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(103, 83, 246, .42), rgba(47, 179, 255, .18));
  box-shadow: 0 20px 50px rgba(85, 75, 230, .14);
}

.orb-two {
  bottom: 18%;
  left: 4%;
  width: clamp(48px, 5vw, 66px);
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(92, 198, 255, .42), rgba(124, 73, 239, .2));
}

.glass-badge {
  position: absolute;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: min(46%, 180px);
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 17px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 45px rgba(45, 42, 100, .14);
  color: #292844;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-badge span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.glass-badge small,
.glass-badge strong {
  overflow-wrap: anywhere;
}

.glass-badge small {
  color: #787891;
  font-size: 10px;
}

.glass-badge strong {
  font-size: 13px;
}

.badge-icon {
  display: grid !important;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #7248ee, #0a8ce9);
  color: #fff;
  font-size: 14px;
}

.badge-icon.lock {
  font-size: 9px;
}

.badge-reminder {
  top: 47%;
}

.badge-private {
  bottom: 20%;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0) rotate(.2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-.2deg);
  }
}

.card {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(225, 226, 241, .9);
  border-radius: 26px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 50px rgba(75, 70, 140, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section {
  padding-block: clamp(42px, 6vw, 72px);
}

.features {
  position: relative;
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.section-heading {
  max-width: 700px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.section-heading p {
  margin: 0 0 6px;
  color: #6652d9;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.grid .card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.grid .card::before {
  position: absolute;
  top: -55px;
  right: -45px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(111, 86, 248, .11), rgba(17, 136, 238, .06));
  content: "";
}

.grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(75, 70, 140, .13);
}

.card h3 {
  margin: 8px 0;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.medical-section {
  padding-top: clamp(12px, 2vw, 24px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.medical-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .92), rgba(247, 248, 255, .88));
  box-shadow: 0 16px 44px rgba(75, 70, 140, .07);
}

.medical-card h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.5vw, 1.5rem);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.medical-card p {
  max-width: 850px;
  margin: 0;
}

.notice-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(111, 86, 248, .13), rgba(17, 136, 238, .13));
  color: #6652d9;
  font-family: Georgia, serif;
  font-weight: 800;
}

.legal {
  width: min(calc(100% - clamp(32px, 5vw, 64px)), 820px);
  max-width: 820px;
  overflow-wrap: anywhere;
}

.legal h1 {
  margin-top: 0;
  font-size: clamp(2.25rem, 6vw, 3rem);
}

.legal h2 {
  margin-top: 34px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.notice {
  padding: 16px;
  border: 1px solid #efd98d;
  border-radius: 14px;
  background: #fff8dc;
}

footer {
  width: 100%;
  padding-block: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 20px;
}

@media (max-width: 1024px) {
  .hero-grid {
    gap: clamp(32px, 4vw, 52px);
  }

  .phone-hero {
    max-width: min(42vw, 500px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-block: clamp(48px, 7vw, 68px);
  }

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

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .product-stage {
    width: min(100%, 560px);
    margin-top: 8px;
  }

  .phone-hero {
    width: min(68vw, 500px);
    max-width: 100%;
  }
}

@media (max-width: 800px) {
  .menu-toggle {
    display: block;
    flex: 0 0 44px;
  }

  .links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    gap: 0;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 45px rgba(45, 42, 100, .12);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, max-height .2s, padding .2s;
  }

  .links.is-open {
    visibility: visible;
    max-height: 260px;
    padding: 8px 12px;
    border-color: var(--line);
    opacity: 1;
    transform: translateY(0);
  }

  .links a {
    justify-content: center;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

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

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

  .grid .card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .container,
  .legal {
    width: min(calc(100% - clamp(32px, 8vw, 40px)), 1200px);
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    gap: 10px;
    font-size: 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero {
    padding-block: clamp(36px, 10vw, 52px);
  }

  .hero-grid {
    gap: clamp(28px, 8vw, 44px);
  }

  h1 {
    margin-block: 18px 20px;
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .button {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .privacy-note {
    text-align: center;
  }

  .product-stage {
    width: 100%;
    padding-inline: 0;
  }

  .phone-hero {
    width: min(86vw, 390px);
    max-width: 100%;
  }

  .glass-badge {
    right: 0;
    max-width: 44%;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .glass-badge small {
    display: none;
  }

  .glass-badge strong {
    font-size: 11px;
  }

  .badge-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .section {
    padding-block: clamp(36px, 10vw, 52px);
  }

  .features {
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .medical-section {
    padding-top: 12px;
    padding-bottom: 36px;
  }

  .medical-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .notice-mark {
    width: 34px;
    height: 34px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .container,
  .legal {
    width: calc(100% - 32px);
  }

  .brand span {
    font-size: 17px;
  }

  .eyebrow {
    padding-inline: 10px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(2.1rem, 11.5vw, 2.75rem);
  }

  .phone-hero {
    width: min(84vw, 340px);
  }

  .glass-badge {
    max-width: 42%;
    padding: 8px;
  }

  .glass-badge span:last-child {
    display: none;
  }

  .card {
    padding: 21px;
  }
}

@media (min-width: 1600px) {
  .hero {
    min-height: 780px;
  }
}

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

  .button,
  .menu-toggle span,
  .links {
    transition: none;
  }
}
