/* 협찬팅 public pages (home, guide) — light editorial theme.
   Account, payment and admin pages keep their own stylesheets. */
:root {
  color-scheme: light;
  --bg: #f4f3f9;
  --surface: #ffffff;
  --tray: #e5e2f2;
  --soft: #ebe9f3;
  --line: #e4e1ee;
  --text: #333333;
  --strong: #1f1b2e;
  --sub: rgba(51, 51, 51, .74);
  --faint: rgba(51, 51, 51, .55);
  --blue: #6d52e9;
  --blue-d: #5a3fd6;
  --blue-ink: #5338c9;
  --blue-tint: rgba(109, 82, 233, .08);
  --radius: 20px;
  --radius-xl: 24px;
  --en: "Plus Jakarta Sans", "Noto Sans KR", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
button:disabled { cursor: default; }
.shell { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; inset: 8px auto auto 8px; transform: translateY(-150%); z-index: 80; background: var(--surface); color: var(--blue); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 15px/1 var(--en); color: var(--blue); letter-spacing: 0;
}
.section-label::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 20px 0 24px;
  border: 1px solid transparent; border-radius: 8px;
  font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.button::after {
  content: ""; width: 16px; height: 16px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
#downloadBtn::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.5v8M4.5 7 8 10.5 11.5 7M3 13.5h10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.5v8M4.5 7 8 10.5 11.5 7M3 13.5h10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover:not(:disabled) { background: var(--blue-d); }
.button-primary:disabled { background: #d6cfef; color: #faf9fd; }
.button-secondary { background: var(--surface); border-color: var(--tray); color: var(--blue-ink); }
.button-secondary:hover { border-color: var(--blue); }
.release-status { color: var(--faint); font-size: 13px; margin-top: 12px; min-height: 22px; }
.mobile-install-note { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(124px, 14vw, 176px); scroll-margin-top: 0; }
.hero .membership-eyebrow { font: 500 13px/1 var(--en); letter-spacing: .14em; color: var(--blue); margin-bottom: 30px; }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 104px);
  font-weight: 400; line-height: 1.22; letter-spacing: -.045em;
  color: var(--blue); word-break: keep-all;
}
.hero h1 em { font-style: normal; font-weight: 500; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(32px, 6vw, 96px); align-items: end;
  margin-top: clamp(36px, 4.4vw, 60px);
}
.membership-description { max-width: 540px; color: var(--sub); font-size: 16px; line-height: 2; word-break: keep-all; }
.membership-description strong { display: inline-block; margin-bottom: 4px; color: var(--strong); font-size: 18px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.membership-availability {
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid #e7e4f0;
}
.membership-count { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.membership-count > span { display: flex; flex-direction: column; gap: 6px; color: var(--sub); font-size: 13px; font-weight: 500; }
.membership-count strong { font: 500 48px/1.05 var(--en); letter-spacing: -.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.membership-count b { padding: 9px 14px; border-radius: 8px; background: var(--blue-tint); color: var(--blue-ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.membership-progress { display: block; height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.membership-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--blue); transition: width .6s var(--ease); }
.membership-live { margin-top: 12px; color: var(--faint); font-size: 12px; line-height: 1.6; }
.membership-live:empty { display: none; }
[data-capacity][data-full="true"] .membership-count b { background: #fff1e6; color: #b5520f; }

.membership-visual { margin-top: clamp(56px, 7vw, 96px); }
.membership-visual figcaption {
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
  width: min(100% - 96px, 1200px); margin: 0 auto 20px;
  font: 500 14px/1 var(--en); color: var(--blue); letter-spacing: .02em;
}
.membership-visual figcaption::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M4 9l4 4 4-4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M4 9l4 4 4-4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateY(4px); } }
.town-card {
  margin-inline: 24px; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--surface); aspect-ratio: 1240 / 760;
}
.town-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.town-card.is-in img, .no-motion .town-card img { transform: none; }

/* ---------- Features ---------- */
.feature-section { padding-block: clamp(96px, 11vw, 150px) clamp(64px, 7vw, 96px); scroll-margin-top: 40px; }
.section-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px);
}
.section-heading .section-label { grid-column: 1 / -1; }
.feature-section h2, .workflow h2, .showcase-section h2 {
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; line-height: 1.4;
  letter-spacing: -.04em; color: var(--strong); word-break: keep-all;
}
.section-heading p { color: var(--sub); font-size: 15px; line-height: 1.95; word-break: keep-all; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  display: flex; flex-direction: column; min-width: 0; min-height: 320px;
  padding: 36px 32px 34px; border-radius: var(--radius); background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60, 40, 140, .08); }
.feature-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: auto;
  border-radius: 10px; background: var(--blue); color: #fff;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 48px; color: var(--strong); font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -.03em; word-break: keep-all; }
.feature p { margin-top: 12px; color: var(--sub); font-size: 15px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- Workflow ---------- */
.workflow-section { padding-bottom: clamp(96px, 11vw, 150px); }
.workflow {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 5vw, 72px); border-radius: var(--radius-xl); background: var(--surface);
}
.workflow > * { min-width: 0; }
.workflow h2 { margin-top: 18px; }
.steps { list-style: none; counter-reset: step; margin: 32px 0 36px; padding: 0; border-bottom: 1px solid var(--line); }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 500 15px/1.75 var(--en); color: var(--blue); }
.steps strong { color: var(--strong); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.steps span { margin-top: 4px; color: var(--sub); font-size: 14.5px; line-height: 1.85; word-break: keep-all; }
.text-link {
  display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 10px 0 22px;
  border-radius: 8px; background: var(--bg); color: var(--blue-ink); font-size: 15px; font-weight: 500;
  transition: background-color .2s;
}
.text-link span {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px;
  background: var(--blue); color: #fff; font-size: 0;
}
.text-link span::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.text-link:hover { background: var(--tray); }

.preview { min-width: 0; padding: 12px; border-radius: var(--radius); background: var(--bg); }
.preview-label { display: flex; gap: 8px; align-items: center; padding: 6px 8px 14px; color: var(--blue-ink); font-size: 13px; font-weight: 500; }
.preview-label img { border-radius: 4px; }
.preview-crop { aspect-ratio: 2.12; overflow: hidden; border-radius: 12px; background: #11121a; box-shadow: 0 10px 30px rgba(60, 40, 140, .12); }
.preview-crop img { width: 100%; height: auto; }
.preview .dashboard-crop { aspect-ratio: 2.5; }
.preview figcaption { padding: 14px 8px 4px; color: var(--faint); font-size: 12px; }

/* ---------- Contact band ---------- */
.contact-band { padding: 0 24px 24px; }
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 64px;
  padding: clamp(36px, 4.4vw, 60px) clamp(28px, 4.4vw, 64px);
  border-radius: var(--radius-xl); background: var(--blue); color: #fff;
  transition: background-color .25s;
}
.contact-card:hover { background: var(--blue-d); }
.contact-card .en { display: block; margin-bottom: 14px; font: 400 20px/1 var(--en); }
.contact-card strong { display: block; word-break: keep-all; font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
.contact-card p { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.9; word-break: keep-all; }
.contact-card .arrow {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px;
  background: rgba(255, 255, 255, .16); transition: transform .3s var(--ease), background-color .2s;
}
.contact-card:hover .arrow { background: #fff; color: var(--blue); transform: translateX(4px); }
.contact-card .arrow svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { padding: 0 24px 24px; }
.footer-card { padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 72px) 28px; border-radius: var(--radius-xl); background: var(--soft); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--strong); font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.footer-brand .brand img { border-radius: 7px; }
.footer-brand p { margin: 12px 0 0 44px; color: var(--faint); font-size: 13px; }
.footer-col h3 { margin-bottom: 18px; color: var(--strong); font-size: 14px; font-weight: 500; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.footer-col a { position: relative; padding-left: 14px; color: var(--sub); font-size: 13.5px; transition: color .2s; }
.footer-col a::before { content: "-"; position: absolute; left: 0; color: var(--faint); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid #dcd8e8;
  color: var(--faint); font: 400 13px/1.6 var(--en);
}
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Guide ---------- */
.guide { width: min(100% - 48px, 960px); margin-inline: auto; padding-block: clamp(124px, 13vw, 168px) clamp(80px, 9vw, 120px); }
.guide .eyebrow { font: 500 14px/1 var(--en); letter-spacing: .04em; color: var(--blue); margin-bottom: 26px; }
.guide h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 400; line-height: 1.22; letter-spacing: -.045em; color: var(--blue); word-break: keep-all; }
.guide-intro > p:last-child { margin-top: 22px; color: var(--sub); font-size: 16px; word-break: keep-all; }
.guide-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 28px; }
.guide-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--tray); border-radius: 999px; background: var(--surface);
  color: var(--blue-ink); font-size: 14px; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s;
}
.guide-nav a:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.guide section {
  counter-increment: gsec; margin-top: 16px; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius); background: var(--surface); scroll-margin-top: 100px;
}
.guide main, .guide { counter-reset: gsec; }
.guide h2 {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; line-height: 1.4; letter-spacing: -.035em; color: var(--strong);
}
.guide h2::before { content: counter(gsec, decimal-leading-zero); font: 500 15px/1 var(--en); color: var(--blue); }
.guide section p, .guide li { color: var(--sub); margin-top: 10px; font-size: 15px; line-height: 1.95; word-break: keep-all; }
.guide strong { color: var(--strong); font-weight: 600; }
.guide ul, .guide ol { margin: 14px 0 8px; padding-left: 22px; }
.guide li::marker { color: var(--blue); }
.guide .preview { margin-top: 24px; }


/* ---------- Availability extras ---------- */
.availability-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--strong); font-size: 14px; font-weight: 600; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--blue); opacity: .25; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(1.6); opacity: 0; } }
.availability-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--blue-ink); font-size: 13px; font-weight: 500; }

/* ---------- Pain (before) ---------- */
.pain-section { padding-top: clamp(96px, 11vw, 150px); }
.pain { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.pain-head h2 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; line-height: 1.4; letter-spacing: -.04em; color: var(--strong); word-break: keep-all; }
.pain-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.pain-list li {
  display: flex; align-items: center; gap: 18px; padding: 24px 4px; border-top: 1px solid var(--line);
  color: var(--sub); font-size: clamp(16px, 1.5vw, 19px); letter-spacing: -.02em; word-break: keep-all;
}
.pain-list li::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--surface) center/14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' fill='none' stroke='%23a59ccb' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.pain-turn {
  grid-column: 2; display: flex; align-items: center; gap: 14px;
  color: var(--blue); font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.03em; word-break: keep-all;
}
.pain-turn::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--blue) center/14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Feature extras ---------- */
.feature { position: relative; }
.feature-num { position: absolute; top: 34px; right: 32px; font: 500 14px/1 var(--en); color: var(--faint); }
.ai-strip {
  display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 22px 28px;
  border: 1px solid var(--tray); border-radius: var(--radius); background: rgba(255, 255, 255, .55);
  color: var(--sub); font-size: 15px; line-height: 1.8; word-break: keep-all;
}
.ai-strip strong { color: var(--strong); font-weight: 600; }
.ai-badge { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); font: 600 14px/1 var(--en); }

@media (max-width: 1024px) {
  .pain { grid-template-columns: minmax(0, 1fr); }
  .pain-turn { grid-column: 1; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pain-section { padding-top: 80px; }
  .pain-head h2 { font-size: 28px; }
  .pain-list li { padding: 18px 2px; gap: 14px; font-size: 15px; }
  .pain-list li::before, .pain-turn::before { width: 26px; height: 26px; }
  .pain-turn { font-size: 17px; align-items: flex-start; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-num { top: 28px; right: 22px; }
  .ai-strip { align-items: flex-start; padding: 18px; font-size: 14px; }
  .ai-badge { width: 34px; height: 34px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }


/* ---------- App window frame + screenshot showcase ---------- */
.app-window { margin: 0; overflow: hidden; border-radius: 16px; background: var(--surface); border: 1px solid #e3dff0; box-shadow: 0 30px 80px rgba(60, 40, 140, .14), 0 4px 14px rgba(60, 40, 140, .06); }
.app-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #f7f6fb; border-bottom: 1px solid #ebe8f3; }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2deef; }
.app-bar i:first-child { background: #ff8a80; } .app-bar i:nth-child(2) { background: #ffd06b; } .app-bar i:nth-child(3) { background: #7fd49a; }
.app-bar span { position: absolute; left: 50%; transform: translateX(-50%); color: var(--faint); font-size: 12px; font-weight: 500; white-space: nowrap; }
.app-window > img, .app-screen img { display: block; width: 100%; height: auto; }
.app-window figcaption { padding: 12px 16px; border-top: 1px solid #ebe8f3; color: var(--faint); font-size: 12px; }
.showcase-section { padding-top: clamp(96px, 11vw, 150px); }
.showcase-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.showcase-tabs button {
  position: relative; display: grid; gap: 4px; padding: 18px 20px 20px; overflow: hidden; text-align: left;
  border: 1px solid transparent; border-radius: 14px; background: rgba(255, 255, 255, .6); color: var(--sub); cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.showcase-tabs button:hover { background: var(--surface); }
.showcase-tabs .num { font: 500 13px/1 var(--en); color: var(--faint); }
.showcase-tabs strong { color: var(--strong); font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.showcase-tabs .desc { font-size: 13px; line-height: 1.6; word-break: keep-all; }
.showcase-tabs [aria-selected="true"] { background: var(--surface); border-color: var(--blue); box-shadow: 0 10px 30px rgba(60, 40, 140, .1); }
.showcase-tabs [aria-selected="true"] .num, .showcase-tabs [aria-selected="true"] strong { color: var(--blue); }
.showcase-tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--blue); }
.showcase[data-playing="true"] .showcase-tabs [aria-selected="true"]::after { animation: tabprogress 5.5s linear forwards; }
@keyframes tabprogress { to { width: 100%; } }
.app-screen { position: relative; aspect-ratio: 1440 / 900; background: #f4f2fb; }
.app-screen img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity .5s, transform .7s var(--ease); }
.app-screen img.is-active { opacity: 1; transform: none; }
.showcase-note { margin-top: 14px; color: var(--faint); font-size: 12px; text-align: right; }
.app-window-sm { align-self: center; width: 100%; }
.guide-shot { margin-top: 24px; }
@media (max-width: 1024px) { .showcase-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .showcase-section { padding-top: 80px; }
  .showcase-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 14px; padding: 2px 20px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .showcase-tabs::-webkit-scrollbar { display: none; }
  .showcase-tabs button { flex: 0 0 auto; scroll-snap-align: start; padding: 12px 16px 14px; }
  .showcase-tabs .desc { display: none; }
  .showcase-tabs strong { font-size: 15px; }
  .app-window { border-radius: 12px; }
  .app-bar { height: 30px; } .app-bar i { width: 9px; height: 9px; } .app-bar span { font-size: 11px; }
  .showcase-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .app-screen img { transition: none; } .showcase[data-playing="true"] .showcase-tabs [aria-selected="true"]::after { animation: none; } }

/* ---------- Scroll reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal-d1 { transition-delay: .08s; }
.js-reveal .reveal-d2 { transition-delay: .16s; }
.js-reveal .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .town-card img { transform: none; transition: none; }
  .membership-visual figcaption::after { animation: none; }
  .membership-progress span { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .workflow { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { align-items: start; }
  .membership-availability { max-width: 560px; }
  .section-heading { grid-template-columns: minmax(0, 1fr); }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 28px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .shell, .membership-visual figcaption { width: calc(100% - 40px); }
  .hero { padding-top: 108px; }
  .hero .membership-eyebrow { font-size: 11px; letter-spacing: .1em; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 56px); line-height: 1.3; }
  .membership-description { font-size: 14.5px; line-height: 1.9; }
  .membership-description strong { font-size: 16px; }
  .membership-description br { display: none; }
  .membership-description strong + br { display: block; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .mobile-install-note { display: block; margin-top: 12px; color: var(--faint); font-size: 12px; text-align: center; }
  .release-status { text-align: center; font-size: 12px; }
  .membership-availability { padding: 22px; }
  .membership-count strong { font-size: 40px; }
  .membership-count b { font-size: 13px; padding: 8px 11px; }
  .membership-visual { margin-top: 48px; }
  .membership-visual figcaption { font-size: 12px; margin-bottom: 14px; }
  .town-card { margin-inline: 12px; border-radius: 18px; aspect-ratio: auto; height: 420px; }
  .town-card img { object-position: 50% 48%; }
  .feature-section { padding-block: 80px 48px; }
  .feature-section h2, .workflow h2, .showcase-section h2 { font-size: 28px; }
  .feature { padding: 26px 22px; border-radius: 16px; }
  .feature-icon { width: 40px; height: 40px; }
  .feature h3 { margin-top: 22px; font-size: 18px; }
  .feature p { font-size: 14px; }
  .workflow-section .shell { width: calc(100% - 24px); }
  .workflow { padding: 32px 20px; border-radius: 18px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); }
  .steps strong { font-size: 16px; }
  .steps span { font-size: 14px; }
  .text-link { display: flex; justify-content: space-between; }
  .preview { padding: 8px; border-radius: 14px; }
  .preview .preview-crop { aspect-ratio: auto; border-radius: 10px; }
  .preview figcaption { font-size: 11px; line-height: 1.7; }
  .contact-band, .site-footer { padding: 0 12px 12px; }
  .contact-card, .footer-card { border-radius: 18px; }
  .contact-card { gap: 18px 20px; padding: 32px 24px; }
  .contact-card .en { font-size: 16px; margin-bottom: 10px; }
  .contact-card strong { font-size: 28px; }
  .contact-card .arrow { width: 44px; height: 44px; }
  .footer-card { padding: 36px 24px 22px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-bottom { flex-direction: column; }
  .guide { width: calc(100% - 24px); padding-top: 104px; }
  .guide-intro { padding-inline: 8px; }
  .guide h1 { font-size: clamp(34px, 9.6vw, 48px); line-height: 1.3; }
  .guide-intro > p:last-child { font-size: 14.5px; }
  .guide-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 8px; }
  .guide-nav a { justify-content: center; font-size: 13px; padding: 0 10px; }
  .guide section { padding: 28px 20px; border-radius: 16px; scroll-margin-top: 84px; }
  .guide section p, .guide li { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
}
