@font-face { font-family: "Gowun Batang"; src: url("/fonts/batang-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gowun Batang"; src: url("/fonts/batang-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gowun Dodum"; src: url("/fonts/dodum-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #F6F1E7;
  --paper-2: #EFE6D3;
  --ink: #2B2A26;
  --ink-2: #57524A;
  --jade: #3E6B5A;
  --jade-deep: #2E5144;
  --verm: #B5482F;
  --orange: #E8A35C;
  --peach: #F2D3B3;
  --line: #D9CDB6;
  --serif: "Gowun Batang", "Noto Serif KR", Georgia, serif;
  --sans: "Gowun Dodum", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --measure: 62ch;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
}
::selection { background: var(--peach); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--verm); }
:focus-visible { outline: 2.5px solid var(--verm); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: .6em 1em; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 2rem;
  padding: .8rem clamp(1.2rem, 4vw, 3rem);
  background: rgb(246 241 231 / .92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgb(217 205 182 / .6);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand img { border-radius: 10px; }
.top nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: .98rem; }
.top nav a:hover { color: var(--ink); }
.top-cta { color: var(--paper); background: var(--ink); padding: .55rem 1rem; border-radius: 999px; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.top-cta:hover { background: var(--jade-deep); color: var(--paper); }
@media (max-width: 760px) { .top nav { display: none; } .top-cta { margin-left: auto; } }

main > section { scroll-margin-top: 4.5rem; padding: clamp(4rem, 9vw, 7.5rem) clamp(1.2rem, 5vw, 4rem); }
.section-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { margin-top: 1rem; color: var(--ink-2); font-size: 1.12rem; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
  max-width: 76rem; margin: 0 auto;
  padding-top: clamp(3rem, 7vw, 6rem) !important;
}
.hero .ko { font-family: var(--serif); font-size: 1.35rem; color: var(--jade); margin-top: 1rem; }
.lede { margin-top: 1.4rem; max-width: var(--measure); font-size: 1.15rem; color: var(--ink-2); }
.hero-art { position: relative; margin: 0; display: grid; place-items: center; min-height: 26rem; }
.hero-art img { position: relative; width: min(64%, 17rem); filter: drop-shadow(0 18px 24px rgb(43 42 38 / .14)); }
.breath {
  position: absolute; width: min(92%, 25rem); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(232 163 92 / .28), rgb(232 163 92 / .10) 58%, transparent 70%);
  box-shadow: inset 0 0 0 1.5px rgb(232 163 92 / .55);
  animation: breathe 10s var(--ease) infinite;
}
/* In for four, out for six: the same breath as the app */
@keyframes breathe {
  0% { transform: scale(.82); }
  40% { transform: scale(1); }
  100% { transform: scale(.82); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-copy { max-width: 36rem; margin: 0 auto; }
  .hero-art { order: -1; min-height: 18rem; }
  .hero-art img { width: 9.5rem; }
  .breath { width: 16rem; }
}

/* Signup */
.join { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; max-width: 34rem; }
.join input {
  flex: 1 1 12rem; min-width: 0; min-height: 3.25rem; padding: 0 1.1rem;
  font: inherit; color: var(--ink); background: #FFFDF8;
  border: 1.5px solid var(--line); border-radius: 999px;
}
.join input::placeholder { color: #8C8476; }
.join input:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 4px rgb(62 107 90 / .16); }
.join input[aria-invalid="true"] { border-color: var(--verm); }
.join button {
  min-height: 3.25rem; padding: 0 1.4rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1rem var(--sans); color: var(--paper); background: var(--verm);
  box-shadow: 0 6px 16px -6px rgb(181 72 47 / .55);
  transition: transform .2s var(--ease), background .2s;
}
.join button:hover { background: #9E3C26; transform: translateY(-1px); }
.join button:disabled { opacity: .6; cursor: progress; transform: none; }
.form-note { flex-basis: 100%; font-size: .92rem; color: var(--ink-2); }
.form-note.ok { color: var(--jade-deep); font-weight: 700; }
.form-note.err { color: var(--verm); }

/* Free practices */
.free { background: var(--paper-2); }
.practice {
  max-width: 64rem; margin: 0 auto; display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center; padding: 2.75rem 0; border-top: 1px solid var(--line);
}
.practice:first-of-type { border-top: 0; }
.practice h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.practice h3 span { font-size: .55em; color: var(--jade); margin-left: .4em; letter-spacing: .02em; }
.practice p { margin-top: .8rem; max-width: var(--measure); font-size: 1.08rem; color: var(--ink-2); }
.practice-art { max-height: 16rem; width: auto; margin: 0 auto; filter: drop-shadow(0 12px 18px rgb(43 42 38 / .12)); }
.bows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem .75rem; align-items: end; }
.bows img { width: 100%; height: 6.5rem; object-fit: contain; object-position: bottom; }
.letgo { margin-top: 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.letgo p { margin-top: 0; }
.paper {
  display: grid; gap: .35rem; padding: 1rem 1.2rem; min-width: 14rem;
  background: #FFFDF8; color: var(--ink); font-size: .95rem;
  border-radius: 6px; box-shadow: 0 10px 22px -10px rgb(43 42 38 / .35);
  transform: rotate(-3deg);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.paper span { border-bottom: 1px solid var(--line); padding-bottom: .2rem; }
.letgo:hover .paper { transform: translate(14px, -26px) rotate(7deg); opacity: .55; }
@media (max-width: 720px) {
  .practice { grid-template-columns: 1fr; }
  .practice-art { max-height: 11rem; margin: 0; }
  .letgo { grid-template-columns: 1fr; }
  .paper { justify-self: start; }
}

/* Plus */
.plus { max-width: 72rem; margin: 0 auto; }
.plus-list { list-style: none; padding: 0; margin: 0 auto; max-width: 64rem; columns: 2 22rem; column-gap: 3.5rem; }
.plus-list li { break-inside: avoid; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.plus-list h3 { font-size: 1.3rem; }
.plus-list p { margin-top: .35rem; color: var(--ink-2); }

.compare-wrap { max-width: 52rem; margin: 4rem auto 0; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; background: #FFFDF8; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 30px -18px rgb(43 42 38 / .35); }
.compare caption { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; text-align: left; padding-bottom: 1rem; }
.compare th, .compare td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--paper-2); text-align: left; }
.compare thead th { background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 700; }
.compare thead th:nth-child(3) { background: var(--jade-deep); }
.compare td { text-align: center; width: 6.5rem; }
.compare tbody th { font-weight: 400; }
.compare tr.gap th, .compare tr.gap td { border-top: 2px solid var(--line); }
.compare td:nth-child(3) { background: rgb(62 107 90 / .07); }
.yes { width: 22px; height: 22px; color: var(--jade); vertical-align: middle; }
.no { color: #A39A8A; }

/* Pricing */
.pricing { background: var(--ink); color: var(--paper); }
.pricing .section-head p { color: #CFC5B2; }
.plans { max-width: 70rem; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #44413A; border-radius: 20px; overflow: hidden; }
.plan { background: #34322D; padding: 2rem 1.6rem; }
.plan h3 { font-size: 1.2rem; color: var(--peach); }
.plan .tag { display: inline-block; margin-left: .5rem; padding: .1rem .55rem; border-radius: 999px; background: var(--peach); color: var(--jade-deep); font: 700 .78rem var(--sans); vertical-align: middle; }
.plan .price { font-family: var(--serif); font-size: 2.3rem; font-weight: 700; margin: .5rem 0 .8rem; font-variant-numeric: tabular-nums; }
.plan .price span { font-size: .95rem; font-family: var(--sans); font-weight: 400; color: #CFC5B2; }
.plan p:last-child { color: #DCD3C2; font-size: .98rem; }
.plan.featured { background: var(--jade-deep); }
.plan.featured h3 { color: #fff; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }

/* Promise */
.promise { max-width: 64rem; margin: 0 auto; padding-bottom: clamp(2rem, 5vw, 3.5rem) !important; }
.promise h2 { max-width: 30rem; }
.promise dl { margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3.5rem; }
.promise dt { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.promise dd { margin: .3rem 0 0; color: var(--ink-2); }
@media (max-width: 680px) { .promise dl { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 46rem; margin: 0 auto; padding-top: clamp(2rem, 5vw, 3.5rem) !important; }
.faq h2 { margin-bottom: 1.6rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
  transition: color .2s;
}
.faq summary:hover { color: var(--jade-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--jade); border-bottom: 2px solid var(--jade); transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-2); max-width: var(--measure); }

/* Final signup */
.join-section {
  max-width: 64rem; margin: 0 auto clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 11rem 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  background: var(--peach); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem) !important;
}
.join-section img { max-height: 15rem; width: auto; margin: 0 auto; }
.join-section p { margin-top: .7rem; color: #4E4236; }
.join-section .join input { background: #FFFDF8; border-color: #E3BFA0; }
@media (max-width: 680px) { .join-section { grid-template-columns: minmax(0, 1fr); margin-left: 1rem; margin-right: 1rem; } .join-section img { max-height: 9rem; margin: 0; } }

/* Footer */
.foot { padding: 2.5rem clamp(1.2rem, 5vw, 4rem) 3rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: center; color: var(--ink-2); font-size: .95rem; }
.foot p { margin: 0; }
.foot p:first-child { display: flex; align-items: center; gap: .5rem; }
.foot p:first-child { font-family: var(--serif); font-weight: 700; color: var(--ink); }
.foot img { border-radius: 8px; }
.foot .small { flex-basis: 100%; font-size: .85rem; color: #6B6358; }

/* Privacy page */
.doc { max-width: 44rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1.25rem 5rem; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.doc p, .doc li { color: var(--ink-2); max-width: var(--measure); }
.doc p { margin-top: .8rem; }
.doc ul { padding-left: 1.2rem; }
.doc .updated { color: #6B6358; margin-top: .6rem; }

@media (max-width: 560px) {
  .compare { font-size: .95rem; }
  .compare th, .compare td { padding: .75rem .7rem; }
  .compare td { width: 3.6rem; }
  .practice h3 span { display: block; margin: .2rem 0 0; }
}
/* The Let go paper also drifts on tap for touch screens */
.letgo:active .paper { transform: translate(14px, -26px) rotate(7deg); opacity: .55; }
.letgo { -webkit-tap-highlight-color: transparent; }
.top-cta, .join button { -webkit-tap-highlight-color: transparent; }
