:root {
  --ink: #111111;
  --secondary: #57575E;
  --paper: #F7F8F5;
  --paper-muted: #64686B;
  --paper-rule: #D8DCD5;
  --accent: #E9F056;
  --data-light: #529418;
  --dark-canvas: #000000;
  --card: #161618;
  --recessed: #0E0E10;
  --ink-dark: #F5F5F7;
  --sec-dark: #B8B8BF;
  --hairline-dark: rgba(255, 255, 255, 0.085);
  --float-dark: rgba(255, 255, 255, 0.14);
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  line-height: 1.5;
}

html:lang(ja) {
  --display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  line-break: strict;
  word-break: auto-phrase;
}

html:lang(zh-Hans) {
  --display: ui-rounded, "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", -apple-system, sans-serif;
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

html:lang(zh-Hant) {
  --display: ui-rounded, "SF Pro Rounded", "PingFang TC", "Hiragino Sans CNS", "Noto Sans CJK TC", "Microsoft JhengHei", -apple-system, sans-serif;
  font-family: ui-rounded, "SF Pro Rounded", "PingFang TC", "Hiragino Sans CNS", "Noto Sans CJK TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

html:lang(ko) {
  --display: ui-rounded, "SF Pro Rounded", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", -apple-system, sans-serif;
  font-family: ui-rounded, "SF Pro Rounded", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  word-break: keep-all;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.dark a:focus-visible { outline-color: var(--accent); }
.skip { position: fixed; left: 1rem; top: -5rem; padding: .6rem 1rem; background: var(--accent); color: var(--ink); font-weight: 700; border-radius: 999px; z-index: 40; }
.skip:focus { top: 1rem; }
h1, h2, h3, p { margin: 0; }

.display, .card h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
:lang(ja) .display, :lang(ja) .card h3, :lang(ja) .brand { letter-spacing: 0; }

.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; display: block; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.top nav > a { text-decoration: none; padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.top nav > a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 92px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--data-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--data-light);
}
.hero h1 { font-size: clamp(54px, 6.4vw, 88px); margin-bottom: 20px; text-wrap: balance; }
.hero h1 em {
  font-style: normal;
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 0.02em 0.14em 0.04em;
  border-radius: 0.18em;
  line-height: 0.98;
}
:lang(ja) .hero h1 em,
:lang(zh-Hans) .hero h1 em,
:lang(zh-Hant) .hero h1 em,
:lang(ko) .hero h1 em {
  line-height: 1.12;
  padding: 0.04em 0.12em 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.intro {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--secondary);
  max-width: 450px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--paper-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 12px 24px 12px 20px;
  min-height: 52px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.18s ease, transform 0.18s ease;
}
.badge svg { width: 20px; height: 24px; fill: currentColor; flex: none; }
.badge span { display: block; line-height: 1.05; text-align: left; }
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.82; }
.badge b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
a.badge:hover { color: #FFFFFF; background: #222225; }

.art { position: relative; width: 100%; aspect-ratio: 520 / 680; }
.art > * { position: absolute; }
.phone {
  background: #101012;
  border-radius: 44px;
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 32px 68px -24px rgba(0, 0, 0, 0.36);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 36px; }
.art .phone { left: 18%; top: 0; width: 60%; z-index: 2; }
.float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 52px -16px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(17, 17, 17, 0.08);
}
.float-ticket { right: -3%; top: 10%; width: 47%; z-index: 4; }
.float-ticket img { border-radius: 22px; }
.float-dogs { left: -4%; bottom: 8%; width: 52%; z-index: 5; }
.float-dogs img { border-radius: 22px; }

.dark {
  background: var(--dark-canvas) url(/assets/contour-dark.svg) center/cover no-repeat;
  color: var(--ink-dark);
  padding: 112px 32px 116px;
}
.dark h2 {
  font-size: clamp(38px, 5vw, 68px);
  max-width: 780px;
  margin: 0 auto 16px;
  text-align: center;
  text-wrap: balance;
}
.sub {
  text-align: center;
  color: var(--sec-dark);
  font-size: clamp(16px, 1.45vw, 19px);
  margin: 0 auto 60px;
  max-width: 600px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card.ambient {
  background: radial-gradient(circle at 12% 8%, rgba(233, 240, 86, 0.12) 0%, rgba(233, 240, 86, 0.025) 45%, rgba(233, 240, 86, 0) 76%), var(--card);
}
.k {
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card h3 { font-size: clamp(22px, 2.1vw, 29px); line-height: 1.15; margin-bottom: 10px; color: var(--ink-dark); }
.card p:not(.k) { color: var(--sec-dark); font-size: 15px; line-height: 1.55; }
.free-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(233, 240, 86, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.shot-frame {
  margin-top: 22px;
  background: var(--recessed);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
}
.shot { display: block; width: 100%; height: auto; }

.tall { grid-row: span 2; }
.tall .phone {
  width: min(100%, 282px);
  margin: 28px auto -130px;
  box-shadow: 0 0 0 1px var(--float-dark);
}
.span2 { grid-column: span 2; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
  gap: 24px;
  align-items: center;
}
.split.split-watch {
  grid-template-columns: minmax(0, 1fr) auto;
}
.split .shot-frame { margin-top: 0; }

.watch-trio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}
.watch-trio .w-shot {
  width: 112px;
  height: auto;
  aspect-ratio: 1 / 1;
  flex: none;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
}
.watch-trio .watch-img {
  width: 118px;
  height: auto;
  flex: none;
  display: block;
}

.langs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.langs li {
  background: var(--recessed);
  border: 1px solid var(--hairline-dark);
  color: var(--ink-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
}

.free {
  max-width: 660px;
  margin: 56px auto 0;
  text-align: center;
  color: var(--sec-dark);
  font-size: 15.5px;
  line-height: 1.65;
}
.free strong { display: block; color: var(--ink-dark); font-size: 19px; margin-bottom: 6px; }

.cta {
  background: var(--accent) url(/assets/contour-cta.svg) center/cover no-repeat;
  color: var(--ink);
  text-align: center;
  padding: 108px 24px;
}
.cta h2 {
  font-size: clamp(40px, 6.2vw, 84px);
  margin: 0 auto 30px;
  max-width: 840px;
  text-wrap: balance;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 32px 42px;
  color: var(--paper-muted);
  font-size: 13.5px;
  border-top: 1px solid var(--paper-rule);
}
.notes { max-width: 720px; margin: 0 auto 24px; text-align: center; font-size: 13px; line-height: 1.6; }
.notes p + p { margin-top: 6px; }
.notes a { color: inherit; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 14px; }
.footer nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.footer nav a:hover { text-decoration: underline; }
.footer > p { text-align: center; }

.lang-switch { position: relative; font-size: 14.5px; font-weight: 600; }
.lang-switch summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 0 0 2px;
  border: solid currentColor;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.lang-switch[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.lang-switch summary:hover, .lang-switch[open] summary { background: rgba(17, 17, 17, 0.06); }
.lang-switch svg { width: 17px; height: 17px; flex: none; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 176px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.22);
}
.top .lang-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.top .lang-menu a:hover { text-decoration: none; background: rgba(17, 17, 17, 0.06); }
.top .lang-menu a[aria-current] { background: var(--accent); color: var(--ink); font-weight: 700; }
.lang-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: inherit; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tall { grid-row: auto; }
  .tall .phone { margin-bottom: -150px; }
  .span2 { grid-column: span 2; }
  .split { grid-template-columns: minmax(0, 1fr) 260px; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 16px 24px 56px; gap: 32px; }
  .art { width: min(100%, 400px); margin: 0 auto; }
  .hero h1 { font-size: clamp(46px, 13vw, 72px); margin-bottom: 16px; }
  .intro { margin-bottom: 24px; }
}

@media (max-width: 700px) {
  .top { padding: 14px 20px; }
  .top nav { gap: 4px; }
  .top nav > a { padding: 10px 8px; }
  .dark { padding: 72px 18px 80px; }
  .sub { margin-bottom: 40px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .split, .split.split-watch { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .card { padding: 24px; border-radius: 24px; }
  .tall .phone { width: min(76%, 260px); margin-bottom: -110px; }
  .watch-trio { justify-content: flex-start; gap: 10px; }
  .watch-trio .w-shot { width: 92px; height: auto; border-radius: 20px; }
  .watch-trio .watch-img { width: 96px; height: auto; }
  .cta { padding: 76px 20px; }
  .free { margin-top: 40px; }
  .footer { padding: 28px 20px 32px; }
  .float img { border-radius: 18px; }
  .float-ticket { right: 0; top: 8%; width: 46%; }
  .float-dogs { left: 0; bottom: 5%; width: 54%; }
}
