:root {
  color-scheme: light;
  --background: #fbf8ff;
  --ink: #1e2347;
  --muted: #5b5d6b;
  --primary: #4f5bd5;
  --primary-hover: #3e48b3;
  --tint: #e0e2ff;
  --line: #dedce8;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.045em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 6px; border-radius: 4px; }
::selection { color: var(--ink); background: var(--tint); }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1; top: 8px; left: 16px; padding: 8px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; text-decoration: none; letter-spacing: -.04em; }
.brand img { border-radius: 10px; }
nav, .site-footer div { display: flex; align-items: center; gap: 28px; }
nav a, .site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
nav a { text-decoration: none; font-size: 14px; }
nav a[aria-current="page"] { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 80px 100px; }
.hero h1 { font-size: clamp(38px, 4.2vw, 56px); font-weight: 750; }
.hero-icon { margin-bottom: 24px; border-radius: 20px; }
.lead { margin-top: 28px; font-size: 18px; line-height: 1.85; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 32px; padding: 12px 24px; border-radius: 28px; color: white; background: var(--primary); text-decoration: none; font-size: 15px; font-weight: 650; }
.availability { margin-top: 20px; color: var(--muted); font-size: 13px; }
.widget-preview { width: min(100%, 450px); justify-self: end; padding-top: 12px; }
.preview-clock { width: 100%; }
.preview-pair { display: flex; align-items: flex-start; justify-content: center; gap: 26px; margin-top: 20px; }
.preview-polaroid { width: 42%; }
.preview-photo { width: 40%; margin-top: 16px; }
figcaption { margin-top: 24px; text-align: center; color: var(--muted); font-size: 12px; }
.screen-story { padding-bottom: 88px; --story-top: 0px; --story-height: calc(100vh - var(--story-top)); --story-height: calc(100svh - var(--story-top)); }
.story-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.story-screen { min-width: 0; }
.story-image { height: 520px; display: flex; justify-content: center; }
.story-image img { width: 100%; height: 100%; object-fit: contain; }
.story-screen figcaption { margin-top: 24px; font-size: 15px; }
.story-screen h2 { margin-block: 8px; color: var(--ink); font-size: 23px; }
.screen-count { font-size: 12px; }
.screen-story.is-measuring .story-stage { height: var(--story-height); }
.features { padding-block: 48px 88px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 48px; }
h2 { font-size: 32px; font-weight: 700; }
.section-heading p { max-width: 310px; color: var(--muted); }
.feature-row { display: grid; grid-template-columns: 1fr 1.65fr; gap: 48px; padding-block: 27px; border-top: 1px solid var(--line); }
.feature-row h3 { font-size: 20px; }
.feature-row p { max-width: 580px; color: var(--muted); }
.feature-note { margin-top: 28px; color: var(--muted); font-size: 13px; }
.privacy-note { background: #efedf6; }
.privacy-note-inner { display: grid; grid-template-columns: 1fr 1.65fr; gap: 48px; padding-block: 64px; }
.privacy-note p { max-width: 580px; color: var(--muted); }
.privacy-note p + p { margin-top: 14px; }
.text-link { display: inline-block; color: var(--primary); text-decoration-thickness: 1px; }
.privacy-note .text-link { margin-top: 20px; padding-block: 8px; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; column-gap: 40px; row-gap: 16px; padding-block: 32px; }
.site-footer div { margin-left: auto; }
.site-footer div a, .site-footer small { font-size: 13px; color: var(--muted); }
.site-footer small { flex-basis: 100%; }
.homepage .site-header { flex-wrap: wrap; padding-block: 12px; gap: 12px 24px; }
.main-navigation { margin-inline-start: auto; }
.language-switch { position: relative; font-size: 14px; }
.language-switch summary { min-height: 44px; padding: 10px 4px; cursor: pointer; }
.language-options { position: absolute; inset-inline-end: 0; top: 100%; z-index: 3; display: grid; width: min(260px, calc(100vw - 40px)); max-height: min(60svh, 440px); overflow-y: auto; padding: 8px; background: var(--background); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px #1e23471a; }
.language-options a { display: block; min-height: 44px; padding: 8px 12px; text-align: start; }
.language-options a[aria-current="page"] { font-weight: 700; text-decoration: underline; background: var(--tint); }
[dir="rtl"] .site-footer div { margin-left: 0; margin-inline-start: auto; }
@media (max-width: 600px) {
  .homepage .site-header { align-items: center; flex-direction: row; }
  .language-switch { flex-basis: 100%; }
  .language-options { inset-inline-start: 0; inset-inline-end: auto; }
  [dir="rtl"] .site-footer div { margin-inline-start: 0; }
}
.policy { max-width: 800px; padding-block: 52px 88px; }
.policy-heading { margin-bottom: 32px; }
.policy-heading .text-link { min-height: 44px; font-size: 14px; }
.policy h1 { margin-top: 20px; font-size: clamp(30px, 5vw, 44px); }
.policy-heading p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.policy-intro { padding-bottom: 32px; border-bottom: 1px solid var(--line); font-size: 18px; }
.policy section { margin-top: 40px; }
.policy h2 { margin-bottom: 14px; font-size: 23px; }
.policy section p + p { margin-top: 14px; }
.policy ul { padding-left: 22px; margin-block: 16px; }
.policy li + li { margin-top: 10px; }
.policy section a { color: var(--primary); }
@media (hover: hover) {
  nav a:hover, .site-footer a:hover { text-decoration: underline; }
  .button:hover { background: var(--primary-hover); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 84px; gap: 12px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 32px; }
  nav, .site-footer div { gap: 16px; }
  nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 64px; }
  .hero h1 { font-size: clamp(35px, 7.5vw, 48px); }
  .lead { margin-top: 24px; font-size: 16px; }
  .lead br { display: none; }
  .widget-preview { width: min(90%, 420px); justify-self: center; padding: 0; }
  .section-heading { display: block; padding-bottom: 32px; }
  h2 { font-size: 28px; }
  .section-heading p { margin-top: 20px; }
  .feature-row { grid-template-columns: 1fr; gap: 12px; }
  .privacy-note-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; }
  .site-footer { gap: 12px 24px; }
  .site-footer div { flex-basis: 100%; margin-left: 0; }
  .policy { padding-block: 36px 64px; }
  .policy-intro { font-size: 17px; }
}
@media (max-width: 360px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 16px; }
}
@media (max-width: 600px) {
  .screen-story { padding-bottom: 64px; }
  .story-stage { grid-template-columns: 1fr; gap: 48px; }
  .story-screen { width: min(100%, 360px); margin-inline: auto; }
  .story-image { height: auto; }
  .story-image img { width: 100%; height: auto; }
  .homepage.story-enhanced .site-header { position: sticky; top: 0; z-index: 2; background: var(--background); }
  .screen-story.is-pinned { height: calc(var(--story-height) * var(--story-steps)); padding-bottom: 0; }
  .is-pinned .story-stage { position: sticky; top: var(--story-top); height: var(--story-height); display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 16px 24px; }
  .is-pinned .story-screen { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 140ms ease-out; }
  .is-pinned .story-screen.is-active { opacity: 1; visibility: visible; }
  .is-pinned .story-image { height: var(--story-image-height); flex-shrink: 0; }
  .is-pinned .story-image img { width: 100%; height: 100%; object-fit: contain; }
  .is-pinned .story-screen figcaption { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-pinned .story-screen { transition: none; }
}
