@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;

  --navy: #162238;
  --navy-soft: #2b3b59;
  --navy-deep: #0e1726;
  --cream: #fbf8f3;
  --cream-alt: #f3efe6;
  --mint: #3db8a5;
  --mint-soft: #e3f5f1;
  --coral: #f1683a;
  --coral-soft: #fae9e3;

  --background: var(--cream);
  --foreground: var(--navy);
  --card: #ffffff;
  --card-foreground: var(--navy);
  --border: #e6e1d6;
  --border-subtle: rgba(22, 34, 56, 0.08);
  --border-white: rgba(255, 255, 255, 0.15);
  --muted: #f1ede4;
  --muted-foreground: #63718a;
  --accent: var(--mint-soft);
  --accent-foreground: #14594f;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --shadow-soft: 0 2px 4px rgba(22, 34, 56, 0.03), 0 12px 32px rgba(22, 34, 56, 0.06);
  --shadow-lift: 0 4px 8px rgba(22, 34, 56, 0.04), 0 24px 60px rgba(22, 34, 56, 0.12);
  --shadow-modal: 0 20px 50px rgba(14, 23, 38, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* Utilities */
.container-page {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-soft);
}

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

.text-balance-title {
  text-wrap: balance;
}

.surface-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-coral {
  background-color: var(--coral);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(241, 104, 58, 0.25);
}

.btn-coral:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(241, 104, 58, 0.35);
}

.btn-coral:active {
  transform: translateY(0);
}

.btn-navy {
  background-color: var(--navy);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--navy-soft);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: var(--card);
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--cream-alt);
  border-color: var(--navy-soft);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.site-logo.cream {
  color: #ffffff;
}

.site-logo .logo-stacked {
  display: block;
  height: 3.5rem;
  width: auto;
}

.site-logo .logo-footer-mark {
  display: block;
  width: 10rem;
  height: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.65rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.935rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy-soft);
  white-space: nowrap;
  padding-block: 0.35rem;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--mint);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }
}

/* The nav CTA is long; only show it once there is room for the full row */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .nav-actions .btn {
    display: none;
  }
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0.2rem 0.3rem;
  border-radius: var(--radius-sm);
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Mobile Flat Language Selector inside Drawer */
.mobile-lang-selector {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background-color: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.mobile-lang-selector .lang-btn {
  padding: 0.45rem 0.75rem;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  color: var(--navy-soft);
  background: transparent;
  transition: all 0.2s ease;
}

.mobile-lang-selector .lang-btn:hover {
  color: var(--navy);
}

.mobile-lang-selector .lang-btn.active {
  background-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(13, 36, 56, 0.18);
}

/* Simple & Nice Custom Language Dropdown */
.lang-select-dropdown {
  position: relative;
  display: inline-block;
}

.lang-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.lang-select-trigger:hover,
.lang-select-dropdown.is-open .lang-select-trigger {
  border-color: var(--navy-soft);
  background-color: #f8fafc;
}

.lang-select-chevron {
  transition: transform 0.2s ease;
  color: var(--muted-foreground);
}

.lang-select-dropdown.is-open .lang-select-chevron {
  transform: rotate(180deg);
}

.lang-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
}

.lang-select-dropdown.is-open .lang-select-menu {
  display: flex;
}

.lang-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-lg);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-select-option .lang-code {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.lang-select-option .lang-name {
  font-size: 0.8rem;
  color: var(--navy);
}

.lang-select-option:hover {
  background-color: #f1f5f9;
}

.lang-select-option.active {
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
}

.lang-select-option.active .lang-code,
.lang-select-option.active .lang-name {
  color: var(--accent-foreground);
}

.lang-flag {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  display: block;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
  background-color: rgba(22, 34, 56, 0.05);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  padding: 1.25rem 1.5rem 1.75rem;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer-link {
  padding: 0.75rem 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy-soft);
  border-radius: var(--radius-xl);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  background-color: var(--cream-alt);
  color: var(--navy);
  transform: translateX(4px);
}

/* Ambient glow */
.hero-glow-1 {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: var(--mint-soft);
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 10rem;
  left: -10rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--coral-soft);
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

/* Hero section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 5rem;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.08;
  margin-top: 1.25rem;
  color: var(--navy);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--navy-soft);
}

.hero-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-footnote {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup-img {
  max-width: 100%;
  width: 32rem;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(22, 34, 56, 0.15));
}

/* Newsletter Box */
.newsletter-section {
  padding-bottom: 5rem;
}

.newsletter-card {
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .newsletter-card {
    grid-template-columns: 1.1fr 1fr;
    padding: 3rem;
  }
}

.newsletter-title {
  font-size: 1.75rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .newsletter-title {
    font-size: 2rem;
  }
}

.newsletter-desc {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
}

.email-form {
  width: 100%;
}

.email-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .email-form-row {
    flex-direction: row;
  }
}

.email-input {
  min-height: 3.25rem;
  height: 3.25rem;
  width: 100%;
  flex: 1;
  padding-inline: 1.15rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--foreground);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.email-input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(61, 184, 165, 0.18);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

.consent-checkbox {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--mint);
  cursor: pointer;
}

/* Feature Grid */
.features-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.55);
  padding-block: 5rem;
}

.section-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .section-split {
    grid-template-columns: 1fr 1.1fr;
  }
}

.section-h2 {
  font-size: 2rem;
  line-height: 1.12;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .section-h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-h2 {
    font-size: 3rem;
  }
}

.notice-pill {
  border-radius: var(--radius-xl);
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

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

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

.feature-card {
  padding: 1.75rem;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.feature-icon-badge {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.feature-title {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.feature-desc {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Audience Section */
.audience-section {
  padding-block: 5rem;
}

.audience-banner {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: var(--radius-3xl);
  margin-top: 2.5rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .audience-banner {
    height: 20rem;
  }
}

.audience-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.audience-card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.75);
  padding: 1.6rem;
}

.audience-card-title {
  font-size: 1.15rem;
  color: var(--navy);
}

.audience-card-desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Dark Navy Section: AI */
.ai-section {
  background-color: var(--navy);
  color: #ffffff;
  padding-block: 5rem;
}

.ai-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ai-desc-block {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.ai-disclaimer-box {
  margin-top: 1.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 1.75rem;
}

.ai-disclaimer-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.ai-disclaimer-text {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Story Section */
.story-section {
  padding-block: 5rem;
}

.story-grid {
  display: grid;
  align-items: start;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.story-img {
  width: 100%;
  border-radius: var(--radius-3xl);
  object-fit: cover;
  box-shadow: var(--shadow-lift);
  filter: grayscale(100%);
}

.story-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--navy-soft);
  margin-top: 1.5rem;
}

.story-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-block: 1.5rem;
  line-height: 1.4;
}

.story-quote-cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy-soft);
  text-align: right;
}

/* Device Section */
.devices-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.6);
  padding-block: 4.5rem;
}

.devices-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.device-card {
  padding: 1.75rem;
}

.device-title {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.device-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Countdown Section */
.countdown-section {
  background-color: var(--navy);
  color: #ffffff;
  padding-block: 5rem;
  text-align: center;
}

.countdown-box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

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

.countdown-cell {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 1.75rem 1rem;
  backdrop-filter: blur(8px);
}

.countdown-val {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

@media (min-width: 640px) {
  .countdown-val {
    font-size: 3.5rem;
  }
}

.countdown-lbl {
  margin-top: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

/* Careers Section */
.careers-section {
  padding-block: 5rem;
}

.careers-card {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .careers-card {
    grid-template-columns: 1fr 1.1fr;
    padding: 3.5rem;
  }
}

.careers-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* Secondary CTA Section */
.secondary-cta-section {
  border-top: 1px solid var(--border);
  background-color: rgba(227, 245, 241, 0.45);
  padding-block: 4.5rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (max-width: 767.98px) {
  .site-footer {
    text-align: center;
  }

  .site-footer .site-logo {
    display: inline-block;
    margin-inline: auto;
  }

  .site-footer .logo-footer-mark {
    margin-inline: auto;
  }

  .site-footer p {
    margin-inline: auto;
  }

  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-lang-selector {
    justify-content: center;
  }

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.25rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.social-pill {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.social-pill:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-modal);
  background-color: var(--navy);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background-color: #102a24;
  color: #8cead7;
  border-color: #1c5246;
}

.toast.error {
  background-color: #3b1111;
  color: #fca5a5;
  border-color: #7f1d1d;
}

/* Contact Page Form Styles */
.contact-hero {
  padding-block: 4rem 6rem;
}

.contact-card-wrap {
  max-width: 48rem;
  margin-inline: auto;
}

.contact-card {
  padding: 2.5rem 1.5rem;
}

@media (min-width: 640px) {
  .contact-card {
    padding: 3.5rem;
  }
}

.contact-form-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .contact-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-col-full {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-soft);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input {
  min-height: 3.25rem;
  height: 3.25rem;
}

.form-input[type="file"] {
  display: flex;
  align-items: center;
  padding-block: 0.5rem;
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(61, 184, 165, 0.18);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-feedback.is-success {
  display: block;
  background-color: var(--mint-soft);
  color: var(--accent-foreground);
  border: 1px solid #a7dfd4;
}

.form-feedback.is-error {
  display: block;
  background-color: var(--coral-soft);
  color: #a82e07;
  border: 1px solid #f8b49e;
}

.btn-loading-spinner {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.is-submitting .btn-submit-text {
  display: none;
}

.is-submitting .btn-loading-spinner {
  display: inline-block;
}

/* Legal Page Content Styles */
.legal-content-wrap {
  max-width: 52rem;
  margin-inline: auto;
  padding-block: 4rem 6rem;
}

.legal-body {
  margin-top: 2.5rem;
  padding: 2.5rem 1.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--navy-soft);
}

@media (min-width: 640px) {
  .legal-body {
    padding: 3.5rem 3rem;
  }
}

.legal-body h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.legal-body h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.legal-body ul, .legal-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

/* Footer Interactive Language Selector */
.footer-lang-selector {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-lang-selector .lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease, font-weight 0.2s ease;
}

.footer-lang-selector .lang-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.footer-lang-selector .lang-btn.active {
  color: var(--mint);
  font-weight: 700;
  background-color: rgba(61, 184, 165, 0.12);
}
