/* Beyond Japanese — Landing Page Styles */

:root {
  --blue: #0D7A99;
  --blue-deep: #0a5d75;
  --blue-soft: #e8f2f5;
  --red: #C63C47;
  --red-soft: #b73340;
  --beige: #F5EFE0;
  --beige-deep: #ece4cf;
  --cream: #FAF7F1;
  --white: #ffffff;
  --ink: #583822;
  --ink-soft: #383c3c;   /* medium-weight text — calm modern neutral */
  --brown: #583822;       /* warm earthy body / small supporting text */
  --stone: #6b6b6b;
  --stone-light: #9a9a9a;
  --green: #7A8F6E;
  --line: #e8e4d8;

  --radius-card: 24px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(31, 42, 46, 0.04), 0 8px 24px rgba(31, 42, 46, 0.06);
  --shadow-soft: 0 1px 2px rgba(31, 42, 46, 0.03), 0 12px 40px rgba(31, 42, 46, 0.05);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:target, #pricing, #about, #faq, #lessons, #contact { scroll-margin-top: 92px; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow.muted { color: var(--blue); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--blue);
}

.h-section {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.028em;
}

.h-card {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

p { margin: 0; color: var(--brown); }
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--brown);
  text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(198, 60, 71, 0.25);
}
.btn-primary:hover {
  background: var(--red-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(198, 60, 71, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--beige);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--beige-deep); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: rgba(13, 122, 153, 0.08);
  transform: translateY(-1px);
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2.5px solid var(--red);
  padding-left: 26px;
  padding-right: 26px;
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sm { padding: 12px 22px; font-size: 14px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 228, 216, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}
.logo-img {
  /* Width-based clamp keeps the logo visually prominent across sizes.
     height auto preserves the native aspect ratio at every width. */
  width: clamp(180px, 16vw, 320px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, var(--red) 0 38%, transparent 38%),
              radial-gradient(circle at 50% 70%, var(--blue) 0 14%, transparent 14%);
  background-color: var(--cream);
  border: 1.5px solid var(--red);
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.18s;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.nav a svg { display: block; }
.nav a:hover { color: var(--blue); }
.nav-ig {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-ig svg { width: 29px !important; height: 29px !important; }
.nav-ig:hover { transform: scale(1.12); opacity: 0.82; }

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: var(--cream);
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-photo.active { opacity: 1; }
.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(250,248,244,0.90) 0%,
      rgba(250,248,244,0.74) 35%,
      rgba(250,248,244,0.38) 65%,
      rgba(250,248,244,0) 100%),
    linear-gradient(rgba(250,248,244,0.30), rgba(250,248,244,0.30)),
    linear-gradient(180deg,
      rgba(250,247,241,0) 0%,
      rgba(250,247,241,0.10) 55%,
      rgba(250,247,241,0.70) 84%,
      var(--cream) 100%),
    radial-gradient(ellipse 90% 70% at 50% 60%, rgba(250,247,241,0.30) 0%, rgba(250,247,241,0) 75%);
  pointer-events: none;
  z-index: 1;
}
.hero-fade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 84%, var(--cream) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 32px 88px;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 28px;
}
.hero h1 {
  margin-bottom: 24px;
  max-width: 900px;
  color: var(--blue);
  line-height: 1.22;
}
.hero-h1-indent {
  display: inline-block;
  margin-left: 2em;
}
.hero-h1-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: heroLineRise 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-h1-line:nth-child(1) { animation-delay: 0.35s; }
.hero-h1-indent.hero-h1-line { animation-delay: 0.35s; }
@keyframes heroLineRise {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-h1-line { animation: none; opacity: 1; transform: none; }
}
.hero-sub {
  font-size: 20px;
  line-height: 1.6;
  color: var(--brown);
  max-width: 560px;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero-support {
  font-size: 16px;
  color: var(--brown);
  font-style: italic;
  max-width: 480px;
  margin-bottom: 36px;
}

/* Sections */
.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 96px 0; }
.section-large { padding: 160px 0; }
.section-beige { background: var(--beige); }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }

.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { max-width: 620px; margin: 0 auto; }

/* Designed-for section — simple 2×2 icon + text benefit grid */
.section-cream.section:first-of-type,
.designed-section { padding-top: 80px; }
.designed-head { margin-bottom: 72px; }
.fan-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.fan-line {
  width: 64px;
  height: 1px;
  background: rgba(31, 42, 46, 0.18);
}
.designed-title {
  font-size: clamp(36px, 4.4vw, 56px);
  color: var(--blue-deep);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  text-wrap: balance;
}
.designed-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
  text-wrap: pretty;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 28px;
  box-shadow: 0 1px 2px rgba(31, 42, 46, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 122, 153, 0.22);
  box-shadow: 0 1px 2px rgba(31, 42, 46, 0.04), 0 14px 32px rgba(31, 42, 46, 0.05);
}
.benefit-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #F3EEE6;
  color: #0F4C5C;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.benefit-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.benefit-text {
  flex: 1;
  min-width: 0;
}
.benefit-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--blue);
  margin: 0 0 8px;
  text-wrap: balance;
}
.benefit-desc {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--brown);
  margin: 0;
  text-wrap: pretty;
}

/* About Ayumi */
.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 540px;
  padding: 8px 0;
}
.about-link {
  margin-top: auto;
  padding-top: 32px;
}
.about-photo {
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 480px;
  background: var(--beige-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.about-img.active { opacity: 1; }
.photo-placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(122,143,110,0.18) 0 12px, rgba(122,143,110,0.08) 12px 24px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.photo-placeholder.tone-warm {
  background: repeating-linear-gradient(135deg, rgba(198,156,120,0.18) 0 12px, rgba(198,156,120,0.08) 12px 24px), #efe1cd;
}
.photo-placeholder.tone-cool {
  background: repeating-linear-gradient(135deg, rgba(13,122,153,0.14) 0 12px, rgba(13,122,153,0.06) 12px 24px), #d6e6ea;
}
.photo-placeholder.tone-green {
  background: repeating-linear-gradient(135deg, rgba(122,143,110,0.22) 0 12px, rgba(122,143,110,0.1) 12px 24px), #d6e0c8;
}
.photo-placeholder.tone-night {
  background: repeating-linear-gradient(135deg, rgba(40,52,68,0.5) 0 12px, rgba(40,52,68,0.3) 12px 24px), #2d3a4c;
  color: rgba(255,255,255,0.8);
}
.photo-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 4px;
}
.photo-placeholder.tone-night .photo-label {
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.9);
}
.about-photo .dots {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.about-photo .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.about-photo .dot:hover { background: rgba(255,255,255,0.85); }
.about-photo .dot.active { background: var(--white); transform: scale(1.15); }
.about-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.82);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.about-photo:hover .about-arrow { opacity: 1; }
.about-arrow:hover { background: #fff; }
.about-arrow:active { transform: translateY(-50%) scale(0.94); }
.about-arrow-prev { left: 14px; }
.about-arrow-next { right: 14px; }
@media (hover: none) {
  .about-arrow { opacity: 1; background: rgba(255,255,255,0.9); }
}
.about-content .eyebrow { color: var(--ink-soft); margin-bottom: 24px; display: inline-block; }
.about-eyebrow-word {
  display: inline-block;
  margin-right: 14px;
  margin-bottom: 24px;
  color: #593922;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif;
}
.about-eyebrow-word:last-of-type { margin-right: 0; }
.about-content h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  color: var(--blue);
  margin-bottom: 28px;
}
.about-content .lead { margin-bottom: 28px; }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  font-size: 17px;
  transition: gap 0.2s;
}
.about-link:hover { gap: 14px; }

/* Practical Japanese */
/* Practical Japanese — 2×2 large immersive photo cards (desktop) */
.practical-head { margin-bottom: 44px; }
.practical-head h2 { margin-bottom: 12px; }
.practical-head .lead { max-width: 680px; }
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.scene-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(31, 42, 46, 0.04), 0 14px 36px rgba(31, 42, 46, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scene-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) brightness(1.04) contrast(0.92);
}
.scene-wash {
  position: absolute;
  inset: 0;
  /* even hazy white veil across the whole photo (softens it overall), plus a bottom darkening for legible titles */
  background:
    linear-gradient(180deg, rgba(250,247,241,0.30) 0%, rgba(250,247,241,0.30) 100%),
    linear-gradient(180deg,
      rgba(250,247,241,0.30) 0%,
      rgba(250,247,241,0.12) 34%,
      rgba(18,25,29,0.24) 60%,
      rgba(15,21,25,0.70) 84%,
      rgba(12,17,20,0.90) 100%);
}
.scene-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 30px 28px;
  z-index: 2;
}
.scene-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 12px;
  text-wrap: balance;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 2px 18px rgba(0,0,0,0.45);
}
.scene-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  background: var(--blue);
  border-radius: 999px;
}
.scene-desc {
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(255,255,255,0.94);
  text-wrap: pretty;
  max-width: 42ch;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 2px 14px rgba(0,0,0,0.4);
}

/* Portal */
.portal {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 40px;
}
.portal-content .eyebrow { margin-bottom: 24px; display: inline-block; }
.portal-content h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  margin-bottom: 28px;
  line-height: 1.05;
}
.portal-content .lead { margin-bottom: 36px; max-width: 520px; }
.portal-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}
.portal-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}
.portal-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Dashboard mockup — image carousel */
.portal-mock-wrap {
  position: relative;
}
.portal-mock-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.portal-mock {
  background: var(--white);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-soft), 0 30px 60px rgba(0,0,0,0.08);
  width: clamp(240px, 22vw, 320px);
  flex-shrink: 0;
}
.portal-mock-inner {
  background: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  position: relative;
}
.mock-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.mock-img.active { opacity: 1; }
.mock-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-soft);
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 122, 153, 0.1);
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.mock-nav:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: scale(1.05);
}
.mock-dots {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, width 0.2s;
}
.mock-dot:hover { background: var(--stone-light); }
.mock-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* Testimonials */
/* Testimonials — single-card carousel */
.testimonials-title { font-size: clamp(31px, 3.7vw, 47px); }
.tcarousel {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.tcarousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-card);
}
.tcarousel-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.tcarousel-slide {
  flex: 0 0 calc((100% - (var(--tpv) - 1) * 24px) / var(--tpv));
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 280px;
}
.testimonial-stars {
  color: #e0a92e;
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 14px;
  width: 100%;
  text-align: center;
}
.testimonial-headline {
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.testimonial-body {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--brown);
  margin: 0 0 24px;
  text-wrap: pretty;
  flex: 0 1 auto;
}
.testimonial-by {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.testimonial-name { font-weight: 700; font-size: 16px; color: var(--ink); }
.testimonial-flag { font-size: 20px; }
.testimonial-sep { color: var(--stone-light); font-size: 14px; }
.testimonial-meta { font-size: 13px; color: var(--stone); letter-spacing: 0.01em; font-weight: 600; }

.tcarousel-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}
.tcarousel-arrow:hover {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05);
}
.tcarousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.tcarousel-arrow:disabled:hover {
  background: var(--white);
  color: var(--blue);
  transform: none;
}
.tcarousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.tcarousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--beige-deep);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}
.tcarousel-dot:hover { background: var(--stone-light); }
.tcarousel-dot.active {
  background: var(--blue);
  width: 26px;
  border-radius: 999px;
}

/* Timeline / Lesson flow — experiential vertical journey.
   Duration is the dominant visual element; the core practice step is featured. */
.journey {
  max-width: 860px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
}
.journey-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 30px;
  position: relative;
  padding: 14px 0;
}
/* Continuous spine drawn behind the duration column */
.journey-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding-right: 30px;
}
.journey-rail::before {
  content: "";
  position: absolute;
  right: 0;
  top: -14px;
  bottom: -14px;
  width: 2px;
  background: var(--beige-deep);
}
.journey-step:first-child .journey-rail::before { top: 50%; }
.journey-step:last-child .journey-rail::before { bottom: 50%; }
.journey-dot {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--blue);
  z-index: 1;
}
.journey-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}
.journey-time-num {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}
.journey-time-unit {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-top: 5px;
}
/* Content card */
.journey-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.journey-card-body {
  flex: 0 1 auto;
  min-width: 0;
}
.journey-desc { max-width: 52ch; }
@media (hover: hover) {
  .journey-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--beige-deep);
  }
  .journey-card:hover .journey-icon { transform: scale(1.08); }
}
.journey-card-top {
  order: 2;
  flex-shrink: 0;
  margin-top: 2px;
}
.journey-num {
  font-weight: 500;
  color: var(--stone-light);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.journey-sep {
  font-weight: 500;
  color: var(--stone-light);
}
.journey-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.journey-icon svg { width: 100%; height: 100%; display: block; }
.journey-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
  text-wrap: balance;
}
.journey-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown);
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 640px) {
  .journey-step {
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 12px 0;
  }
  .journey-rail { padding-right: 18px; }
  .journey-card { padding: 22px 22px; }
  .journey-icon { width: 58px; height: 58px; }
  .journey-title { font-size: 20px; }
}

/* Pricing */
.pricing-head {
  max-width: 1080px;
  margin: 0 auto 10px;
  text-align: left;
}
.pricing-head .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
}
.pricing-head .h-section {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
  color: var(--blue);
  letter-spacing: -0.028em;
  max-width: 920px;
  margin-bottom: 24px;
}
.pricing-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--brown);
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 40px 38px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 2px rgba(31, 42, 46, 0.03);
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(13, 122, 153, 0.28);
}
.price-card.featured {
  background: #F8F3EA;
  border-color: rgba(13, 122, 153, 0.22);
  box-shadow: 0 1px 2px rgba(31, 42, 46, 0.03), 0 12px 32px rgba(122, 90, 50, 0.07);
}
.price-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.2;
  text-align: center;
}
.featured .price-name { color: var(--ink); }
.price-amount {
  font-size: clamp(34px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue);
  margin-top: 0;
  margin-bottom: 2px;
  display: block;
  text-align: center;
}
.featured .price-amount { color: var(--blue); }
.price-unit {
  font-size: 19px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0;
  text-align: center;
}
.featured .price-unit { color: var(--ink-soft); }
/* Trial/Single: gentle gap between price and duration */
.price-amount + .price-unit { margin-top: 8px; }
/* Package: keep Save $10 connected to the lessons line below it */
.price-note + .price-unit { margin-top: 4px; }
/* Trial/Single: duration sits inline next to the price, smaller & dark */
.price-inline-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.price-note {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  margin-top: 4px;
  min-height: 1.2em; /* reserve savings row on every card so dividers align */
  letter-spacing: -0.005em;
  text-align: center;
}
.price-rule {
  display: block;
  height: 0;
  border-top: 1px dashed rgba(88, 56, 34, 0.28);
  margin: 18px 0 0;
}
/* Wrappers flatten so desktop & mobile keep the original single-column flow */
.price-col-main,
.price-col-extra { display: contents; }
/* Package "Includes:" value list */
.price-includes { margin-top: 18px; }
.price-includes-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 9px;
  letter-spacing: 0.02em;
}
.price-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.price-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--brown);
}
.price-check { color: var(--blue); font-weight: 700; flex-shrink: 0; }
.price-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--brown);
  margin-top: 24px;
  flex: 1 1 auto;
  text-wrap: pretty;
  text-align: left;
}
.featured .price-desc {
  color: var(--brown);
}
.price-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 999px;
  padding: 9px 20px;
  margin-top: 0;
  background: transparent;
}
.price-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.01em;
  align-self: flex-start;
  transition: gap 0.2s ease, color 0.2s ease;
}
.price-link:hover {
  gap: 14px;
}
.price-link.price-link-featured {
  color: var(--red);
}
.price-btn {
  align-self: stretch;
  margin-top: 32px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: -0.005em;
}

/* Pricing footer CTA */
.pricing-cta {
  max-width: 1080px;
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
}
.pricing-note {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--brown);
  font-size: 14px;
  margin-top: 0;
}
.pricing-note span {
  display: inline-flex; align-items: center; gap: 8px;
}
.pricing-note svg,
.pricing-note svg * {
  stroke: #0d7a99 !important;
}

/* FAQ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--beige);
  border-radius: 20px;
  overflow: hidden;
  transition: background 0.2s;
}
.faq-item.open { background: var(--beige-deep); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 26px 32px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  letter-spacing: -0.01em;
}
.faq-q svg { transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  padding: 0 32px 26px;
  font-size: 16px;
  color: var(--brown);
  line-height: 1.65;
  max-width: 720px;
}
.faq-item:not(.open) .faq-a { display: none; }
.faq-more {
  display: inline-flex;
  margin: 56px auto 0;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-style: italic;
  font-size: 15px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.faq-more-wrap { text-align: center; margin-bottom: 8px; }

/* FAQ → booking mini CTA */
#faq .section-head { margin-bottom: 52px; }
.faq-mini-cta {
  max-width: 880px;
  margin: 56px auto 0;
  text-align: center;
}
.faq-mini-cta h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.faq-mini-cta p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--brown);
  margin: 0 auto 28px;
  max-width: 520px;
  text-wrap: pretty;
}

/* Final CTA — split layout: photo left, deep teal panel right */
.final-cta {
  position: relative;
  padding: 0;
  background: var(--cream);
}
.final-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.final-cta-photo-pane {
  position: relative;
  overflow: hidden;
  background: var(--beige);
}
.final-cta-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.final-cta-text-pane {
  background: #1f5266;
  color: var(--white);
  display: flex;
  align-items: center;
  padding: clamp(56px, 7vw, 120px) clamp(40px, 6vw, 96px);
}
.final-cta-content {
  max-width: 560px;
}
.final-cta-content h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 28px;
  text-wrap: balance;
}
.final-cta-content .lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 48px;
  max-width: 480px;
}
.btn-cta-light {
  background: var(--white);
  color: #1f5266;
  padding: 22px 38px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-cta-light:hover {
  transform: translateY(-1px);
  background: var(--beige);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.final-cta-note {
  margin-top: 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.005em;
}

/* Footer */
.footer {
  background: var(--cream);
  padding: 80px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-tag {
  color: var(--brown);
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--brown);
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--brown);
}

/* Language switcher — small utility element */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.lang-opt {
  color: var(--stone);
  text-decoration: none;
  transition: color 0.18s ease;
  padding-bottom: 1px;
}
.lang-opt:hover { color: var(--blue); }
.lang-active {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.lang-sep { color: var(--line); font-weight: 400; }
.lang-switch-footer { font-size: 13px; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ----------
   Three breakpoint bands: desktop (default) / tablet (≤ 1099) / mobile (≤ 768).
   Side-by-side layouts only collapse at the mobile breakpoint. */

/* Tablet: constrain image sizes, keep horizontal splits, slightly tighter rhythm */
@media (max-width: 1099px) {
  .container { padding: 0 28px; }
  .header-inner { padding: 14px 24px; gap: 16px; }
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }

  .section { padding: 96px 0; }
  .section-large { padding: 120px 0; }

  /* Designed-for follows the same rhythm as Practical Japanese: 2×2 staying through tablet */
  .benefit-grid { gap: 18px; max-width: none; }
  .benefit-card { padding: 30px 28px; gap: 22px; }
  .benefit-icon { width: 76px; height: 76px; padding: 15px; }

  .about { gap: 48px; align-items: center; }
  .about-photo { max-width: 380px; }
  .about-content h2 { font-size: clamp(28px, 3.4vw, 40px); }

  .portal { gap: 56px; }
  .portal-mock { width: clamp(240px, 28vw, 300px); }

  .practical-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .scenes-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 680px; }
  .scenes-grid .scene-card { aspect-ratio: 16 / 10; }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 680px; }
  .pricing-grid .price-card.featured { grid-column: 1 / -1; width: 100%; }
  .price-card { padding: 36px 30px 32px; }
  .price-amount { font-size: 38px; }

  /* Featured 4-Lesson Package becomes a 2-column value card on tablet only */
  .pricing-grid .price-card.featured {
    display: grid;
    grid-template-columns: 38% 1fr;
    column-gap: 0;
    align-items: stretch;
    text-align: left;
    padding: 38px 40px;
  }
  .price-card.featured .price-col-main,
  .price-card.featured .price-col-extra {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .price-card.featured .price-col-main { padding-right: 36px; }
  .price-card.featured .price-col-extra {
    border-left: 1px solid rgba(88, 56, 34, 0.16);
    padding-left: 40px;
  }
  .price-card.featured .price-badge-slot { justify-content: flex-start; margin-bottom: 14px; }
  .price-card.featured .price-name { white-space: nowrap; font-size: 21px; text-align: left; }
  .price-card.featured .price-amount { text-align: left; }
  .price-card.featured .price-unit { font-size: 16px; font-weight: 500; text-align: left; }
  .price-card.featured .price-note { text-align: left; }
  .price-card.featured .price-rule { display: none; }
  .price-card.featured .price-desc { margin-top: 0; flex: 0 0 auto; }
  .price-card.featured .price-benefits {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
  }
  .price-card.featured .price-benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    color: var(--brown);
    letter-spacing: -0.005em;
  }
  .price-card.featured .price-benefits li svg { color: var(--blue); flex-shrink: 0; }
  .price-card.featured .price-link { align-self: flex-start; margin-top: 4px; }

  .testimonial { padding: 36px 26px; min-height: 0; }
  .tcarousel { gap: 8px; }
  .tcarousel-arrow { width: 42px; height: 42px; }
}

/* Mobile: stack side-by-side layouts and reduce padding */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { display: none; }

  .section { padding: 72px 0; }
  .section-large { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-card { padding: 26px 22px; }
  /* Benefit grid stays 2×2 on mobile to preserve the editorial rhythm */
  /* Benefit grid: single column on mobile, icon-left layout preserved */
  .benefit-grid { grid-template-columns: 1fr; gap: 14px; }
  .benefit-card {
    padding: 24px 22px;
    gap: 18px;
  }
  .benefit-icon { width: 64px; height: 64px; padding: 13px; }
  .benefit-title { font-size: 17px; margin-bottom: 6px; }
  .benefit-desc { font-size: 14px; }

  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 440px; margin: 0 auto; }

  .practical-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .scenes-grid { grid-template-columns: 1fr; gap: 16px; max-width: 420px; }
  .scene-card { aspect-ratio: 16 / 11; }

  .portal { grid-template-columns: 1fr; gap: 48px; padding-bottom: 60px; }
  .portal-mock { width: clamp(220px, 60vw, 300px); }
  .mock-nav { width: 44px; height: 44px; }
  .portal-mock-frame { gap: 10px; }

  .tcarousel-arrow { width: 38px; height: 38px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  /* Reset the tablet 2-column featured card back to the normal stacked card on mobile */
  .pricing-grid .price-card.featured { display: flex; grid-template-columns: none; text-align: center; padding: 36px 30px 32px; }
  .price-card.featured .price-col-main,
  .price-card.featured .price-col-extra { display: contents; }
  .price-card.featured .price-benefits { display: flex; }
  .price-card.featured .price-badge-slot { justify-content: center; margin-bottom: 16px; }
  .price-card.featured .price-rule { display: block; }
  .price-card.featured .price-desc { margin-top: 24px; }
  .price-card.featured .price-link { align-self: flex-start; }
  .pricing-cta { flex-direction: column; align-items: flex-start; }
  .pricing-cta-btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .final-cta-split { grid-template-columns: 1fr; min-height: 0; }
  .final-cta-photo-pane { aspect-ratio: 4/3; min-height: 280px; }
  .final-cta-text-pane { padding: 56px 28px 64px; }

  .timeline::before { left: 56px; }
  .timeline-item { grid-template-columns: 56px 1fr; gap: 24px; }
  .timeline-num::after { display: none; }
  .hero-content { padding: 88px 24px 104px; }
  .hero-ctas .btn { width: auto; }
  .hero-h1-indent { margin-left: 1.4em; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}
