@import url('tokens/oriel-tokens.css');

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

/* ─── Base ───────────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--oriel-font-body);
}

/* ─── Theme Aliases (default: dark) ──────────────────────── */
:root {
  --oriel-t-bg: var(--oriel-bg-dark);
  --oriel-t-text: var(--oriel-text-dark);
  --oriel-t-text-muted: var(--oriel-text-muted-dark);
  --oriel-t-surface: var(--oriel-surface-dark);
  --oriel-t-border: var(--oriel-border-dark);
}

[data-theme="light"] {
  --oriel-t-bg: var(--oriel-bg);
  --oriel-t-text: var(--oriel-text);
  --oriel-t-text-muted: var(--oriel-text-muted);
  --oriel-t-surface: var(--oriel-surface);
  --oriel-t-border: var(--oriel-border);
}

/* ─── Focus ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
  border-radius: var(--oriel-radius-sm);
}

/* ─── Entrance Animations ────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* ─── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children with data-delay */
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* ─── Page: Teaser ──────────────────────────────────────── */
.page-teaser {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--oriel-space-xl) 0;
  background-color: var(--oriel-t-bg);
  background-image:
    radial-gradient(
      ellipse 72% 60% at 50% 42%,
      rgba(212, 129, 59, 0.22) 0%,
      transparent 100%
    );
  color: var(--oriel-t-text);
}

/* ─── Teaser main column ────────────────────────────────── */
.page-teaser main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
  padding: 0 var(--oriel-space-xl);
  text-align: center;
}

.page-teaser main::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 129, 59, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

.page-teaser main > * {
  position: relative;
  z-index: 1;
}

/* Staggered entrance for teaser content */
.page-teaser .logo {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-teaser .wordmark {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.page-teaser .tagline {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}

.page-teaser .subtitle {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 270ms both;
}

.page-teaser .features {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 350ms both;
}

.page-teaser .email-form {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 500ms both;
}

.page-teaser .footer-note {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 600ms both;
}

/* ─── Page: Product ─────────────────────────────────────── */
.page-product {
  background-color: var(--oriel-t-bg);
  color: var(--oriel-t-text);
}

/* ─── Product Hero ──────────────────────────────────────── */
.product-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px var(--oriel-space-xl) 80px;
  background-color: var(--oriel-t-bg);
  background-image:
    radial-gradient(
      ellipse 72% 60% at 50% 30%,
      rgba(212, 129, 59, 0.22) 0%,
      transparent 100%
    );
}

.product-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 129, 59, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

.product-hero > * {
  position: relative;
  z-index: 1;
}

.product-hero .logo {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-hero .wordmark {
  margin-top: var(--oriel-space-lg);
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-display);
  font-weight: 700;
  line-height: var(--oriel-leading-heading);
  letter-spacing: -0.03em;
  color: var(--oriel-t-text);
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.product-hero .tagline {
  margin-top: var(--oriel-space-sm);
  font-size: var(--oriel-text-h3);
  line-height: var(--oriel-leading-body);
  color: var(--oriel-t-text-muted);
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}

.product-hero .app-store-badge {
  animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 350ms both;
}

/* ─── App Store Badge ───────────────────────────────────── */
.app-store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--oriel-space-sm);
  background: #000;                          /* Apple App Store badge brand color */
  color: #fff;                               /* Apple App Store badge brand color */
  border-radius: 10px;                       /* Apple App Store badge standard radius */
  padding: 10px 20px;
  margin-top: var(--oriel-space-2xl);
  text-decoration: none;
  cursor: not-allowed;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.app-store-badge .badge-label-small {
  display: block;
  font-size: 10px;
}

.app-store-badge .badge-label-big {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.app-store-badge::after {
  content: 'Coming Soon';
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--oriel-t-text-muted);
  font-size: var(--oriel-text-small);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.app-store-badge:hover::after,
.app-store-badge:focus-visible::after {
  opacity: 1;
}

.app-store-badge:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}

/* ─── Features Section ─────────────────────────────────── */
.features-section {
  background: var(--oriel-t-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px var(--oriel-space-xl);
}

.features-heading {
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-display);
  font-weight: 700;
  color: var(--oriel-t-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--oriel-space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--oriel-space-xl);
  max-width: 900px;
  width: 100%;
}

.feature-card {
  background: var(--oriel-t-surface);
  border-radius: var(--oriel-radius-md);
  padding: var(--oriel-space-2xl);
  text-align: left;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 129, 59, 0.1);
}

/* Diagonal pair: warm tint to break uniformity */
.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  background: rgba(212, 129, 59, 0.08);
}

.feature-card:nth-child(2):hover,
.feature-card:nth-child(3):hover {
  box-shadow: 0 12px 40px rgba(212, 129, 59, 0.1);
}

.feature-card-icon {
  width: 28px;
  height: 28px;
  color: var(--oriel-primary);
  margin-bottom: var(--oriel-space-md);
}

.feature-card-title {
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-h3);
  font-weight: 700;
  color: var(--oriel-t-text);
  margin-bottom: var(--oriel-space-sm);
}

.feature-card-desc {
  font-size: 15px;
  color: var(--oriel-t-text-muted);
  line-height: var(--oriel-leading-body);
}

/* ─── Differentiator Callout ────────────────────────────── */
.differentiator-callout {
  max-width: 600px;
  margin-top: var(--oriel-space-3xl);
  font-size: var(--oriel-text-body);
  color: var(--oriel-t-text-muted);
  line-height: var(--oriel-leading-body);
}

.differentiator-callout p + p {
  margin-top: var(--oriel-space-xs);
}

.differentiator-callout strong {
  color: var(--oriel-primary);
  font-family: var(--oriel-font-heading);
  font-weight: 700;
  font-size: var(--oriel-text-h2);
}

/* ─── Logo ───────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 24px rgba(232, 166, 101, 0.45));
}

/* ─── Wordmark ───────────────────────────────────────────── */
.wordmark {
  margin-top: var(--oriel-space-lg);          /* 16px — logo to wordmark */
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-display);        /* 48px */
  font-weight: 700;
  line-height: var(--oriel-leading-heading);
  letter-spacing: -0.02em;
  color: var(--oriel-t-text);
}

/* ─── Tagline ────────────────────────────────────────────── */
.tagline {
  margin-top: var(--oriel-space-sm);           /* 8px — wordmark to tagline */
  font-family: var(--oriel-font-body);
  font-size: var(--oriel-text-body);           /* 16px */
  line-height: var(--oriel-leading-body);
  color: var(--oriel-t-text-muted);
}

/* ─── Subtitle ──────────────────────────────────────────── */
.subtitle {
  margin-top: var(--oriel-space-xs);            /* 4px — tagline to subtitle */
  font-family: var(--oriel-font-body);
  font-size: var(--oriel-text-small);           /* 14px */
  line-height: var(--oriel-leading-body);
  color: var(--oriel-t-text-muted);
  opacity: 0.8;
}

/* ─── Features ──────────────────────────────────────────── */
.features {
  margin-top: var(--oriel-space-xl);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--oriel-space-lg);
  width: 100%;
  padding: var(--oriel-space-xl) 0;
  border-top: 1px solid var(--oriel-t-border);
  border-bottom: 1px solid var(--oriel-t-border);
}

.feature {
  grid-column: span 2;
  text-align: center;
}

/* Center the 2-item second row */
.feature:nth-child(4) {
  grid-column: 2 / 4;
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--oriel-secondary);
  margin-bottom: var(--oriel-space-sm);
}

.feature-title {
  font-family: var(--oriel-font-body);
  font-size: var(--oriel-text-body);
  font-weight: 600;
  color: var(--oriel-t-text);
  margin-bottom: var(--oriel-space-xs);
}

.feature-desc {
  font-family: var(--oriel-font-body);
  font-size: var(--oriel-text-small);
  line-height: var(--oriel-leading-body);
  color: var(--oriel-t-text-muted);
}

/* ─── Email form ─────────────────────────────────────────── */
.email-form {
  margin-top: var(--oriel-space-2xl);          /* 32px — features to form */
  display: flex;
  flex-direction: row;
  gap: var(--oriel-space-sm);                  /* 8px between input & button */
  width: 100%;
}

.email-form input[type="email"] {
  flex: 1 1 0%;
  height: 44px;
  padding: 10px 14px;
  background: rgba(255, 248, 240, 0.08);
  border: 1.5px solid rgba(232, 166, 101, 0.3);
  border-radius: var(--oriel-radius-sm);       /* 8px */
  font-family: var(--oriel-font-body);
  font-size: var(--oriel-text-body);
  color: var(--oriel-t-text);
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.email-form input[type="email"]::placeholder {
  color: var(--oriel-placeholder);
}

.email-form input[type="email"]:focus {
  border-color: var(--oriel-secondary);        /* #E8A665 — honey border */
  background: rgba(255, 248, 240, 0.11);
}

.email-form input[type="email"]:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: -2px;
}

.email-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}

.email-form button[type="submit"] {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 var(--oriel-space-xl);            /* 24px horizontal, height via fixed px */
  background: var(--oriel-primary);            /* #D4813B */
  color: #ffffff;
  border: none;
  border-radius: var(--oriel-radius-sm);       /* 8px */
  font-family: var(--oriel-font-body);
  font-size: var(--oriel-text-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.email-form button[type="submit"]:hover {
  background: var(--oriel-primary-pressed);    /* #B86D2F */
  box-shadow: 0 6px 24px rgba(212, 129, 59, 0.4);
  transform: translateY(-1px);
}

.email-form button[type="submit"]:active {
  background: var(--oriel-primary-pressed);
  box-shadow: none;
  transform: translateY(0);
}

/* ─── Footer note ────────────────────────────────────────── */
.footer-note {
  margin-top: var(--oriel-space-2xl);          /* 32px — form to footer */
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--oriel-font-body);
  font-size: 0.75rem;                          /* 12px — below --oriel-text-small (14px) */
  color: var(--oriel-t-text-muted);
  opacity: 0.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apple-icon {
  width: 12px;
  height: 14px;
}

/* ─── Language & Theme Switcher ─────────────────────────── */
.lang-switcher {
  position: fixed;
  top: var(--oriel-space-lg);
  right: var(--oriel-space-lg);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--oriel-space-sm);
}

#theme-toggle {
  background: none;
  border: 1px solid var(--oriel-t-border);
  border-radius: var(--oriel-radius-full);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--oriel-t-text-muted);
  padding: 0;
  transition: border-color 150ms ease, color 150ms ease;
}

#theme-toggle:hover {
  border-color: var(--oriel-secondary);
  color: var(--oriel-secondary);
}

#theme-toggle:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}

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

.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--oriel-t-surface);
  color: var(--oriel-t-text-muted);
  border: 1px solid var(--oriel-t-border);
  border-radius: var(--oriel-radius-sm);
  padding: 6px 28px 6px 10px;
  font-family: var(--oriel-font-body);
  font-size: var(--oriel-text-small);
  cursor: pointer;
  outline: none;
  transition: border-color 150ms ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%23BFA07A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.lang-switcher select:hover,
.lang-switcher select:focus {
  border-color: var(--oriel-secondary);
}

.lang-switcher select:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}

/* ─── App Preview ───────────────────────────────────────── */
.preview-section {
  background: var(--oriel-t-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px var(--oriel-space-xl);
}

.iphone-mockup {
  background: #111;                          /* device hardware color, not a token */
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 560px;
  padding: 12px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(212, 129, 59, 0.12);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--oriel-surface-dark), var(--oriel-bg-dark));
}

/* ─── Page Footer ───────────────────────────────────────── */
.page-footer {
  background: var(--oriel-t-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px var(--oriel-space-xl);
}

.footer-links {
  display: flex;
  gap: var(--oriel-space-xl);
}

.footer-links a {
  color: var(--oriel-t-text-muted);
  text-decoration: none;
  font-size: var(--oriel-text-small);
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--oriel-t-text);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}

.footer-copy {
  color: var(--oriel-t-text-muted);
  opacity: 0.6;
  font-size: var(--oriel-text-small);
  margin-top: var(--oriel-space-lg);
}

/* ─── Responsive — Product Page (<768px) ────────────────── */
@media (max-width: 767px) {
  .product-hero {
    padding: 60px 20px;
  }

  .product-hero .logo svg {
    width: 48px;
    height: 48px;
  }

  .product-hero .wordmark {
    font-size: var(--oriel-text-h1);
  }

  .product-hero .tagline {
    font-size: var(--oriel-text-body);
  }

  .app-store-badge {
    padding: 8px 16px;
    font-size: 12px;
  }

  .features-section {
    padding: 48px 20px;
  }

  .features-heading {
    font-size: var(--oriel-text-h1);
    margin-bottom: var(--oriel-space-2xl);
  }

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

  .feature-card:hover {
    transform: none;
  }

  .preview-section {
    padding: 40px 20px;
  }

  .iphone-mockup {
    width: 240px;
    height: 480px;
    padding: 10px;
  }

  .page-footer {
    padding: 32px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

}

/* ─── Responsive — mobile (<480px) ──────────────────────── */
@media (max-width: 479px) {
  .email-form {
    flex-direction: column;
  }

  .email-form input[type="email"],
  .email-form button[type="submit"] {
    width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
    gap: var(--oriel-space-xl);
  }

  .feature,
  .feature:nth-child(4) {
    grid-column: auto;
  }

  .wordmark {
    font-size: 2.5rem;                         /* scale down slightly on small screens */
  }
}

/* ─── Responsive — About & Privacy (<768px) ──────────────── */
@media (max-width: 767px) {
  .about-content,
  .privacy-content {
    padding: var(--oriel-space-3xl) 20px;
  }

  .about-hero {
    font-size: var(--oriel-text-h1);
  }

  .about-body h2 {
    font-size: var(--oriel-text-h3);
  }

  .about-emphasis {
    font-size: var(--oriel-text-h3);
  }
}

/* ─── Light Theme Overrides ─────────────────────────────── */
[data-theme="light"] .logo {
  filter: drop-shadow(0 0 16px rgba(212, 129, 59, 0.2));
}

[data-theme="light"] .page-teaser main::before,
[data-theme="light"] .product-hero::before {
  background: radial-gradient(circle, rgba(212, 129, 59, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .page-teaser {
  background-image: radial-gradient(ellipse 72% 60% at 50% 42%, rgba(212, 129, 59, 0.1) 0%, transparent 100%);
}

[data-theme="light"] .product-hero {
  background-image: radial-gradient(ellipse 72% 60% at 50% 30%, rgba(212, 129, 59, 0.1) 0%, transparent 100%);
}

[data-theme="light"] .email-form input[type="email"] {
  background: rgba(44, 24, 16, 0.04);
  border-color: rgba(212, 129, 59, 0.35);
  color: var(--oriel-t-text);
}

[data-theme="light"] .email-form input[type="email"]:focus {
  background: rgba(44, 24, 16, 0.06);
}

[data-theme="light"] .feature-card {
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.06);
}

[data-theme="light"] .feature-card:nth-child(2),
[data-theme="light"] .feature-card:nth-child(3) {
  background: rgba(212, 129, 59, 0.06);
  box-shadow: none;
}

[data-theme="light"] .lang-switcher select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%236B4C3A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

[data-theme="light"] .iphone-mockup {
  box-shadow:
    0 20px 60px rgba(44, 24, 16, 0.15),
    0 0 80px rgba(212, 129, 59, 0.06);
}

[data-theme="light"] .privacy-section li strong,
[data-theme="light"] .about-body li strong {
  color: var(--oriel-t-text);
}

/* ─── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─── Page: About ──────────────────────────────────────── */
.page-about {
  background-color: var(--oriel-t-bg);
  color: var(--oriel-t-text);
}

.about-back-link {
  display: inline-block;
  color: var(--oriel-primary);
  text-decoration: none;
  font-size: var(--oriel-text-small);
  padding: var(--oriel-space-sm) 0;
  margin-bottom: var(--oriel-space-3xl);
  transition: color 0.15s ease;
}

.about-back-link:hover,
.about-back-link:focus-visible {
  color: var(--oriel-secondary);
}

.about-back-link:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px var(--oriel-space-xl);
}

.about-hero {
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-display);
  font-weight: 700;
  line-height: var(--oriel-leading-heading);
  letter-spacing: -0.02em;
  color: var(--oriel-t-text);
  margin-bottom: var(--oriel-space-3xl);
}

.about-body p {
  font-size: 15px;
  color: var(--oriel-t-text-muted);
  line-height: 1.8;
  margin-bottom: var(--oriel-space-xl);
}

.about-emphasis {
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-h2);
  font-weight: 700;
  color: var(--oriel-t-text);
  line-height: var(--oriel-leading-heading);
}

.about-body h2 {
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-h2);
  font-weight: 700;
  color: var(--oriel-t-text);
  margin-top: var(--oriel-space-3xl);
  margin-bottom: var(--oriel-space-md);
}

.about-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--oriel-space-xl);
}

.about-body li {
  font-size: 15px;
  color: var(--oriel-t-text-muted);
  line-height: 1.8;
  padding-left: var(--oriel-space-xl);
  position: relative;
}

.about-body li + li {
  margin-top: var(--oriel-space-xs);
}

.about-body li::before {
  content: '';
  position: absolute;
  left: var(--oriel-space-sm);
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oriel-primary);
}

.about-closing {
  margin-top: var(--oriel-space-xl);
  font-size: var(--oriel-text-small);
  color: var(--oriel-t-text-muted);
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* ─── Page: Privacy ─────────────────────────────────────── */
.page-privacy {
  background-color: var(--oriel-t-bg);
  color: var(--oriel-t-text);
}

.privacy-back-link {
  display: inline-block;
  color: var(--oriel-primary);
  text-decoration: none;
  font-size: var(--oriel-text-small);
  padding: var(--oriel-space-sm) 0;
  margin-bottom: var(--oriel-space-3xl);
  transition: color 0.15s ease;
}

.privacy-back-link:hover,
.privacy-back-link:focus-visible {
  color: var(--oriel-secondary);
}

.privacy-back-link:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}

.privacy-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px var(--oriel-space-xl);
}

.privacy-content h1 {
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-h1);
  font-weight: 700;
  color: var(--oriel-t-text);
  margin-bottom: var(--oriel-space-sm);
}

.privacy-content .privacy-updated {
  font-size: var(--oriel-text-small);
  color: var(--oriel-t-text-muted);
  margin-bottom: var(--oriel-space-3xl);
}

.privacy-section {
  margin-bottom: var(--oriel-space-2xl);
}

.privacy-section h2 {
  font-family: var(--oriel-font-heading);
  font-size: var(--oriel-text-h3);
  font-weight: 700;
  color: var(--oriel-t-text);
  margin-bottom: var(--oriel-space-md);
}

.privacy-section p {
  font-size: 15px;
  color: var(--oriel-t-text-muted);
  line-height: 1.7;
}

.privacy-section ul {
  list-style: none;
  padding: 0;
  margin-top: var(--oriel-space-md);
}

.privacy-section li {
  font-size: 15px;
  color: var(--oriel-t-text-muted);
  line-height: 1.7;
  padding-left: var(--oriel-space-xl);
  position: relative;
}

.privacy-section li + li {
  margin-top: var(--oriel-space-xs);
}

.privacy-section li::before {
  content: '';
  position: absolute;
  left: var(--oriel-space-sm);
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oriel-primary);
}

.privacy-section a {
  color: var(--oriel-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.privacy-section a:hover,
.privacy-section a:focus-visible {
  color: var(--oriel-secondary);
}

.privacy-section a:focus-visible {
  outline: 2px solid var(--oriel-secondary);
  outline-offset: 2px;
}
