:root {
  --ivory: #faf7f1;
  --ivory-2: #f4efe6;
  --paper: #fffdf8;
  --forest: #153e2e;
  --forest-2: #1d5b46;
  --forest-3: #0e2f26;
  --coral: #ff7155;
  --coral-soft: #ffe4dc;
  --sage: #a6bfae;
  --sage-soft: #e9efe8;
  --teal: #7fb5b2;
  --sand: #d4cbb3;
  --navy: #111b2e;
  --charcoal: #2a2f33;
  --muted: #65706b;
  --line: #ded7cb;
  --line-dark: rgba(21, 62, 46, 0.15);
  --shadow-sm: 0 12px 32px rgba(37, 45, 40, 0.08);
  --shadow-md: 0 24px 70px rgba(27, 40, 33, 0.13);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-h: 82px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 113, 85, 0.08), transparent 32%),
    radial-gradient(circle at 100% 15%, rgba(127, 181, 178, 0.08), transparent 28%),
    var(--ivory);
  font-family: "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 113, 85, 0.45);
  outline-offset: 3px;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--forest);
  color: white;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section--compact {
  padding: 76px 0;
}

.section--paper {
  background: rgba(255, 253, 248, 0.72);
  border-block: 1px solid rgba(21, 62, 46, 0.08);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--forest-2);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

.section-title {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-title--center,
.section-intro--center {
  text-align: center;
}

.section-intro {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro--center {
  margin-inline: auto;
}

.korean-note {
  margin: 14px 0 0;
  color: var(--forest-2);
  font-size: 0.96rem;
  font-weight: 600;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  color: var(--forest);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1;
}

.wordmark .sig {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.94em;
  margin-inline: 0.01em;
}

.wordmark--small {
  font-size: 1.18rem;
}

.wordmark--tiny {
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(250, 247, 241, 0.86);
  border-bottom: 1px solid rgba(21, 62, 46, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(21, 62, 46, 0.16);
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul,
.mobile-menu ul,
.footer-links,
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav a {
  position: relative;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 650;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
  transition: right .22s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s ease, border-color .18s ease;
}

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

.button--primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 12px 24px rgba(21, 62, 46, 0.18);
}

.button--primary:hover {
  background: var(--forest-2);
  box-shadow: 0 16px 32px rgba(21, 62, 46, 0.2);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--forest);
  border-color: rgba(21, 62, 46, 0.18);
}

.button--secondary:hover {
  background: white;
  border-color: rgba(21, 62, 46, 0.3);
}

.header-download {
  min-height: 44px;
  padding-inline: 20px;
  border-radius: 13px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--forest);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 70;
  padding: 18px 20px 28px;
  background: rgba(250, 247, 241, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.mobile-menu ul {
  display: grid;
  gap: 4px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--forest);
  font-weight: 750;
}

.mobile-menu a:hover {
  background: var(--sage-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(21, 62, 46, 0.17) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to left, black, transparent 37%);
  opacity: 0.45;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(21, 62, 46, 0.09);
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero h1 {
  max-width: 690px;
  margin: 24px 0 20px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 7.1vw, 6.1rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: var(--coral);
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: #4f5954;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 184px;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid #202020;
  border-radius: 12px;
  background: #111;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.11);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.16);
}

.store-button[aria-disabled="true"] {
  cursor: pointer;
}

.store-button svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  font-size: 0.67rem;
  line-height: 1;
  opacity: 0.8;
}

.store-button strong {
  margin-top: 3px;
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.download-notice {
  max-width: 420px;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 113, 85, 0.28);
  border-radius: 12px;
  background: var(--coral-soft);
  color: #713125;
  font-size: 0.88rem;
}

.hero-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.value-mini {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
}

.value-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 62, 46, 0.12);
  border-radius: 50%;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.45);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-mini strong,
.value-mini span {
  display: block;
}

.value-mini strong {
  color: var(--forest);
  font-size: 0.86rem;
}

.value-mini span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-blob {
  position: absolute;
  width: 470px;
  height: 440px;
  left: 50%;
  top: 50%;
  border-radius: 50% 42% 47% 53% / 47% 57% 43% 53%;
  background: linear-gradient(145deg, #dbe5d9, #b5c9b7);
  transform: translate(-48%, -45%) rotate(-8deg);
  opacity: 0.88;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 48px;
  width: 116px;
  height: 116px;
  background-image: radial-gradient(var(--sand) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.65;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 282px;
  height: 566px;
  border: 9px solid #161b19;
  border-radius: 44px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 8px;
  width: 88px;
  height: 24px;
  border-radius: 20px;
  background: #111;
  transform: translateX(-50%);
}

.phone--front {
  z-index: 3;
  left: 46px;
  top: 24px;
  transform: rotate(-1.5deg);
}

.phone--rear {
  z-index: 2;
  right: 8px;
  top: 104px;
  transform: rotate(2deg) scale(0.94);
}

.phone-screen {
  position: relative;
  height: 100%;
  padding: 42px 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(250, 247, 241, 0.98)),
    var(--paper);
}

.phone-status {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 12px;
  display: flex;
  justify-content: space-between;
  color: #171a18;
  font-size: 0.58rem;
  font-weight: 800;
}

.phone-wordmark {
  margin-top: 11px;
  text-align: center;
}

.phone-heading {
  margin: 28px auto 18px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.54rem;
  line-height: 1.08;
  text-align: center;
}

.stack-mark {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 4px auto 24px;
}

.stack-mark span {
  position: absolute;
  left: 50%;
  height: 17px;
  border-radius: 5px;
  transform: translateX(-50%);
}

.stack-mark .s1 {
  width: 38px;
  bottom: 7px;
  background: var(--sage);
}

.stack-mark .s2 {
  width: 58px;
  bottom: 28px;
  background: var(--coral);
}

.stack-mark .s3 {
  width: 32px;
  bottom: 49px;
  background: var(--forest);
}

.stack-mark .s4 {
  width: 21px;
  bottom: 66px;
  background: var(--forest);
}

.stack-mark .dot {
  width: 11px;
  height: 11px;
  left: auto;
  right: 8px;
  top: 10px;
  border-radius: 50%;
  background: var(--coral);
  transform: none;
}

.phone-button {
  display: grid;
  place-items: center;
  min-height: 48px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid rgba(21, 62, 46, 0.18);
  color: var(--forest);
  background: white;
  font-size: 0.84rem;
  font-weight: 800;
}

.phone-button--solid {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

.progress-card {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
}

.progress-card small {
  color: var(--muted);
  font-size: 0.65rem;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 750;
}

.progress-track {
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e2d8;
}

.progress-track span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: var(--forest);
}

.lesson-screen-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}

.lesson-hint {
  margin-top: 52px;
  color: var(--muted);
  font-size: 0.76rem;
}

.hangul-sound {
  margin-top: 46px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  line-height: 0.92;
  text-align: center;
}

.romanization {
  margin-top: 9px;
  color: var(--charcoal);
  font-size: 1.15rem;
  text-align: center;
}

.audio-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 58px;
}

.round-control {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: white;
}

.round-control svg {
  width: 24px;
  height: 24px;
}

.lesson-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.journey-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.journey-grid::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 39px;
  border-top: 2px dotted rgba(21, 62, 46, 0.3);
}

.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.journey-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 8px solid var(--ivory);
  border-radius: 50%;
  background: #f0eee6;
  color: var(--forest);
}

.journey-icon svg {
  width: 35px;
  height: 35px;
}

.journey-number {
  position: absolute;
  left: 50%;
  top: 61px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ivory);
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-size: 0.7rem;
  font-weight: 850;
  transform: translateX(-50%);
}

.journey-step h3 {
  margin: 26px 0 4px;
  color: var(--forest);
  font-size: 1rem;
}

.journey-step p {
  margin: 0 auto;
  max-width: 160px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: center;
}

.philosophy-copy h2 {
  max-width: 520px;
}

.philosophy-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--forest);
  font-weight: 650;
}

.check-dot {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
}

.check-dot svg {
  width: 13px;
  height: 13px;
}

.philosophy-visual {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.philosophy-visual img {
  width: 100%;
  height: auto;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.info-card,
.support-card,
.legal-card,
.faq-card {
  border: 1px solid rgba(21, 62, 46, 0.12);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 10px 28px rgba(39, 47, 42, 0.04);
}

.info-card {
  min-height: 246px;
  padding: 26px;
  border-radius: var(--radius-md);
}

.info-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--sage-soft);
  color: var(--forest);
}

.info-card__icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  margin: 20px 0 8px;
  color: var(--forest);
  font-size: 1.02rem;
  line-height: 1.3;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.support-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr 22px;
  gap: 16px;
  align-items: center;
  min-height: 128px;
  padding: 22px;
  border-radius: 18px;
  transition: transform .18s var(--ease), border-color .18s ease, box-shadow .18s ease;
}

.support-card:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 62, 46, 0.27);
  box-shadow: var(--shadow-sm);
}

.support-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--sage-soft);
  color: var(--forest);
}

.support-card__icon svg,
.support-card__arrow svg {
  width: 24px;
  height: 24px;
}

.support-card h3 {
  margin: 0 0 4px;
  color: var(--forest);
  font-size: 0.96rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.support-card__arrow {
  color: var(--forest);
}

.site-footer {
  padding: 40px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: end;
}

.footer-tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

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

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

.footer-meta {
  text-align: right;
}

.footer-email {
  display: block;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 750;
}

.footer-copy {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}

/* Legal and support pages */
.page-hero {
  padding: 72px 0 58px;
  border-bottom: 1px solid rgba(21, 62, 46, 0.09);
  background:
    linear-gradient(120deg, rgba(166, 191, 174, 0.22), transparent 60%),
    rgba(255, 253, 248, 0.65);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 44px;
  align-items: end;
}

.page-hero h1 {
  max-width: 840px;
  margin: 16px 0 16px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.page-hero-meta {
  padding: 18px;
  border: 1px solid rgba(21, 62, 46, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.page-hero-meta small,
.page-hero-meta strong {
  display: block;
}

.page-hero-meta small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-hero-meta strong {
  margin-top: 4px;
  color: var(--forest);
  font-size: 0.9rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 22px;
  border: 1px solid rgba(21, 62, 46, 0.11);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.8);
}

.legal-toc h2 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-toc li + li {
  margin-top: 7px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 0.86rem;
}

.legal-toc a:hover {
  color: var(--forest);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 22px;
  scroll-margin-top: calc(var(--header-h) + 30px);
}

.legal-card h2 {
  margin: 0 0 14px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  line-height: 1.2;
}

.legal-card h3 {
  margin: 24px 0 8px;
  color: var(--forest);
  font-size: 1rem;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
}

.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul {
  margin-top: 14px;
}

.legal-card ul,
.legal-card ol {
  margin: 14px 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 8px;
}

.notice-box {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--coral);
  border-radius: 0 14px 14px 0;
  background: var(--coral-soft);
  color: #6a342a;
}

.notice-box strong {
  display: block;
  color: #58291f;
  margin-bottom: 4px;
}

.policy-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.policy-fact {
  padding: 18px;
  border: 1px solid rgba(21, 62, 46, 0.11);
  border-radius: 14px;
  background: var(--sage-soft);
}

.policy-fact strong {
  display: block;
  color: var(--forest);
  font-size: 0.9rem;
}

.policy-fact span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.action-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 20px;
  padding: 24px;
  border-radius: 18px;
  background: var(--forest);
  color: white;
}

.action-panel h3 {
  margin: 0 0 4px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.action-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.action-panel .button {
  background: white;
  color: var(--forest);
}

.support-hero-card {
  padding: 30px;
  border-radius: 24px;
  background: var(--forest);
  color: white;
  box-shadow: var(--shadow-md);
}

.support-hero-card h2 {
  margin: 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.support-hero-card p {
  margin: 8px 0 20px;
  color: rgba(255, 255, 255, 0.75);
}

.support-hero-card .button {
  width: 100%;
  background: white;
  color: var(--forest);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.topic-card {
  padding: 22px;
  border: 1px solid rgba(21, 62, 46, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.82);
}

.topic-card svg {
  width: 30px;
  height: 30px;
  color: var(--forest);
}

.topic-card h3 {
  margin: 18px 0 6px;
  color: var(--forest);
  font-size: 1rem;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.faq-card {
  padding: 22px 24px;
  border-radius: 17px;
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--forest);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card p {
  margin: 14px 40px 0 0;
  color: var(--muted);
}

.delete-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.delete-step {
  position: relative;
  padding: 20px 20px 20px 70px;
  border: 1px solid rgba(21, 62, 46, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
}

.delete-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 19px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-weight: 800;
}

.delete-step h3 {
  margin: 0 0 5px;
  color: var(--forest);
  font-size: 1rem;
}

.delete-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.code-like {
  display: block;
  margin-top: 10px;
  padding: 12px 14px;
  overflow-wrap: anywhere;
  border-radius: 10px;
  background: #f0ece4;
  color: var(--charcoal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
    gap: 28px;
  }

  .hero-visual {
    transform: scale(0.92);
    transform-origin: center;
  }

  .phone--front {
    left: 0;
  }

  .phone--rear {
    right: -34px;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .primary-nav,
  .header-download {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .brand-symbol {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 52px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero-visual {
    min-height: 590px;
    max-width: 590px;
    margin: 0 auto;
    transform: none;
  }

  .phone--front {
    left: 55px;
  }

  .phone--rear {
    right: 20px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
    gap: 20px;
  }

  .journey-grid::before {
    left: 39px;
    right: auto;
    top: 40px;
    bottom: 40px;
    width: 0;
    border-top: 0;
    border-left: 2px dotted rgba(21, 62, 46, 0.3);
  }

  .journey-step {
    display: grid;
    grid-template-columns: 78px 1fr;
    grid-template-rows: auto auto;
    column-gap: 22px;
    text-align: left;
  }

  .journey-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .journey-number {
    left: 39px;
  }

  .journey-step h3 {
    margin: 10px 0 3px;
  }

  .journey-step p {
    max-width: none;
    margin: 0;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .philosophy-copy {
    order: 1;
  }

  .philosophy-visual {
    order: 2;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer-meta {
    text-align: left;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-meta {
    max-width: 320px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-layout,
  .legal-toc,
  .legal-content,
  .legal-card {
    min-width: 0;
  }

  .legal-card,
  .legal-toc,
  .footer-email,
  [data-support-email] {
    overflow-wrap: anywhere;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .wordmark {
    font-size: 1.34rem;
  }

  .brand-symbol {
    display: none;
  }

  .hero::before {
    opacity: 0.25;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.8rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
  }

  .hero-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-visual {
    min-height: 480px;
    margin-top: 4px;
  }

  .hero-blob {
    width: 360px;
    height: 350px;
  }

  .phone {
    width: 220px;
    height: 448px;
    border-width: 7px;
    border-radius: 34px;
  }

  .phone::before {
    width: 72px;
    height: 20px;
  }

  .phone--front {
    left: 8px;
    top: 24px;
  }

  .phone--rear {
    right: -14px;
    top: 82px;
  }

  .phone-screen {
    padding: 34px 15px 13px;
  }

  .phone-status {
    left: 14px;
    right: 14px;
    top: 10px;
  }

  .phone-heading {
    margin: 20px auto 14px;
    font-size: 1.14rem;
  }

  .stack-mark {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    transform: scale(0.8);
  }

  .phone-button {
    min-height: 40px;
    font-size: 0.7rem;
  }

  .progress-card {
    margin-top: 13px;
    padding: 10px;
  }

  .lesson-hint {
    margin-top: 32px;
  }

  .hangul-sound {
    margin-top: 32px;
    font-size: 3.7rem;
  }

  .audio-controls {
    margin-top: 38px;
  }

  .round-control {
    width: 44px;
    height: 44px;
  }

  .privacy-grid,
  .policy-facts,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }

  .section-title {
    font-size: 2.35rem;
  }

  .action-panel {
    grid-template-columns: 1fr;
  }

  .action-panel .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
