:root {
  color-scheme: light;
  --ink: #4e4031;
  --muted: #806b58;
  --line: #6b5842;
  --paper: #fff8e9;
  --white: #fffdf8;
  --sea: #d9f3f5;
  --sea-deep: #a9dfe3;
  --sage: #e3ebcb;
  --peach: #f6ded1;
  --page: #f7fbf8;
  --shadow: 0 18px 50px rgb(78 64 49 / 10%);
  font-family: Inter, Pretendard, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--page); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  min-height: 74px;
  margin-inline: auto;
}

.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 850; letter-spacing: -.03em; }
.brand-mark {
  display: block;
  width: 38px;
  height: 30px;
  background: var(--ink);
  -webkit-mask: url("/assets/sudali/head.png") center / 52px 52px no-repeat;
  mask: url("/assets/sudali/head.png") center / 52px 52px no-repeat;
}
.site-header nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 700; }
.site-header nav a:hover { color: var(--ink); }
.language-toggle {
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  min-height: 650px;
  padding: 56px 0 76px;
  gap: 54px;
}
.hero-copy { min-width: 0; max-width: 100%; }
.eyebrow, .kicker { margin: 0 0 18px; color: #67734b; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #8ca45c; box-shadow: 0 0 0 5px rgb(140 164 92 / 15%); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(45px, 5.6vw, 75px); line-height: 1.05; letter-spacing: -.065em; }
.hero h1, .section-heading h2 { white-space: pre-line; }
.hero-description { max-width: 520px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-adopt-button {
  width: 232px;
  flex: 0 0 232px;
  gap: 10px;
  white-space: nowrap;
  word-break: keep-all;
}
.platform-button-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.platform-button-icon.apple-icon { width: 18px; height: 21px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #3d3127; }
.button-quiet { background: var(--paper); }
.button-disabled { border-color: #b8aa9b; background: #eee9e0; color: #9a8d80; cursor: not-allowed; }
.button-disabled:hover { transform: none; }
.button.full { width: 100%; }
.microcopy { margin: 16px 0 0; color: #9a8876; font-size: 12px; line-height: 1.6; }

.hero-visual { position: relative; min-width: 0; padding: 72px 0 30px; }
.otter-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1672 / 321;
  border-bottom: 2px solid var(--line);
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(to bottom, #f7fcfb 0 72%, var(--sea) 72% 100%);
  box-shadow: var(--shadow);
}
#otter-canvas { display: block; width: 100%; height: 100%; }
.otter-stage noscript img { position: absolute; width: 44%; left: 28%; bottom: -20%; }
.preview-note {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 10%;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-2deg);
}
.preview-note i {
  position: absolute;
  right: 22px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--paper);
  transform: rotate(45deg);
}
.activity-pill {
  position: absolute;
  right: 7%;
  bottom: 0;
  padding: 9px 13px;
  border: 1.5px solid #78875b;
  border-radius: 999px;
  background: var(--sage);
  color: #52603c;
  font-size: 11px;
  font-weight: 800;
}

.section { padding: 110px 0; }
.section-heading { max-width: 680px; }
.section-heading.centered { margin: 0 auto 44px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(35px, 4.4vw, 56px); line-height: 1.12; letter-spacing: -.055em; }
.section-heading > p:not(.kicker) { margin: 18px 0 0; color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 46px; }
.feature-card { min-height: 265px; padding: 24px; border: 2px solid var(--line); border-radius: 22px; }
.card-mint { background: var(--sage); transform: rotate(-1deg); }
.card-cream { background: var(--paper); transform: translateY(12px) rotate(.5deg); }
.card-blue { background: var(--sea); transform: rotate(-.5deg); }
.card-peach { background: var(--peach); transform: translateY(8px) rotate(1deg); }
.feature-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / 45%); font-size: 20px; font-weight: 900; }
.feature-card h3 { margin: 42px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.download-section { position: relative; background: var(--sea); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.download-card { position: relative; padding: 28px; border: 2px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 8px 8px 0 rgb(78 64 49 / 10%); }
.download-card.recommended { background: var(--paper); }
.recommend-label, .coming-label { display: inline-flex; margin-bottom: 20px; padding: 6px 10px; border-radius: 999px; background: var(--sage); color: #52603c; font-size: 10px; font-weight: 900; letter-spacing: .03em; }
.coming-label { background: #eee9e0; color: #897b6d; }
.platform-heading { display: flex; align-items: center; gap: 14px; }
.platform-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 2px solid var(--line); border-radius: 16px; background: var(--white); font-size: 27px; line-height: 1; }
.platform-icon.apple svg { width: 25px; height: 27px; fill: currentColor; }
.platform-heading h3 { margin: 0 0 2px; font-size: 24px; }
.platform-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.platform-description { min-height: 50px; margin: 22px 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.release-meta { display: flex; justify-content: space-between; min-height: 16px; margin: 11px 2px 0; color: #9a8876; font-size: 10px; }
.privacy-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; max-width: 900px; margin: 24px auto 0; padding: 18px 20px; border: 1.5px dashed var(--line); border-radius: 18px; background: rgb(255 255 255 / 50%); }
.privacy-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-weight: 900; }
.privacy-note h3 { margin: 0 0 4px; font-size: 14px; }
.privacy-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.privacy-note a { font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

footer { padding: 42px 0; background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-inner div { display: flex; align-items: baseline; gap: 14px; }
.footer-inner strong { font-size: 18px; }
.footer-inner span, .footer-inner p { margin: 0; color: var(--muted); font-size: 11px; }

.legal { max-width: 800px; padding: 70px 0 110px; }
.legal h1 { font-size: clamp(38px, 7vw, 62px); }
.legal h2 { margin: 42px 0 10px; font-size: 22px; }
.legal p, .legal li { color: var(--muted); line-height: 1.8; }
.back-link { display: inline-block; margin-bottom: 30px; font-weight: 800; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 54px; text-align: center; }
  .hero-description { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: min(640px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { min-height: 230px; transform: none; }
}

@media (max-width: 620px) {
  .shell, .site-header { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 64px; }
  .site-header nav { gap: 8px; }
  .site-header nav a { display: none; }
  .hero { padding: 48px 0 64px; gap: 34px; }
  h1 { font-size: 47px; }
  .hero-description { font-size: 15px; }
  .hero-description, .microcopy { max-width: 100%; padding-inline: 8px; word-break: keep-all; overflow-wrap: anywhere; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; min-width: 0; flex-basis: auto; }
  .hero-visual { padding-top: 61px; }
  .otter-stage { border-radius: 20px 20px 12px 12px; }
  .preview-note { left: 6%; }
  .activity-pill { right: 8px; max-width: calc(100% - 16px); padding-inline: 10px; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .section { padding: 78px 0; }
  .feature-grid, .download-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 205px; }
  .feature-card h3 { margin-top: 30px; }
  .privacy-note { grid-template-columns: auto 1fr; }
  .privacy-note a { grid-column: 2; }
  .footer-inner, .footer-inner div { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
