:root {
  --ink: #0b1f33;
  --ink-soft: #1a3550;
  --sky: #0071c1;
  --sky-bright: #1a8fd6;
  --sky-mist: #e8f4fc;
  --foam: #f5f9fc;
  --paper: #ffffff;
  --muted: #5a7085;
  --accent: #E59A12;
  --accent-soft: #FFF4DE;
  --line: rgba(11, 31, 51, 0.1);
  --shadow: 0 24px 60px rgba(11, 31, 51, 0.12);
  --radius: 1.25rem;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 5vw;
  background: rgba(245, 249, 252, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 113, 193, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.15rem;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.header-nav > a,
.header-nav .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(11, 31, 51, 0.04);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.header-nav > a:hover,
.header-nav > a[aria-current="page"],
.header-nav .nav-dropdown.is-open .nav-dropdown-toggle,
.header-nav .nav-dropdown-toggle:hover {
  color: var(--sky);
  background: var(--sky-mist);
  border-color: rgba(0, 113, 193, 0.18);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 9.5rem;
  padding: 0.4rem;
  border-radius: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.12);
  z-index: 30;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
  gap: 0.15rem;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--ink-soft);
  font-weight: 600;
  text-align: left;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background: var(--sky-mist);
  color: var(--sky);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(11, 31, 51, 0.05);
}

.lang-switch a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
}

.lang-switch a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(11, 31, 51, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-bright) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 113, 193, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(0, 113, 193, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--paper);
}

.btn-lg {
  min-height: 3.15rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  display: grid;
  align-items: start;
  padding: 1.75rem 5vw 2.75rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 25% 35%, rgba(229, 154, 18, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(26, 143, 214, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 10% 80%, rgba(0, 113, 193, 0.12), transparent 50%),
    linear-gradient(165deg, #dceef8 0%, var(--foam) 42%, #eef5fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 51, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero-copy {
  animation: rise 0.7s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.hero-tagline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  animation: rise 0.85s 0.12s ease both;
}

.product-stage {
  position: relative;
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.25rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(232, 244, 252, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.product-stage::after {
  content: "";
  position: absolute;
  inset: auto -8% -12% 35%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(0, 113, 193, 0.28), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}

.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stage-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stage-pills {
  display: flex;
  gap: 0.35rem;
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8A5A00;
}

.boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.box {
  aspect-ratio: 1;
  border-radius: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 700;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: float 4.5s ease-in-out infinite;
}

.box:nth-child(1) { background: #0d4f7a; animation-delay: 0s; }
.box:nth-child(2) { background: #0071c1; animation-delay: 0.2s; }
.box:nth-child(3) { background: #1a8fd6; animation-delay: 0.4s; }
.box:nth-child(4) { background: var(--accent); animation-delay: 0.6s; }

.box span {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.85;
}

.box strong {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.replay-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
}

.replay-wave {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}

.replay-wave svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: #fff;
}

.replay-meta strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.replay-meta span {
  font-size: 0.78rem;
  opacity: 0.7;
}

.replay-count {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--accent);
}

.section {
  padding: 4.5rem 5vw;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.45rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 0.22rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 31, 51, 0.08);
}

.blog-card time {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-article {
  width: min(720px, 100%);
  margin: 0 auto;
}

.blog-article .seo-prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.blog-article .seo-prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.blog-article .seo-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.blog-article .seo-prose li {
  margin-bottom: 0.4rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.intent-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .intent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.intent-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--foam);
}

.intent-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.intent-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.feature {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 31, 51, 0.08);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.packs-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pack-card {
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pack-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 31, 51, 0.08);
}

.pack-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.pack-card h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.pack-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pack-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.pack-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pack-level {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 0.55rem;
  background: var(--accent-soft);
  color: #8A5A00;
}

.pack-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.pack-card-wide {
  grid-column: 1 / -1;
}

.pack-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.seo-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.seo-prose {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1rem;
}

.seo-prose p {
  margin: 0 0 1rem;
}

.seo-prose p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--foam);
  padding: 1rem 1.15rem;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.page-hero {
  padding: 2rem 5vw 1.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(26, 143, 214, 0.16), transparent 55%),
    linear-gradient(180deg, #dceef8 0%, var(--foam) 100%);
}

.page-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.page-hero .hero-lead {
  margin: 0 0 1.25rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--sky);
}

.how {
  background: linear-gradient(180deg, var(--foam), #e4f0f8);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.05);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  padding: 0 5vw 4.5rem;
}

.cta-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 2.75rem 5vw;
  border-radius: calc(var(--radius) + 0.5rem);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(26, 143, 214, 0.35), transparent 55%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #fff;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  animation: rise 0.6s ease both;
}

@media (min-width: 800px) {
  .cta-panel {
    grid-template-columns: 1.4fr auto;
    padding: 2.75rem 2.5rem;
  }
}

.cta-panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.cta-panel p {
  margin: 0;
  opacity: 0.78;
  max-width: 34rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-panel .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.cta-panel .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-panel .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 2rem 5vw 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--sky);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 113, 193, 0.45); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(0, 113, 193, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    padding-top: 0.35rem;
  }
}

@media (max-width: 640px) {
  .header-actions .btn-ghost {
    display: none;
  }

  .boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 1.25rem 5vw 2rem;
  }
}
