:root {
  --ink: #242620;
  --ink-soft: #615f5a;
  --midnight: #16273c;
  --navy: #19293a;
  --navy-2: #22354c;
  --blue: #2c415a;
  --teal: #04829e;
  --teal-soft: #bfe6ec;
  --green: #42c888;
  --paper: #ffffff;
  --warm: #faf8f5;
  --warm-2: #efece7;
  --line: #e1ddd7;
  --button-light: #d1dff7;
  --shadow: 0 22px 60px rgba(22, 39, 60, 0.16);
  --container: 1140px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
strong {
  line-height: 1.08;
}

h1 {
  color: var(--paper);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 50;
  transform: translateY(-160%);
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--midnight);
  font-weight: 800;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.study-banner {
  background: var(--midnight);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  text-align: center;
}

.container,
.header-inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

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

.main-nav,
.header-actions,
.ratings-row,
.hero-actions,
.store-badges,
.footer-links {
  display: flex;
  align-items: center;
}

.main-nav {
  flex: 1;
  gap: 22px;
  min-width: 0;
}

.main-nav a,
.text-action,
.locale-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  padding: 8px 0;
  line-height: 1;
  white-space: nowrap;
}

.main-nav a:hover,
.text-action:hover,
.locale-button:hover {
  color: var(--teal);
}

.segment {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  gap: 4px;
}

.segment-button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 5px 14px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.segment-button.is-active {
  background: var(--warm-2);
}

.header-actions {
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.locale-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.locale-button img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.destination {
  color: #397882;
}

.globe {
  width: 19px;
  height: 19px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  position: relative;
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-left: 1px solid var(--teal);
  border-right: 1px solid var(--teal);
  border-radius: 50%;
}

.globe::after {
  inset: 7px -2px;
  border: 0;
  border-top: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
}

.chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.pill-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--paper);
  background: var(--blue);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.pill-button.dark {
  background: var(--blue);
}

.site-header .pill-button.dark {
  min-height: 44px;
  padding: 10px 20px;
}

.pill-button.dark:hover {
  background: var(--midnight);
}

.pill-button.light {
  color: var(--midnight);
  background: var(--button-light);
}

.pill-button.light:hover {
  background: #b2c8e9;
}

.pill-button.compact {
  min-height: 40px;
  padding: 10px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  background: var(--warm-2);
}

.menu-toggle span:not(.sr-only) {
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--navy);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: max(24px, calc((100vw - var(--container)) / 2));
  z-index: 45;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dropdown-panel.wide {
  width: 320px;
  columns: 2;
}

.dropdown-panel button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  padding: 8px 10px;
  text-align: left;
}

.dropdown-panel button:hover {
  background: var(--warm);
}

.dropdown-panel img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px 24px 24px;
  background: var(--paper);
}

.mobile-menu a,
.mobile-menu button {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  padding: 14px 12px;
  text-align: left;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  background: var(--warm);
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 70px 0;
  color: var(--paper);
  text-align: center;
}

.ratings-row {
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 110px;
}

.ratings-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-weight: 800;
}

.ratings-row img {
  width: 18px;
  height: 22px;
  object-fit: contain;
}

.reference-kicker {
  color: var(--teal-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 720px;
  color: var(--paper);
  font-size: 20px;
  font-weight: 800;
}

.hero-actions {
  justify-content: center;
  gap: 16px;
}

.split-section {
  padding: 78px 0;
  background: var(--paper);
}

.split-section.alternate,
.blog-section,
.destinations-section {
  background: var(--warm);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: center;
  gap: 90px;
}

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

.split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.split-copy p {
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px #eaf9cb;
}

.media-card {
  position: relative;
}

.media-card > img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: 24px;
}

.quote-card {
  position: absolute;
  left: 22px;
  bottom: -28px;
  width: min(260px, calc(100% - 44px));
  display: grid;
  gap: 7px;
  padding: 20px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quote-card span,
.quote-card small {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.quote-card strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
}

.quote-card hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
}

.business-card,
.receive-card {
  right: 22px;
  left: auto;
}

.trust-section {
  padding: 78px 0;
  background: var(--paper);
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 42px;
}

.trust-grid article {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.trust-grid img {
  width: 42px;
  height: 42px;
}

.trust-grid p {
  max-width: 270px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.app-section,
.reviews-section,
.site-footer {
  background: var(--navy);
  color: var(--paper);
}

.app-section {
  padding: 64px 0 46px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  align-items: center;
  gap: 70px;
}

.app-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.app-copy h2,
.reviews-section h2 {
  color: var(--paper);
}

.app-rating-lines {
  display: grid;
  gap: 6px;
  color: var(--paper);
  font-weight: 800;
}

.store-badges {
  gap: 12px;
  flex-wrap: wrap;
}

.store-badges button {
  border: 0;
  background: transparent;
  padding: 0;
}

.store-badges img {
  height: 42px;
  width: auto;
}

.demo-qr {
  width: 86px;
  height: 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  border: 5px solid var(--paper);
  background: var(--paper);
}

.demo-qr span {
  background: var(--navy);
}

.demo-qr span:nth-child(2n),
.demo-qr span:nth-child(5),
.demo-qr span:nth-child(11) {
  background: var(--paper);
}

.app-copy p {
  color: #d9e0e8;
  font-size: 13px;
  font-weight: 700;
}

.app-media {
  padding: 8px;
  border-radius: 24px;
  background: var(--teal-soft);
}

.app-media img {
  width: 100%;
  border-radius: 18px;
}

.reviews-section {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 56px 0;
  text-align: center;
}

.review-placeholder {
  width: min(620px, 100%);
  margin: 44px auto 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #d9e0e8;
}

.review-placeholder span {
  display: block;
  color: var(--paper);
  font-weight: 900;
  margin-bottom: 8px;
}

.blog-section,
.destinations-section,
.faq-section {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading p {
  max-width: 600px;
  color: var(--ink-soft);
  font-weight: 700;
}

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

.blog-grid article {
  display: grid;
  gap: 14px;
}

.blog-grid img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  border-radius: 8px;
}

.blog-grid h3 {
  font-size: 17px;
  line-height: 1.22;
}

.blog-grid button,
.footer-grid button,
.footer-links button {
  width: fit-content;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-weight: 800;
  text-decoration: underline;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5c2bc;
}

.carousel-dots span:first-child {
  background: var(--ink);
}

.narrow {
  max-width: 900px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 26px;
  margin-bottom: 26px;
}

.destination-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.destination-grid input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.more-destination {
  display: none !important;
}

.destination-grid.is-expanded .more-destination {
  display: flex !important;
}

.destinations-section .pill-button {
  margin-inline: auto;
}

.fine-print {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--ink);
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list p {
  color: var(--ink-soft);
  font-weight: 700;
  padding: 0 0 20px;
}

.support-section {
  background: var(--blue);
  padding: 46px 0;
  color: var(--paper);
}

.support-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.support-grid h2 {
  color: var(--paper);
}

.support-grid p {
  max-width: 640px;
  margin-top: 8px;
  color: #d9e0e8;
  font-weight: 700;
}

.site-footer {
  padding: 64px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 52px;
}

.brand.inverted,
.footer-grid h3 {
  color: var(--paper);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 280px;
  color: #d9e0e8;
  font-size: 14px;
  font-weight: 700;
}

.footer-grid div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid h3 {
  font-size: 16px;
}

.footer-grid button,
.footer-links button {
  color: #d9e0e8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-grid button:hover,
.footer-links button:hover {
  color: var(--teal-soft);
  text-decoration: underline;
}

.footer-bottom {
  display: grid;
  gap: 24px;
  margin-top: 64px;
  color: #d9e0e8;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.footer-links {
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.notice-dialog {
  width: min(420px, calc(100% - 32px));
  border: 0;
  border-radius: 12px;
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.notice-dialog::backdrop {
  background: rgba(22, 39, 60, 0.55);
}

.notice-dialog h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.notice-dialog p {
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 22px;
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--warm-2);
}

.dialog-close::before,
.dialog-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 14px;
  height: 2px;
  background: var(--ink);
}

.dialog-close::before {
  transform: rotate(45deg);
}

.dialog-close::after {
  transform: rotate(-45deg);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--midnight);
  outline-offset: 3px;
}

.app-section button:focus-visible,
.site-footer button:focus-visible,
.hero button:focus-visible,
.support-section button:focus-visible {
  outline-color: var(--paper);
}

@media (max-width: 1160px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    gap: 18px;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .container,
  .header-inner {
    width: min(100% - 32px, var(--container));
  }

  .study-banner {
    font-size: 12px;
  }

  .header-inner {
    min-height: 68px;
  }

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

  .locale-button.destination,
  .header-actions .locale-button:nth-of-type(3),
  .text-action {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    gap: 20px;
    padding: 54px 0;
  }

  .ratings-row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 64px;
  }

  .ratings-row button {
    font-size: 18px;
  }

  .split-grid,
  .split-grid.reverse,
  .app-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .split-section,
  .blog-section,
  .destinations-section,
  .faq-section {
    padding: 56px 0;
  }

  .trust-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    gap: 32px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 28px;
  }

  .study-banner {
    text-align: left;
  }

  .header-actions {
    gap: 8px;
  }

  .brand span {
    display: none;
  }

  .locale-button {
    display: none;
  }

  .pill-button.dark {
    min-height: 46px;
    padding: 10px 18px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(100% - 32px, 460px);
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .pill-button {
    width: min(280px, 100%);
  }

  .media-card > img {
    border-radius: 16px;
  }

  .quote-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -54px auto 0;
  }

  .app-copy,
  .split-copy {
    align-items: stretch;
  }

  .split-copy .pill-button {
    align-self: flex-start;
  }

  .store-badges img {
    height: 38px;
  }

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