:root {
  --navy: #002b4a;
  --teal: #00b8cc;
  --cyan: #55ddeb;
  --ice: #eaf9fc;
  --paper: #f7fbfc;
  --white: #ffffff;
  --ink: #102838;
  --muted: #4d6573;
  --line: #d5e8ee;
  --warn: #8a3b12;
  --ok: #0c6b58;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(0, 43, 74, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(85, 221, 235, 0.28), transparent 60%),
    linear-gradient(180deg, var(--ice), var(--paper) 280px);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
p { margin: 0 0 0.8em; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--navy); color: white; padding: 8px 12px; z-index: 5;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: flex; width: 210px; flex: 0 0 auto; }
.logo img { width: 210px; height: auto; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--navy); font-size: 0.95rem; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }
.cart-link {
  text-decoration: none; border: 1.5px solid var(--navy); border-radius: 999px;
  padding: 6px 12px; font-size: 0.92rem;
}
.cart-link strong { color: var(--teal); }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-height: 40px; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; padding: 42px 0 20px; }
.kicker { color: var(--navy); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 28px; box-shadow: var(--shadow); background: white; }
.blob {
  position: absolute; inset: 8% -4% auto auto; width: 46%; aspect-ratio: 1;
  background: var(--cyan); opacity: 0.35; border-radius: 50%; z-index: -1; filter: blur(2px);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: white; text-decoration: none; border: 0; border-radius: 999px;
  padding: 12px 18px; cursor: pointer;
}
.btn:hover { background: #014066; }
.btn.teal { background: var(--teal); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.home-intro .trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 4px 0 34px;
}
.trust-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: white;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  text-align: left;
  align-items: stretch;
}
.trust-item strong {
  display: block;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.3;
}
.trust-item p {
  margin: 0;
  width: 100%;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section { padding: 28px 0 10px; }
.section-head { max-width: 40rem; margin-bottom: 18px; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.35rem; }
.card .num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: white; font-family: var(--serif); margin-bottom: 8px;
}
.figure { margin: 0; }
.figure img { border-radius: 20px; width: 100%; }
.figure figcaption { color: var(--muted); font-size: 0.86rem; margin-top: 8px; }

.band { background: var(--navy); color: white; border-radius: 28px; padding: 28px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: center; }
.band a { color: var(--cyan); }
.band .btn { background: var(--cyan); color: var(--navy); }

.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; padding: 28px 0 10px; align-items: start; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 12px; background: white; cursor: pointer; width: 74px; overflow: hidden; }
.thumbs button.is-on { border-color: var(--teal); }
.thumbs img { width: 74px; height: 74px; object-fit: cover; }

.buy { position: sticky; top: 88px; }
.mode, .bundles { display: grid; gap: 8px; }
.mode { grid-template-columns: 1fr 1fr; margin: 12px 0; }
.mode button, .bundle {
  text-align: left; background: white; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px; cursor: pointer;
}
.mode button.is-on, .bundle.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.bundle { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.bundle small, .muted { color: var(--muted); }
.price-lg { font-family: var(--serif); font-size: 2.4rem; margin: 8px 0; }
.note { background: var(--ice); border-radius: 14px; padding: 10px 12px; color: var(--navy); font-size: 0.92rem; }
.warn { background: #fff6ee; color: var(--warn); border-radius: 14px; padding: 10px 12px; font-size: 0.92rem; }

table { width: 100%; border-collapse: collapse; background: white; border-radius: 18px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: white; font-weight: 600; }
.yes { color: var(--ok); font-weight: 700; }

details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 650; }
.page { padding: 28px 0 48px; }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }

.cart-row, .sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.checkout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.steps span { background: white; border-radius: 999px; padding: 6px 10px; border: 1px solid var(--line); font-size: 0.88rem; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.field.half { width: calc(50% - 6px); }
.row-2 { display: flex; gap: 12px; flex-wrap: wrap; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: white;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); border-color: var(--teal); }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; }
.pay-box { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; background: white; }
.cards { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.error { color: #9b1c1c; font-size: 0.92rem; }

.site-footer { margin-top: 40px; background: var(--navy); color: #d7e7ee; padding: 32px 0 20px; }
.site-footer a { color: white; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.site-footer h2, .site-footer h3 { color: white; font-size: 1.2rem; }
.fine { font-size: 0.82rem; color: #b7cdd6; margin-top: 18px; }

@media (max-width: 860px) {
  .hero, .product-layout, .grid-4, .grid-3, .grid-2, .band, .checkout, .foot-grid { grid-template-columns: 1fr; }
  .home-intro .trust { grid-template-columns: 1fr; }
  .logo, .logo img { width: 150px; }
  .buy { position: static; }
  .cart-link { margin-left: auto; }
  .menu-btn { display: inline-flex; margin-left: 8px; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; z-index: 30; background: white; flex-direction: column; align-items: flex-start; padding: 12px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 8px 0; }
  #checkout-summary { order: -1; }
  .header-inner { position: relative; }
}
