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

:root {
  --cream: #f4ede0;
  --brown: #1a0d04;
  --amber: #d4963c;
  --amber-text: #8b6420;
  --muted: #5a4630;
  --light-muted: #6d5e4e;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background-color: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--brown);
  color: var(--cream);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus:not(:focus-visible) {
  outline: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brown);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--amber-text);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(26, 13, 4, 0.15);
}

.lang-switcher a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light-muted);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-switcher a:hover {
  color: var(--amber-text);
}

.lang-switcher a.active {
  color: var(--brown);
  background: rgba(26, 13, 4, 0.08);
}

.lang-dropdown {
  display: none;
  position: relative;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(26, 13, 4, 0.15);
}

.lang-dropdown > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  padding: 0.5rem 0.6rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 4px;
  background: rgba(26, 13, 4, 0.08);
  user-select: none;
}

.lang-dropdown > summary::-webkit-details-marker {
  display: none;
}

.lang-dropdown > summary::after {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.lang-dropdown[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.lang-dropdown-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--cream);
  border: 1px solid rgba(26, 13, 4, 0.1);
  border-radius: 8px;
  padding: 0.35rem;
  box-shadow: 0 8px 24px rgba(26, 13, 4, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 100px;
  z-index: 10;
}

.lang-dropdown-options a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light-muted);
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-dropdown-options a:hover {
  color: var(--amber-text);
  background: rgba(26, 13, 4, 0.04);
}

.lang-dropdown-options a.active {
  color: var(--brown);
  background: rgba(26, 13, 4, 0.08);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0 6rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 320px;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 32px 64px rgba(26, 13, 4, 0.15),
    0 8px 24px rgba(26, 13, 4, 0.1);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--amber-text);
  margin-bottom: 2rem;
}

.eyebrow .line {
  display: inline-block;
  width: 3rem;
  height: 3px;
  background: var(--amber);
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-weight: 700;
  font-style: normal;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.privacy-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
  margin-top: -2rem;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.store-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
}

.badge img {
  height: 44px;
  width: auto;
  transition: opacity 0.2s;
}

.badge:hover img {
  opacity: 0.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4rem 0 6rem;
  border-top: 1px solid rgba(26, 13, 4, 0.1);
}

.feature-number {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber-text);
}

.feature h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0.75rem 0;
  letter-spacing: -0.02em;
}

.feature h2 strong {
  font-weight: 700;
}

.feature p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

footer {
  border-top: 1px solid rgba(26, 13, 4, 0.1);
  padding: 2rem 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--light-muted);
}

.page-header {
  padding: 6rem 0 3rem;
  max-width: 700px;
}

.page-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-header h1 em {
  font-weight: 700;
  font-style: normal;
}

.page-content {
  max-width: 700px;
  padding-bottom: 6rem;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
}

.page-content p,
.page-content li {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.page-content ul {
  padding-left: 1.5rem;
}

.page-content a {
  color: var(--amber-text);
  text-decoration: underline;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--light-muted);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  nav {
    padding: 1.5rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  main {
    padding: 0 1.5rem;
  }
  footer {
    padding: 2rem 1.5rem;
  }

  .hero {
    flex-direction: column-reverse;
    gap: 2.5rem;
    padding: 2rem 0 4rem;
  }

  .hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    width: 240px;
    max-width: 100%;
    height: auto;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0 5rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .lang-switcher {
    display: none;
  }

  .lang-dropdown {
    display: inline-block;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }

  .subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem;
  }
  main {
    padding: 0 1rem;
  }
  footer {
    padding: 1.5rem 1rem;
  }

  .nav-logo {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .lang-dropdown {
    margin-left: 0.25rem;
    padding-left: 0.5rem;
  }

  .lang-dropdown > summary {
    padding: 0.5rem 0.55rem;
    font-size: 0.7rem;
  }

  .eyebrow {
    letter-spacing: 0.2em;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .eyebrow .line {
    width: 2rem;
  }

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

  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .store-badges {
    gap: 0.5rem;
  }

  .badge img {
    height: 40px;
  }

  .feature h2 {
    font-size: 1.75rem;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }

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

  .page-content {
    padding-bottom: 4rem;
  }

  .page-content p,
  .page-content li {
    font-size: 0.95rem;
  }

  .footer-links {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
