:root {
  --forest: #14321a;
  --forest-deep: #0f2815;
  --cream: #faf8f2;
  --cream-card: #f3efe6;
  --gold: #c2a26a;
  --gold-dark: #a5844d;
  --muted: #5c5a54;
  --text: #2c2b28;
  --border: rgba(20, 50, 26, 0.12);
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(20, 50, 26, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
}

a {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: #f0f0ec;
  border-bottom: 1px solid rgba(194, 162, 106, 0.28);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.site-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.site-logo__mark {
  width: 36px;
  height: 44px;
  max-width: none;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.site-logo__wordmark {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
}

.site-logo__settle {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0f0ec;
  margin-right: 0.28em;
}

.site-logo__the-card {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  align-items: center;
}

.site-nav__stores {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.site-nav__store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(240, 240, 236, 0.92);
  background: rgba(250, 248, 242, 0.1);
  border: 1px solid rgba(250, 248, 242, 0.22);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-nav__store:hover {
  color: var(--forest-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.site-nav__store.store-badge--placeholder {
  opacity: 0.72;
}

.site-nav > a {
  color: rgba(240, 240, 236, 0.88);
  text-decoration: none;
}

.site-nav > a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .site-logo__settle {
    font-size: 1.15rem;
  }

  .site-logo__the-card {
    font-size: 1.05rem;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.82rem;
  }
}

.site-summary {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 20px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.site-summary__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 110, 59, 0.12);
  color: var(--forest);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.site-summary__copy {
  text-align: center;
  min-width: 0;
}

.site-summary__headline {
  margin: 0 0 10px;
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.35;
}

.site-summary__headline.hidden {
  display: none;
}

.site-summary__headline--fallback.hidden {
  display: none;
}

.site-summary__domain-inline {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--muted);
}

.site-summary__headline-sep {
  font-weight: 500;
  color: var(--muted);
}

.site-summary__tier-name {
  font-weight: 700;
}

.site-summary__headline--pro .site-summary__tier-name {
  color: var(--gold-dark);
}

.site-summary__headline--free .site-summary__tier-name {
  color: var(--forest);
}

.site-summary__tier--pro {
  color: var(--gold-dark);
  font-weight: 700;
}

.site-summary__tier--free {
  font-weight: 700;
}

.site-summary__tier-sep {
  color: var(--muted);
  font-weight: 400;
}

.site-summary__lead {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 58ch;
  margin-inline: auto;
}

.store-badges--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}

.site-summary .store-badges--inline {
  margin-top: 12px;
}

.section-store-row {
  margin: -16px 0 24px;
}

.store-badges--hero {
  justify-content: flex-start;
}

.store-badges--on-dark .store-badge--placeholder {
  background: rgba(0, 0, 0, 0.35);
  opacity: 0.85;
}

.store-badges--on-dark .store-badge--live {
  background: rgba(0, 0, 0, 0.55);
}

.store-badges--on-dark .store-badge--live:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-card .store-badges--inline {
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 640px) {
  .site-summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
  }

  .site-summary__icon {
    display: none;
  }
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 28px 40px;
  align-items: center;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 40px;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 20px;
}

.hero-card .hero-actions .store-badges {
  width: 100%;
}

.hero-card .btn {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--border);
}

.btn-ghost--muted {
  opacity: 0.85;
  font-weight: 500;
}

.btn-ghost--muted:hover {
  opacity: 1;
}

.hero-card .btn-ghost--on-dark {
  background: #faf8f2;
  color: var(--forest);
  border: 1.5px solid #faf8f2;
  font-weight: 600;
}

.hero-card .btn-ghost--on-dark:hover {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.hero-card {
  background: linear-gradient(145deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--cream);
  border-radius: calc(var(--radius) + 6px);
  padding: 0;
  box-shadow: var(--shadow);
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.hero-card__visual {
  background: #0f2815;
  border-bottom: 1px solid rgba(194, 162, 106, 0.28);
}

.hero-card__shot {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.hero-card__cta {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.store-badge-official {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
}

.store-badge-official img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.store-badge-official[data-stc-store="google"] img {
  height: 58px;
  max-width: 180px;
  margin: -8px -10px;
}

.store-badge-official.store-badge--placeholder {
  opacity: 0.55;
  filter: grayscale(0.35);
}

.store-badge-official.store-badge--placeholder[aria-disabled="true"] {
  cursor: default;
}

.store-badge-official.store-badge--live {
  opacity: 1;
  filter: none;
}

.hero-card .btn {
  width: 100%;
}

.hero-card-mark {
  display: none;
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--forest);
  margin: 0 0 8px;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 52ch;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.feature i {
  color: var(--gold-dark);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--forest);
}

.feature p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.download {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px 24px;
  text-align: center;
}

.store-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 200px;
  justify-content: flex-start;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.store-badge__label {
  font-size: 0.95rem;
}

.store-badge__sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.78;
}

.store-badge i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.store-badge--soon,
.store-badge--placeholder {
  opacity: 0.62;
  cursor: not-allowed;
  background: #444;
  pointer-events: none;
}

.store-badge--live {
  opacity: 1;
  cursor: pointer;
  background: #111;
  pointer-events: auto;
}

.store-badge--live:hover {
  background: #000;
}

.store-badges--compact {
  gap: 10px;
  margin-bottom: 16px;
}

.store-badge--compact {
  min-width: 0;
  padding: 10px 16px;
  justify-content: center;
  font-size: 0.82rem;
}

.section--download {
  padding-bottom: 40px;
}

.download-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.download-footnote {
  margin-top: 20px;
  text-align: center;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__stores {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.site-footer__stores-title {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
}

.tier-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.tier-table th,
.tier-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.tier-table th {
  background: var(--cream-card);
  color: var(--forest);
  font-weight: 600;
}

.tier-table tr:last-child td {
  border-bottom: none;
}

.tier-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px 40px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer a {
  margin: 0 10px;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__version {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(20, 50, 26, 0.45);
}
