/* Layout: one 1120px column; hero splits text / two phones, each product owns a full-width colored band with its real screens in a row. */
:root {
  --bg: #F6F8F7;
  --surface: #FFFFFF;
  --ink: #15201E;
  --muted: #55625F;
  --line: #DAE2DF;
  --teal: #1E7F74;
  --teal-ink: #165F57;
  --teal-band: #E3EFEC;
  --amber: #C9811A;
  --amber-band: #FBF1DF;
  --shadow: rgba(21, 32, 30, 0.14);
  --on-teal: #FFFFFF;
  --sans: "Schibsted Grotesk", "Gothic A1", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ko: "Gothic A1", "Schibsted Grotesk", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1514; --surface: #151F1D; --ink: #E6EEEC; --muted: #9DAEAA; --line: #263532;
    --teal: #5EC1B3; --teal-ink: #8FD6CB; --teal-band: #132623; --amber: #F0B45A; --amber-band: #231C10;
    --shadow: rgba(0, 0, 0, 0.45); --on-teal: #0E1514;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1514; --surface: #151F1D; --ink: #E6EEEC; --muted: #9DAEAA; --line: #263532;
  --teal: #5EC1B3; --teal-ink: #8FD6CB; --teal-band: #132623; --amber: #F0B45A; --amber-band: #231C10;
  --shadow: rgba(0, 0, 0, 0.45); --on-teal: #0E1514;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line) var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
html[lang="ko"] body { font-family: var(--ko); font-size: 16.5px; line-height: 1.75; word-break: keep-all; }
::selection { background: var(--teal); color: var(--on-teal); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; line-height: 1.15; }
p { text-wrap: pretty; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }

/* Header */
.top { padding-block: 22px; }
.top .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13.5px; font-weight: 600; }
.lang a, .lang span { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang span { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { padding-block: 56px 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
html[lang="ko"] .hero h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.03em; line-height: 1.2; font-weight: 800; }
.hero .lede { margin-top: 24px; max-width: 34em; color: var(--muted); font-size: 18.5px; }
html[lang="ko"] .hero .lede { font-size: 17.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; border: 1px solid var(--line); background: var(--surface);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.btn svg { width: 15px; height: 15px; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.stage { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 26px; min-height: 520px; }
.stage figure:first-child { transform: rotate(-2.5deg); }
.stage figure:last-child { transform: rotate(2deg) translateY(44px); }
.stage figcaption { text-align: center; }

/* Phone frame */
.phone { width: 236px; flex: none; }
.phone .screen {
  aspect-ratio: 390 / 720; overflow: hidden; border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); background: var(--surface);
  box-shadow: 0 18px 40px -12px var(--shadow), 0 4px 10px -4px var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.phone figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.phone figcaption b { display: block; color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .stage figure { animation: settle 1.1s cubic-bezier(.16,1,.3,1) both; }
  .stage figure:last-child { animation-delay: .12s; }
  @keyframes settle { from { translate: 0 18px; rotate: 0deg; filter: blur(2px); } }
}

/* Sections */
section { padding-block: 88px; }
.band-plain { border-top: 1px solid var(--line); }
.band-teal { background: var(--teal-band); }
.band-amber { background: var(--amber-band); }
h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; }
html[lang="ko"] h2 { font-size: clamp(27px, 3.2vw, 36px); font-weight: 800; }
.intro { max-width: 40em; margin-top: 18px; color: var(--muted); font-size: 18px; }
html[lang="ko"] .intro { font-size: 17px; }
.intro + .intro { margin-top: 14px; }

/* Story timeline */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.timeline time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--teal-ink); font-size: 15px; padding-top: 2px; }
.timeline p { color: var(--ink); }
.timeline p span { color: var(--muted); }

/* Products */
.product { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.product h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; }
.product h2 small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.product p.desc { margin-top: 16px; color: var(--muted); max-width: 30em; }
.product p.desc + p.desc { margin-top: 12px; }
.product .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 600; color: var(--teal-ink); text-decoration: none; }
.band-amber .product .more { color: var(--amber); }
.product .more:hover { text-decoration: underline; }
.product .more svg { width: 14px; height: 14px; }
.screens { display: flex; gap: 22px; justify-content: flex-end; }
.screens .phone { width: 210px; }
.screens .phone:nth-child(2) { margin-top: 36px; }
.screens .phone:nth-child(3) { margin-top: 72px; }
.screens .screen.tall { aspect-ratio: 640 / 1385; }
.screens.proto .screen { aspect-ratio: 520 / 990; border-radius: 26px; }

/* Boundaries */
.limits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; }
.limits ul { list-style: none; border-top: 1px solid var(--line); }
.limits li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.limits li b { display: block; font-weight: 600; }
.limits li span { color: var(--muted); }

/* Build */
.build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.build .body p { color: var(--ink); }
.build .body p + p { margin-top: 16px; }
.build .body p.plan { color: var(--muted); }
.stack { margin-top: 22px; font-size: 14.5px; color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.founder { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.founder .name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.founder .role { color: var(--teal-ink); font-weight: 600; font-size: 14.5px; margin-top: 2px; }
.founder p { margin-top: 12px; color: var(--muted); }
.teams { list-style: none; border-top: 1px solid var(--line); }
.teams li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.teams b { font-weight: 600; }
.teams span { color: var(--muted); }

/* Contact + footer */
.contact { padding-block: 96px; background: var(--ink); color: var(--bg); }
.contact h2 { color: var(--bg); max-width: 18em; }
.contact .row { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; align-items: baseline; }
.contact .mail { font-size: clamp(22px, 3vw, 30px); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--bg) 40%, transparent); text-underline-offset: 6px; }
.contact dl { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; }
.contact dt { display: inline; opacity: .65; margin-right: 6px; }
.contact dd { display: inline; }
.contact ::selection { background: var(--bg); color: var(--ink); }
footer { padding-block: 26px 40px; background: var(--ink); color: color-mix(in srgb, var(--bg) 65%, transparent); font-size: 13.5px; border-top: 1px solid color-mix(in srgb, var(--bg) 14%, transparent); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .story, .product, .limits, .build, .team { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .screens { justify-content: flex-start; }
  .stage { min-height: 0; padding-bottom: 40px; }
}
@media (max-width: 720px) {
  .top nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-block: 28px 56px; }
  section { padding-block: 64px; }
  .screens { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; scrollbar-width: none; }
  .screens .phone { width: 188px; scroll-snap-align: start; }
  .screens .phone:nth-child(n) { margin-top: 0; }
  .stage .phone { width: 46%; max-width: 210px; }
  .timeline li, .teams li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 420px) {
  .wrap { padding-inline: 16px; }
  .screens { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .stage { gap: 14px; }
  .stage figure:last-child { transform: rotate(2deg) translateY(28px); }
}
