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

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

:root {
  color-scheme: dark;
  --background: #121212;
  --text: #eaeaea;
  --secondary: #cfcfcf;
  --muted: #a8a8a8;
  --copper: #c65a1e;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { min-width: 320px; margin: 0; }
body { background: var(--background); }
h1, h2, p, figure { margin: 0; }

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(ellipse 40% 32% at 50% 48%, rgba(198, 90, 30, .045), transparent 85%), var(--background);
}

.site-header, .site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: clamp(24px, 6vw, 96px);
}

.site-header {
  flex: none;
  min-height: 76px;
  border-bottom: 1px solid #242424;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; }

.brand span {
  font: 20px/1 Marcellus, Georgia, serif;
  letter-spacing: .09em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

.site-main {
  flex: 1;
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(44px, 6vh, 76px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
  text-align: center;
  animation: appear 900ms ease both;
}

h1 {
  font: 400 clamp(52px, 5.2vw, 74px)/1.12 Baskervville, Georgia, serif;
  letter-spacing: -.037em;
}

.hero-copy p {
  margin-top: 14px;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  padding-block: 32px 58px;
  animation: appear 1200ms 100ms ease both;
}

.hero-rickhouse {
  position: absolute;
  width: min(1120px, 100vw);
  height: min(690px, 100%);
  overflow: hidden;
  opacity: .64;
  filter: sepia(.58) saturate(1.08) brightness(.9);
  mask-image: radial-gradient(ellipse 74% 70% at 50% 50%, #000 46%, transparent 100%);
  pointer-events: none;
}

.hero-rickhouse img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.app-screen {
  position: relative;
  z-index: 2;
  width: clamp(290px, 27vw, 350px);
  padding: 5px;
  overflow: hidden;
  border: 1px solid #49413c;
  border-radius: 37px;
  background: #080808;
  box-shadow: 0 32px 75px rgba(0, 0, 0, .7), 0 4px 16px rgba(0, 0, 0, .6), 0 0 45px rgba(198, 90, 30, .055);
}

.app-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 31px;
}

.promises {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 56px);
  padding-block: 8px clamp(32px, 5vh, 56px);
}

.promise {
  border-top: 1px solid #39322f;
  padding-top: 19px;
}

.promise h2 {
  font: 400 clamp(20px, 1.9vw, 25px)/1.22 Baskervville, Georgia, serif;
  letter-spacing: -.015em;
}

.promise p {
  max-width: 35ch;
  margin-top: 10px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.55;
}

.launch-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  border-top: 1px solid #39322f;
  padding-block: 38px 50px;
}

.signup-copy h2 {
  font: 400 clamp(25px, 2.2vw, 30px)/1.25 Baskervville, Georgia, serif;
  letter-spacing: -.018em;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .05em;
}

.signup-controls {
  display: flex;
  gap: 10px;
}

.signup-controls input,
.signup-controls button {
  min-height: 50px;
  border-radius: 3px;
  font: inherit;
  font-size: 14px;
}

.signup-controls input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid #827368;
  outline: none;
  background: #1a1918;
  color: var(--text);
}

.signup-controls input::placeholder { color: #8a837e; }
.signup-controls input:focus-visible { border-color: var(--copper); }

.signup-controls button {
  flex: none;
  padding-inline: 19px;
  border: 1px solid #915b3e;
  background: #291d18;
  color: #f0ddd1;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.signup-controls button:hover { border-color: #c67a4d; background: #39251c; }
.signup-controls button:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.flow-main {
  flex: 1;
  display: grid;
  place-items: center;
  width: min(100%, 1600px);
  margin-inline: auto;
  padding: 80px clamp(24px, 6vw, 96px) 110px;
}

.flow-message {
  width: min(100%, 620px);
  text-align: center;
}

.flow-message h1 {
  font-size: clamp(44px, 5vw, 64px);
}

.flow-message p {
  margin-top: 20px;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.55;
}

.flow-message a {
  display: inline-block;
  margin-top: 38px;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.flow-message a:hover { color: #f0ddd1; }
.flow-message a:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }

.site-footer {
  flex: none;
  min-height: 70px;
  border-top: 1px solid #242424;
  background: var(--background);
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: .01em;
}

@keyframes appear {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .site-header { min-height: 66px; }
  .site-footer { min-height: 62px; font-size: 11px; }
  .site-main { padding-inline: 24px; }
  .hero { padding-top: 54px; }
  .hero-copy { max-width: 620px; }
  h1 { font-size: clamp(42px, 8.2vw, 59px); }
  .hero-copy p { margin-top: 20px; font-size: 15px; }
  .hero-visual {
    padding-block: 34px 52px;
  }
  .hero-rickhouse {
    width: 110vw;
    opacity: .45;
  }
  .app-screen {
    width: min(345px, 84vw);
  }
  .promises { grid-template-columns: 1fr; gap: 0; padding-block: 0 32px; }
  .promise { padding-block: 18px 20px; }
  .promise h2 { font-size: 24px; }
  .promise p { max-width: 50ch; margin-top: 7px; }
  .launch-signup { grid-template-columns: 1fr; gap: 22px; }
  .signup-copy h2 { font-size: 28px; }
}

@media (max-width: 420px) {
  .site-header, .site-footer { padding-inline: 20px; }
  .brand img { width: 39px; height: 39px; }
  .brand span { font-size: 17px; }
  .status { font-size: 10px; gap: 7px; }
  .site-main { padding-inline: 20px; }
  h1 { font-size: 44px; }
  .hero { padding-top: 46px; }
  .hero-visual { padding-block: 30px 45px; }
  .signup-controls { flex-direction: column; }
  .signup-controls button { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-visual { animation: none; }
  .signup-controls button { transition: none; }
}

/* Launch accessibility. */
a:focus-visible{outline:2px solid #e7a57e;outline-offset:5px}
.skip-link{position:absolute;left:20px;top:-100px;z-index:10;background:#eaeaea;color:#121212;padding:14px}
.skip-link:focus{top:12px}
.signup-note{margin-top:12px;color:var(--muted);font-size:13px;line-height:1.6;max-width:55ch}
.signup-controls input:focus-visible{outline:2px solid #e7a57e;outline-offset:3px}
.site-footer a{color:inherit;text-underline-offset:4px}
