@font-face {
  font-family: "Outfit";
  src: url("./assets/fonts/outfit-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #082d30;
  --muted: #747d88;
  --teal: #008b85;
  font-family: "Outfit", "Avenir Next", Avenir, "Century Gothic", "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #f4faf9;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 3px solid #007a75; outline-offset: 5px; }

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(850px, 100svh);
  overflow: hidden;
  background: #f4faf9 url("./assets/ribbon-background.png") center / 100% 100% no-repeat;
}

.launch {
  width: 100%;
  padding: clamp(90px, 15.3vh, 200px) 24px 0;
  text-align: center;
}

.artwork-filters { position: absolute; pointer-events: none; }

/* The SVG filter neutralizes the baked-in mint matte before blending.
   Keep the original ribbons, lettering, and soft shadow shapes. */
.brand-mark {
  width: min(65vw, 798px);
  margin: 0 auto;
  line-height: 0;
  mix-blend-mode: multiply;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: url("#brand-matte");
}

.divider { display: block; width: 30px; height: 2px; margin: 31px auto 24px; background: #00958d; }
.launch h2 { margin: 0; font-size: 17px; line-height: 1.7; font-weight: 400; text-transform: uppercase; letter-spacing: .46em; padding-left: .46em; }
.intro { margin: 15px 0 35px; color: var(--muted); font-size: 19px; line-height: 1.45; font-weight: 300; }

.signup {
  display: flex;
  width: min(100%, 516px);
  min-height: 57px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 17px 30px rgba(48, 90, 86, .07);
  transition: box-shadow .2s ease;
}
.signup:focus-within { box-shadow: 0 0 0 3px #008b8530, 0 17px 30px #305a5612; }
.signup input { width: 0; flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 16px 22px; background: transparent; color: var(--ink); font-size: 16px; }
.signup input:focus { outline: none; }
.signup input::placeholder { color: #959ba6; opacity: 1; }
.notify-button { flex: 0 0 153px; border: 0; border-radius: 999px; padding: 16px 20px; color: white; font-size: 16px; font-weight: 400; letter-spacing: .015em; background: linear-gradient(115deg, #008b85, #0b9690 50%, #00837e); box-shadow: inset 0 1px 3px #ffffff20; transition: filter .2s ease, transform .2s ease; }
.notify-button:hover { filter: brightness(1.08); }
.notify-button:active { transform: scale(.98); }
.notify-button:disabled { cursor: wait; opacity: .75; }
.signup-status { min-height: 24px; max-width: 510px; margin: 15px auto 0; color: #235d5c; font-size: 14px; line-height: 1.6; }
.signup-status[data-state="error"] { color: #854c3c; }
.signup-consent { width: fit-content; max-width: min(100%, 600px); margin: 4px auto 0; padding: 4px 14px; border-radius: 14px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); color: #4f6064; font-size: 13px; line-height: 1.6; }
.signup-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.noscript { font-size: 14px; }

.footer { margin-top: auto; padding: 140px 24px clamp(44px, 5.35vh, 70px); text-align: center; }
.footer nav { display: flex; align-items: center; justify-content: center; gap: 30px; }
.footer nav button { padding: 8px 4px; border: 0; background: transparent; color: #35484c; font-size: 13px; letter-spacing: .025em; transition: color .2s; }
.footer nav button:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 5px; }
.footer nav span { color: #97a0aa; font-size: 13px; }
.footer > p { margin: 12px 0 0; color: #9ba3af; font-size: 14px; letter-spacing: .045em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

dialog { width: min(440px, calc(100% - 40px)); border: 1px solid #c8e4df; border-radius: 24px; padding: 40px; background: #f9fdfc; color: var(--ink); box-shadow: 0 24px 100px #073c3830; }
dialog::backdrop { background: #063f3b35; backdrop-filter: blur(7px); }
.close-dialog { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 28px; line-height: 1; color: #657b79; padding: 8px; }
.dialog-accent { display: block; width: 30px; height: 3px; background: var(--teal); margin-bottom: 24px; }
dialog h2 { font-size: 27px; font-weight: 500; margin: 0 0 12px; }
dialog p { color: #657b79; font-size: 16px; line-height: 1.7; margin: 0 0 25px; }
dialog a:focus-visible { outline: 3px solid #007a75; outline-offset: 3px; border-radius: 4px; }
.dialog-email { display: flex; align-items: center; gap: 12px; margin: -10px 0 0; padding: 10px 10px 10px 18px; border: 1px solid #c8e4df; border-radius: 999px; background: #fff; }
.dialog-email[hidden] { display: none; }
.dialog-email a { flex: 1; min-width: 0; color: var(--teal); font-size: 16px; font-weight: 400; text-underline-offset: 4px; }
.copy-email { flex: none; border: 1px solid var(--teal); border-radius: 999px; background: transparent; color: var(--teal); padding: 7px 18px; font-size: 14px; transition: background .2s, color .2s; }
@media (hover: hover) { .copy-email:hover { background: var(--teal); color: #fff; } }
.copy-email:active { background: var(--teal); color: #fff; }
dialog .copy-status { min-height: 1.6em; margin: 6px 0 14px 18px; font-size: 13px; line-height: 1.6; }
.dialog-done { border: 0; border-radius: 999px; background: var(--teal); color: #fff; padding: 12px 26px; }

@media (min-height: 1100px) and (min-width: 700px) {
  .brand-mark { margin-bottom: 1px; }
  .divider { margin-top: 31px; }
}
@media (max-width: 600px) {
  .page { min-height: max(760px, 100svh); }
  .launch { padding: 110px 24px 0; }
  .brand-mark { width: calc(100vw - 34px); margin-left: -7px; margin-bottom: 12px; }
  .divider { margin: 27px auto 22px; width: 26px; }
  .launch h2 { font-size: 12px; letter-spacing: .3em; line-height: 1.8; }
  .intro { margin: 18px auto 28px; max-width: 320px; font-size: 16px; line-height: 1.65; }
  .intro br { display: none; }
  .signup { min-height: 54px; }
  .signup input { padding: 15px 17px; font-size: 14px; }
  .notify-button { flex-basis: 112px; font-size: 14px; padding: 15px 12px; }
  .signup-consent { max-width: 330px; font-size: 12px; }
  .footer { padding: 150px 18px 34px; }
  .footer nav { gap: 22px; }
  .footer > p { font-size: 12px; letter-spacing: .025em; }
  dialog { padding: 36px 24px 32px; }
  .dialog-email { padding-left: 16px; gap: 8px; }
  .dialog-email a { font-size: 15px; }
  .copy-email { padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
