:root {
  color-scheme: light dark;
  --page: #fbfcfa;
  --surface: #ffffff;
  --text: #17191f;
  --muted: #60646f;
  --line: rgba(23, 25, 31, 0.12);
  --coral: #f0644f;
  --teal: #137a99;
  --green: #388c59;
  --gold: #ffc46b;
  --shadow: rgba(32, 36, 45, 0.14);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf7 0%, #f3fbfa 48%, var(--page) 100%);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 64%, transparent);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-link img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

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

.nav-links a,
.text-link {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--teal) 9%, transparent);
}

.hero {
  min-height: 82svh;
  display: grid;
  align-content: center;
  gap: 34px;
  padding: 54px 0 42px;
}

.hero-copy {
  max-width: 820px;
  display: grid;
  gap: 18px;
}

.app-mark {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 18px 42px var(--shadow);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.1rem, 10vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.4vw, 1.6rem);
  font-weight: 700;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.store-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid var(--line);
}

.store-button {
  color: white;
  background: #17191f;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--shadow) 85%, transparent);
}

.store-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.secondary-button {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.hero-preview {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 24px 70px var(--shadow);
  padding: clamp(18px, 4vw, 32px);
  display: grid;
  gap: 22px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.preview-title span:first-child {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  font-size: 1.6rem;
}

.preview-title strong,
.preview-title small {
  display: block;
}

.preview-title small {
  color: var(--muted);
  font-weight: 700;
}

.preview-pill {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.time-cell {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(12px, 3vw, 18px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--teal) 8%, var(--surface)));
}

.time-cell strong {
  display: block;
  font-size: clamp(1.7rem, 5vw, 3.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-cell span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 760px;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature,
.topic,
.policy-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  padding: 18px;
}

.feature {
  display: grid;
  gap: 8px;
}

.feature span,
.topic span {
  color: var(--teal);
  font-size: 1.6rem;
}

.feature p,
.topic p,
.policy-block p,
.body-copy p,
.body-copy li {
  color: var(--muted);
}

.occasion-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.occasion-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: color-mix(in srgb, var(--text) 84%, var(--teal));
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  font-weight: 750;
}

.page-hero {
  padding: 74px 0 36px;
  display: grid;
  gap: 18px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.6rem);
}

.body-copy {
  max-width: 860px;
  padding-bottom: 80px;
}

.body-copy section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.body-copy ul {
  margin: 0;
  padding-left: 1.2rem;
}

.contact-line {
  font-weight: 850;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
}

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

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

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

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

@media (max-width: 440px) {
  .grid,
  .time-grid {
    grid-template-columns: 1fr;
  }

  .preview-top,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #111317;
    --surface: #191c22;
    --text: #f5f6f8;
    --muted: #b8bdc7;
    --line: rgba(245, 246, 248, 0.14);
    --shadow: rgba(0, 0, 0, 0.36);
  }

  body {
    background: linear-gradient(180deg, #15171d 0%, #102325 54%, #111317 100%);
  }

  .store-button {
    background: #f5f6f8;
    color: #17191f;
  }
}
