:root {
  --bg: #fff7fa;
  --surface: #fffdfe;
  --surface-soft: #fff8fb;
  --surface-muted: #fff4f7;
  --text: #4a3340;
  --text-soft: #6f5b66;
  --accent: #7b465d;
  --accent-strong: #d76b91;
  --border: #f0d6e1;
  --border-strong: #e4c8d4;
  --shadow: 0 18px 60px rgba(123, 70, 93, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(215, 107, 145, 0.12), transparent 30%),
    linear-gradient(180deg, #fffafc 0%, var(--bg) 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topbar { padding: 18px 0; }
.topbar-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-badge {
  width: 52px; height: 52px; border-radius: 999px; overflow: hidden; background: #fff;
  border: 1px solid var(--border); box-shadow: 0 10px 26px rgba(123, 70, 93, 0.1);
}
.brand-copy strong { display: block; font-size: 18px; }
.brand-copy span { display: block; font-size: 13px; color: var(--text-soft); }
.top-links, .footer-links {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 14px; color: var(--text-soft);
}
.contact-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--accent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.icon-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(123, 70, 93, 0.1);
}
.icon-link svg {
  width: 20px;
  height: 20px;
}
.email-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13px;
}
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center;
  padding: 30px 0 54px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface-soft); border: 1px solid var(--border); color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
}
.hero h1 { margin: 18px 0 16px; font-size: clamp(40px, 6vw, 72px); line-height: 0.98; }
.hero h1 .accent { color: var(--accent-strong); }
.hero p, .section-head p, .cta-panel p {
  margin: 0; font-size: 18px; line-height: 1.7; color: var(--text-soft);
}
.hero-pills, .cta-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.pill {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.74);
  border: 1px solid var(--border); color: var(--accent); font-size: 14px; font-weight: 600;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 20px; border-radius: 16px; border: 1px solid transparent; font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 16px 30px rgba(123, 70, 93, 0.2); }
.button-secondary { background: var(--surface); color: var(--accent); border-color: var(--border-strong); }
.button-disabled { opacity: 0.7; }
.hero-card {
  position: relative; padding: 22px; border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,253,254,0.96), rgba(255,248,251,0.92));
  border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: auto -120px -140px auto; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(215,107,145,0.16), transparent 70%);
}
.hero-preview { border-radius: 28px; border: 1px solid var(--border); background: #fff; overflow: hidden; }
.hero-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px;
}
.hero-caption strong { display: block; font-size: 16px; }
.hero-caption span { color: var(--text-soft); font-size: 13px; }
.section { padding: 28px 0 34px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card, .story-card {
  padding: 22px; border-radius: 24px; background: rgba(255,253,254,0.86);
  border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(123, 70, 93, 0.06);
}
.feature-card h3, .cta-panel h3 { margin: 0 0 10px; }
.feature-card p, .legal-card p, .legal-card li { margin: 0; line-height: 1.65; color: var(--text-soft); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; }
.story-list {
  margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px;
}
.story-list li {
  padding: 14px 16px; border-radius: 18px; background: var(--surface-soft);
  border: 1px solid var(--border); color: var(--text-soft);
}
.screenshot-card { padding: 16px; }
.screenshot-card img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  border: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery-card {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,253,254,0.92);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(123, 70, 93, 0.06);
}
.gallery-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  cursor: pointer;
}
.gallery-card strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
}
.gallery-card span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.timeline-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,253,254,0.9);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(123, 70, 93, 0.06);
}
.timeline-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}
.timeline-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.75;
}
.timeline-card li + li {
  margin-top: 8px;
}
.cta-panel {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 28px;
  border-radius: 28px; background: linear-gradient(135deg, rgba(252,231,240,0.95), rgba(255,248,251,0.96));
  border: 1px solid var(--border-strong); box-shadow: 0 18px 42px rgba(123, 70, 93, 0.1);
}
.meta-note { margin-top: 12px; font-size: 13px; color: var(--text-soft); }
.footer { padding: 34px 0 52px; }
.footer-inner { border-top: 1px solid var(--border); padding-top: 20px; color: var(--text-soft); font-size: 14px; }
.legal-shell { max-width: 860px; margin: 0 auto; padding: 40px 0 60px; }
.legal-card {
  padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.legal-card h1, .legal-card h2 { margin-top: 0; }
.gallery-modal[hidden] { display: none; }
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
}
.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 51, 64, 0.7);
  backdrop-filter: blur(6px);
}
.gallery-dialog {
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 24px auto;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 253, 254, 0.98);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(74, 51, 64, 0.22);
}
.gallery-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.gallery-modal-copy strong {
  display: block;
  font-size: 18px;
}
.gallery-modal-copy span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}
.gallery-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
}
.gallery-stage {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
}
.gallery-stage img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: linear-gradient(180deg, #fffdfd, #fff7fa);
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.gallery-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}
.gallery-count {
  color: var(--text-soft);
  font-size: 14px;
}
@media (max-width: 980px) {
  .hero, .story-grid, .cta-panel, .feature-grid, .timeline-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .page-shell { width: min(100% - 22px, 1160px); }
  .topbar-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 16px; gap: 24px; }
  .hero h1 { font-size: 42px; }
  .hero p, .section-head p { font-size: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-controls { flex-wrap: wrap; }
}
