:root {
  --navy: #063b76;
  --navy-deep: #032c5d;
  --blue: #07589f;
  --blue-bright: #0c7fd5;
  --aqua: #2ab7e6;
  --pale-blue: #eaf5ff;
  --paper: #ffffff;
  --ink: #111922;
  --muted: #5f6d7a;
  --line: #dbe6ee;
  --gold: #dfa500;
  --silver: #9da6ad;
  --bronze: #b75c17;
  --shadow: 0 18px 48px rgba(2, 49, 94, 0.14);
  --soft-shadow: 0 9px 24px rgba(2, 49, 94, 0.10);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.content-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 920px;
  padding: 28px 20px 118px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.16) 30%, rgba(255,255,255,0.91) 67%, #fff 84%),
    linear-gradient(90deg, rgba(0,73,137,0.08), rgba(255,255,255,0.08), rgba(0,73,137,0.08)),
    url("assets/water-texture.jpg") center top / cover no-repeat;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -140px;
  left: 50%;
  width: min(820px, 94vw);
  height: 720px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.77) 35%, rgba(255,255,255,0) 72%);
  filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin-inline: auto;
}

.legacy-badge {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: max(22px, calc((100vw - 1220px) / 2));
  display: grid;
  min-width: 225px;
  padding: 13px 20px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(6,59,118,0.95), rgba(3,44,93,0.98));
  box-shadow: 0 12px 28px rgba(0, 37, 80, 0.26);
  text-transform: uppercase;
}

.legacy-badge span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.legacy-badge strong {
  margin-top: 2px;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: min(440px, 70vw);
  height: auto;
  margin: 0 auto -20px;
  filter:
    drop-shadow(0 2px 0 rgba(255,255,255,0.95))
    drop-shadow(0 0 10px rgba(255,255,255,0.95))
    drop-shadow(0 18px 24px rgba(0,39,78,0.22));
}

.hero-title {
  margin: 0;
  color: var(--navy);
  font-family: Impact, Haettenschweiler, "Arial Black", "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.3rem, 8.8vw, 7.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255,255,255,0.82);
}

.hero-title span {
  display: block;
}

.hero-title span:last-child {
  margin-top: 0.13em;
  color: var(--blue-bright);
}

.bubble-divider {
  display: grid;
  grid-template-columns: minmax(36px, 1fr) auto minmax(36px, 1fr);
  align-items: center;
  gap: 16px;
  width: min(620px, 92%);
  margin: 28px auto 22px;
}

.bubble-divider > span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright));
}

.bubble-divider > span:last-child {
  background: linear-gradient(90deg, var(--blue-bright), transparent);
}

.bubble-divider svg {
  width: 50px;
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 1.7;
}

.hero-message {
  max-width: 790px;
  margin: 0 auto;
  color: #1c2731;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.5;
}

.hero-message strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.05em;
}

.section-label {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  align-items: center;
  gap: 18px;
  width: min(590px, 92%);
  margin: 30px auto 18px;
  color: var(--navy);
  text-transform: uppercase;
}

.section-label span {
  height: 2px;
  background: linear-gradient(90deg, transparent, #55aee5);
}

.section-label span:last-child {
  background: linear-gradient(90deg, #55aee5, transparent);
}

.section-label strong {
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.04em;
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 205px;
  min-height: 66px;
  padding: 8px 17px;
  border: 1px solid #1d1d1d;
  border-radius: 10px;
  color: #fff;
  background: #050505;
  box-shadow: 0 8px 18px rgba(0,0,0,0.17);
  text-align: left;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}

.store-button:focus-visible,
.manage-card:focus-visible,
.contact-list a:focus-visible {
  outline: 4px solid rgba(42,183,230,0.45);
  outline-offset: 4px;
}

.store-icon {
  width: 34px;
  height: 40px;
  flex: 0 0 auto;
}

.apple-icon {
  fill: #fff;
}

.store-button span {
  display: grid;
  line-height: 1.05;
}

.store-button small {
  font-size: 0.72rem;
}

.store-button strong {
  margin-top: 2px;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-wave {
  position: absolute;
  z-index: 1;
  right: -3%;
  bottom: -54px;
  left: -3%;
  height: 120px;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  background:
    radial-gradient(circle at 6% 20%, rgba(255,255,255,0.6) 0 5px, transparent 6px),
    linear-gradient(180deg, rgba(44,169,226,0.42), rgba(7,88,159,0.95));
  box-shadow: 0 -9px 0 rgba(255,255,255,0.70), 0 -19px 0 rgba(54,164,225,0.24);
  transform: rotate(-1deg);
}

.plans-section {
  position: relative;
  padding: 38px 0 84px;
  background: #fff;
}

.plans-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
  text-align: center;
}

.plans-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Impact, Haettenschweiler, "Arial Black", "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mini-bubbles {
  position: relative;
  width: 44px;
  height: 30px;
  flex: 0 0 auto;
}

.mini-bubbles i {
  position: absolute;
  border: 2px solid var(--blue-bright);
  border-radius: 50%;
}

.mini-bubbles i:nth-child(1) {
  left: 2px;
  bottom: 2px;
  width: 17px;
  height: 17px;
}

.mini-bubbles i:nth-child(2) {
  left: 14px;
  top: 0;
  width: 22px;
  height: 22px;
}

.mini-bubbles i:nth-child(3) {
  right: 0;
  bottom: 1px;
  width: 15px;
  height: 15px;
}

.mini-bubbles.mirror {
  transform: scaleX(-1);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  --tier-color: var(--blue);
  position: relative;
  overflow: hidden;
  min-height: 510px;
  border: 1px solid #d7e0e7;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.plan-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gold-card { --tier-color: var(--gold); }
.silver-card { --tier-color: var(--silver); }
.bronze-card { --tier-color: var(--bronze); }

.plan-accent {
  height: 8px;
  background: var(--tier-color);
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 14px;
}

.plan-name-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--tier-color);
}

.crown-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  fill: currentColor;
}

.plan-name-wrap h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Black", "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.monthly-price {
  display: grid;
  flex: 0 0 auto;
  margin: 0;
  color: var(--navy);
  line-height: 1;
  text-align: right;
}

.monthly-price strong {
  font-size: 2.25rem;
  letter-spacing: -0.06em;
}

.monthly-price span {
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 800;
}

.single-wash {
  margin: 0;
  padding: 8px 18px;
  color: #fff;
  background: var(--navy);
  font-size: 0.89rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 22px 24px 28px;
  list-style: none;
  font-size: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 27px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
}

.feature-list .premium-feature {
  color: var(--blue-bright);
  font-weight: 800;
}

.feature-list .premium-feature::before {
  content: "+";
  color: var(--blue-bright);
  font-size: 1.35rem;
}

.manage-section {
  padding: 2px 0 100px;
  background: #fff;
}

.manage-wrap {
  display: flex;
  justify-content: center;
}

.manage-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(590px, 100%);
  padding: 18px 22px;
  border: 1px solid #d8e7f2;
  border-radius: 22px;
  color: var(--navy);
  background: linear-gradient(135deg, #f8fcff, #e8f4ff);
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.manage-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.manage-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--navy-deep));
}

.manage-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.manage-copy {
  display: grid;
  text-align: left;
}

.manage-copy strong {
  font-family: Impact, Haettenschweiler, "Arial Black", "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.manage-copy small {
  margin-top: 6px;
  color: #465867;
  font-size: 0.92rem;
}

.manage-arrow {
  font-size: 2rem;
  font-weight: 900;
}

.site-footer {
  position: relative;
  padding: 74px 0 22px;
  color: #fff;
  background:
    radial-gradient(circle at 4% 30%, rgba(255,255,255,0.18) 0 5px, transparent 6px),
    linear-gradient(135deg, #07589f, #032c5d 70%);
}

.footer-wave {
  position: absolute;
  top: -38px;
  right: -4%;
  left: -4%;
  height: 78px;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: linear-gradient(180deg, #f5fbff 0%, #d9eeff 52%, rgba(217,238,255,0.35) 53%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.7fr);
  gap: 50px;
  align-items: center;
}

.footer-brand img {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 0 7px rgba(255,255,255,0.95));
}

.footer-brand p {
  margin: 7px 0 0;
  color: #d8edff;
  font-size: 0.92rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  font-style: normal;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-list a:hover {
  color: #bde8ff;
}

.contact-list svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  fill: currentColor;
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #c8e2f5;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 980px) {
  .hero {
    min-height: 900px;
  }

  .legacy-badge {
    right: 20px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .plan-card {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .contact-list {
    grid-template-columns: 1fr;
    width: min(430px, 100%);
    margin-inline: auto;
  }

  .contact-list a {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .content-wrap {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 850px;
    padding: 16px 14px 102px;
    background-position: center top;
  }

  .legacy-badge {
    position: relative;
    top: auto;
    right: auto;
    width: fit-content;
    min-width: 0;
    margin: 0 0 4px auto;
    padding: 9px 13px 11px;
    border-radius: 13px;
  }

  .legacy-badge span {
    font-size: 0.55rem;
  }

  .legacy-badge strong {
    font-size: 1.25rem;
  }

  .brand-logo {
    width: min(300px, 78vw);
    margin-top: -12px;
    margin-bottom: -6px;
  }

  .hero-title {
    font-size: clamp(3.05rem, 13.7vw, 4.8rem);
    line-height: 0.9;
    white-space: nowrap;
  }

  .bubble-divider {
    margin-top: 22px;
    margin-bottom: 17px;
  }

  .hero-message {
    max-width: 470px;
    font-size: 1rem;
  }

  .section-label {
    gap: 10px;
    margin-top: 25px;
  }

  .section-label strong {
    font-size: 0.93rem;
  }

  .store-buttons {
    gap: 12px;
  }

  .store-button {
    min-width: 185px;
    min-height: 59px;
    padding: 7px 14px;
  }

  .store-icon {
    width: 29px;
    height: 34px;
  }

  .store-button strong {
    font-size: 1.3rem;
  }

  .plans-section {
    padding-top: 26px;
  }

  .plans-heading {
    gap: 10px;
  }

  .plans-heading h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .mini-bubbles {
    width: 32px;
    transform: scale(0.8);
  }

  .mini-bubbles.mirror {
    transform: scale(-0.8, 0.8);
  }

  .plan-header {
    padding-inline: 18px;
  }

  .plan-name-wrap {
    gap: 7px;
  }

  .crown-icon {
    width: 36px;
    height: 36px;
  }

  .plan-name-wrap h3 {
    font-size: 2rem;
  }

  .monthly-price strong {
    font-size: 2rem;
  }

  .manage-section {
    padding-bottom: 82px;
  }

  .manage-card {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 16px;
  }

  .manage-icon {
    width: 58px;
    height: 58px;
  }

  .manage-copy strong {
    font-size: 1.55rem;
  }

  .manage-arrow {
    display: none;
  }

  .site-footer {
    padding-top: 66px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 930px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-button {
    width: 205px;
  }

  .plans-heading .mini-bubbles {
    display: none;
  }

  .plan-header {
    gap: 8px;
  }

  .plan-name-wrap h3 {
    font-size: 1.8rem;
  }

  .monthly-price strong {
    font-size: 1.85rem;
  }

  .manage-copy small {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
