:root {
  --bg: #f4faf8;
  --bg-deep: #0b3d4a;
  --surface: #ffffff;
  --ink: #14323a;
  --muted: #4d6770;
  --line: rgba(20, 50, 58, 0.12);
  --teal: #0f8a7a;
  --teal-deep: #0a6b5f;
  --mint: #5ec4a8;
  --sky: #2f7ea8;
  --shadow: 0 24px 60px rgba(11, 61, 74, 0.16);
  --radius: 18px;
  --font-display: "Sora", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(94, 196, 168, 0.28), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(47, 126, 168, 0.18), transparent 55%),
    linear-gradient(180deg, #eaf7f3 0%, var(--bg) 28%, #eef6f8 100%);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 250, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

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

.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff !important;
  font-weight: 600;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switch__btn {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 1.7rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.lang-switch__btn svg {
  width: 1.75rem;
  height: 1.25rem;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 50, 58, 0.16);
}

.lang-switch__btn:hover {
  border-color: rgba(15, 138, 122, 0.35);
}

.lang-switch__btn[aria-pressed="true"] {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(15, 138, 122, 0.18);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: center;
  overflow: hidden;
  padding: 5.5rem 0 0;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 138, 122, 0.92) 0%, rgba(11, 61, 74, 0.88) 48%, rgba(47, 126, 168, 0.82) 100%),
    url("assets/screenshots/hug-maps-avc.png?v=blur1") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(180deg, transparent 55%, rgba(11, 61, 74, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #f7fffc;
  padding-bottom: 2.5rem;
  animation: riseIn 0.9s ease both;
}

.hero__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: rgba(247, 255, 252, 0.92);
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(247, 255, 252, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__visual {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 1.5rem auto 0;
  animation: riseIn 1.1s ease 0.15s both;
  padding-bottom: 2.5rem;
}

/* Multi-device hero composition */
.hero-composition {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.hero-composition__desktop {
  width: 100%;
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  display: block;
}

.hero-composition__maps {
  position: absolute;
  left: 2%;
  bottom: 18%;
  width: clamp(120px, 18vw, 200px);
  border-radius: 12px;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.28);
  transform: rotate(-3deg);
  z-index: 3;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.hero-composition__phones {
  position: absolute;
  right: 3%;
  bottom: -6%;
  display: flex;
  gap: 0.65rem;
  align-items: flex-end;
  pointer-events: none;
  z-index: 4;
}

.hero-composition__phone {
  width: clamp(80px, 13vw, 136px);
  border-radius: 14px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #0b3d4a;
}

.hero-composition__phone--left {
  transform: rotate(-6deg) translateY(6px);
  z-index: 2;
}

.hero-composition__phone--right {
  transform: rotate(5deg);
  z-index: 1;
}

.hero-composition__platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Store badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  border-radius: 10px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  min-width: 0;
}

.store-badge__icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}

.store-badge--apple .store-badge__icon {
  color: #fff;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-badge__label {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.store-badge__name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
  background: #fff;
  color: var(--teal-deep);
}

.btn--primary:hover {
  background: #e8f8f3;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 5.5rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.section-lead--wide {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section--about,
.section--model {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.problem-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-list li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.4rem;
}

.problem-list strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.problem-list span {
  color: var(--muted);
}

.problem-highlight {
  position: relative;
  margin: 2.25rem auto 0;
  max-width: 40rem;
  padding: 2rem 2.15rem 1.85rem;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(15, 138, 122, 0.1), rgba(47, 126, 168, 0.08)),
    var(--surface);
  border: 1px solid rgba(15, 138, 122, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(11, 61, 74, 0.08);
}

.problem-highlight::before {
  content: "“";
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.7;
  color: var(--teal);
}

.problem-highlight strong {
  display: block;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.25;
}

.problem-highlight p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-highlight p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 500;
}

.audience-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.audience-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--mint);
}

.audience-soon {
  margin: 1.15rem 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.solution {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.solution--reverse .solution__copy {
  order: 2;
}

.solution--reverse .solution__media {
  order: 1;
}

.solution h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.solution p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}

.solution__tag {
  margin: 0 0 0.65rem !important;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal) !important;
}

.solution__lead {
  margin-bottom: 0.35rem !important;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink) !important;
}

.feature-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 32rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-list li:has(strong) {
  display: grid;
  gap: 0.2rem;
}

.feature-list strong {
  color: var(--ink);
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.solution__media {
  margin: 0;
  min-height: 16rem;
  background:
    linear-gradient(145deg, rgba(15, 138, 122, 0.08), rgba(47, 126, 168, 0.1));
  border: 1px solid rgba(15, 138, 122, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(11, 61, 74, 0.08);
}

.solution__media img {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 61, 74, 0.14);
}

.solution__media--doctor {
  display: grid;
  gap: 0.85rem;
}

.doctor__desktop {
  width: 100%;
  display: block;
}

.doctor__phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: start;
}

.solution__media--phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: start;
}

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

.solution__media--trials {
  display: grid;
  gap: 0.85rem;
}

.trials__phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  align-items: start;
  max-width: 22rem;
  margin-inline: auto;
  width: 100%;
}

.trials__desktop {
  width: 100%;
  display: block;
}

.section--contact {
  padding-bottom: 6rem;
}

.contact-panel {
  text-align: center;
  padding: 3rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(15, 138, 122, 0.1), rgba(47, 126, 168, 0.12)),
    var(--surface);
  border-radius: 28px;
  border: 1px solid var(--line);
}

.contact-panel h2 {
  margin-bottom: 0.75rem;
}

.contact-panel p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
}

.contact-panel .btn--primary {
  background: var(--teal);
  color: #fff;
}

.contact-panel .btn--primary:hover {
  background: var(--teal-deep);
}

.contact-email {
  margin-top: 1rem !important;
  font-size: 0.95rem;
}

.contact-email a {
  color: var(--teal-deep);
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-inner strong {
  color: var(--teal-deep);
  font-family: var(--font-display);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, 1%, 0);
  }
}

@media (max-width: 900px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .header-tools {
    gap: 0.65rem;
  }

  .problem-list,
  .solution,
  .solution__media--phones,
  .solution__media--phones-3 {
    grid-template-columns: 1fr;
  }

  .solution--reverse .solution__copy,
  .solution--reverse .solution__media {
    order: initial;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .hero__visual {
    margin-top: 2rem;
  }

  .hero-composition__maps {
    left: 1%;
    bottom: 22%;
    width: clamp(100px, 22vw, 160px);
  }

  .hero-composition__phones {
    right: 2%;
    bottom: -4%;
    gap: 0.4rem;
  }

  .hero-composition__phone {
    width: clamp(70px, 16vw, 110px);
    border-radius: 11px;
  }

  .hero-composition__platforms {
    margin-top: 1.6rem;
  }
}

@media (max-width: 520px) {
  .hero-composition__maps {
    display: none;
  }

  .hero-composition__phones {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    margin-top: -1rem;
  }

  .hero-composition__phone--left {
    transform: rotate(-4deg);
  }

  .hero-composition__phone--right {
    transform: rotate(4deg);
  }

  .store-badge {
    padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  }

  .store-badge__name {
    font-size: 0.8rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
