@font-face {
  font-family: "Alexandria";
  src: url("assets/fonts/Alexandria-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Alexandria";
  src: url("assets/fonts/Alexandria-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Alexandria";
  src: url("assets/fonts/Alexandria-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Alexandria";
  src: url("assets/fonts/Alexandria-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --background: #ffffff;
  --surface: #f3f3f3;
  --surface-selected: #e8e8e8;
  --text: #161616;
  --secondary: #6b6b6b;
  --border: rgba(22, 22, 22, 0.14);
  --blue: #2f64d6;
  --radius: 28px;
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Alexandria", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
footer {
  width: var(--page);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a,
footer nav a {
  color: var(--secondary);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover,
footer nav a:hover {
  color: var(--text);
}

.site-header .nav-contact {
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}

main {
  overflow: hidden;
}

.hero {
  width: var(--page);
  min-height: 690px;
  margin: 18px auto 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(440px, 0.97fr);
  align-items: center;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--secondary);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.65rem, 6.6vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--secondary);
}

.hero-intro {
  max-width: 630px;
  margin: 30px 0;
  color: var(--secondary);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.84;
}

.fine-print {
  display: inline-block;
  margin: 0 0 0 16px;
  color: var(--secondary);
  font-size: 0.73rem;
}

.hero-art {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  z-index: -3;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.hero-mascot {
  width: min(440px, 88%);
  margin-top: 48px;
  filter: drop-shadow(0 30px 25px rgba(22, 22, 22, 0.12));
  animation: float 5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.orbit-one {
  width: 570px;
  height: 570px;
}

.orbit-two {
  width: 690px;
  height: 690px;
  border-style: dashed;
  opacity: 0.45;
}

.friend-bubble {
  position: absolute;
  z-index: 2;
  max-width: 210px;
  padding: 14px 17px;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(22, 22, 22, 0.11);
  backdrop-filter: blur(10px);
}

.friend-bubble span {
  display: block;
  margin-bottom: 5px;
  color: var(--secondary);
  font-size: 0.67rem;
}

.friend-bubble strong {
  font-size: 0.77rem;
  line-height: 1.35;
}

.bubble-left {
  top: 126px;
  left: 0;
  transform: rotate(-3deg);
}

.bubble-right {
  right: 0;
  bottom: 108px;
  transform: rotate(3deg);
}

.manifesto {
  width: var(--page);
  min-height: 210px;
  margin: 0 auto 126px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--text);
  color: white;
  display: grid;
  place-content: center;
  text-align: center;
}

.manifesto p,
.manifesto strong {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 3.1rem);
  letter-spacing: -0.04em;
}

.manifesto p {
  color: #aaa7a2;
}

.steps {
  width: var(--page);
  margin: 0 auto 150px;
}

.section-heading {
  margin-bottom: 46px;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.7vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 520px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.step-number {
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

.mini-screen {
  min-height: 240px;
  margin: 38px 0 36px;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface);
}

.block-screen {
  display: flex;
  align-items: center;
  gap: 10px;
}

.block-screen img {
  width: 108px;
  margin-left: -20px;
}

.mini-screen small,
.mini-screen span {
  color: var(--secondary);
  font-size: 0.68rem;
}

.mini-screen b,
.mini-screen strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.request-screen,
.decision-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.request-screen p {
  margin: 16px 0;
  padding: 16px;
  border-radius: 16px 16px 5px 16px;
  background: var(--text);
  color: white;
  font-size: 0.82rem;
  line-height: 1.5;
}

.decision-screen {
  align-items: center;
  text-align: center;
}

.avatars {
  display: flex;
  margin-bottom: 24px;
}

.avatars img {
  width: 44px;
  height: 44px;
  margin-left: -8px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  object-fit: cover;
}

.avatars img:first-child {
  margin-left: 0;
}

.decision-screen small {
  margin-top: 6px;
}

.step-card h3 {
  margin: auto 0 10px;
  font-size: 1.28rem;
}

.step-card > p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.together {
  width: var(--page);
  margin: 0 auto 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.together-art {
  position: relative;
  min-height: 580px;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: grid;
  place-items: end center;
}

.together-art img {
  position: relative;
  z-index: 1;
  width: 120%;
  max-width: none;
  margin-bottom: 48px;
}

.sunburst {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 62%, rgba(22, 22, 22, 0.055) 0 10deg, transparent 10deg 22deg);
}

.together-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 28px 0;
  color: var(--secondary);
  line-height: 1.7;
}

.together-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.together-copy li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.together-copy li span {
  margin-right: 10px;
}

.doomy-ai {
  width: var(--page);
  min-height: 650px;
  margin: 0 auto 150px;
  padding: clamp(36px, 6vw, 76px);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.ai-copy .eyebrow span {
  margin-left: 4px;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.ai-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0;
  color: var(--secondary);
  line-height: 1.7;
}

.ai-note {
  max-width: 520px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ai-note > span {
  flex: 0 0 auto;
  font-size: 1.1rem;
}

.ai-note p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.82rem;
  line-height: 1.55;
}

.ai-note strong {
  color: var(--text);
  font-weight: 600;
}

.ai-scene {
  position: relative;
  min-height: 490px;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 26px;
  background: white;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.ai-scene::before {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.ai-scene img {
  position: relative;
  z-index: 1;
  width: min(310px, 72%);
  margin-top: 48px;
  filter: drop-shadow(0 24px 20px rgba(22, 22, 22, 0.12));
}

.ai-message {
  position: absolute;
  z-index: 2;
  max-width: 230px;
  padding: 14px 17px;
  border-radius: 17px;
  font-size: 0.75rem;
  line-height: 1.45;
  box-shadow: 0 14px 34px rgba(22, 22, 22, 0.1);
}

.ai-message-user {
  top: 40px;
  right: 28px;
  border-bottom-right-radius: 5px;
  background: var(--text);
  color: white;
}

.ai-message-doomy {
  bottom: 78px;
  left: 24px;
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
  background: white;
}

.ai-verdict {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  color: var(--secondary);
  font-size: 0.61rem;
}

.ai-verdict span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #f2a64a;
}

.faq {
  width: var(--page);
  margin: 0 auto 150px;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(44px, 8vw, 120px);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 4px;
  color: var(--secondary);
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 680px;
  margin: -4px 0 24px;
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-list details a {
  color: var(--text);
  font-weight: 500;
}

.launch-card {
  width: var(--page);
  min-height: 330px;
  margin: 0 auto 40px;
  padding: 58px;
  border-radius: var(--radius);
  background: #1e1c19;
  color: #fcf8f1;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 38px;
}

.launch-card img {
  width: 140px;
  filter: drop-shadow(0 16px 15px rgba(0, 0, 0, 0.26));
}

.launch-card .eyebrow,
.launch-card p {
  color: #b9b1a6;
}

.launch-card h2 {
  font-size: clamp(2rem, 3.7vw, 3.6rem);
}

.launch-card p:not(.eyebrow) {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

.button-light {
  background: #fcf8f1;
  color: #1e1c19;
  white-space: nowrap;
}

footer {
  min-height: 150px;
  gap: 28px;
}

footer p {
  color: var(--secondary);
  font-size: 0.73rem;
}

.footer-brand {
  font-size: 0.9rem;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-art {
    min-height: 560px;
  }

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

  .step-card {
    min-height: 420px;
  }

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

  .doomy-ai {
    grid-template-columns: 1fr;
  }

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

  .together-art {
    min-height: 500px;
  }

  .launch-card {
    grid-template-columns: 110px 1fr;
  }

  .launch-card img {
    width: 110px;
  }

  .launch-card .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  :root {
    --page: min(100% - 28px, 1180px);
    --radius: 22px;
  }

  .site-header {
    height: 76px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .site-header nav {
    gap: 10px;
  }

  .site-header .nav-contact {
    padding: 9px 14px;
  }

  .hero {
    margin-top: 0;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(3.05rem, 14vw, 4.4rem);
  }

  .hero-intro {
    margin: 24px 0;
  }

  .fine-print {
    max-width: 270px;
    margin: 14px 0 0;
  }

  .hero-art {
    min-height: 450px;
  }

  .hero-art::before {
    width: 330px;
    height: 330px;
  }

  .hero-mascot {
    width: 310px;
  }

  .orbit-one {
    width: 390px;
    height: 390px;
  }

  .orbit-two {
    display: none;
  }

  .friend-bubble {
    max-width: 165px;
    padding: 11px 13px;
  }

  .bubble-left {
    top: 70px;
  }

  .bubble-right {
    bottom: 44px;
  }

  .manifesto,
  .steps,
  .together,
  .doomy-ai,
  .faq {
    margin-bottom: 96px;
  }

  .manifesto {
    min-height: 185px;
    padding: 28px 20px;
  }

  .step-card {
    min-height: 440px;
  }

  .together-art {
    min-height: 390px;
  }

  .doomy-ai {
    min-height: auto;
    padding: 36px 20px 20px;
  }

  .ai-scene {
    min-height: 450px;
  }

  .ai-message {
    max-width: 190px;
  }

  .launch-card {
    padding: 36px 24px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .launch-card img {
    margin-inline: auto;
  }

  .launch-card .button {
    grid-column: auto;
    justify-self: stretch;
  }

  footer {
    padding: 36px 0;
    flex-direction: column;
    text-align: center;
  }

  footer nav {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-mascot {
    animation: none;
  }

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