/* Holding page, in the visual language of ovumcy.com: same fonts, tokens, header, hero, cards and buttons. Light and dark follow prefers-color-scheme. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/instrument-sans-var-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-400-latin.woff2") format("woff2");
}

/* Metric-compatible local fallbacks keep line breaks stable while the web fonts load. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial");
  size-adjust: 102.07%;
  ascent-override: 95.03%;
  descent-override: 24.49%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Instrument Serif Fallback";
  src: local("Georgia");
  size-adjust: 76.32%;
  ascent-override: 129.72%;
  descent-override: 40.62%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light dark;
  --bg: oklch(0.97 0.008 350);
  --bg2: oklch(0.945 0.016 350);
  --card: oklch(0.99 0.004 350);
  --ink: oklch(0.33 0.055 295);
  --muted: oklch(0.52 0.04 295);
  --line: oklch(0.885 0.016 345);
  --accent: oklch(0.53 0.15 10);
  --accent-soft: oklch(0.94 0.04 10);
  --sage: oklch(0.55 0.12 295);
  --sage-soft: oklch(0.94 0.03 295);
  --shadow: 0 24px 60px -24px oklch(0.33 0.055 295 / 0.28);
  --warn-line: oklch(0.7 0.14 70);
  --warn-bg: oklch(0.965 0.035 85);
  --warn-ink: oklch(0.45 0.1 60);
  --font-sans: "Instrument Sans", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.23 0.025 300);
    --bg2: oklch(0.2 0.022 300);
    --card: oklch(0.28 0.03 300);
    --ink: oklch(0.94 0.012 320);
    --muted: oklch(0.72 0.025 300);
    --line: oklch(0.36 0.025 300);
    --accent: oklch(0.76 0.12 10);
    --accent-soft: oklch(0.34 0.06 10);
    --sage: oklch(0.75 0.09 295);
    --sage-soft: oklch(0.35 0.045 295);
    --shadow: 0 24px 60px -24px oklch(0 0 0 / 0.6);
    --warn-line: oklch(0.72 0.12 75);
    --warn-bg: oklch(0.29 0.045 70);
    --warn-ink: oklch(0.86 0.1 80);
  }
}

* {
  box-sizing: border-box;
}

html {
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent) 45%, transparent);
  outline-offset: 3px;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
}

.page-shell {
  overflow: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell main {
  flex: 1;
}

.container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 0;
}

/* Language switcher: plain links, pill-shaped like the language control of ovumcy.com. */

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.lang-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.lang-link.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--card);
}

@media (hover: hover) {
  .lang-link:not(.is-active):hover {
    color: var(--ink);
    border-color: var(--muted);
  }
}

/* One-line language hint, revealed by a script only on "/". */

.lang-hint-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}

/* The bar stays out of the layout until a hint inside it is revealed. */
.lang-hint-bar:not(:has(.lang-hint:not([hidden]))) {
  display: none;
}

.lang-hint-bar .container {
  padding: 8px 0;
  font-size: 14px;
}

.lang-hint {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: block;
}

.brand em {
  font-style: normal;
  color: var(--accent);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
}

.hero-orb-accent {
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  background: var(--accent-soft);
  filter: blur(2px);
}

.hero-orb-sage {
  bottom: -220px;
  left: -160px;
  width: 480px;
  height: 480px;
  background: var(--sage-soft);
}

.hero-grid {
  position: relative;
  padding: 88px 0 96px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--muted);
}

.hero-copy h1 {
  font-size: clamp(46px, 5.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse-soft 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot {
    animation: none;
  }
}

/* Planned features */

.band {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band .container {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.promise-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  counter-reset: promise;
}

.promise-card {
  counter-increment: promise;
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}

.promise-card::before {
  content: "0" counter(promise);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

.note {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--muted);
}

/* Third-party hosting caution: an amber tone, deliberately not the brand accent used by calls to action. */

.hosting-note-wrap {
  padding-top: 56px;
}

.hosting-note {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 28px;
  border: 2px solid var(--warn-line);
  border-radius: 20px;
  background: var(--warn-bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hosting-note-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hosting-note-icon {
  flex: none;
  color: var(--warn-ink);
}

.hosting-note-title {
  font-size: 20px;
  line-height: 1.3;
  color: var(--warn-ink);
}

/* Panels */

.panel-grid {
  padding: 56px 0 84px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.panel h2 {
  font-size: 30px;
  line-height: 1.15;
}

.panel p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.panel .note {
  margin-top: 0;
  font-size: 13.5px;
}

.panel form {
  margin: 0;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buttons */

.button {
  min-height: 52px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  border: 1.5px solid transparent;
  background: var(--accent);
  color: var(--card);
  font: 600 16px/1.2 var(--font-sans);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button:disabled {
  cursor: default;
  opacity: 0.7;
}

@media (hover: hover) {
  .button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }

  .text-link:hover {
    color: var(--ink);
  }
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg2);
}

.footer-bottom-row {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

.official-sites {
  margin: 0;
  padding: 0 0 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.official-sites a {
  color: inherit;
  text-decoration: underline;
}

.footer-bottom-row .brand {
  font-weight: 600;
  color: var(--ink);
}

/* FAQ: native details, no script */

.faq .container {
  padding-bottom: 84px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  flex: 1;
}

.faq-marker {
  font-size: 19px;
  line-height: 1;
  color: var(--accent);
}

.faq-item[open] .faq-marker {
  transform: rotate(45deg);
}

.faq-answer p {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 640px) {
  .faq .container {
    padding-bottom: 60px;
  }

  .hero-grid {
    padding: 56px 0 64px;
  }

  .band .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hosting-note-wrap {
    padding-top: 40px;
  }

  .promise-card,
  .panel,
  .hosting-note {
    padding: 22px 20px;
  }

  .panel-grid {
    padding: 40px 0 60px;
    grid-template-columns: minmax(0, 1fr);
  }

  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
