:root {
  --red: #ff2a16;
  --red-dark: #e51f0d;
  --ink: #111111;
  --muted: #747474;
  --line: #deded9;
  --paper: #fafaf8;
  --white: #ffffff;
  --radius: 16px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 42, 22, .045), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 42px;
  display: flex;
  flex-direction: column;
}

.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  display: block;
  width: 122px;
  height: auto;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 42, 22, .08);
}

.hero {
  flex: 1;
  min-height: calc(100vh - 170px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  animation: mark-in .8s cubic-bezier(.2,.7,.2,1) both;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .2em;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(4rem, 9vw, 8.7rem);
  line-height: .9;
  letter-spacing: -.075em;
  font-weight: 800;
  animation: text-in .8s .08s cubic-bezier(.2,.7,.2,1) both;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

.intro {
  max-width: 510px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  animation: text-in .8s .16s cubic-bezier(.2,.7,.2,1) both;
}

.notify-form {
  width: min(100%, 530px);
  margin-top: 35px;
  animation: text-in .8s .24s cubic-bezier(.2,.7,.2,1) both;
}

.input-wrap {
  display: flex;
  min-height: 62px;
  padding: 5px;
  border: 1px solid #cfcfc9;
  border-radius: 17px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 45px rgba(17,17,17,.07);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.input-wrap:focus-within {
  border-color: var(--ink);
  box-shadow: 0 15px 50px rgba(17,17,17,.10);
  transform: translateY(-1px);
}

input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 17px;
  color: var(--ink);
  font: 500 15px "DM Sans", sans-serif;
}

input::placeholder { color: #999; }

button {
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font: 700 13px "DM Sans", sans-serif;
  transition: background .2s, transform .2s;
}

button:hover {
  background: var(--red);
  transform: translateY(-1px);
}

button:active { transform: translateY(0); }

.arrow {
  font-size: 17px;
  line-height: 1;
}

.form-note {
  margin: 12px 2px 0;
  color: #9a9a94;
  font-size: 11px;
}

.form-message {
  min-height: 20px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.form-message.success { color: #2d6b42; }
.form-message.error { color: var(--red-dark); }

.scroll-cue {
  position: absolute;
  bottom: 22px;
  width: 1px;
  height: 30px;
  overflow: hidden;
  opacity: .35;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 14px;
  background: var(--ink);
  animation: scroll-line 1.7s ease-in-out infinite;
}

.site-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #8a8a84;
  font-size: 11px;
}

.site-footer p { margin: 0; }

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer a {
  text-decoration: none;
  transition: color .2s;
}

.site-footer a:hover { color: var(--ink); }

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.45);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: min(80vh, 700px);
  overflow: auto;
  padding: 38px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0,0,0,.2);
}

.modal-card h2 {
  margin: 0 0 20px;
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  letter-spacing: -.05em;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  padding: 12px;
  border-radius: 50%;
  background: #ededeb;
  color: var(--ink);
  font-size: 25px;
  font-weight: 400;
}

.modal-close:hover {
  background: var(--ink);
  color: white;
}

.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;
}

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

@keyframes mark-in {
  from { opacity: 0; transform: scale(.8) rotate(-5deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes scroll-line {
  0% { transform: translateY(-15px); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(32px); opacity: 0; }
}

@media (max-width: 700px) {
  .page { padding: 0 20px; }
  .site-header { height: 78px; }
  .brand img { width: 98px; }
  .header-status { font-size: 10px; }

  .hero {
    min-height: calc(100vh - 128px);
  }

  .hero-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
  }

  .eyebrow { font-size: 9px; margin-bottom: 15px; }

  h1 {
    font-size: clamp(3.8rem, 19vw, 6rem);
    letter-spacing: -.08em;
  }

  .intro {
    max-width: 330px;
    margin-top: 27px;
    font-size: 15px;
  }

  .notify-form { margin-top: 28px; }

  .input-wrap {
    display: grid;
    grid-template-columns: 1fr;
    padding: 5px;
    gap: 5px;
  }

  input {
    height: 52px;
    padding: 0 15px;
  }

  button {
    min-height: 52px;
    justify-content: center;
  }

  .scroll-cue { display: none; }

  .site-footer {
    min-height: 58px;
    font-size: 10px;
  }

  .site-footer nav { gap: 13px; }

  .modal-card { padding: 32px 24px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
