/* =========================================================
   Solar-Hot-Tub.com
   Manga spa comedy + practical solar education
   site.css
   ========================================================= */

:root {
  --ink: #161318;
  --ink-soft: #413944;
  --paper: #fffaf2;
  --cream: #fff3df;
  --steam: #f7fbff;
  --bubble: #dff7ff;
  --aqua: #20b7c9;
  --aqua-dark: #087d8e;
  --solar: #ffb000;
  --solar-dark: #c97700;
  --hot: #ff5a4f;
  --hot-dark: #b92f29;
  --plum: #4b234d;
  --night: #20152b;
  --line: rgba(22, 19, 24, 0.16);
  --shadow: 0 24px 70px rgba(32, 21, 43, 0.22);
  --soft-shadow: 0 14px 35px rgba(32, 21, 43, 0.12);
  --radius: 24px;
  --radius-small: 14px;
  --max: 1180px;
}

/* =========================================================
   Base
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(32, 183, 201, 0.16), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(255, 176, 0, 0.20), transparent 24%),
    linear-gradient(180deg, #fffaf2 0%, #fff3df 46%, #f9fbff 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--aqua-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--hot-dark);
}

p {
  margin: 0 0 1rem;
}

strong,
b {
  color: #000;
  font-weight: 850;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

h4 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

main {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(58px, 9vw, 110px) 0;
}

.section-tight {
  padding: clamp(38px, 6vw, 72px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.center {
  text-align: center;
}

.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 250, 242, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 28px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 14%, transparent 15%),
    linear-gradient(135deg, var(--solar), var(--hot));
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 1.45rem;
  font-weight: 950;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 48px;
  height: 44px;
  cursor: pointer;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--ink);
  content: "";
}

.nav-toggle-label span {
  margin: 20px 0 0 11px;
}

.nav-toggle-label span::before {
  transform: translateY(-8px);
}

.nav-toggle-label span::after {
  transform: translateY(8px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.62rem 0.78rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--ink);
  color: #fff;
}

.nav-cta {
  margin-left: 0.25rem;
  background: linear-gradient(135deg, var(--solar), var(--hot));
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 760px;
  padding: clamp(70px, 8vw, 112px) 0;
  display: grid;
  align-items: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96) 0%, rgba(255, 250, 242, 0.86) 42%, rgba(255, 250, 242, 0.18) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center top;
  content: "";
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--paper));
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.1rem;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.76);
}

.hero .lede {
  margin-bottom: 1.7rem;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-card {
  padding: clamp(24px, 4vw, 34px);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 10%, rgba(32, 183, 201, 0.28), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 243, 223, 0.94));
  box-shadow: 10px 10px 0 var(--ink);
}

.hero-card h3 {
  margin-bottom: 0.6rem;
}

.hero-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  margin: 0.65rem 0;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.hero-card li::before {
  position: absolute;
  left: 0;
  color: var(--hot);
  font-weight: 950;
  content: "✦";
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.82rem 1.12rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}

.btn-primary {
  background: linear-gradient(135deg, var(--solar), var(--hot));
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 5px 5px 0 var(--solar);
}

.btn-dark:hover {
  color: #fff;
}

.btn-aqua {
  background: linear-gradient(135deg, var(--bubble), var(--aqua));
}

/* =========================================================
   Cards / Grids
   ========================================================= */

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, var(--aqua), var(--solar), var(--hot));
  content: "";
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p {
  color: var(--ink-soft);
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 1.75rem;
}

.feature-card {
  min-height: 100%;
  border: 3px solid var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 0, 0.22), transparent 35%),
    #fff;
  box-shadow: 8px 8px 0 var(--ink);
}

.panel {
  padding: clamp(28px, 5vw, 54px);
  border: 3px solid var(--ink);
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.panel-dark {
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(32, 183, 201, 0.28), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255, 176, 0, 0.18), transparent 28%),
    linear-gradient(135deg, var(--night), var(--plum));
}

.panel-dark h2,
.panel-dark h3,
.panel-dark p,
.panel-dark strong {
  color: #fff;
}

.panel-dark .lede {
  color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   Image Treatments
   ========================================================= */

.image-frame {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 10px 10px 0 var(--ink);
}

.image-frame img {
  width: 100%;
  vertical-align: top;
}

.image-frame figcaption {
  padding: 0.85rem 1rem;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

.image-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.image-split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.rounded-img {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

/* =========================================================
   Manga Episode Blocks
   ========================================================= */

.manga-strip {
  display: grid;
  gap: 1rem;
}

.episode-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
  padding: 1rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 7px 7px 0 var(--ink);
  text-decoration: none;
}

.episode-card:hover {
  color: var(--ink);
}

.episode-number {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 13%, transparent 14%),
    linear-gradient(135deg, var(--aqua), var(--solar));
  color: var(--ink);
  font-size: 2.6rem;
  font-weight: 950;
  line-height: 1;
}

.episode-card h3 {
  margin: 0 0 0.35rem;
}

.episode-card p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 650;
}

.speech-bubble {
  position: relative;
  padding: 1.3rem 1.4rem;
  border: 3px solid var(--ink);
  border-radius: 26px;
  background: #fff;
  box-shadow: 7px 7px 0 var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 850;
  line-height: 1.35;
}

.speech-bubble::after {
  position: absolute;
  left: 34px;
  bottom: -19px;
  width: 28px;
  height: 28px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: #fff;
  transform: rotate(45deg);
  content: "";
}

/* =========================================================
   Lists
   ========================================================= */

.clean-list,
.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.check-list li {
  margin: 0.72rem 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--aqua-dark);
  font-weight: 950;
  content: "✓";
}

.warning-list li::before {
  color: var(--hot);
  content: "!";
}

/* =========================================================
   Callouts
   ========================================================= */

.callout {
  padding: clamp(24px, 4vw, 38px);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 176, 0, 0.22), transparent 30%),
    #fff;
  box-shadow: 8px 8px 0 var(--ink);
}

.callout-warning {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 90, 79, 0.22), transparent 32%),
    #fff;
}

.callout-aqua {
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 183, 201, 0.25), transparent 34%),
    #fff;
}

.note {
  padding: 1rem 1.1rem;
  border-left: 6px solid var(--solar);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-soft);
  font-weight: 700;
}

.safety-box {
  padding: clamp(22px, 4vw, 34px);
  border: 3px solid var(--hot-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 8px 8px 0 var(--hot-dark);
}

.safety-box h2,
.safety-box h3 {
  color: var(--hot-dark);
}

/* =========================================================
   Tables
   ========================================================= */

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--night);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--ink-soft);
  font-weight: 650;
}

tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  display: grid;
  gap: 1rem;
}

details {
  border: 2px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--soft-shadow);
}

summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  color: var(--ink);
  font-weight: 950;
}

details p {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-soft);
}

/* =========================================================
   Forms
   ========================================================= */

.form-card {
  padding: clamp(24px, 4vw, 38px);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 9px 9px 0 var(--ink);
}

label {
  display: block;
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(32, 183, 201, 0.32);
  border-color: var(--aqua-dark);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 58px 0 32px;
  background:
    radial-gradient(circle at 15% 0%, rgba(32, 183, 201, 0.22), transparent 32%),
    linear-gradient(135deg, var(--night), #130d19);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.site-footer h3,
.site-footer h4,
.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.footer-logo {
  width: 180px;
  margin: 0 0 1rem;
  padding: 0.5rem;
  border-radius: 14px;
  background: #fff;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

/* =========================================================
   Utility
   ========================================================= */

.bg-cream {
  background: var(--cream);
}

.bg-white {
  background: rgba(255, 255, 255, 0.72);
}

.bg-bubble {
  background:
    radial-gradient(circle at 85% 10%, rgba(32, 183, 201, 0.20), transparent 28%),
    linear-gradient(180deg, #f7fbff, #fffaf2);
}

.text-muted {
  color: var(--ink-soft);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}

.two-column-copy {
  columns: 2 320px;
  column-gap: 2.5rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 920px) {
  .nav-toggle-label {
    display: block;
    position: relative;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 3px solid var(--ink);
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: 8px 8px 0 var(--ink);
  }

  .site-nav a {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(255, 250, 242, 0.78)),
      var(--hero-image, none);
    background-size: cover;
    background-position: center top;
  }

  .hero-grid,
  .image-split,
  .image-split.reverse {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .episode-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .episode-number {
    font-size: 2rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav-wrap {
    width: min(100% - 20px, var(--max));
  }

  .brand-subtitle {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-card,
  .panel,
  .callout,
  .form-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .episode-card {
    grid-template-columns: 1fr;
  }

  .episode-number {
    min-height: 76px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }
}

/* =========================================================
   Print
   ========================================================= */

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .panel,
  .callout,
  .image-frame {
    box-shadow: none;
    break-inside: avoid;
  }

  a {
    color: #000;
  }
}
