/* ============================================================
   SHIZU — DESIGN POLISH LAYER (Direction 2: dark cinematic spa-tech)
   ------------------------------------------------------------
   Every rule is scoped under html[data-polish="on"].
   Flag OFF (USE_NEW_DESIGN_POLISH = false in index.html, or the
   "Cinematic polish" Tweak) → this file is completely inert and
   the site renders byte-identical to the original design.

   Touches ONLY visuals: header glass, legal glass cards,
   benefit stat cards, shader veil, spacing rhythm, typography.
   No markup, logic, forms, or webhooks are involved.
   ============================================================ */

/* ─────────────────────────────────────────────
   A) HEADER — slimmer, glassier two-tier nav
   ───────────────────────────────────────────── */

/* Util bar: smoked teal glass instead of flat solid */
html[data-polish="on"] .util-bar {
  background: rgba(11, 58, 57, 0.9);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
html[data-polish="on"][data-theme="night"] .util-bar,
html[data-polish="on"] body[data-theme="night"] .util-bar {
  background: rgba(6, 17, 28, 0.72);
  border-bottom: 1px solid rgba(127, 217, 217, 0.08);
}
html[data-polish="on"] .util-inner {
  padding-top: 5px;
  padding-bottom: 5px;
}
html[data-polish="on"] .util-item {
  font-size: 10.5px;
  letter-spacing: 0.03em;
  opacity: 0.92;
}

/* Main nav: dark blurred pane with a faint aqua edge-glow */
html[data-polish="on"] .header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(13, 76, 75, 0.1);
  box-shadow: 0 14px 34px -26px rgba(13, 76, 75, 0.28);
}
html[data-polish="on"][data-theme="night"] .header,
html[data-polish="on"] body[data-theme="night"] .header {
  background: rgba(8, 20, 33, 0.66);
  border-bottom: 1px solid rgba(127, 217, 217, 0.16);
  box-shadow: 0 1px 0 rgba(127, 217, 217, 0.05),
              0 18px 44px -30px rgba(2, 10, 18, 0.8);
}
html[data-polish="on"] .nav-container {
  padding-top: 11px;
  padding-bottom: 11px;
}

/* ─────────────────────────────────────────────
   D) SHADER — content-safe cinematic veil
   (keeps the animation; only calms the edges)
   ───────────────────────────────────────────── */
html[data-polish="on"] .gwa::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130% 100% at 50% 0%,
              rgba(255, 255, 255, 0) 55%,
              rgba(255, 255, 255, 0.1) 100%);
}
html[data-polish="on"][data-theme="night"] .gwa::after,
html[data-polish="on"] body[data-theme="night"] .gwa::after {
  background: radial-gradient(130% 100% at 50% 0%,
              rgba(2, 10, 18, 0) 45%,
              rgba(2, 10, 18, 0.3) 100%);
}

/* ─────────────────────────────────────────────
   E) RHYTHM & TYPE — more breathing room
   ───────────────────────────────────────────── */
html[data-polish="on"] .section { padding: 96px 0; }
@media (max-width: 768px) {
  html[data-polish="on"] .section { padding: 64px 0; }
}
html[data-polish="on"] .section-title { margin-bottom: 56px; }
@media (max-width: 430px) {
  html[data-polish="on"] .section-title { margin-bottom: 36px; }
}
html[data-polish="on"] .statement-strip { padding: 76px 0; }

/* ─────────────────────────────────────────────
   C) WHY SHIZU — premium glass stat cards
   (equal-height, thin aqua border, gold tick)
   ───────────────────────────────────────────── */
html[data-polish="on"] .benefits-grid {
  border-top: 0;
  gap: 22px;
  padding-top: 6px;
}
html[data-polish="on"][data-theme="night"] .benefits-grid,
html[data-polish="on"] body[data-theme="night"] .benefits-grid {
  border-top: 0;
}
html[data-polish="on"] .benefit-card,
html[data-polish="on"] .benefit-card:first-child,
html[data-polish="on"] .benefit-card:last-child {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 76, 75, 0.1);
  border-radius: 18px;
  padding: 30px 28px 32px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
html[data-polish="on"][data-theme="night"] .benefit-card,
html[data-polish="on"][data-theme="night"] .benefit-card:first-child,
html[data-polish="on"][data-theme="night"] .benefit-card:last-child,
html[data-polish="on"] body[data-theme="night"] .benefit-card,
html[data-polish="on"] body[data-theme="night"] .benefit-card:first-child,
html[data-polish="on"] body[data-theme="night"] .benefit-card:last-child {
  background: rgba(16, 33, 52, 0.55);
  border: 1px solid rgba(127, 217, 217, 0.14);
}
html[data-polish="on"] .benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 76, 75, 0.28);
  box-shadow: 0 18px 40px -24px rgba(13, 76, 75, 0.35),
              inset 0 0 24px -14px rgba(127, 217, 217, 0.2);
}
html[data-polish="on"][data-theme="night"] .benefit-card:hover,
html[data-polish="on"] body[data-theme="night"] .benefit-card:hover {
  border-color: rgba(127, 217, 217, 0.45);
  box-shadow: 0 18px 44px -22px rgba(2, 10, 18, 0.65),
              inset 0 0 26px -12px rgba(127, 217, 217, 0.25);
}

/* Stat lead: lighter numeral + gold underline tick */
html[data-polish="on"] .benefit-stat {
  margin: 0 0 24px;
  padding-bottom: 18px;
  position: relative;
}
html[data-polish="on"] .benefit-stat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-accent, #7FD9D9), rgba(127, 217, 217, 0));
}
html[data-polish="on"] .benefit-stat .num {
  font-weight: 300;
  letter-spacing: -1px;
}
html[data-polish="on"] .benefit-stat .label {
  margin-top: 10px;
  opacity: 0.85;
}
html[data-polish="on"] .benefit-card p {
  line-height: 1.7;
  max-width: 34ch;
}
@media (max-width: 820px) {
  html[data-polish="on"] .benefit-card,
  html[data-polish="on"] .benefit-card:first-child,
  html[data-polish="on"] .benefit-card:last-child {
    padding: 24px 20px 26px;
  }
}

/* ─────────────────────────────────────────────
   B) LEGAL / WARRANTY / REFUND — glass editorial
   ───────────────────────────────────────────── */

/* Page hero: taller, blends into the water instead of a flat band */
html[data-polish="on"] .legal-main .page-hero {
  padding: 80px 0 52px;
  background: linear-gradient(180deg, rgba(234, 244, 242, 0.85) 0%, rgba(234, 244, 242, 0) 100%);
}
html[data-polish="on"][data-theme="night"] .legal-main .page-hero,
html[data-polish="on"] body[data-theme="night"] .legal-main .page-hero {
  background: linear-gradient(180deg, rgba(16, 33, 52, 0.55) 0%, rgba(16, 33, 52, 0) 100%);
}
html[data-polish="on"] .legal-main .page-hero p {
  line-height: 1.75;
}

/* Each numbered section becomes a floating glass panel */
html[data-polish="on"] .legal-section {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(13, 76, 75, 0.1);
  border-radius: 18px;
  padding: 32px 34px 36px;
}
html[data-polish="on"][data-theme="night"] .legal-section,
html[data-polish="on"] body[data-theme="night"] .legal-section {
  background: rgba(16, 33, 52, 0.5);
  border-color: rgba(127, 217, 217, 0.14);
}
html[data-polish="on"] .legal-section + .legal-section {
  border-top: 1px solid rgba(13, 76, 75, 0.1);
  padding-top: 32px;
  margin-top: 22px;
}
html[data-polish="on"][data-theme="night"] .legal-section + .legal-section,
html[data-polish="on"] body[data-theme="night"] .legal-section + .legal-section {
  border-top-color: rgba(127, 217, 217, 0.14);
}
@media (max-width: 560px) {
  html[data-polish="on"] .legal-section { padding: 22px 18px 26px; }
}

/* Section numeral: thin aqua ring, gold number */
html[data-polish="on"] .legal-section-head {
  align-items: center;
  gap: 14px;
}
html[data-polish="on"] .legal-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(127, 217, 217, 0.5);
  color: var(--teal-accent, #7FD9D9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
html[data-polish="on"][data-theme="night"] .legal-num,
html[data-polish="on"] body[data-theme="night"] .legal-num {
  color: var(--teal-accent, #7FD9D9);
  border-color: rgba(127, 217, 217, 0.35);
}
html[data-polish="on"] .legal-body { padding-left: 48px; }
@media (max-width: 560px) {
  html[data-polish="on"] .legal-section-head { gap: 12px; }
  html[data-polish="on"] .legal-body { padding-left: 0; }
}
html[data-polish="on"] .legal-p { line-height: 1.85; }

/* Numbered steps: match the ring-and-gold language */
html[data-polish="on"] .legal-step-n {
  background: transparent;
  border: 1px solid rgba(127, 217, 217, 0.5);
  color: var(--teal-accent, #7FD9D9);
  width: 32px;
  height: 32px;
}
html[data-polish="on"][data-theme="night"] .legal-step-n,
html[data-polish="on"] body[data-theme="night"] .legal-step-n {
  background: transparent;
  border-color: rgba(127, 217, 217, 0.35);
  color: var(--teal-accent, #7FD9D9);
}

/* Callout note: quieter, glassier */
html[data-polish="on"] .legal-note {
  background: rgba(127, 217, 217, 0.07);
  border: 1px solid rgba(13, 76, 75, 0.1);
  border-left: 2px solid var(--teal-accent, #7FD9D9);
  border-radius: 12px;
  padding: 18px 20px;
}
html[data-polish="on"][data-theme="night"] .legal-note,
html[data-polish="on"] body[data-theme="night"] .legal-note {
  background: rgba(127, 217, 217, 0.06);
  border-color: rgba(127, 217, 217, 0.14);
  border-left-color: var(--teal-accent, #7FD9D9);
}

/* Covered / not-covered duo: glass tint */
html[data-polish="on"] .legal-duo-card {
  background: rgba(127, 217, 217, 0.05);
  border: 1px solid rgba(13, 76, 75, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html[data-polish="on"][data-theme="night"] .legal-duo-card,
html[data-polish="on"] body[data-theme="night"] .legal-duo-card {
  background: rgba(16, 33, 52, 0.45);
  border-color: rgba(127, 217, 217, 0.14);
}

/* Contact CTA: its own quiet glass panel */
html[data-polish="on"] .legal-contact {
  margin-top: 28px;
  padding: 44px 32px 48px;
  border-top: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(13, 76, 75, 0.1);
  border-radius: 18px;
}
html[data-polish="on"][data-theme="night"] .legal-contact,
html[data-polish="on"] body[data-theme="night"] .legal-contact {
  background: rgba(16, 33, 52, 0.5);
  border-color: rgba(127, 217, 217, 0.14);
}

/* ─────────────────────────────────────────────
   Reduced motion: no lifts, no transitions
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html[data-polish="on"] .benefit-card,
  html[data-polish="on"] .benefit-card:hover {
    transition: none;
    transform: none;
  }
}
