/* Peopls website — premium dark theme, light via [data-theme="light"] */
:root {
  color-scheme: dark;
  --primary: #C4956A;
  --secondary: #D4A574;
  --accent: #B8956E;
  --bg: #141210;
  --bg-warm: #1E1B18;
  --bg-card: #252220;
  --text: #F8F0E8;
  --text-secondary: #C4B8A8;
  --text-muted: #9A8E7E;
  --text-on-primary: #FFFFFF;
  --border: #352F2A;
  --success: #22C55E;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 48px rgba(0,0,0,0.35), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 80px rgba(196, 149, 106, 0.08);
}

/* Light theme — premium warm palette */
[data-theme="light"] {
  color-scheme: light;
  --bg: #FAF8F5;
  --bg-warm: #F5F0E8;
  --bg-card: #FFFFFF;
  --text: #2D2520;
  --text-secondary: #5C4A3D;
  --text-muted: #8B7A6B;
  --border: #E5DDD4;
  --shadow: 0 12px 48px rgba(45, 37, 32, 0.06), 0 4px 16px rgba(45, 37, 32, 0.04);
  --shadow-card: 0 8px 32px rgba(45, 37, 32, 0.05), 0 2px 12px rgba(45, 37, 32, 0.03);
  --shadow-glow: 0 0 60px rgba(196, 149, 106, 0.06);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  font-family: var(--font);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom, 0);
  -webkit-tap-highlight-color: rgba(196, 149, 106, 0.15);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.container-wide {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* Header — premium (3-column: theme | logo | stores) */
.header {
  background: rgba(20, 18, 16, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(196, 149, 106, 0.1);
  padding: 18px 0;
  padding-top: max(18px, env(safe-area-inset-top, 0px));
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background 0.3s, border-color 0.3s;
}

[data-theme="light"] .header {
  background: rgba(250, 248, 245, 0.92);
  border-bottom-color: rgba(196, 149, 106, 0.14);
}

/* Header: centered bar + logo truly centered (equal side columns) */
.header .container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  min-height: 44px;
}

/* Left: theme toggle + About / Help */
.header-leading {
  justify-self: start;
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.header-leading .nav {
  display: flex;
  align-items: center;
  gap: 14px 18px;
}

.header .header-leading .nav a {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.header-leading .theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Center: logo — optical center between equal side columns */
.logo-header {
  justify-self: center;
  grid-column: 2;
  flex-shrink: 0;
}

.logo-header .logo-img {
  height: 36px;
}

/* Right: store badges */
.header-trailing {
  justify-self: end;
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Compact store badges in header */
.header-stores {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 9px;
  border-radius: 9px;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  line-height: 1.15;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

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

.header-store .header-store-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.header-store .header-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.header-store .header-store-label {
  font-size: 0.55rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1;
}

.header-store .header-store-name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-store-apple {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

.header-store-apple:hover {
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.header-store-google {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.header-store-google:hover {
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="light"] .header-store-google {
  background: #F5F0E8;
}

@media (max-width: 640px) {
  .header-store {
    padding: 5px 8px;
    font-size: 0.6rem;
  }
  .header-store .header-store-icon svg {
    width: 16px;
    height: 16px;
  }
}

.logo {
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.logo-img--light {
  display: none;
}

[data-theme="light"] .logo-img--dark {
  display: none;
}

[data-theme="light"] .logo-img--light {
  display: block;
}

.logo:hover .logo-img {
  opacity: 0.9;
}

/* Theme toggle — refined */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: rgba(196, 149, 106, 0.4);
  box-shadow: 0 4px 16px rgba(196, 149, 106, 0.08);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.25s;
}

.nav a:hover {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 14px 12px;
    min-height: 0;
  }

  .logo-header {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .header-leading {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .header-trailing {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: auto;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 14px 0;
  }

  .header-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .logo-header {
    grid-column: 1;
    grid-row: 1;
  }

  .header-leading {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .header-trailing {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .header-stores {
    justify-content: center;
  }
}

/* Hero — premium, impactful */
.hero {
  padding: 56px 0 72px;
  text-align: center;
  background: linear-gradient(165deg, var(--bg) 0%, var(--bg-warm) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(196, 149, 106, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero — 4 screenshots, same style as app-showcase block below */
.hero.hero-screenshots,
.hero-screenshots {
  padding: 56px 0 64px;
  /* overflow visible so scaled phone mockups on hover aren’t clipped (base .hero has overflow:hidden) */
  overflow: visible;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

.hero-screenshots .app-showcase {
  margin-top: 0;
}

.hero-with-img .row-with-img {
  margin: 0;
}

@media (min-width: 768px) {
  .hero-with-img {
    text-align: left;
  }
  .hero-with-img .row-content {
    text-align: left;
  }
  .hero-with-img .logo-hero-img,
  .hero-with-img .logo-line {
    margin-left: 0;
    margin-right: auto;
  }
  .hero-with-img .hero-features {
    justify-content: flex-start;
  }
}

.hero .logo-hero {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  display: block;
}

.logo-hero-img {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.hero .logo-line {
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 8px auto 0;
  border-radius: 1px;
}

.hero-brand {
  margin-bottom: 28px;
}

.hero-brand-link {
  display: inline-flex;
  justify-content: center;
}

.hero-brand .logo-hero-img {
  height: 34px;
  width: auto;
}

.hero-divider {
  display: block;
  width: min(120px, 40vw);
  height: 1px;
  margin: 16px auto;
  background: linear-gradient(90deg, transparent, rgba(196, 149, 106, 0.45), transparent);
  border: none;
}

.hero .hero-title {
  margin-bottom: 0;
}

.hero .hero-sub {
  margin-top: 0;
  margin-bottom: 0;
}

.hero .hero-tagline {
  margin-top: 0;
}

.hero-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.03em;
}

.hero-title strong {
  color: var(--primary);
  font-weight: inherit;
  font-style: italic;
}

.hero-sub {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.hero-sub strong {
  color: var(--primary);
  font-style: normal;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 36px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Feature icons row — refined */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-feature svg {
  width: 26px;
  height: 26px;
  opacity: 0.95;
}

/* CTA */
.hero-cta {
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-on-primary);
  box-shadow: 0 8px 32px rgba(196, 149, 106, 0.35), 0 2px 8px rgba(196, 149, 106, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(196, 149, 106, 0.4), 0 4px 12px rgba(196, 149, 106, 0.25);
}

.btn-primary .btn-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.btn-primary:hover .btn-arrow {
  background: rgba(255,255,255,0.3);
}

.btn-primary .btn-arrow svg {
  width: 14px;
  height: 14px;
}

.hero-signin {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-signin a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.hero-signin a:hover {
  text-decoration: underline;
}

/* Sections — premium spacing */
.section {
  padding: 64px 0 72px;
}

.section-dark {
  background: var(--bg-warm);
}

.section-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Cards — premium, refined */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(196, 149, 106, 0.2);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(196, 149, 106, 0.08);
}

.card-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
}

.card-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Side-by-side: text + app screenshot */
.row-with-img {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .row-with-img {
    grid-template-columns: 1fr 240px;
    gap: 40px;
  }
  .row-with-img.img-left {
    grid-template-columns: 240px 1fr;
  }
  .row-with-img.img-left .row-img { order: -1; }
}

.row-content {
  min-width: 0;
}

.row-img {
  flex-shrink: 0;
}

.row-img .phone-mockup {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}

/* Same hover as homepage .app-showcase .phone-mockup */
.row-img .phone-mockup:hover {
  transform: translateY(-8px) scale(1.08);
  z-index: 2;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-glow);
}

[data-theme="light"] .row-img .phone-mockup:hover {
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 255, 255, 0.6), var(--shadow-glow);
}

/* App screens / phone mockups */
.app-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: flex-end;
  margin: 36px 0 0;
  /* overflow-x:hidden forces overflow-y:auto in CSS and clips scaled mockups — page uses html/body overflow-x:hidden */
  overflow: visible;
  /* room for stronger hover scale + lift */
  padding: 20px 0 28px;
}

.phone-mockup {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(165deg, #383330 0%, #242220 50%, #1a1816 100%);
  border-radius: 28px;
  padding: 6px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.04), var(--shadow-glow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

[data-theme="light"] .phone-mockup {
  background: linear-gradient(165deg, #EDE6DF 0%, #DDD4CA 50%, #D0C6BA 100%);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.6), var(--shadow-glow);
}

.app-showcase .phone-mockup:hover {
  transform: translateY(-8px) scale(1.08);
  z-index: 2;
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08), var(--shadow-glow);
}

[data-theme="light"] .app-showcase .phone-mockup:hover {
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.6), var(--shadow-glow);
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Stats */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 16px 0;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Flow steps */
.flow-steps {
  margin: 16px 0;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.flow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.flow-content h4 {
  margin: 0 0 2px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.flow-content p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.flow-line {
  width: 2px;
  height: 16px;
  background: rgba(196, 149, 106, 0.3);
  margin-left: 15px;
  margin-bottom: 4px;
}

/* FAQ — premium accordion */
.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item .faq-question-btn {
  padding: 20px 24px;
}

.faq-question-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  margin: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, color 0.25s;
}

.faq-question-btn:hover {
  background: rgba(196, 149, 106, 0.04);
}

[data-theme="light"] .faq-question-btn:hover {
  background: rgba(196, 149, 106, 0.08);
}

.faq-item--open .faq-question-btn {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-chevron svg {
  width: 20px;
  height: 20px;
}

.faq-item--open .faq-chevron {
  transform: rotate(180deg);
}

/* Smooth height: grid 0fr → 1fr (content-sized, unlike max-height) */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item--open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer {
  margin: 12px 24px 24px;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer-wrap {
    transition: none;
  }
  .faq-chevron {
    transition: none;
  }
}

/* Download — premium CTA (compact vertical rhythm) */
.download {
  padding: 40px 0 52px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  position: relative;
}

.download .section-title {
  margin-bottom: 6px;
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 149, 106, 0.2), transparent);
}

.download-subtitle {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  font-family: var(--font);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 48px;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-icon svg {
  width: 28px;
  height: 28px;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.store-label {
  font-size: 0.7rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-apple {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-apple:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(196, 149, 106, 0.08);
}

.store-apple .store-label {
  opacity: 0.85;
}

.store-google {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.store-google:hover {
  background: var(--bg-warm);
  border-color: var(--primary);
  color: var(--primary);
}

.store-google .store-label {
  color: var(--text-secondary);
  font-size: 0.65rem;
}

.store-google:hover .store-label {
  color: var(--primary);
  opacity: 0.9;
}

[data-theme="light"] .store-google {
  background: #F5F0E8;
  border-color: #E8DED4;
}

[data-theme="light"] .store-google:hover {
  background: #FDF8F4;
  border-color: var(--primary);
}

/* Footer — premium, refined */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 36px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 149, 106, 0.15), transparent);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.logo-footer-img {
  height: 24px;
  width: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.9;
}

.logo-footer-img--light {
  display: none;
}

[data-theme="light"] .logo-footer-img--dark {
  display: none;
}

[data-theme="light"] .logo-footer-img--light {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-copy-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.035em;
}

/* Contact cards */
.contact-grid {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

/* Contact page — no phone mockup: grid + company sidebar */
.contact-page-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.contact-grid--page {
  margin: 0;
}

@media (min-width: 640px) {
  .contact-grid--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .contact-page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 32px;
  }

  .contact-company-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
}

.contact-company-card {
  margin: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(196, 149, 106, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(196, 149, 106, 0.06);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(196, 149, 106, 0.12) 0%, rgba(212, 165, 116, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: background 0.3s;
}

.contact-card:hover .contact-icon {
  background: linear-gradient(135deg, rgba(196, 149, 106, 0.2) 0%, rgba(212, 165, 116, 0.12) 100%);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--primary);
}

/* App preview section — premium */
.app-preview {
  padding: 80px 0 52px;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  position: relative;
}

.app-preview .section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 44px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.app-preview-copy {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 44px;
  padding: 0 8px;
}

/* Match app onboarding: sans body + serif accent words */
.app-preview-lead {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.5rem, 4.2vw, 2.125rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--text);
}

.app-preview-lead strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.app-preview-sub {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 2.6vw, 1.3125rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

.app-preview-sub strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.035em;
}

.app-preview-muted {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.app-preview-divider {
  margin: 14px auto;
  opacity: 0.85;
}

/* Five mockups in one row inside container-wide (~952px inner) */
@media (min-width: 601px) {
  .app-preview .app-showcase .phone-mockup {
    width: 168px;
  }
}

@media (max-width: 600px) {
  .app-preview {
    padding: 64px 0 44px;
  }
  .app-showcase {
    gap: 12px;
  }
  .phone-mockup {
    width: min(190px, 42vw);
  }
}

@media (max-width: 480px) {
  .container,
  .container-wide {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .hero {
    padding: 40px 0 56px;
  }
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
  .store-btn {
    width: 100%;
    max-width: min(280px, 100%);
    min-height: 48px;
    justify-content: center;
  }
  .app-preview {
    padding: 48px 0 40px;
  }
  .app-preview-copy {
    margin-bottom: 36px;
  }
  .download {
    padding: 32px 0 44px;
  }
  .footer {
    padding-bottom: max(36px, env(safe-area-inset-bottom, 0px));
  }
  .footer-links {
    gap: 12px 18px;
  }
  .app-showcase {
    flex-direction: column;
    align-items: center;
  }
  .phone-mockup {
    width: min(200px, 86vw);
    max-width: 220px;
  }
}

/* Narrow phones — comfortable reading & tap targets */
@media (max-width: 390px) {
  .header-leading {
    gap: 10px 14px;
  }
  .nav a {
    font-size: 0.875rem;
  }
  .app-preview-lead {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  }
  .theme-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}
