@font-face {
  font-family: Bagel;
  src: url("/assets/fonts/bagel-fat-one.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: DM Sans;
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 600 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fbf1e1;
  --ink: #351c11;
  --muted: #6c4c3a;
  --line: #d9bfa7;
  --rust: #a8360b;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
p, h1 { margin: 0; }

.page {
  width: min(100% - 7rem, 78rem);
  margin: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 2.25rem 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.17fr 1fr;
  align-items: stretch;
  gap: clamp(2rem, 4.25vw, 4.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 3.5rem);
}

.hero-copy { align-self: center; }

.wordmark {
  display: block;
  width: 10rem;
  height: auto;
  margin: 0 0 clamp(1.7rem, 3.7vw, 3rem) -.48rem;
  font: 83px Bagel, "Arial Rounded MT Bold", sans-serif;
  stroke-linejoin: round;
  stroke-linecap: round;
}

h1 {
  font-size: clamp(2.45rem, 5.3vw, 5rem);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.067em;
}

h1 em {
  font-family: Fraunces, Georgia, serif;
  font-size: .92em;
  font-weight: 650;
  letter-spacing: -.057em;
  color: var(--rust);
}

.subhead {
  margin-top: 1.55rem;
  max-width: 31ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.48;
}

.launch-offer {
  width: fit-content;
  max-width: 31rem;
  margin-top: 1.15rem;
  padding: .6rem .75rem;
  background: #f7e4cb;
  border-inline-start: 2px solid #d46025;
  border-radius: 0 .3rem .3rem 0;
  font-size: .94rem;
  line-height: 1.45;
}

.launch-offer strong { color: var(--rust); }

.signup { margin-top: 1.15rem; max-width: 31rem; }

form {
  display: flex;
  gap: .45rem;
  padding: .37rem;
  background: #fffaf2;
  border: 1px solid #b99377;
  border-radius: .75rem;
}

input, button { font: inherit; }

input[type="email"] {
  flex: 1;
  width: 0;
  min-width: 0;
  min-height: 3rem;
  border: 0;
  border-radius: .4rem;
  padding: 0 .65rem;
  color: var(--ink);
  background: transparent;
}

input::placeholder { color: var(--muted); opacity: 1; }

button {
  min-height: 3rem;
  padding: .55rem 1.02rem;
  border: 1px solid transparent;
  border-radius: .47rem;
  background: var(--rust);
  color: #fff9ee;
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: #812606; }
button:disabled { opacity: .75; cursor: wait; }

:focus-visible { outline: 2px solid #63270e; outline-offset: 3px; }
input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--rust); }

.form-status {
  margin-top: .55rem;
  color: var(--rust);
  font-size: .9rem;
  font-weight: 700;
}

.form-status:empty { margin-top: 0; }
.form-status[data-success="true"] {
  background: #f3dec1;
  border: 1px solid var(--line);
  padding: .9rem;
  border-radius: .6rem;
  color: var(--ink);
}

.share-actions:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .75rem;
  margin-top: .4rem;
}

.share-button {
  width: auto;
  min-height: 2.75rem;
  padding: .45rem .7rem;
  background: transparent;
  border-color: var(--line);
  color: var(--rust);
  font-size: .875rem;
}

.share-button:hover { background: #f7e4cb; }
.share-feedback { color: var(--muted); font-size: .875rem; }

.teaser {
  margin-top: 1.1rem;
  font-size: .88rem;
  color: var(--muted);
}

.hero-art {
  --check: clamp(.65rem, 1.4vw, 1.3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-self: center;
  aspect-ratio: 1.06;
  background: #f97526;
  background-image: radial-gradient(ellipse at 46% 42%, #ff9a4c, #f36b1b 78%);
  overflow: hidden;
  border-radius: .75rem;
  border: 1px solid #c4511c;
}

.checks {
  align-self: stretch;
  height: var(--check);
  flex-shrink: 0;
  background: repeating-linear-gradient(to right, #ffca9a 0 var(--check), transparent var(--check) calc(2 * var(--check)));
}

.checks:last-child { background-position-x: var(--check); }

.plate {
  display: grid;
  place-items: center;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffeed5;
  border: 1px solid #fff7e6;
  box-shadow: 0 10px 24px #73351145, inset 0 0 0 clamp(.35rem, 1.2vw, 1rem) #f7dcb7;
  position: relative;
}

.plate::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid #d99564;
  border-radius: 50%;
}

.plate picture {
  display: block;
  width: 57%;
  transform: rotate(-9deg);
}

.plate img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 .3rem .35rem #73351146);
}

.credit {
  display: grid;
  place-items: center;
  min-height: 4.8rem;
  padding: .8rem;
  border-block: 1px solid var(--line);
  text-align: center;
  font-size: 1rem;
  letter-spacing: -.017em;
}

.credit strong { color: var(--rust); }

.credit-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-align: left;
}

.credit-avatar {
  display: block;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.15rem;
  color: var(--muted);
  font-size: .83rem;
}

.privacy-page {
  width: min(100% - 2.5rem, 39rem);
  margin: 0 auto;
  padding-block: clamp(2rem, 8vw, 6rem);
}

.privacy-page a {
  color: var(--rust);
  text-underline-offset: .2em;
}

.privacy-page h1 {
  margin: 1.5rem 0 .7rem;
  font-size: clamp(2.5rem, 8vw, 4rem);
}

.privacy-page p {
  color: var(--muted);
  line-height: 1.6;
}

.privacy-page p + p { margin-top: .65rem; }
.privacy-page h2 { margin: 1.65rem 0 .3rem; font-size: 1.15rem; }
.privacy-page .effective-date { font-size: .9rem; margin-bottom: 1.5rem; }

.footer-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
}

footer a {
  color: inherit;
  text-decoration-color: #9c6f50;
  text-underline-offset: .2em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 850px) {
  .page { width: min(100% - 3rem, 42rem); }
  .hero { gap: 1.65rem; grid-template-columns: 1fr .88fr; }
  h1 { font-size: clamp(2.1rem, 5.8vw, 3.6rem); }
  form { flex-wrap: wrap; }
  input[type="email"] { flex-basis: 100%; }
  button { width: 100%; }
}

@media (max-width: 620px) {
  .page { width: min(100% - 2.5rem, 27rem); padding-top: 1.55rem; }
  .hero { grid-template-columns: 1fr; gap: 1.45rem; }
  .wordmark { width: 7.8rem; margin-bottom: 1.1rem; }
  h1 { font-size: clamp(2.25rem, 10vw, 3.9rem); }
  .subhead { margin-top: 1rem; }
  .launch-offer { margin-top: .85rem; }
  .signup { margin-top: .85rem; }
  form { flex-wrap: nowrap; }
  input[type="email"] { flex-basis: 0; }
  button { width: auto; padding-inline: .7rem; }
  .teaser { margin-top: .7rem; }
  .hero-art { aspect-ratio: 1.73; width: 100%; }
  .plate { width: 44%; }
  .credit { min-height: 3.75rem; }
  footer { grid-template-columns: 1fr; gap: .55rem; }
  footer p:nth-child(2) { grid-row: 1; }
  .footer-links { justify-self: start; }
}

@media (max-width: 350px) {
  form { flex-wrap: wrap; }
  input[type="email"] { flex-basis: 100%; }
  button { width: 100%; }
}

form[hidden] { display: none; }

.credit-stat {
  display: inline-block;
  margin-left: .55rem;
  padding-left: .65rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 620px) {
  .credit-stat {
    display: block;
    margin: .22rem 0 0;
    padding: 0;
    border: 0;
  }
}
