:root {
  --blue: #0754ed;
  --aqua: #0aa9ee;
  --pale-aqua: #dff3ff;
  --yellow: #ffe000;
  --red: #ef2626;
  --green: #08a76d;
  --ink: #061a4d;
  --muted: #405d86;
  --line: #b9d9f5;
  --shadow: 0 20px 48px rgba(3, 61, 145, 0.18);
  --radius: 20px;
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(10, 169, 238, 0.12) 0 2px, transparent 3px 100%),
    linear-gradient(180deg, #eaf7ff 0%, #fff 36%, #e9f5ff 100%);
  background-size: 26px 26px, auto;
  overflow-x: hidden;
}

main { display: flex; flex-direction: column; }
.hero { order: 1; }
.value-compare { order: 2; }
.worries { order: 3; }
.benefits { order: 4; }
.plan-section { order: 5; }
.pricing { order: 6; }
.machine-section { order: 7; }
.washer-specs { order: 8; }
.single-menu { order: 9; }
.app-guide { order: 10; }
.faq { order: 11; }
.store { order: 12; }
.cta-section { order: 13; }

section[id] { scroll-margin-top: 120px; }

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

.site-header {
  top: 20px;
  width: min(calc(100% - 40px), 1580px);
  min-height: 92px;
  padding: 15px 42px;
  border: 3px solid #0a469f;
  box-shadow: 0 7px 0 #092f78, 0 18px 34px rgba(5, 50, 120, 0.18);
}

.brand { color: var(--blue); }
.brand-main { font-weight: 900; letter-spacing: -0.04em; }

.global-nav { gap: clamp(20px, 2.8vw, 52px); }
.global-nav a { color: var(--ink); }
.global-nav a:hover { color: var(--blue); }

.header-cta,
.map-link,
.guide-app-link {
  color: var(--ink);
  background: linear-gradient(135deg, #ffe900 0%, #ffd21f 100%);
  border: 3px solid #08367f;
  box-shadow: 0 5px 0 #082f73, 0 12px 28px rgba(5, 83, 235, 0.2);
}

.hero {
  position: relative;
  min-height: 0;
  height: auto;
  padding-top: 110px;
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.2) 0 3px, transparent 4px 100%),
    linear-gradient(145deg, #0b67d9 0%, #078ee8 54%, #0bc5ed 100%);
  background-size: 28px 28px, auto;
}

.hero::after { display: none; }

.hero-visual-link {
  display: block;
  width: min(100%, 941px);
  margin-inline: auto;
  border-right: 4px solid #082f78;
  border-left: 4px solid #082f78;
  box-shadow: 0 12px 0 rgba(8, 47, 120, 0.68);
}

.hero-visual-link:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.hero-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 941 / 1672;
  object-fit: contain;
}

.hero-conversion {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  grid-template-areas:
    "main trust cta"
    "sub trust app"
    "store terms support"
    "registration registration registration"
    "note note note";
  gap: 8px 28px;
  align-items: center;
  width: min(calc(100% - 40px), 1180px);
  margin: 24px auto 0;
  padding: 22px 26px;
  color: var(--ink);
  background: linear-gradient(145deg, #ffffff 0%, #e8f6ff 100%);
  border: 3px solid #0a55c4;
  border-radius: 24px;
  box-shadow: 0 7px 0 #0a3f93, 0 16px 42px rgba(2, 41, 111, 0.18);
}

.hero-main-copy {
  grid-area: main;
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-sub-copy,
.hero-store-status {
  margin: 0;
  color: #385170;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-sub-copy { grid-area: sub; }

.hero-trust {
  grid-area: trust;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.hero-conversion .conversion-cta { grid-area: cta; width: 100%; }
.hero-conversion .cta-support { grid-area: support; text-align: center; }
.hero-conversion .app-store-link { grid-area: app; }

.app-store-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 9px 14px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(135deg, #111827, #000);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.app-store-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.25);
}

.app-store-link strong { font-size: 0.94rem; }
.app-store-link small { font-size: 0.7rem; opacity: 0.82; }
.app-store-link-light { color: #fff; }

.usage-limit-note {
  grid-area: note;
  margin: 8px 0 0;
  color: #4b5f78;
  font-size: 0.76rem;
  line-height: 1.65;
}

.app-registration-note {
  margin: 8px 0 0;
  padding: 10px 14px;
  color: #173a68;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.65;
  background: #f0f7ff;
  border: 1px solid #c9def5;
  border-radius: 12px;
}

.hero-conversion .app-registration-note { grid-area: registration; }
.app-registration-note strong { color: var(--blue); }
.app-registration-note code {
  display: inline-block;
  padding: 1px 6px;
  color: #073164;
  font-size: 0.95em;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid #bcd5ef;
  border-radius: 5px;
}

.cta-panel .app-registration-note {
  color: #173a68;
  background: #fff;
}

.footer-company {
  margin: 0 0 8px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-trust li {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-trust span { color: var(--blue); margin-right: 4px; }

.conversion-cta,
.store-apply-link {
  display: inline-flex;
  width: min(100%, 390px);
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #071d58;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, #ffe900, #ffcf24);
  border: 3px solid #082f78;
  border-radius: 999px;
  box-shadow: 0 5px 0 #082f78, 0 12px 26px rgba(211, 161, 0, 0.25);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.conversion-cta:hover,
.store-apply-link:hover { transform: translateY(-2px); filter: brightness(1.02); }
.conversion-cta:active,
.store-apply-link:active { transform: translateY(3px); box-shadow: 0 2px 0 #082f78; }

.cta-support {
  margin: 7px 0 0;
  color: #385170;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-store-status { grid-area: store; margin-top: 4px; color: var(--blue); }

.trial-terms { grid-area: terms; margin-top: 4px; font-size: 0.8rem; }
.trial-terms summary { color: #315372; font-weight: 800; cursor: pointer; }
.trial-terms p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.trial-renewal-note { margin: 4px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }

.value-compare { background: #fff; }
.value-lead { max-width: 780px; margin: -8px 0 26px; color: var(--muted); font-weight: 700; line-height: 1.8; }
.value-grid { display: grid; gap: 14px; }
.value-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(4, 63, 144, 0.08);
}
.value-card-featured { background: linear-gradient(135deg, #edf6ff, #fff); border: 2px solid var(--blue); }
.value-icon { display: grid; width: 48px; height: 48px; margin-bottom: 14px; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--blue), var(--aqua)); border-radius: 50%; }
.value-label { margin: 0 0 6px; color: var(--blue); font-size: 0.82rem; font-weight: 900; }
.value-card h3 { margin: 0; font-size: 1.2rem; }
.value-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 0.82rem; font-weight: 700; }

.plan-for {
  min-height: 3em;
  margin: -12px 0 20px;
  color: #315372;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.55;
}

.section-cta-row { margin-top: 28px; text-align: center; }
.section-cta-row .conversion-cta { margin-inline: auto; }
.faq-cta { margin-top: 34px; }

.store-apply-link { margin-top: 12px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffbf00;
  outline-offset: 4px;
}

.mobile-fixed-cta { display: none; }

.section { padding: 92px 0; }
.section-inner { width: min(100%, 1180px); }

.section h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}

.section-kicker {
  min-height: 38px;
  padding-inline: 16px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid #0a459c;
  box-shadow: 0 4px 0 #0a3d86;
}

.worries,
.pricing { background: #fff; }

.benefits,
.faq,
.single-menu,
.app-guide { background: #f4faff; }

.worry-item,
.benefit-card,
.price-box,
.cta-panel,
.faq-item,
.store-info,
.map-panel,
.guide-card,
.sim-card,
.plan-card,
.washer-spec-card,
.course-card {
  border: 2px solid rgba(115, 177, 235, 0.82);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 rgba(8, 63, 145, 0.16), 0 16px 42px rgba(4, 63, 144, 0.09);
}

.worry-item,
.benefit-card { padding: 28px; }

.worry-item span {
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  box-shadow: 0 8px 18px rgba(7, 84, 237, 0.2);
}

.icon {
  width: 58px;
  height: 58px;
  color: var(--blue);
  background: #e9f3ff;
  border: 1px solid #cae0ff;
}

.machine-section {
  background:
    linear-gradient(135deg, rgba(3, 31, 114, 0.97), rgba(0, 123, 231, 0.92)),
    url("./assets/wash-subscription-hero.webp") center / cover;
}

.machine-section h2 { color: #fff; }

.feature-tab,
.machine-card { border-radius: 20px; }

.feature-detail,
.savings-table,
.comparison-table { border-radius: var(--radius); }

.plan-card.recommended,
.sim-card.recommended {
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #edf5ff, #fff 38%);
}

.plan-badge,
.sim-card.recommended .sim-plan {
  color: var(--ink);
  background: var(--yellow);
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #0746c7, #078ee8);
  border: 3px solid #062d77;
  box-shadow: 0 5px 0 #062d77, 0 14px 30px rgba(7, 84, 237, 0.25);
}

.cta-section {
  background:
    linear-gradient(120deg, rgba(3, 53, 174, 0.96), rgba(7, 172, 235, 0.92)),
    url("./assets/wash-subscription-hero.webp") center / cover;
}

.faq-question { padding: 20px 22px; }
.site-footer { border-top: 1px solid var(--line); }

.terms-page {
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #eef8ff 0, #fff 320px);
}

.terms-header {
  padding: 22px 20px;
  background: linear-gradient(135deg, #073b9b, #006cf0);
}

.terms-header-inner,
.terms-main {
  width: min(920px, calc(100% - 36px));
  margin-inline: auto;
}

.terms-back {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.terms-main { padding: 64px 0 80px; }
.terms-kicker { margin: 0 0 10px; color: var(--blue); font-weight: 900; }
.terms-main h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.2; }
.terms-lead { margin: 18px 0 0; color: var(--muted); line-height: 1.9; }

.terms-draft-note {
  margin: 28px 0;
  padding: 18px 20px;
  color: #674d00;
  font-weight: 700;
  line-height: 1.8;
  background: #fff7cf;
  border: 1px solid #f2d45d;
  border-radius: 16px;
}

.terms-summary,
.terms-article {
  margin-top: 24px;
  padding: clamp(22px, 5vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(7, 59, 155, 0.08);
}

.terms-summary h2,
.terms-article h2 { margin: 0 0 16px; font-size: 1.25rem; }
.terms-article p,
.terms-article li { color: #344963; line-height: 1.9; }
.terms-article ol,
.terms-article ul { margin: 0; padding-left: 1.4em; }
.terms-article + .terms-article { margin-top: 16px; }

.terms-table { width: 100%; border-collapse: collapse; }
.terms-table th,
.terms-table td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.terms-table th { width: 30%; color: var(--blue); }
.terms-table tr:last-child th,
.terms-table tr:last-child td { border-bottom: 0; }
.terms-pending { color: #a15b00; font-weight: 900; }
.terms-source { margin-top: 28px; color: var(--muted); font-size: .82rem; line-height: 1.8; }

@media (max-width: 600px) {
  .terms-main { padding-top: 42px; }
  .terms-table th,
  .terms-table td { display: block; width: auto; padding: 10px 0; }
  .terms-table th { padding-bottom: 2px; border-bottom: 0; }
}

.store-media {
  display: grid;
  gap: 18px;
}

.store-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.store-heading h2 { margin-bottom: 24px; }

.company-logo {
  display: grid;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  place-items: center;
  padding: 9px;
  background: #fff;
  border: 1px solid #dce8f6;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(4, 63, 144, 0.1);
}

.company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-photo {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  margin: 0;
  background: #dff2ff;
  border: 1px solid rgba(190, 217, 244, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(4, 63, 144, 0.09);
}

.store-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: center;
}

.store-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 14px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(3, 28, 79, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.store-media .map-panel,
.store-media .map-panel iframe {
  min-height: 220px;
}

@media (max-width: 1180px) {
  .site-header { min-height: 74px; padding: 12px 24px; }
}

@media (min-width: 720px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.comparison-swipe-hint {
  display: none;
}

@media (max-width: 680px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); font-size: 16px; }

  .site-header {
    display: none;
  }

  .brand-main { font-size: 1rem; }
  .header-cta { display: none; }
  .brand { margin-inline: auto; }

  .hero {
    height: auto;
    padding-top: 0;
    padding-bottom: 18px;
  }

  .hero-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 941 / 1672;
    object-fit: contain;
  }

  .hero-conversion {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "sub"
      "trust"
      "cta"
      "app"
      "support"
      "store"
      "registration"
      "note";
    width: calc(100% - 24px);
    margin: 12px auto 0;
    padding: 16px;
    border-radius: 20px;
  }

  .hero-main-copy { font-size: 1.18rem; }
  .hero-sub-copy { font-size: 0.78rem; }
  .hero-trust { gap: 6px 10px; margin: 10px 0; }
  .hero-trust li { font-size: 0.75rem; }
  .hero-conversion .conversion-cta { min-height: 48px; }
  .hero-conversion .trial-terms { display: none; }
  .hero-store-status { font-size: 0.78rem; }

  .section { padding: 68px 0; }
  .section h2 { font-size: clamp(1.8rem, 8vw, 2.55rem); }

  .plans-grid {
    display: flex;
    gap: 14px;
    margin-inline: -12px;
    padding: 18px 12px 28px;
    overflow-x: auto;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .plans-grid::-webkit-scrollbar { display: none; }

  .plans-grid .plan-card {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .comparison-swipe-hint {
    display: flex;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -8px 0 14px;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 900;
  }

  .comparison-swipe-hint::before { content: "↔"; font-size: 1.15rem; }

  .comparison-table {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .comparison-row {
    min-width: 720px;
    grid-template-columns: 112px 108px 112px 124px 132px 132px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .comparison-row:last-child { border-bottom: 0; }
  .comparison-head { display: grid; }

  .comparison-row span {
    min-height: 58px;
    padding: 10px 12px;
    font-size: 0.8rem;
    border-right: 1px solid #edf3fa;
    border-bottom: 0;
  }

  .comparison-row span:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    color: var(--blue);
    font-size: 0.88rem;
    background: #fff;
    box-shadow: 10px 0 14px -14px rgba(3, 39, 96, 0.8);
  }

  .comparison-head span:first-child { background: #e8f7ff; }
  .comparison-row.highlight span:first-child { background: #fff9d7; }

  .mobile-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 42vw);
    width: 100%;
    max-width: 100vw;
    align-items: center;
    gap: 12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #d5e5f5;
    box-shadow: 0 -10px 30px rgba(2, 43, 105, 0.14);
    backdrop-filter: blur(12px);
  }

  .mobile-fixed-price { display: grid; gap: 1px; }
  .mobile-fixed-price { flex: 1 1 auto; min-width: 0; }
  .mobile-fixed-price strong { color: var(--ink); font-size: 0.88rem; }
  .mobile-fixed-price span { color: var(--blue); font-size: 0.76rem; font-weight: 900; }
  .mobile-fixed-cta > a {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #072349;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #ffe900, #ffcf24);
    border-radius: 999px;
  }

  .company-logo {
    width: 60px;
    height: 60px;
    padding: 8px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
