:root {
  --ocean: #0A3D62;
  --ocean-soft: #1a5a85;
  --orange: #FF8A2A;
  --orange-deep: #e87312;
  --sky: #7dd3fc;
  --sky-soft: #e0f2fe;
  --mint: #d1fae5;
  --blush: #fce7f3;
  --cream: #FFF9F5;
  --sand: #fff1e0;
  --ink: #0f2740;
  --muted: #5b6b7c;
  --line: rgba(10, 61, 98, 0.12);
  --radius: 18px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: "Nunito", "Fredoka", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { list-style: none; }

.display {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.bg-wash {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(125, 211, 252, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 5%, rgba(252, 231, 243, 0.55), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(209, 250, 229, 0.35), transparent 55%),
    linear-gradient(180deg, #e8f6ff 0%, var(--cream) 38%, #fff6ec 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 138, 42, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 138, 42, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 70%);
  pointer-events: none;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.is-scrolled {
  background: rgba(255, 249, 245, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ocean);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 8px rgba(10, 61, 98, 0.1);
}

.logo span { color: var(--orange); }

@media (max-width: 720px) {
  .logo { font-size: 1.2rem; gap: 8px; }
  .logo img { width: 32px; height: 32px; border-radius: 9px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ocean-soft);
  padding: 10px 12px;
  border-radius: 12px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.65);
}

.nav-cta {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: var(--orange);
  padding: 11px 18px;
  border-radius: 14px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ocean);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover { background: var(--orange-deep); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ocean);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page {
  padding: calc(var(--nav-h) + 36px) 20px 80px;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-kicker {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  color: var(--ocean);
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40rem;
  margin-bottom: 36px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Features hub */
.page-hero {
  margin-bottom: 40px;
}

.page-hero .section-title {
  max-width: 16ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(255, 138, 42, 0.35);
}

.feature-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, #dff3ff 0%, #fff4e8 55%, #fde8f3 100%);
  overflow: hidden;
}

.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature-card-media.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 61, 98, 0.35));
  pointer-events: none;
}

.video-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Fredoka", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 61, 98, 0.78);
  padding: 8px 12px;
  border-radius: 12px;
}

.video-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.feature-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feature-card-body h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ocean);
}

.feature-card-body p {
  color: var(--muted);
  font-size: 0.96rem;
  flex: 1;
}

.feature-card-cta {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-card:hover .feature-card-cta {
  color: var(--orange-deep);
}

/* Feature detail */
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.crumb a { color: var(--ocean-soft); }
.crumb a:hover { color: var(--orange); }
.crumb span[aria-hidden="true"] { opacity: 0.45; }

.detail-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.detail-hero-copy .section-title {
  margin-bottom: 12px;
}

.access-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Fredoka", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ocean);
  background: rgba(224, 242, 254, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 10px 14px;
  border-radius: 14px;
  margin: 18px 0 22px;
}

.detail-hero-media {
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(160deg, #dff3ff 0%, #fff4e8 55%, #fde8f3 100%);
  border: 1px solid var(--line);
}

.detail-hero-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto;
}

.detail-section {
  margin-bottom: 56px;
}

.detail-section h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 18px;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  color: var(--ocean);
  background: #e0f2fe;
}

.step h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ocean);
  margin-bottom: 4px;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

.subfeat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.subfeat-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.subfeat-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 3px;
  background: var(--orange);
}

.video-panel {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f2740;
}

.video-panel video,
.video-panel iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #0f2740;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(10, 61, 98, 0.72), rgba(14, 90, 140, 0.78)),
    var(--poster, linear-gradient(160deg, #1a5a85, #0A3D62)) center / cover;
}

.video-placeholder strong {
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 8px;
}

.video-placeholder p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin: 0 auto;
  font-size: 0.98rem;
}

.video-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 138, 42, 0.95);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.video-play-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  margin-left: 3px;
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.detail-nav a {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: var(--ocean);
  padding: 12px 4px;
}

.detail-nav a:hover { color: var(--orange); }

.related {
  margin-top: 48px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 42, 0.35);
}

.related-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

.related-card strong {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: var(--ocean);
  display: block;
  font-size: 0.98rem;
}

.related-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Footer */
footer {
  padding: 28px 20px 48px;
  border-top: 1px solid var(--line);
  background: rgba(255, 249, 245, 0.85);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  color: var(--ocean);
}

.footer-brand span { color: var(--orange); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover { color: var(--ocean); }

.footer-copy {
  width: 100%;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .detail-hero { grid-template-columns: 1fr; gap: 28px; }
  .detail-hero-media { max-width: 360px; margin: 0 auto; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 20px;
    background: rgba(255, 249, 245, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.is-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a { padding: 14px 16px; }
  .nav-cta { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .subfeat-list { grid-template-columns: 1fr; }
  .page-hero .section-title { max-width: none; }
}

/* Legal / policy pages */
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  max-height: calc(100vh - var(--nav-h) - 32px);
  overflow: auto;
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.legal-toc h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  gap: 2px;
}

.legal-toc a {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--ocean);
  background: rgba(224, 242, 254, 0.75);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Fredoka", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 12px;
}

.legal-pill strong { font-weight: 600; }

.legal-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.legal-highlight {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.legal-highlight h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 6px;
}

.legal-highlight p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.legal-doc {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
}

.legal-doc section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.legal-doc section:target h2 {
  color: var(--orange-deep);
}

.legal-doc section:first-child { padding-top: 4px; }
.legal-doc section:last-of-type {
  border-bottom: 0;
  padding-bottom: 4px;
}

.legal-doc h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.legal-doc p,
.legal-doc li {
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

.legal-doc p { margin: 0 0 12px; }

.legal-doc ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
}

.legal-doc ul li {
  position: relative;
  padding-left: 18px;
}

.legal-doc ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}

.legal-doc a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc a:hover { color: var(--orange); }

.legal-contact {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(10, 61, 98, 0.96), rgba(14, 90, 140, 0.92));
  color: #fff;
}

.legal-contact h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.legal-contact p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px;
  max-width: 36rem;
}

.legal-contact .btn-row .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.legal-contact .btn-row .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.legal-contact a.btn { text-decoration: none; }

/* About page */
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
  min-height: min(72vh, 640px);
}

.about-hero-copy .section-title {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  max-width: 11ch;
  margin-bottom: 18px;
}

.about-hero-copy .section-lead {
  font-size: 1.12rem;
  max-width: 34rem;
  margin-bottom: 28px;
}

.about-hero-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(160deg, #dff3ff 0%, #fff4e8 52%, #fde8f3 100%);
  min-height: 320px;
  display: grid;
  place-items: end center;
  padding: 0 4% 0;
}

.about-hero-visual img {
  width: 108%;
  max-width: none;
  filter: drop-shadow(0 22px 36px rgba(10, 61, 98, 0.16));
  animation: about-float 5.5s ease-in-out infinite;
}

@keyframes about-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-band {
  margin: 0 0 72px;
}

.about-band-inner {
  max-width: 42rem;
}

.about-band .section-title {
  max-width: 16ch;
}

.about-prose p {
  color: #3d4f63;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-prose p:last-child { margin-bottom: 0; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.about-value {
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.about-value-num {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 12px;
}

.about-value h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ocean);
  margin-bottom: 8px;
}

.about-value p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.55;
}

.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.about-split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.about-split.reverse .about-split-media { order: 2; }
.about-split.reverse .about-split-copy { order: 1; }

.about-split-media {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #e0f2fe, #fff7ed);
}

.about-split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto;
}

.about-split-media.scene {
  background:
    linear-gradient(160deg, #dff3ff 0%, #fff4e8 55%, #fde8f3 100%);
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: end center;
  padding: 0 6% 0;
}

.about-split-media.scene img {
  aspect-ratio: auto;
  max-height: none;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(10, 61, 98, 0.14));
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-pillar {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.about-pillar h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ocean);
  margin-bottom: 6px;
}

.about-pillar p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.about-promise {
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 32px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(125, 211, 252, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 40%, rgba(252, 231, 243, 0.35), transparent 50%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.about-promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.about-promise-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.about-promise-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  color: #3d4f63;
  font-size: 1rem;
  line-height: 1.55;
}

.about-promise-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 3px;
  background: var(--orange);
}

.about-cta {
  text-align: center;
  padding: clamp(36px, 6vw, 56px) 24px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(10, 61, 98, 0.96), rgba(14, 90, 140, 0.92));
  color: #fff;
  margin-bottom: 24px;
}

.about-cta .section-kicker { color: #ffd7a8; }
.about-cta .section-title {
  color: #fff;
  max-width: 14ch;
  margin: 0 auto 12px;
}

.about-cta .section-lead {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 28px;
}

.about-cta .btn-row { justify-content: center; }

.about-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.about-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .about-hero,
  .about-split,
  .about-split.reverse,
  .about-promise-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-split.reverse .about-split-media,
  .about-split.reverse .about-split-copy { order: unset; }

  .about-hero {
    min-height: 0;
    margin-bottom: 56px;
  }

  .about-hero-copy .section-title { max-width: none; }

  .about-hero-visual { min-height: 260px; order: -1; }

  .about-values { grid-template-columns: 1fr; }

  .about-pillars { grid-template-columns: 1fr; }

  .about-split-media img { max-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-visual img { animation: none; }
}

/* Shop */
.shop-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 40px;
}

.shop-hero .section-title {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  max-width: 12ch;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.shop-search {
  flex: 1 1 240px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.shop-search svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.shop-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
}

.shop-search input::placeholder { color: var(--muted); }

.shop-cart-btn {
  position: relative;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.shop-cart-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 42, 0.4);
}

.shop-cart-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.shop-cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.shop-cat {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ocean-soft);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.shop-cat:hover {
  background: #fff;
  color: var(--ocean);
}

.shop-cat.is-active {
  background: #FFF0E0;
  color: var(--ocean);
  border-color: rgba(255, 159, 67, 0.35);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
  font: inherit;
  color: inherit;
  padding: 0;
}

.shop-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(255, 138, 42, 0.35);
}

.shop-card-art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  padding: 20px;
}

.shop-card-art[data-tone="food"] { background: linear-gradient(160deg, #fff4e0, #ffe8cc); }
.shop-card-art[data-tone="toys"] { background: linear-gradient(160deg, #e0f2fe, #dbeafe); }
.shop-card-art[data-tone="grooming"] { background: linear-gradient(160deg, #fce7f3, #fbcfe8); }
.shop-card-art[data-tone="health"] { background: linear-gradient(160deg, #d1fae5, #a7f3d0); }
.shop-card-art[data-tone="treats"] { background: linear-gradient(160deg, #fef3c7, #fde68a); }

.shop-card-glyph {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 39, 64, 0.08);
}

.shop-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: "Fredoka", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.88);
  padding: 5px 9px;
  border-radius: 9px;
}

.shop-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.shop-card-body h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ocean);
}

.shop-card-body p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  flex: 1;
}

.shop-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.shop-price {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.shop-add {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF9F43, #ff7a18);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s;
}

.shop-add:hover { transform: scale(1.06); }

.shop-add svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed var(--line);
  border-radius: 22px;
}

.shop-note {
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(224, 242, 254, 0.65);
  border: 1px solid rgba(14, 165, 233, 0.18);
  color: var(--ocean-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.shop-note strong {
  font-family: "Fredoka", sans-serif;
  color: var(--ocean);
}

/* Cart drawer */
.shop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 64, 0.35);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.shop-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shop-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100%;
  z-index: 210;
  background: #FFF9F5;
  box-shadow: -16px 0 40px rgba(15, 39, 64, 0.12);
  transform: translateX(104%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.shop-drawer.is-open { transform: translateX(0); }

.shop-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.shop-drawer-head h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  color: var(--ocean);
}

.shop-drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--ocean);
}

.shop-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.shop-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.shop-cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.shop-cart-item h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 0.98rem;
  color: var(--ocean);
  margin-bottom: 2px;
}

.shop-cart-item .meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.shop-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.shop-qty button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: "Fredoka", sans-serif;
  color: var(--ocean);
}

.shop-qty span {
  min-width: 1.25rem;
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}

.shop-cart-line {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: var(--ink);
}

.shop-drawer-foot {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.shop-totals {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

.shop-totals div {
  display: flex;
  justify-content: space-between;
}

.shop-totals .total {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ocean);
}

.shop-cart-empty {
  text-align: center;
  padding: 48px 12px;
  color: var(--muted);
}

/* Product modal */
.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.shop-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shop-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 64, 0.4);
}

.shop-modal-panel {
  position: relative;
  width: min(100%, 720px);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #FFF9F5;
  border-radius: 28px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.shop-modal-art {
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 32px;
}

.shop-modal-art .shop-card-glyph {
  width: 120px;
  height: 120px;
  font-size: 3rem;
  border-radius: 32px;
}

.shop-modal-body {
  padding: 28px 24px 24px;
}

.shop-modal-body h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.55rem;
  color: var(--ocean);
  margin: 8px 0 10px;
}

.shop-modal-body .lead {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.shop-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ocean);
  z-index: 1;
}

.shop-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.shop-chip {
  font-family: "Fredoka", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ocean-soft);
}

@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero .section-title { max-width: none; }
  .shop-modal-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-hero {
  margin-bottom: 28px;
}

.faq-hero .section-title {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  max-width: 14ch;
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  max-width: 520px;
  margin-bottom: 20px;
}

.faq-search svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.faq-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.faq-search input::placeholder { color: var(--muted); }

.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.faq-cat {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ocean-soft);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-cat:hover {
  background: #fff;
  color: var(--ocean);
}

.faq-cat.is-active {
  background: #FFF0E0;
  color: var(--ocean);
  border-color: rgba(255, 159, 67, 0.35);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 820px;
}

.faq-group {
  margin-bottom: 8px;
}

.faq-group-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--orange);
  letter-spacing: 0.02em;
  margin: 18px 0 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.faq-item.is-open {
  background: #fff;
  border-color: rgba(255, 138, 42, 0.35);
}

.faq-item[hidden] { display: none !important; }

.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--ocean);
}

.faq-q span {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
}

.faq-q i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e0f2fe;
  display: grid;
  place-items: center;
  position: relative;
}

.faq-q i::before,
.faq-q i::after {
  content: "";
  position: absolute;
  background: var(--ocean);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.faq-q i::before {
  width: 12px;
  height: 2px;
}

.faq-q i::after {
  width: 2px;
  height: 12px;
}

.faq-item.is-open .faq-q i::after {
  opacity: 0;
  transform: scaleY(0);
}

.faq-a {
  display: none;
  padding: 0 18px 18px;
  color: #3d4f63;
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.is-open .faq-a { display: block; }

.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

.faq-a a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-a a:hover { color: var(--orange); }

.faq-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.faq-help {
  margin-top: 48px;
  padding: clamp(28px, 5vw, 40px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(10, 61, 98, 0.96), rgba(14, 90, 140, 0.92));
  color: #fff;
  text-align: center;
}

.faq-help h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.faq-help p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin: 0 auto 22px;
}

.faq-help .btn-row { justify-content: center; }

.faq-help .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.faq-help .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .faq-hero .section-title { max-width: none; }
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .legal-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
  }
  .legal-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* Blog */
.blog-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--orange), #38bdf8);
  transform-origin: left center;
}

.blog-hero {
  margin-bottom: 48px;
}

.blog-hero .section-title {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  max-width: 12ch;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 56px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(10, 61, 98, 0.1);
}

.blog-featured-copy {
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(255,249,245,0.98), rgba(224,242,254,0.55));
}

.blog-featured-copy .eyebrow {
  font-family: "Fredoka", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.blog-featured-copy h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: var(--ocean);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 16ch;
}

.blog-featured-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 36rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-family: "Fredoka", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ocean-soft);
}

.blog-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(10, 61, 98, 0.25);
}

.blog-featured-art {
  min-height: 320px;
  position: relative;
  display: grid;
  place-items: end center;
  padding: 0 4% 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 159, 67, 0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.35), transparent 50%),
    linear-gradient(160deg, #dff3ff, #fff4e8 55%, #fde8f3);
}

.blog-featured-art img {
  width: 115%;
  max-width: none;
  filter: drop-shadow(0 20px 34px rgba(10, 61, 98, 0.16));
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.blog-topic {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ocean-soft);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.blog-topic:hover,
.blog-topic.is-active {
  background: #FFF0E0;
  color: var(--ocean);
  border-color: rgba(255, 159, 67, 0.35);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: rgba(255, 138, 42, 0.35);
}

.blog-card-art {
  aspect-ratio: 16 / 11;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.blog-card-art::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.45), transparent 70%);
  pointer-events: none;
}

.blog-card-art[data-tone="sky"] { background: linear-gradient(145deg, #bae6fd, #e0f2fe 50%, #fff7ed); }
.blog-card-art[data-tone="mint"] { background: linear-gradient(145deg, #a7f3d0, #ecfdf5 50%, #fff7ed); }
.blog-card-art[data-tone="blush"] { background: linear-gradient(145deg, #fbcfe8, #fce7f3 50%, #e0f2fe); }
.blog-card-art[data-tone="sand"] { background: linear-gradient(145deg, #fde68a, #fff7ed 50%, #ffedd5); }
.blog-card-art[data-tone="ocean"] { background: linear-gradient(145deg, #7dd3fc, #0A3D62 120%); }

.blog-card-glyph {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(15, 39, 64, 0.1);
  line-height: 1;
  animation: blog-float 5s ease-in-out infinite;
}

.article-cover .blog-card-glyph {
  width: 120px;
  height: 120px;
  font-size: 2.4rem;
  border-radius: 36px;
}

.blog-card-art[data-tone="ocean"] .blog-card-glyph {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.blog-card:nth-child(2) .blog-card-glyph { animation-delay: 0.4s; }
.blog-card:nth-child(3) .blog-card-glyph { animation-delay: 0.8s; }
.blog-card:nth-child(4) .blog-card-glyph { animation-delay: 0.2s; }

@keyframes blog-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.blog-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-card-body .tag {
  font-family: "Fredoka", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.blog-card-body h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ocean);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.blog-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.blog-card-body .more {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange);
  margin-top: 6px;
}

.blog-quote {
  margin: 8px 0 64px;
  padding: clamp(32px, 6vw, 56px);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 80% at 20% 0%, rgba(125, 211, 252, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 80% at 90% 100%, rgba(252, 231, 243, 0.4), transparent 50%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.blog-quote blockquote {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--ocean);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 22ch;
  margin: 0 auto 14px;
}

.blog-quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Article */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.article-hero {
  margin-bottom: 36px;
}

.article-hero .section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 18ch;
  margin-bottom: 16px;
}

.article-cover {
  border-radius: 28px;
  overflow: hidden;
  margin: 28px 0 40px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #334155;
}

.article-body > p {
  margin: 0 0 1.15em;
}

.article-body > p:first-of-type::first-letter {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  float: left;
  line-height: 0.85;
  padding: 8px 10px 0 0;
  color: var(--orange);
}

.article-body h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ocean);
  letter-spacing: -0.02em;
  margin: 2em 0 0.7em;
}

.article-body h3 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ocean);
  margin: 1.6em 0 0.5em;
}

.article-body ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 1.3em;
}

.article-body ul li {
  position: relative;
  padding-left: 18px;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}

.article-tip {
  margin: 1.8em 0;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(224, 242, 254, 0.75);
  border: 1px solid rgba(14, 165, 233, 0.18);
}

.article-tip strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  color: var(--ocean);
  margin-bottom: 6px;
}

.article-pull {
  margin: 2.2em 0;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--orange);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ocean);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.article-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.article-related {
  margin-top: 56px;
}

.article-related h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.4rem;
  color: var(--ocean);
  margin-bottom: 18px;
}

.article-related .blog-grid {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-art { min-height: 240px; order: -1; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-hero .section-title,
  .article-hero .section-title { max-width: none; }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card-glyph { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
