:root {
  --ink: #0b1b2b;
  --ink-soft: #1e3a50;
  --muted: #5a6978;
  --surface: #ffffff;
  --surface-alt: #f7f2ea;
  --border: rgba(11, 27, 43, 0.18);
  --teal: #1a8a7a;
  --teal-dark: #0f6b5f;
  --coral: #f26b4f;
  --amber: #d99a2a;
  --sky: #7ac7ff;
  --hero-gradient: linear-gradient(135deg, #0f202b 0%, #1f3b4d 50%, #2f8f7f 100%);
  --shadow-lg: 0 30px 60px rgba(11, 27, 43, 0.25);
  --shadow-md: 0 20px 40px rgba(11, 27, 43, 0.15);
  --shadow-sm: 0 12px 24px rgba(11, 27, 43, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;

  --focus-ring: 0 0 0 3px rgba(15, 107, 95, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% -10%, rgba(245, 179, 66, 0.18), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(31, 154, 138, 0.18), transparent 42%),
    linear-gradient(180deg, #f9f6f0 0%, #eef3f6 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 420px;
  height: 420px;
  top: 12%;
  left: -140px;
  background: radial-gradient(circle, rgba(122, 199, 255, 0.25), transparent 70%);
  filter: blur(1px);
}

body::after {
  width: 520px;
  height: 520px;
  bottom: -200px;
  right: -160px;
  background: radial-gradient(circle, rgba(242, 107, 79, 0.2), transparent 70%);
  filter: blur(2px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.terms-list a {
  color: var(--teal);
}

.terms-list a:hover,
.terms-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', 'Georgia', serif;
  letter-spacing: 0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  --header-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(249, 246, 240, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(11, 27, 43, 0.2);
  color: var(--ink);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.2rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 1.5rem;
  background: rgba(249, 246, 240, 0.96);
  border-bottom: 1px solid var(--border);
  z-index: 9;
}

.mobile-menu.is-open {
  display: grid;
  gap: 1.25rem;
}

.mobile-menu__nav,
.mobile-menu__lang {
  display: grid;
  gap: 0.75rem;
}

.mobile-menu__nav a,
.mobile-menu__lang a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.9;
}

.mobile-menu__lang a[aria-current='true'] {
  color: var(--teal);
}

.mobile-menu__lang {
  display: none;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.mobile-menu__lang.is-open {
  display: grid;
}

.mobile-menu__actions {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-menu__cta {
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  border-radius: 0;
  padding: 0;
  font-weight: 600;
  background: transparent;
  color: var(--teal);
  box-shadow: none;
}

.mobile-menu__cta::after {
  content: '→';
  font-size: 1rem;
  margin-left: 0.5rem;
  opacity: 0.7;
}

.mobile-menu__lang-toggle {
  background: transparent;
  border: none;
  padding: 0;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(11, 27, 43, 0.2);
}

.logo-label {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.logo-tagline {
  color: var(--muted);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

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

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  min-height: 44px;
}

.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  min-height: 44px;
  border: 1px solid rgba(11, 27, 43, 0.25);
  box-shadow: 0 12px 24px rgba(11, 27, 43, 0.1);
  cursor: pointer;
}

.language-selector__trigger {
  font-family: 'Space Grotesk', 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--ink);
  padding: 0.1rem 0.2rem;
  cursor: pointer;
}

.language-selector__trigger:focus-visible {
  outline: 2px solid rgba(31, 154, 138, 0.45);
  outline-offset: 3px;
}

.language-selector__icon {
  font-size: 1rem;
}

.language-selector__label {
  white-space: nowrap;
}

.language-selector__list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(11, 27, 43, 0.25);
  box-shadow: 0 18px 32px rgba(11, 27, 43, 0.18);
  min-width: 180px;
  display: none;
  z-index: 20;
}

.language-selector:focus-within .language-selector__list {
  display: grid;
  gap: 0.25rem;
}

.language-selector.is-open .language-selector__list {
  display: grid;
  gap: 0.25rem;
}

.language-selector__option {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-family: 'Space Grotesk', 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-selector__option[aria-selected='true'],
.language-selector__option:hover,
.language-selector__option:focus-visible {
  background: rgba(31, 154, 138, 0.12);
  color: var(--teal-dark);
}

.btn-primary,
.btn-secondary,
.btn-link {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
  border: none;
  position: relative;
  will-change: transform;
}


.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  box-shadow: 0 16px 26px rgba(31, 154, 138, 0.25);
  opacity: 1;
  transition: opacity 0.2s ease;
  z-index: -1;
  pointer-events: none;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  box-shadow: 0 22px 36px rgba(31, 154, 138, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
  pointer-events: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  opacity: 0;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  opacity: 1;
}

.btn-secondary {
  background: #fff;
  border: 1px solid rgba(11, 27, 43, 0.25);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(11, 27, 43, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--teal-dark);
}

.btn-link {
  padding: 0.45rem 0.2rem;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  text-decoration: none;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 5vw, 5rem) 4rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.2rem, 6vw, 4rem);
  margin-top: 1rem;
  background: #fdfbf7;
  color: var(--ink);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 27, 43, 0.15);
  position: relative;
}

.hero__content,
.hero__media {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroReveal 0.9s ease-out forwards;
}

.hero__media {
  animation-delay: 0.15s;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero__lead {
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 1.05rem;
  margin: 0;
}

.hero__micro {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__cta-group {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero__cta {
  font-size: 1.05rem;
}

.hero__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--teal-dark);
  margin-top: 0.5rem;
  font-weight: 600;
  border-bottom: 2px solid var(--teal-dark);
  text-decoration: none;
}

.hero__cta-link::after {
  content: '→';
  font-size: 1rem;
  color: var(--teal-dark);
  transition: transform 0.2s ease;
}

.hero__cta-link:hover,
.hero__cta-link:focus-visible {
  border-bottom-color: var(--teal);
}

.hero__cta-link:hover::after,
.hero__cta-link:focus-visible::after {
  transform: translateX(4px);
}

.hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(31, 154, 138, 0.08);
  border: 1px solid rgba(31, 154, 138, 0.25);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__badge--light {
  background: rgba(11, 27, 43, 0.04);
  color: var(--ink);
}

.hero__day1 {
  margin: 0;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 43, 0.2);
  background: rgba(11, 27, 43, 0.04);
  color: var(--ink-soft);
  font-weight: 600;
  width: fit-content;
}

.hero__device {
  background: #fff;
  border-radius: 24px;
  padding: 1rem;
  border: 1px solid rgba(11, 27, 43, 0.15);
  box-shadow: 0 20px 40px rgba(11, 27, 43, 0.18);
}

.hero__device img {
  border-radius: 18px;
}

.hero__media-caption {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: #041320;
  font-weight: 600;
  border: 1px solid rgba(11, 27, 43, 0.25);
  width: fit-content;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}

.btn-google::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(11, 27, 43, 0.16);
  opacity: 1;
  transition: opacity 0.2s ease;
  z-index: -1;
  pointer-events: none;
}

.btn-google::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  box-shadow: 0 18px 30px rgba(11, 27, 43, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
  pointer-events: none;
}

.btn-google:hover,
.btn-google:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(66, 133, 244, 0.35);
}

.btn-google:hover::before,
.btn-google:focus-visible::before {
  opacity: 0;
}

.btn-google:hover::after,
.btn-google:focus-visible::after {
  opacity: 1;
}

.btn-google:hover::before,
.btn-google:focus-visible::before {
  opacity: 0;
}

.btn-google:hover::after,
.btn-google:focus-visible::after {
  opacity: 1;
}

.btn-google__icon {
  width: 26px;
  height: 26px;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero .eyebrow {
  color: var(--muted);
}

.hero .btn-link {
  color: var(--teal-dark);
  border-bottom: 1px solid rgba(31, 154, 138, 0.35);
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.8rem;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-benefits__icon {
  font-size: 1.1rem;
}

.section {
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.section--alt {
  background: var(--surface-alt);
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.preview__lead,
.pricing__description,
.testimonials__lead,
.why__note {
  max-width: 720px;
  color: var(--muted);
}

.preview__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.preview__feed {
  display: grid;
  gap: 1.2rem;
}

.feed-card {
  padding: 1.25rem 1.4rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
  position: relative;
  transition: transform 0.3s ease;
  will-change: transform;
}

.feed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(11, 27, 43, 0.08);
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.feed-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 22px;
  box-shadow: 0 20px 34px rgba(11, 27, 43, 0.18);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.feed-card.is-active {
  transform: translateY(-6px);
  border-color: rgba(31, 154, 138, 0.45);
}

.feed-card.is-active::before {
  opacity: 0;
}

.feed-card.is-active::after {
  opacity: 1;
}

.feed-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feed-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 154, 138, 0.25), rgba(122, 199, 255, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink);
}

.feed-card__body {
  margin: 0.9rem 0 0.6rem;
  font-weight: 600;
}

.feed-card__boost {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: rgba(31, 154, 138, 0.1);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.preview__media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.preview__cta {
  margin-top: 2rem;
}

.hero-carousel {
  position: relative;
  background: #fdfbf7;
  border-radius: 32px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 27, 43, 0.15);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hero-carousel__viewport {
  overflow: hidden;
  flex: 1;
  display: flex;
}

.hero-carousel__slide {
  display: none;
  flex-direction: column;
  gap: 1rem;
  color: var(--ink-soft);
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-carousel__slide.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.hero-carousel__slide.is-exiting {
  opacity: 0;
  transform: translateY(-8px);
}

.hero-carousel__device {
  background: #ffffff;
  border-radius: 26px;
  padding: 1.2rem;
  border: 1px solid rgba(11, 27, 43, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel__device img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-carousel__caption {
  margin: 0;
  font-weight: 500;
}

.hero-carousel__label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-carousel__controls {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-carousel__control {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 43, 0.3);
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

.hero-carousel__control:hover {
  background: rgba(31, 154, 138, 0.08);
}

.hero-carousel__dots {
  display: flex;
  gap: 0.5rem;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(11, 27, 43, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-carousel__dot.is-active {
  background: var(--teal-dark);
  transform: scale(1.3);
}

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 16px 30px rgba(11, 27, 43, 0.08);
}

.feature-card .btn-primary,
.feature-card .btn-link {
  margin-top: auto;
  align-self: flex-start;
}

.back-to-use-cases {
  margin-top: 1.5rem;
  align-self: flex-start;
}

.terms-list {
  margin: 1.5rem 0 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.terms-list p {
  margin: 0;
}

.terms-list li {
  display: grid;
  gap: 0.5rem;
}

.terms-bullets {
  margin: 0;
  padding-left: 1.25rem;
  display: block;
  list-style: disc;
  list-style-position: outside;
}

.terms-bullets li {
  display: list-item;
  margin: 0.35rem 0;
}

.feature-icon {
  font-size: 1.6rem;
}

.steps__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.steps__grid article {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #fff;
}

.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(31, 154, 138, 0.15);
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.testimonials__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  margin: 0;
  padding: 1.6rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 30px rgba(11, 27, 43, 0.08);
  display: grid;
  gap: 1.2rem;
}

.testimonial-card blockquote {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--muted);
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--ink);
}

.mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.mission__lead {
  color: var(--muted);
  max-width: 720px;
}

.mission__quotes {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.mission__quotes blockquote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 28px rgba(11, 27, 43, 0.08);
}

.mission__quotes blockquote p {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.mission__quotes blockquote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.mission__media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 40px rgba(11, 27, 43, 0.12);
}

.mission__media img {
  width: 100%;
  height: auto;
  display: block;
}

.mission__media figcaption {
  padding: 0.9rem 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing__description {
  margin-top: 0.75rem;
  max-width: 720px;
  color: var(--muted);
}

.pricing__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}

.footer-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 500;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__media,
  .animate-on-scroll {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1024px) {
  .preview__grid,
  .mission__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    max-width: 480px;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    --header-height: 68px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .language-selector {
    flex: 1;
    justify-content: space-between;
  }

  .hero,
  .section {
    padding: 1.5rem;
  }

  .hero {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary,
  .btn-google {
    width: 100%;
    justify-content: center;
  }

  .hero__floating {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    padding: 1rem;
  }

  .hero-carousel__device img {
    width: 100%;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 350px) {
  .btn-primary,
  .btn-secondary,
  .btn-google {
    width: auto;
  }
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* Focus visible styles for better keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(11, 27, 43, 0.4);
  }

  .btn-primary {
    border: 2px solid #fff;
  }

  .btn-secondary {
    border: 2px solid var(--ink);
  }

  .feed-card,
  .feature-card,
  .testimonial-card {
    border-width: 2px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f5;
    --ink-soft: #e5e7eb;
    --muted: #b8c0cc;  /* Improved from #9ca3af for 4.5:1 contrast on dark bg */
    --surface: #1a1a2e;
    --surface-alt: #16213e;
    --border: rgba(255, 255, 255, 0.22);  /* Improved from 0.12 for 3:1 UI contrast */
    --teal: #2dd4bf;
    --teal-dark: #5eead4;  /* Lighter for better contrast on dark */
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 12px 24px rgba(0, 0, 0, 0.2);
    --focus-ring: rgba(45, 212, 191, 0.6);
  }

  body {
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
  }

  body::before {
    background: radial-gradient(circle, rgba(122, 199, 255, 0.1), transparent 70%);
  }

  body::after {
    background: radial-gradient(circle, rgba(242, 107, 79, 0.08), transparent 70%);
  }

  .site-header {
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero,
  .section {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section--alt {
    background: var(--surface-alt);
  }

  .btn-secondary {
    background: var(--surface-alt);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.25);  /* WCAG 3:1 UI contrast */
  }

  .btn-secondary:hover,
  .btn-secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.4);
  }

  .language-selector {
    background: var(--surface-alt);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.25);  /* WCAG 3:1 UI contrast */
  }

  .btn-google {
    background: var(--surface-alt);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.25);  /* WCAG 3:1 UI contrast */
  }

  .btn-google:hover,
  .btn-google:focus-visible {
    border-color: rgba(66, 133, 244, 0.5);
  }

  .btn-link {
    color: var(--teal);
    border-bottom: 2px solid rgba(45, 212, 191, 0.5);  /* More visible underline */
  }

  .hero__cta-link {
    border-bottom: 2px solid rgba(45, 212, 191, 0.5);
  }

  .feed-card,
  .feature-card,
  .testimonial-card {
    background: var(--surface-alt);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero__device {
    background: var(--surface-alt);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-carousel {
    background: var(--surface-alt);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-carousel__device {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-carousel__control {
    background: var(--surface-alt);
    border: 1px solid rgba(255, 255, 255, 0.3);  /* WCAG 3:1 UI contrast */
    color: var(--ink);
  }

  .hero-carousel__control:hover {
    background: rgba(45, 212, 191, 0.15);
    border-color: rgba(45, 212, 191, 0.4);
  }

  .hero-carousel__dot {
    background: rgba(255, 255, 255, 0.4);  /* Improved from 0.3 for visibility */
  }

  .hero-carousel__dot.is-active {
    background: var(--teal);
  }

  .language-selector__list {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .language-selector__option:hover,
  .language-selector__option:focus-visible {
    background: rgba(45, 212, 191, 0.15);
  }

  .mobile-menu {
    background: rgba(18, 23, 43, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-menu__nav a,
  .mobile-menu__lang a {
    color: var(--ink);
    opacity: 0.85;
  }

  .mobile-menu__lang a[aria-current='true'] {
    color: var(--teal);
    opacity: 1;
  }

  .mobile-menu__lang-toggle {
    color: var(--ink);
  }

  .mobile-menu__actions {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-menu__cta {
    color: var(--teal);
  }

  .menu-toggle {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--ink);
  }

  .feed-card__boost {
    background: rgba(45, 212, 191, 0.15);
    border-left: 3px solid var(--teal);
  }

  .hero__badge {
    background: rgba(45, 212, 191, 0.15);
    border-color: rgba(45, 212, 191, 0.4);
  }

  .hero__day1 {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
  }

  .steps__grid article {
    background: var(--surface-alt);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .step-number {
    background: rgba(45, 212, 191, 0.2);
    color: var(--teal);
    border: 1px solid rgba(45, 212, 191, 0.3);
  }

  .mission__quotes blockquote {
    background: var(--surface-alt);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .eyebrow {
    color: var(--muted);
  }

  /* Primary button - use dark text for WCAG 4.5:1 contrast on teal bg */
  .btn-primary {
    background: var(--teal);
    color: #0f172a;  /* Dark text for 7.5:1 contrast ratio */
  }

  .btn-primary:hover,
  .btn-primary:focus-visible {
    background: var(--teal-dark);
    color: #0f172a;
  }

  /* Focus styles for dark mode */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
  }

  /* Cookie banner dark mode styles */
  .cookie-banner {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
  }

  .cookie-banner::before {
    background: linear-gradient(90deg, var(--teal) 0%, #f26b4f 50%, #d99a2a 100%);
  }

  .cookie-banner__icon {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0.05) 100%);
  }

  .cookie-banner__title {
    color: var(--ink);
  }

  .cookie-banner__description {
    color: var(--muted);
  }

  .cookie-banner__link {
    color: var(--teal-dark);
  }

  .cookie-banner__link:hover,
  .cookie-banner__link:focus-visible {
    color: var(--teal);
    border-bottom-color: var(--teal);
  }

  .cookie-banner__button--accept {
    background: var(--teal);
    color: #0f172a;
  }

  .cookie-banner__button--accept:hover,
  .cookie-banner__button--accept:focus-visible {
    background: var(--teal-dark);
  }

  .cookie-banner__button--decline {
    background: transparent;
    color: var(--muted);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .cookie-banner__button--decline:hover,
  .cookie-banner__button--decline:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.35);
  }
}

/* Reduced motion - ensure all animations are disabled */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .hero-carousel__controls,
  .btn-primary,
  .btn-secondary,
  .btn-google,
  .language-selector {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .hero,
  .section {
    box-shadow: none !important;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  border-top: none;
  box-shadow: 0 -8px 40px rgba(11, 27, 43, 0.2);
  z-index: 1000;
  display: none;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--coral) 50%, var(--amber) 100%);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner[aria-hidden="false"] {
  display: block;
}

.cookie-banner__content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26, 138, 122, 0.15) 0%, rgba(26, 138, 122, 0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
  font-family: 'Fraunces', serif;
  letter-spacing: -0.01em;
}

.cookie-banner__description {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  color: var(--teal-dark);
  border-bottom-color: var(--teal-dark);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner__button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
  position: relative;
}

.cookie-banner__button--accept {
  background: var(--teal);
  color: #fff;
}

.cookie-banner__button--accept:hover,
.cookie-banner__button--accept:focus-visible {
  transform: translateY(-2px);
}

.cookie-banner__button--accept:hover::before,
.cookie-banner__button--accept:focus-visible::before {
  opacity: 0;
}

.cookie-banner__button--accept:hover::after,
.cookie-banner__button--accept:focus-visible::after {
  opacity: 1;
}

.cookie-banner__button--decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.cookie-banner__button--decline:hover,
.cookie-banner__button--decline:focus-visible {
  background: rgba(11, 27, 43, 0.05);
  color: var(--ink);
  border-color: var(--muted);
}

.cookie-banner__button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.5rem;
    gap: 1.5rem;
  }

  .cookie-banner__icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-banner__button {
    flex: 1;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .cookie-banner__content {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }

  .cookie-banner__title {
    font-size: 1rem;
  }

  .cookie-banner__description {
    font-size: 0.85rem;
  }

  .cookie-banner__actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-banner__button {
    width: 100%;
    max-width: none;
    padding: 0.875rem 1.5rem;
  }
}
