:root {
  --bg-top: #e8f3ec;
  --bg-mid: #d3e5da;
  --bg-bot: #c0d8ca;
  --ink: #17201b;
  --ink-muted: rgba(23, 32, 27, 0.64);
  --accent: #1e6b52;
  --accent-soft: rgba(30, 107, 82, 0.11);
  --crisp: #1e9e68;
  --warm: #d69418;
  --amber: #e56522;
  --urgent: #d93832;
  --shutter-a: #f06e3a;
  --shutter-b: #d94e1f;
  --surface: rgba(255, 255, 255, 0.80);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --rim: rgba(255, 255, 255, 0.92);
  --hairline: rgba(23, 32, 27, 0.09);
  --ceramic-a: #ffffff;
  --ceramic-b: #f6f3eb;
  --shadow-lg: 0 22px 46px rgba(24, 42, 32, 0.16), 0 6px 14px rgba(24, 42, 32, 0.08);
  --shadow-sm: 0 10px 24px rgba(24, 42, 32, 0.10), 0 2px 6px rgba(24, 42, 32, 0.05);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #222831;
    --bg-mid: #151920;
    --bg-bot: #0e1116;
    --ink: #f3f5f9;
    --ink-muted: rgba(243, 245, 249, 0.68);
    --accent: #ff6736;
    --accent-soft: rgba(255, 103, 54, 0.14);
    --surface: rgba(32, 38, 48, 0.78);
    --surface-strong: rgba(38, 45, 56, 0.92);
    --rim: rgba(255, 255, 255, 0.14);
    --hairline: rgba(255, 255, 255, 0.10);
    --ceramic-a: #2c323c;
    --ceramic-b: #1e232b;
    --shadow-lg: 0 24px 52px rgba(0, 0, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.25);
    --shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.32), 0 3px 8px rgba(0, 0, 0, 0.2);
  }
}

/* Skin preview overrides from interactive switcher */
html[data-skin="mint"] {
  --bg-top: #e8f3ec;
  --bg-mid: #d3e5da;
  --bg-bot: #c0d8ca;
  --ink: #17201b;
  --ink-muted: rgba(23, 32, 27, 0.64);
  --accent: #1e6b52;
  --accent-soft: rgba(30, 107, 82, 0.11);
  --surface: rgba(255, 255, 255, 0.80);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --rim: rgba(255, 255, 255, 0.92);
  --hairline: rgba(23, 32, 27, 0.09);
  --ceramic-a: #ffffff;
  --ceramic-b: #f6f3eb;
}

html[data-skin="cream"] {
  --bg-top: #fcf6e8;
  --bg-mid: #f4e6c8;
  --bg-bot: #ead6ac;
  --ink: #251e14;
  --ink-muted: rgba(37, 30, 20, 0.64);
  --accent: #9e6218;
  --accent-soft: rgba(158, 98, 24, 0.12);
  --surface: rgba(255, 252, 245, 0.82);
  --surface-strong: rgba(255, 253, 248, 0.94);
  --rim: rgba(255, 255, 255, 0.92);
  --hairline: rgba(37, 30, 20, 0.09);
  --ceramic-a: #ffffff;
  --ceramic-b: #faf5ea;
}

html[data-skin="titanium"] {
  --bg-top: #222831;
  --bg-mid: #151920;
  --bg-bot: #0e1116;
  --ink: #f3f5f9;
  --ink-muted: rgba(243, 245, 249, 0.68);
  --accent: #ff6736;
  --accent-soft: rgba(255, 103, 54, 0.14);
  --surface: rgba(32, 38, 48, 0.78);
  --surface-strong: rgba(38, 45, 56, 0.92);
  --rim: rgba(255, 255, 255, 0.14);
  --hairline: rgba(255, 255, 255, 0.10);
  --ceramic-a: #2c323c;
  --ceramic-b: #1e232b;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  line-height: 1.6;
  background: radial-gradient(120% 85% at 15% 8%, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg-top) 72%, transparent);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  display: block;
}

.icon-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .icon-light { display: none; }
  .icon-dark { display: block; }
}

html[data-skin="mint"] .icon-light,
html[data-skin="cream"] .icon-light { display: block; }
html[data-skin="mint"] .icon-dark,
html[data-skin="cream"] .icon-dark { display: none; }
html[data-skin="titanium"] .icon-light { display: none; }
html[data-skin="titanium"] .icon-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  transition: background 0.18s ease;
}

.nav-link:hover {
  background: var(--surface);
  text-decoration: none;
}

.nav-link.lang {
  background: var(--surface);
  border: 1px solid var(--rim);
  font-size: 13px;
  font-weight: 700;
}

/* Chrome Emblem & Lamp */
.emblem {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #1e2822;
  background: linear-gradient(90deg, #aab5af 0%, #ffffff 38%, #e2e8e5 68%, #9aa39e 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.11);
}

.lamp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 8px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--rim);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.lamp-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #14221b;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 12px rgba(34, 224, 148, 0.45);
}

.lamp-dot::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #22e094 0deg, #f5b52e 150deg, #f05d23 230deg, #22e094 360deg);
  -webkit-mask: radial-gradient(circle, transparent 48%, #000 50%);
  mask: radial-gradient(circle, transparent 48%, #000 50%);
}

.lamp-dot::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #ffffff;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

/* Hero */
.hero {
  padding: 52px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-app-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 19px;
  box-shadow: var(--shadow-lg);
}

.hero-app-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-app-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-app-sub {
  font-size: 13.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-muted);
  max-width: 520px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--shutter-a), var(--shutter-b));
  box-shadow: 0 12px 26px rgba(217, 78, 31, 0.32);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--rim);
  box-shadow: var(--shadow-sm);
}

.hero-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Phone Stage */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.phone-frame {
  width: 282px;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(155deg, #272d34, #101317);
  box-shadow: 0 32px 68px rgba(14, 24, 18, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  position: relative;
  z-index: 2;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.phone-peek {
  width: 224px;
  border-radius: 36px;
  padding: 8px;
  background: linear-gradient(155deg, #272d34, #101317);
  box-shadow: 0 24px 52px rgba(14, 24, 18, 0.28);
  position: absolute;
  right: 0;
  bottom: 14px;
  transform: rotate(5deg);
  z-index: 3;
}

.phone-peek img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

/* Sections */
.section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  max-width: 640px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.section-head p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-muted);
}

/* Interactive Dial Playground */
.playground {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--rim);
  box-shadow: var(--shadow-lg);
}

.dial-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ceramic-dial {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ceramic-a), var(--ceramic-b));
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--rim);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
  cursor: grab;
}

.ceramic-dial:active {
  cursor: grabbing;
}

.dial-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dial-ring-track {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 10;
}

.dial-ring-arc {
  fill: none;
  stroke: var(--crisp);
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.22s ease, stroke 0.22s ease;
}

.dial-center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

.dial-days {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--crisp);
  transition: color 0.2s ease;
}

.dial-food {
  font-size: 14px;
  font-weight: 800;
}

.dial-stamp {
  display: inline-block;
  margin-top: 2px;
  padding: 3px 8px;
  border: 1.5px solid var(--amber);
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--amber);
  transform: rotate(-3deg);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dial-stamp.is-on {
  opacity: 1;
  transform: rotate(-3deg) scale(1);
}

.dial-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dial-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--rim);
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, background 0.16s ease, color 0.16s ease;
}

.pill-btn:active {
  transform: scale(0.96);
}

.pill-btn.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

.skin-label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dial-hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Feature Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--rim);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.shot-frame {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: center;
}

.shot-frame img {
  width: 210px;
  max-width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #161a1f;
}

/* Gallery strip */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--rim);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 3px solid #161a1f;
  display: block;
}

.gallery-cap {
  margin: 10px 0 2px;
  font-size: 13.5px;
  font-weight: 800;
}

.gallery-sub {
  margin: 0;
  font-size: 12px;
  color: var(--ink-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--rim);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--accent);
  background: var(--surface-strong);
  box-shadow: var(--shadow-lg);
}

.price-card h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.price-line {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 14px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* Legal / Support Document Pages */
.doc-shell {
  padding: 40px 0 64px;
}

.doc-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  border: 1px solid var(--rim);
  box-shadow: var(--shadow-lg);
}

.doc-card h1 {
  margin: 14px 0 8px;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.doc-meta {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.doc-card h2 {
  margin: 28px 0 10px;
  font-size: 19px;
  font-weight: 800;
}

.doc-card h3 {
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.doc-card p, .doc-card li {
  font-size: 15px;
  color: var(--ink-muted);
}

.doc-card ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-divider {
  border: none;
  border-top: 1px dashed var(--hairline);
  margin: 36px 0;
}

.faq-item {
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 6px;
  color: var(--ink);
}

/* Footer */
.site-footer {
  margin-top: 32px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 900px) {
  .hero,
  .playground,
  .bento,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 480px;
  }

  .phone-peek {
    right: 4%;
    width: 185px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 30px;
  }

  .phone-frame {
    width: 240px;
  }

  .phone-peek {
    display: none;
  }

  .playground,
  .doc-card {
    padding: 22px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
