/* mori landing — static, no build step. Served with `style-src 'self'`, so every
   style lives in this file: no inline styles and no style attributes in the HTML. */

@font-face {
  font-family: Nunito;
  src: url("assets/fonts/Nunito-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Neo;
  src: url("assets/fonts/NanumSquareNeoTTF-bRg.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Neo;
  src: url("assets/fonts/NanumSquareNeoTTF-cBd.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --canvas: #fffdf7;
  --card: #fff;
  --rail-line: #ebe2d1;
  --peach: #f9eee2;
  --peach-line: #f0e2cf;
  --peach-shadow: #ecdcc6;
  --sage: #eaf0dc;
  --sage-line: #dfe7cc;
  --sage-shadow: #dde6c9;
  --learner: #dfeccb;
  --card-line: #ece4d6;
  --card-shadow: #f1e9dc;
  --ink: #293e35;
  --text-2: #4c5747;
  --muted: #5f6655;
  --leaf: #55704a;
  --leaf-on-sage: #3f5a33;
  --warm: #8c5530;
  --primary: #3b6452;
  --primary-hover: #345b4a;
  --primary-shadow: #284a3c;
  --on-primary: #fffdf7;
  --pill-line: #cdd9bc;
  --accent: #cf582f;
  --r-card: 20px;
  --r-panel: 24px;
  --r-stage: 28px;
  --r-pill: 999px;
  --header: 68px;
  --font: "Nunito", Neo, "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mark: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p,
li,
summary,
h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
svg {
  flex: none;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 800;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fffdf7eb;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rail-line);
}
.site-header .wrap {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 36px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mark);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -1.6px;
  color: var(--ink);
}
.brand-period {
  color: var(--accent);
}
.site-nav a,
.login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}
.site-nav a:hover,
.login:hover {
  color: var(--primary);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.button.small {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 15px;
}
.primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 3px 0 var(--primary-shadow);
}
.primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--primary-shadow);
}
.primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--primary-shadow);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding-inline: 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--leaf-on-sage);
}
.text-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fine {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
  color: var(--muted);
}
.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 28px 8px;
}
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  align-items: center;
  gap: 56px;
  padding: 60px 56px 56px;
  background: var(--peach);
  border: 1px solid var(--peach-line);
  border-radius: var(--r-stage);
  box-shadow: 0 4px 0 var(--peach-shadow);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--warm);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.26;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero h1 span {
  color: var(--primary);
}
.hero .lead {
  margin-top: 22px;
  max-width: 470px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 30px;
}
.hero .fine {
  margin-top: 18px;
  max-width: 440px;
}

/* ---------- Product vignette ---------- */
.vignette {
  padding-top: 50px;
}
.vignette-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-panel);
  box-shadow: 0 4px 0 var(--card-shadow), 0 22px 44px -28px rgba(86, 62, 30, 0.35);
}
.vignette-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  border-bottom: 1px solid var(--card-line);
}
.kero {
  display: inline-block;
  flex: none;
  width: var(--size, 96px);
  aspect-ratio: 1;
  line-height: 0;
}
.kero img {
  display: block;
  width: 100%;
  height: 100%;
}
.kero-hero {
  --size: 112px;
  margin: -66px 0 -8px -4px;
}
.vignette-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.4;
}
.vignette-title strong {
  font-size: 17px;
  font-weight: 800;
}
.vignette-title span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.tag {
  margin-left: auto;
  flex: none;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--peach);
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.vignette-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 22px;
}
.pick {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--card-line);
  border-radius: var(--r-card);
  background: var(--canvas);
}
.pick-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
}
.pick-art > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.pick-play {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fffdf7f0;
  color: var(--primary);
}
.pick-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.pick-title {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.pick-why {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--leaf);
}
.bubble {
  max-width: 88%;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.mori-bubble {
  position: relative;
  align-self: flex-start;
  padding: 12px 46px 12px 16px;
  border: 1px solid var(--card-line);
  border-radius: 6px 20px 20px 20px;
  background: var(--card);
  box-shadow: 0 3px 0 var(--card-shadow);
}
/* The translation is a second face of the same bubble, never a new message. */
.mori-bubble.is-translated {
  background: var(--sage);
  border-color: var(--sage-line);
  box-shadow: 0 3px 0 var(--sage-shadow);
}
/* Both faces share one grid cell, so flipping never changes the bubble's size. */
.bubble-faces.is-ready {
  display: grid;
}
.bubble-faces.is-ready > p {
  grid-area: 1 / 1;
}
.bubble-faces.is-ready > p[aria-hidden="true"] {
  visibility: hidden;
}
.translate {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
}
/* Small on screen, comfortable to tap. */
.translate::after {
  content: "";
  position: absolute;
  inset: -4px;
}
.translate:focus-visible {
  outline-width: 2px;
  outline-offset: 1px;
  border-radius: 50%;
}
.translate:hover {
  background: var(--sage);
  color: var(--primary);
}
.translate[aria-pressed="true"] {
  background: var(--card);
  color: var(--primary);
}
.user-bubble {
  align-self: flex-end;
  padding: 12px 16px;
  border-radius: 20px 20px 6px 20px;
  background: var(--learner);
}
.vignette-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding-block: 84px 0;
}
.section-heading {
  max-width: 680px;
}
.section h2,
.closing h2 {
  font-size: clamp(27px, 2.6vw, 34px);
  line-height: 1.36;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-heading .lead {
  margin-top: 12px;
}

/* ---------- Find / understand / make it yours ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.step {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--r-panel);
  box-shadow: 0 4px 0 var(--card-shadow);
}
.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--leaf-on-sage);
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 900;
}
.step h3 {
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.step h3 + p {
  margin: 10px 0 22px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-2);
}
.chips,
.flip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--sage);
  color: var(--leaf-on-sage);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.5;
}
.chips .chip-add {
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--pill-line);
  color: var(--leaf);
}
.chips-note li {
  background: var(--peach);
  color: var(--warm);
}
.flip {
  gap: 10px;
  color: var(--leaf);
}
.flip span {
  padding: 6px 13px;
  border-radius: 6px 16px 16px 16px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.5;
}
.flip span:first-child {
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--card-line);
  color: var(--ink);
}
.flip span:last-child {
  background: var(--sage);
  color: var(--leaf-on-sage);
}

/* ---------- FAQ ---------- */
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--rail-line);
}
.faq-list details {
  border-bottom: 1px solid var(--rail-line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--primary);
}
.faq-list summary svg {
  color: var(--muted);
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list details p {
  max-width: 640px;
  padding: 0 4px 22px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-2);
}
.faq-list details p a {
  font-weight: 800;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Closing ---------- */
.closing {
  padding-block: 84px 72px;
}
.closing-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 32px 40px;
  text-align: center;
  background: var(--sage);
  border: 1px solid var(--sage-line);
  border-radius: var(--r-stage);
  box-shadow: 0 4px 0 var(--sage-shadow);
}
.kero-closing {
  --size: 104px;
}
.closing h2 {
  margin-top: 10px;
}
.closing .button {
  margin-top: 24px;
}
.closing .fine {
  margin-top: 16px;
  color: var(--leaf-on-sage);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rail-line);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 28px;
}
.site-footer .wordmark {
  font-size: 26px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--leaf);
}
.site-footer nav a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Motion: only for people who have not asked for less ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .button,
  .translate,
  .mori-bubble {
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out;
  }
  .faq-list summary svg {
    transition: transform 0.2s ease-out;
  }
  .hero-copy,
  .vignette {
    animation: arrive 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  .vignette {
    animation-delay: 0.08s;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 36px;
    padding: 48px 40px 44px;
  }
  .step {
    padding: 24px 22px 22px;
  }
  .chips {
    gap: 6px;
  }
  .chips li {
    padding: 5px 10px;
    font-size: 13px;
  }
  .faq .wrap {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 24px 40px;
  }
}
@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 40px 32px 36px;
  }
  .vignette {
    width: 100%;
  }
  .chips {
    gap: 8px;
  }
  .chips li {
    padding: 6px 13px;
    font-size: 13.5px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .step h3 + p {
    margin-bottom: 18px;
  }
  .faq .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding-top: 64px;
  }
  .closing {
    padding-block: 64px 56px;
  }
}
@media (max-width: 600px) {
  :root {
    --header: 60px;
  }
  .wrap {
    padding-inline: 16px;
  }
  .site-header .wrap {
    gap: 12px;
  }
  .site-nav {
    display: none;
  }
  .wordmark {
    font-size: 27px;
  }
  .header-actions {
    gap: 10px;
  }
  .hero {
    padding-top: 14px;
  }
  /* Narrow screens: let the stage use more of the width. */
  .hero .wrap {
    padding-inline: 12px;
  }
  .stage {
    gap: 14px;
    padding: 28px 18px 24px;
    border-radius: var(--r-panel);
  }
  .eyebrow {
    font-size: 13px;
  }
  .hero h1 {
    margin-top: 14px;
    font-size: 36px;
  }
  .hero .lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.75;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 6px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions .text-link {
    margin-inline: auto;
  }
  .hero .fine {
    margin-top: 10px;
  }
  .vignette {
    padding-top: 38px;
  }
  .kero-hero {
    --size: 86px;
    margin-top: -50px;
  }
  .tag-more {
    display: none;
  }
  .vignette-head {
    gap: 10px;
    padding: 12px 14px 12px 10px;
  }
  .vignette-title strong {
    font-size: 16px;
  }
  .vignette-body {
    gap: 12px;
    padding: 14px 14px 18px;
  }
  .pick {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
  .pick-title {
    font-size: 16px;
  }
  .pick-why {
    font-size: 12.5px;
  }
  .bubble {
    max-width: 94%;
    font-size: 15.5px;
  }
  .section {
    padding-top: 56px;
  }
  .steps {
    margin-top: 26px;
  }
  .faq-list summary {
    font-size: 16px;
  }
  .closing {
    padding-block: 56px 44px;
  }
  .closing-panel {
    padding: 32px 20px 30px;
    border-radius: var(--r-panel);
  }
  .closing .button {
    width: 100%;
  }
  .site-footer .wrap {
    padding-block: 14px 22px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 31px;
  }
  .login {
    display: none;
  }
  .pick {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }
  .pick-title {
    font-size: 15px;
  }
  .pick-pace {
    display: none;
  }
}
