:root {
  color-scheme: light;
  --ink: #172020;
  --muted: #687675;
  --line: #e7eceb;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --teal: #176466;
  --mint: #22bfc0;
  --red: #e93747;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: #edf3f2; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34,191,192,.12), transparent 34%), linear-gradient(145deg,#f9fbfb,#eaf2f1);
  color: var(--ink);
  font-family: Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 0; }
.screen {
  position: relative;
  width: min(100%,430px);
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--paper);
}
.view { position: absolute; inset: 0; display: flex; flex-direction: column; }
.content-view { opacity: 1; }
.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px,env(safe-area-inset-top)) 20px 12px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: #202626;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.065em;
}
.wordmark-dr { color: #6a7372; font-weight: 700; }
.wordmark strong { font-weight: 900; }
.wordmark i { width: 6px; height: 6px; margin-left: 2px; border-radius: 50%; background: var(--red); }
.content-topbar { position: relative; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.icon-button {
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
  border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-button svg { width: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover { border-color: var(--line); background: var(--soft); }
.content-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbd6d4 transparent; }
.video-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  height: min(760px,calc(100svh - 64px));
  min-height: 440px;
  max-height: 760px;
  overflow: hidden;
  background: #f6f8f8;
}
.video-hero video { width: 100%; height: 100%; display: block; object-fit: contain; background: #f6f8f8; }
.video-sound-button {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px;
  border: 1px solid rgba(23,100,102,.2); border-radius: 999px; background: rgba(255,255,255,.94);
  box-shadow: 0 10px 30px rgba(20,70,70,.16); color: var(--teal); font-size: 12px; font-weight: 800;
  backdrop-filter: blur(12px); cursor: pointer; transform: translateX(-50%); transition: opacity 180ms ease,transform 180ms ease;
}
.video-sound-button svg { width: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.video-sound-button.hidden { opacity: 0; pointer-events: none; transform: translate(-50%,8px); }
.brand-intro { padding: 38px 24px 32px; }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-size: 9px; font-weight: 900; letter-spacing: .19em; }
.brand-intro h1,.story-card h2 { margin: 0; font-weight: 800; letter-spacing: -.055em; word-break: keep-all; }
.brand-intro h1 { font-size: 30px; line-height: 1.32; }
.brand-intro>p:last-child,.story-card p { color: var(--muted); font-size: 13px; line-height: 1.82; word-break: keep-all; }
.brand-intro>p:last-child { margin: 18px 0 0; }
.story-card {
  margin: 0 20px 24px; padding: 26px 22px; border: 1px solid #dce8e6; border-radius: 18px;
  background: radial-gradient(circle at 100% 0,rgba(34,191,192,.12),transparent 44%),#f8fbfa;
}
.story-card>span { display: block; margin-bottom: 13px; color: var(--mint); font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.story-card h2 { font-size: 21px; line-height: 1.42; }
.story-card p { margin: 14px 0 20px; }
.story-card a {
  min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  border-radius: 12px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none;
}
footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px calc(30px + env(safe-area-inset-bottom)); color: #9aa5a3; }
footer strong { color: #66706f; font-size: 11px; }
footer span { font-size: 9px; }
.toast {
  position: absolute; z-index: 10; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); margin: 0; padding: 9px 14px;
  border: 1px solid #d8e4e2; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(20,60,60,.14);
  color: var(--ink); font-size: 11px; opacity: 0; transform: translate(-50%,8px); pointer-events: none; transition: opacity 180ms ease,transform 180ms ease;
}
.toast.visible { opacity: 1; transform: translate(-50%,0); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
@media (min-width: 640px) {
  .shell { padding: 28px; }
  .screen { height: min(860px,calc(100vh - 56px)); min-height: 620px; border: 1px solid #dfe8e7; border-radius: 28px; box-shadow: 0 28px 90px rgba(29,75,75,.18); }
  .video-hero { height: min(760px,calc(100vh - 120px)); }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
