:root {
  color-scheme: light;
  --bg: #f8f5f1;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #3d2817;
  --muted: #7a5c48;
  --brand: #8b5a2b;
  --brand-strong: #5c3d1f;
  --accent: #d4a574;
  --border: rgba(92, 61, 31, 0.12);
  --shadow: 0 18px 50px rgba(60, 40, 20, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212, 165, 116, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(139, 90, 43, 0.12), transparent 28%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

main {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.site-header,
.site-footer {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(15, 35, 28, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(31, 92, 71, 0.28);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 1.02rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.hero,
.section,
.cta,
.privacy-callout,
.split-section {
  margin-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 56px 0 22px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 90, 43, 0.1);
  color: var(--brand);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-content h2,
.cta h2,
.privacy-callout h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  max-width: 12ch;
}

.lead,
.section-heading p,
.split-content p,
.cta p,
.privacy-callout p,
.screen-card p,
.feature-card p,
.step-card p,
.download-card p {
  margin: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.06rem;
  max-width: 62ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 16px 30px rgba(31, 92, 71, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand);
  border-color: rgba(31, 92, 71, 0.16);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-badges li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(15, 35, 28, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

/* --- Hero device pair --- */
.hero-device-pair {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.device-card {
  position: relative;
  flex: 1;
  max-width: 220px;
  padding: 12px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-card-light {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 165, 116, 0.7);
  transform: translateY(0) rotate(-2deg);
}

.device-card-dark {
  background: rgba(42, 31, 23, 0.92);
  border: 1px solid rgba(139, 90, 43, 0.6);
  transform: translateY(-28px) rotate(2deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(212, 165, 116, 0.18);
}

.device-card img {
  border-radius: 22px;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  width: 100%;
  display: block;
}

.device-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.badge-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-strong);
  border: 1px solid rgba(139, 90, 43, 0.16);
}

.badge-dark {
  background: rgba(42, 31, 23, 0.9);
  color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.28);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  box-shadow: 0 16px 34px rgba(15, 35, 28, 0.12);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.floating-card strong {
  color: var(--brand-strong);
}

.floating-card-top {
  top: 24px;
  right: 0;
}

.floating-card-bottom {
  left: 0;
  bottom: 60px;
}

.section,
.privacy-callout,
.cta {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 248, 244, 0.92));
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  max-width: 70ch;
}

.section-heading h2,
.split-content h2,
.cta h2,
.privacy-callout h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.feature-card,
.screen-card,
.step-card,
.download-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(15, 35, 28, 0.06);
}

.feature-card {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.feature-card--highlight {
  background: linear-gradient(180deg, rgba(212, 165, 116, 0.16), rgba(255, 255, 255, 0.98));
  border-color: rgba(139, 90, 43, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(139, 90, 43, 0.1);
  font-size: 1.25rem;
}

.feature-card h3,
.screen-card h3,
.step-card h3,
.download-card strong {
  margin: 0;
  color: var(--brand-strong);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.screen-card {
  padding: 14px;
  display: grid;
  gap: 14px;
}

.theme-showcase {
  padding: 20px;
  gap: 18px;
}

.theme-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-radius: 22px;
  overflow: hidden;
}

.theme-shot {
  margin: 0;
  display: grid;
  gap: 0;
  overflow: hidden;
}

.theme-shot-light {
  background: #f5f0e8;
  padding: 10px 10px 0;
  border-radius: 18px 0 0 18px;
}

.theme-shot-dark {
  background: #2a1f17;
  padding: 10px 10px 0;
  border-radius: 0 18px 18px 0;
}

.theme-shot img {
  border-radius: 12px 12px 0 0;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
  display: block;
}

.theme-label {
  display: block;
  padding: 8px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
}

.theme-shot-light .theme-label {
  color: var(--brand);
  background: #f5f0e8;
}

.theme-shot-dark .theme-label {
  color: var(--accent);
  background: #2a1f17;
}

.screen-card img {
  border-radius: 18px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
  background: #f0ebe3;
}

.screen-card h3 {
  font-size: 1.08rem;
  margin: 0;
  color: var(--brand-strong);
}

.screen-card p {
  font-size: 0.96rem;
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.split-content {
  padding-right: 16px;
  display: grid;
  gap: 16px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step-card {
  padding: 22px;
  display: grid;
  gap: 10px;
}

.step-number {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand);
}

.privacy-callout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.cta {
  display: grid;
  gap: 22px;
}

.cta-content {
  display: grid;
  gap: 14px;
  max-width: 70ch;
}

.cta-actions {
  align-items: stretch;
}

.download-card {
  min-width: min(100%, 360px);
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}

.download-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.site-footer {
  padding: 22px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--brand);
  font-weight: 700;
}

.lang-toggle {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle:hover {
  background: rgba(139, 90, 43, 0.1);
}

@media (max-width: 1080px) {
   .hero,
   .split-section,
   .privacy-callout {
     grid-template-columns: 1fr;
     display: grid;
   }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-device-pair {
    gap: 12px;
  }

  .device-card {
    max-width: 180px;
  }

  .feature-grid,
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-callout {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 24px;
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .section,
  .privacy-callout,
  .cta {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-device-pair {
    gap: 8px;
  }

  .device-card {
    max-width: 150px;
  }

  .device-card-dark {
    transform: translateY(-18px) rotate(2deg);
  }

  .feature-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .theme-pair {
    grid-template-columns: 1fr;
  }

  .theme-shot-light {
    border-radius: 18px 18px 0 0;
  }

  .theme-shot-dark {
    border-radius: 0 0 18px 18px;
  }

  .site-footer,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}


