/* PONTUS marketing site — implemented from "PONTUS Site.dc.html" (Claude Design) */

:root {
  --bg: #141020;
  --bg-2: #241E38;
  --bg-3: #3A3058;
  --panel: #2A2340;
  --coral: #E8958A;
  --coral-deep: #D9786B;
  --lilac: #9B8EC4;
  --lilac-soft: #B7AECF;
  --text: #fff;
  --text-2: #D8D2E8;
  --muted: #8B839E;
  --placeholder: #6F6787;
  --line: rgba(183, 174, 207, .14);
  --line-strong: rgba(183, 174, 207, .25);
  --card: rgba(255, 255, 255, .04);
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.4;
}
a { color: var(--lilac-soft); text-decoration: none; }
a:hover { color: var(--coral); }
img { max-width: 100%; }
p, h1, h2, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--coral); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

.shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1100px 560px at 50% -8%, var(--bg-3) 0%, var(--bg-2) 45%, var(--bg) 100%);
}
.main { flex: 1; }

/* Pages (hash-routed). Without JS all pages render stacked. */
.js .page:not(.is-active) { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px; font: inherit; font-weight: 600; font-size: 15px;
  color: #fff; cursor: pointer; white-space: nowrap; border: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { color: #fff; }
.btn--primary { background: var(--coral); }
.btn--primary:hover { background: var(--coral-deep); }
.btn--outline { background: transparent; border: 1.5px solid rgba(183, 174, 207, .35); }
.btn--outline:hover { border-color: var(--lilac-soft); }
.btn--lg { height: 54px; padding: 0 26px; }
.btn--sm { height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; }
.btn--nav { height: auto; padding: 10px 18px; border-radius: 12px; }
.btn--block { width: 100%; font-size: 16px; margin-top: 4px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, .chip:focus-within {
  outline: 2px solid var(--lilac); outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(14px, 3vw, 22px) var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand__tile {
  width: 52px; height: 52px; border-radius: 13px; background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.brand__tile img { width: 92%; height: auto; display: block; margin: auto; }
.brand__name { font-weight: 700; letter-spacing: .14em; font-size: 17px; }

.nav__links { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav__link {
  padding: 10px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; white-space: nowrap;
  color: var(--lilac-soft);
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }

.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 14px; padding: 0;
  border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .04);
  color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

.mobile-menu {
  margin: 0 20px 16px; padding: 8px; border-radius: 20px;
  background: var(--panel); border: 1px solid rgba(183, 174, 207, .18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
  min-height: 52px; padding: 0 18px; border-radius: 14px; display: flex; align-items: center;
  font-size: 18px; font-weight: 500; color: var(--text-2);
}
.mobile-menu__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.mobile-menu__cta { min-height: 52px; margin-top: 4px; border-radius: 14px; font-size: 17px; }

@media (max-width: 639px) {
  .nav__links { display: none; }
  .menu-btn { display: flex; }
}
@media (min-width: 640px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: 12px; letter-spacing: .3em; font-weight: 600; color: var(--lilac); text-transform: uppercase; }
.eyebrow--coral { color: var(--coral); }
.eyebrow--sm { font-size: 13px; letter-spacing: .2em; }
.gradient-text {
  background: linear-gradient(90deg, var(--lilac-soft), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page__title {
  font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance;
}
.lede { font-size: 19px; line-height: 1.55; color: var(--lilac-soft); text-wrap: pretty; }
.lede--sm { font-size: 18px; line-height: 1.6; }
.section__title {
  margin: 0 0 40px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.01em;
  max-width: 640px; text-wrap: balance;
}

/* ---------- Sections ---------- */
.section { padding: clamp(16px, 4vw, 40px) var(--gutter) clamp(56px, 10vw, 96px); max-width: 1200px; margin: 0 auto; }
.section--how .eyebrow { margin-bottom: 14px; }
.section--page {
  padding-top: clamp(28px, 7vw, 64px);
  display: flex; flex-direction: column; gap: clamp(36px, 7vw, 64px);
}
.section--about { gap: clamp(40px, 8vw, 72px); }
.intro { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.intro--wide { max-width: 820px; }

/* Hero */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(24px, 6vw, 56px) var(--gutter) clamp(48px, 8vw, 80px);
  gap: clamp(28px, 5vw, 40px);
}
.hero__video {
  position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: clamp(16px, 3vw, 28px); background: #141020;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(183, 174, 207, .14);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero__title {
  max-width: 760px; font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; line-height: 1.05;
  letter-spacing: -.02em; text-wrap: balance;
}
.hero__points {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  font-size: clamp(13px, 3.4vw, 14px); font-weight: 600; color: var(--lilac-soft); letter-spacing: .04em;
}
.hero__points li { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot--lilac { background: var(--lilac); }
.dot--coral { background: var(--coral); }
.hero__actions { display: flex; justify-content: center; width: 100%; }
.hero__actions .btn { min-width: min(240px, 100%); }

/* Grid + cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--tight { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card {
  padding: clamp(22px, 5vw, 28px); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.card--roomy { padding: clamp(22px, 5vw, 32px); gap: 18px; }
.card--belief { gap: 10px; }
.card--accent {
  background: linear-gradient(160deg, rgba(232, 149, 138, .16), rgba(155, 142, 196, .08));
  border-color: rgba(232, 149, 138, .3);
}
.card__num { font-size: 14px; font-weight: 700; color: var(--lilac); }
.card__num--coral { color: var(--coral); }
.card__title { font-size: 22px; font-weight: 600; }
.card__title--lg { font-size: 24px; }
.card__title--md { font-size: 21px; }
.card__text { font-size: 16px; line-height: 1.55; color: var(--lilac-soft); }
.card__list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--text-2); }

.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: clamp(24px, 5vw, 36px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.cta-band__text { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; max-width: 560px; text-wrap: balance; }
.cta-band .btn { flex: 1 1 180px; }

/* About */
.prose {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(20px, 5vw, 48px); font-size: clamp(16px, 2vw, 18px); line-height: 1.65; color: var(--text-2);
}
.prose p { text-wrap: pretty; }
.beliefs { display: flex; flex-direction: column; gap: 24px; }

/* Contact */
.section--contact {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 6vw, 56px); align-items: start;
}
.email-link { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #fff; margin-top: 8px; }
.email-link:hover { color: var(--coral); }
.form-card {
  padding: clamp(20px, 5vw, 32px); border-radius: 28px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(183, 174, 207, .16);
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form[hidden] { display: none; }
.form__label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 14px; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.topics legend { padding: 0; margin-bottom: 10px; }
.topics__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; border-radius: 12px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip span {
  height: 40px; padding: 0 16px; border-radius: 12px; display: inline-flex; align-items: center;
  border: 1.5px solid var(--line-strong); background: transparent; color: #fff;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s;
}
.chip input:checked + span { border-color: var(--coral); background: rgba(232, 149, 138, .18); }
.input {
  height: 50px; padding: 0 16px; border-radius: 14px; width: 100%;
  border: 1.5px solid var(--line-strong); background: rgba(20, 16, 32, .6);
  color: #fff; font: inherit; font-size: 16px; font-weight: 400;
}
.input--area { height: auto; padding: 14px 16px; resize: vertical; min-height: 120px; }
.input::placeholder { color: var(--placeholder); }
.input:focus { outline: none; border-color: var(--lilac); }
.input[aria-invalid="true"] { border-color: var(--coral); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 14px; line-height: 1.5; color: var(--coral); }
.form__error a { color: #fff; text-decoration: underline; }
.form__error[hidden] { display: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

.sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 8px; }
.sent[hidden] { display: none; }
.sent__check { width: 56px; height: 56px; border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center; }
.sent__title { font-size: 24px; font-weight: 600; }
.sent__text { font-size: 16px; color: var(--lilac-soft); max-width: 320px; line-height: 1.55; }
.sent .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 24px 0 40px; }
.mic { position: relative; width: 72px; height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: center; z-index: 2; }
.mic__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral); animation: ringPulse 2.4s ease-out infinite; }
.mic__ring--late { animation-delay: 1.2s; }
.mic__body {
  width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 32px rgba(232, 149, 138, .35);
}
.wave {
  margin-top: clamp(16px, 4vw, 28px); height: clamp(90px, 18vw, 140px);
  display: flex; align-items: center; overflow: hidden; position: relative; z-index: 1;
}
.wave__track { display: flex; align-items: center; width: max-content; animation: drift 40s linear infinite; }
.wave__row { display: flex; align-items: center; gap: 8px; padding-right: 8px; }
.wave__bar { flex: 0 0 auto; width: 6px; border-radius: 3px; background: var(--lilac); opacity: .9; animation: wave 1s ease-in-out infinite; }
.wave__bar--coral { background: var(--coral); }
.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 32px var(--gutter) 0; font-size: 13px; color: var(--muted); position: relative; z-index: 2;
}
.footer__links { display: flex; gap: 4px 8px; flex-wrap: wrap; margin: 0 -10px; }
.footer__links a { padding: 10px; }

@keyframes wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
@keyframes ringPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes drift { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .mic__ring, .wave__track, .wave__bar { animation: none; }
  .mic__ring { opacity: .35; }
  .wave__bar { transform: scaleY(.5); }
}
