:root {
  --launch-navy: #061b31;
  --launch-navy-soft: #0b3154;
  --launch-gold: #f5bd61;
  --launch-gold-strong: #ffca73;
  --launch-cream: #fff7e9;
  --launch-white: #ffffff;
  --launch-orange: #ff7a00;
}

* { box-sizing: border-box; }

html { background: var(--launch-navy); }

body.launch-mode {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--launch-white);
  background: var(--launch-navy);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.launch-mode.launch-modal-open { overflow: hidden; }

button, a { -webkit-tap-highlight-color: transparent; }

.launch-page {
  isolation: isolate;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: max(28px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  background-image: url("assets/launch/didim-apollon-sunset.webp");
  background-position: center;
  background-size: cover;
}

.launch-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(2, 15, 29, .32) 0%, rgba(3, 21, 39, .45) 45%, rgba(2, 13, 25, .86) 100%),
    linear-gradient(90deg, rgba(3, 20, 37, .30), rgba(4, 25, 45, .56) 48%, rgba(5, 20, 34, .20));
}

.launch-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 31%, rgba(255, 190, 93, .12), transparent 29%),
    radial-gradient(circle at 82% 65%, rgba(255, 170, 66, .12), transparent 30%),
    linear-gradient(180deg, transparent 55%, rgba(2, 12, 23, .72));
}

.launch-orbit,
.launch-orbit::before,
.launch-orbit::after {
  position: absolute;
  border: 1px solid rgba(247, 198, 117, .16);
  border-radius: 50%;
  pointer-events: none;
}

.launch-orbit {
  width: min(72vw, 820px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  animation: launch-breathe 8s ease-in-out infinite;
}

.launch-orbit::before { content: ""; inset: 11%; }
.launch-orbit::after { content: ""; inset: 25%; }

.launch-shell {
  width: min(100%, 1040px);
  margin: auto;
  text-align: center;
  animation: launch-rise .9s cubic-bezier(.2, .78, .28, 1) both;
}

.launch-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.launch-brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 130, .58);
  border-radius: 50% 50% 50% 15%;
  transform: rotate(-45deg);
  color: var(--launch-gold-strong);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: 0 10px 32px rgba(0,0,0,.22), inset 0 0 20px rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}

.launch-brand-mark svg {
  width: 25px;
  height: 25px;
  transform: rotate(45deg);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-brand-copy { text-align: left; }

.launch-brand-name {
  display: block;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .95;
  text-shadow: 0 4px 18px rgba(0,0,0,.3);
}

.launch-brand-name span { color: var(--launch-orange); }

.launch-brand-tagline {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.launch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--launch-gold-strong);
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.launch-kicker::before,
.launch-kicker::after {
  content: "";
  width: clamp(24px, 5vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 205, 126, .78));
}

.launch-kicker::after { transform: rotate(180deg); }

.launch-title {
  max-width: 880px;
  margin: 0 auto;
  color: var(--launch-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
  text-wrap: balance;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .42);
}

.launch-title em {
  color: var(--launch-gold-strong);
  font-style: normal;
  white-space: nowrap;
}

.launch-title-line { display: block; }

.launch-title-slogan {
  max-width: 1040px;
  font-size: clamp(43px, 6.4vw, 78px);
}

.launch-brand-accent { color: var(--launch-orange); }

.launch-intro {
  max-width: 690px;
  margin: 22px auto 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(15px, 1.65vw, 18px);
  line-height: 1.65;
  text-wrap: balance;
  text-shadow: 0 3px 16px rgba(0,0,0,.38);
}

.launch-countdown {
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  margin: clamp(30px, 5vh, 48px) auto 0;
}

.launch-time-card {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  display: grid;
  place-content: center;
  padding: 16px 8px;
  border: 1px solid rgba(255, 218, 155, .28);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
  box-shadow: 0 20px 50px rgba(0, 8, 20, .22), inset 0 1px 0 rgba(255,255,255,.15);
  backdrop-filter: blur(12px) saturate(120%);
}

.launch-time-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--launch-gold-strong), transparent);
}

.launch-number {
  display: block;
  min-width: 2ch;
  color: #fff;
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: 1;
  text-shadow: 0 4px 22px rgba(0,0,0,.26);
}

.launch-label {
  display: block;
  margin-top: 11px;
  color: var(--launch-gold-strong);
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 800;
  letter-spacing: .2em;
}

.launch-date {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 216, 151, .24);
  border-radius: 999px;
  color: rgba(255,255,255,.8);
  background: rgba(3, 20, 37, .28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.launch-date svg {
  width: 16px;
  height: 16px;
  color: var(--launch-gold-strong);
}

.launch-business-cta {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 16px auto 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 203, 116, .30);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, rgba(8, 40, 77, .78), rgba(4, 24, 45, .72));
  box-shadow: 0 16px 38px rgba(0, 8, 20, .22), inset 0 1px 0 rgba(255,255,255,.11);
  text-align: left;
  backdrop-filter: blur(14px) saturate(120%);
}

.launch-business-cta-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 187, 80, .38);
  border-radius: 12px;
  color: var(--launch-orange);
  background: rgba(255, 122, 0, .09);
  font-size: 24px;
  line-height: 1;
}

.launch-business-cta-copy { min-width: 0; }

.launch-business-cta-copy strong,
.launch-business-cta-copy small { display: block; }

.launch-business-cta-copy strong {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.launch-business-cta-copy small {
  margin-top: 3px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
}

.launch-business-cta-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff8b16, var(--launch-orange));
  box-shadow: 0 10px 24px rgba(255, 122, 0, .25);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.launch-business-cta-button:hover,
.launch-business-cta-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(255, 122, 0, .34);
}

.launch-application-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  overflow: hidden;
  background: rgba(1, 10, 20, .78);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: opacity .18s ease;
}

.launch-application-modal[hidden] { display: none; }
.launch-application-modal.is-open { opacity: 1; }

.launch-application-card {
  position: relative;
  width: min(92vw, 520px);
  max-height: min(92vh, 860px);
  max-height: min(92svh, 860px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 205, 126, .36);
  border-radius: 28px;
  color: #fff;
  background: #08284d;
  box-shadow: 0 34px 90px rgba(0, 5, 14, .58);
  text-align: left;
  transform: translateY(18px) scale(.98);
  transition: transform .22s cubic-bezier(.2, .78, .28, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 187, 80, .5) transparent;
}

.launch-application-modal.is-open .launch-application-card { transform: translateY(0) scale(1); }

.launch-application-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50%;
  color: #fff;
  background: rgba(2, 18, 35, .70);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.launch-application-close:focus-visible { outline: 2px solid var(--launch-gold-strong); outline-offset: 2px; }

.launch-application-photo {
  height: 165px;
  overflow: hidden;
  background: #0c315d;
}

.launch-application-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 37%;
}

.launch-application-content { padding: 22px 24px 26px; }

.launch-application-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--launch-gold-strong);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .19em;
}

.launch-application-content h2 {
  margin: 0;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.launch-application-content h2 span { color: var(--launch-orange); }

.launch-application-content > p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.5;
}

.launch-business-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
}

.launch-business-benefits > span {
  display: grid;
  grid-template-columns: 27px 1fr;
  grid-template-rows: auto auto;
  column-gap: 7px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 205, 126, .16);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
}

.launch-business-benefits i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--launch-orange);
  font-size: 22px;
  font-style: normal;
}

.launch-business-benefits b { font-size: 11px; }
.launch-business-benefits small { margin-top: 2px; color: rgba(255,255,255,.56); font-size: 8px; line-height: 1.3; }

.launch-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launch-field { display: block; min-width: 0; }
.launch-field-wide { grid-column: 1 / -1; }

.launch-field > span {
  display: block;
  margin: 0 0 6px 2px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 750;
}

.launch-field input,
.launch-field select,
.launch-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 211, 139, .22);
  border-radius: 11px;
  outline: none;
  color: #fff;
  background: rgba(255,255,255,.075);
  font: inherit;
  font-size: 12px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.launch-field textarea { min-height: 76px; resize: vertical; }
.launch-field select { color-scheme: dark; }
.launch-field input::placeholder,
.launch-field textarea::placeholder { color: rgba(255,255,255,.38); }

.launch-field input:focus,
.launch-field select:focus,
.launch-field textarea:focus {
  border-color: rgba(255, 185, 75, .72);
  background: rgba(255,255,255,.11);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.launch-form-error {
  min-height: 16px;
  margin: 9px 2px 0;
  color: #ffb3a8;
  font-size: 10px;
  font-weight: 700;
}

.launch-application-submit {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #ff8b16, var(--launch-orange));
  box-shadow: 0 13px 30px rgba(255, 122, 0, .24);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.launch-application-submit svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.launch-application-submit span { margin-left: auto; }
.launch-application-submit:focus-visible { outline: 2px solid var(--launch-gold-strong); outline-offset: 3px; }

.launch-form-note {
  display: block;
  margin: 9px 6px 0;
  color: rgba(255,255,255,.48);
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.launch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(100%, 1040px);
  margin: clamp(30px, 5vh, 58px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .05em;
}

.launch-footer-copy { text-align: left; line-height: 1.55; }

.launch-footer-business {
  width: 260px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 220, 143, .86);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff941f, var(--launch-orange));
  box-shadow: 0 12px 32px rgba(255, 122, 0, .32), inset 0 1px 0 rgba(255,255,255,.24);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.launch-footer-business-icon {
  width: 23px;
  height: 23px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-footer-business b { font-size: 22px; font-weight: 500; line-height: 1; }

.launch-footer-business:hover,
.launch-footer-business:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255, 122, 0, .42), inset 0 1px 0 rgba(255,255,255,.28);
}

.launch-socials { display: flex; gap: 9px; }

.launch-social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 210, 137, .32);
  border-radius: 50%;
  color: var(--launch-gold-strong);
  background: rgba(2, 17, 32, .25);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(8px);
}

.launch-social svg { width: 17px; height: 17px; fill: currentColor; }

.launch-social:hover,
.launch-social:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(255, 210, 137, .72);
  background: rgba(255,255,255,.12);
}

.launch-social[aria-disabled="true"] { opacity: .52; cursor: default; }

.launch-live {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 26px;
  border: 1px solid rgba(255, 213, 144, .32);
  border-radius: 24px;
  color: var(--launch-cream);
  background: rgba(3, 22, 40, .55);
  backdrop-filter: blur(14px);
}

.launch-live h2 { margin: 0 0 8px; color: var(--launch-gold-strong); font-size: 28px; }
.launch-live p { margin: 0; color: rgba(255,255,255,.75); }

@keyframes launch-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes launch-breathe {
  0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.035); }
}

@media (max-width: 720px) {
  .launch-page {
    place-items: start center;
    padding-top: max(22px, env(safe-area-inset-top));
    background-position: 31% center;
  }

  .launch-shell { margin: auto 0; }
  .launch-brand { margin-bottom: clamp(24px, 5vh, 40px); }
  .launch-title { font-size: clamp(41px, 12vw, 61px); line-height: 1.02; }
  .launch-title-slogan { font-size: clamp(39px, 10.9vw, 56px); }
  .launch-intro { max-width: 520px; font-size: 14px; line-height: 1.55; }
  .launch-time-card { min-height: 92px; border-radius: 17px; padding: 13px 4px; }
  .launch-number { font-size: clamp(31px, 10vw, 44px); }
  .launch-label { margin-top: 8px; letter-spacing: .13em; }
  .launch-footer { margin-top: 30px; }
}

@media (max-width: 470px) {
  .launch-page { padding-left: 14px; padding-right: 14px; }
  .launch-brand-mark { width: 43px; height: 43px; }
  .launch-brand-name { font-size: 25px; }
  .launch-kicker { letter-spacing: .17em; }
  .launch-kicker::before, .launch-kicker::after { width: 18px; }
  .launch-title { font-size: clamp(38px, 11.4vw, 52px); }
  .launch-title-slogan { font-size: clamp(34px, 9.9vw, 45px); }
  .launch-countdown { gap: 6px; }
  .launch-time-card { min-height: 82px; border-radius: 14px; }
  .launch-number { font-size: clamp(28px, 9.3vw, 39px); }
  .launch-label { font-size: 8px; }
  .launch-date { margin-top: 16px; font-size: 10px; }
  .launch-footer { align-items: center; gap: 10px; }
  .launch-footer-copy { max-width: 145px; font-size: 8px; }
  .launch-footer-business { width: min(195px, 56vw); min-height: 48px; padding: 9px 12px; gap: 8px; font-size: 11px; }
  .launch-footer-business-icon { width: 19px; height: 19px; }
  .launch-footer-business b { font-size: 18px; }
  .launch-social { width: 34px; height: 34px; }
  .launch-application-modal { align-items: center; }
  .launch-application-card { width: min(92vw, 430px); border-radius: 23px; }
  .launch-application-photo { height: 145px; }
  .launch-application-content { padding: 19px 16px 22px; }
  .launch-application-content h2 { font-size: 27px; }
  .launch-form-grid { grid-template-columns: 1fr; gap: 10px; }
  .launch-field-wide { grid-column: auto; }
  .launch-business-benefits { gap: 8px; }
  .launch-business-benefits > span { padding: 8px; }
}

@media (max-height: 750px) and (min-width: 721px) {
  .launch-brand { margin-bottom: 24px; }
  .launch-title { font-size: clamp(48px, 7vw, 68px); }
  .launch-countdown { margin-top: 26px; }
  .launch-time-card { min-height: 100px; }
  .launch-footer { margin-top: 20px; }
}

@media (max-width: 355px) {
  .launch-footer { align-items: stretch; flex-direction: column; }
  .launch-footer-copy { max-width: none; text-align: center; }
  .launch-footer-business { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-shell, .launch-orbit { animation: none; }
  .launch-social,
  .launch-business-cta-button,
  .launch-footer-business,
  .launch-application-modal,
  .launch-application-card { transition: none; }
}
