@font-face {
  font-family: "Heebo";
  src: url("assets/Heebo.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --terracotta: #a44936;
  --terracotta-dark: #813524;
  --sage: #51634f;
  --cream: #f6f1e8;
  --paper: #fffcf6;
  --ink: #302923;
  --muted: #70675e;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Heebo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 48px 24px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  width: min(74vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(164, 73, 54, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 90px rgba(164, 73, 54, 0.025),
    0 0 0 180px rgba(164, 73, 54, 0.018);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.5;
}

.ambient-one {
  top: -160px;
  right: -90px;
  background: radial-gradient(circle, rgba(164, 73, 54, 0.2), transparent 70%);
}

.ambient-two {
  bottom: -170px;
  left: -90px;
  background: radial-gradient(circle, rgba(81, 99, 79, 0.2), transparent 70%);
}

.content {
  width: min(100%, 720px);
  text-align: center;
  animation: arrive 700ms ease-out both;
}

.mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 30px;
  place-items: center;
  border-radius: 24px;
  background: var(--terracotta);
  box-shadow: 0 18px 45px rgba(129, 53, 36, 0.24);
  transform: rotate(-4deg);
}

.mark svg {
  width: 42px;
  fill: var(--paper);
  transform: rotate(4deg);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 12vw, 7.8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.tagline {
  margin: 24px auto 38px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.store-button {
  position: relative;
  display: grid;
  grid-template-columns: 31px auto;
  min-width: 214px;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 17px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  text-align: left;
  box-shadow: 0 10px 24px rgba(48, 41, 35, 0.13);
  cursor: not-allowed;
  opacity: 1;
}

.store-button::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  content: "";
}

.store-icon {
  width: 30px;
  height: 30px;
}

.apple-icon {
  fill: currentColor;
}

.store-button span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store-button small {
  margin-bottom: 3px;
  font-size: 0.7rem;
}

.store-button strong {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.store-button em {
  position: absolute;
  top: -8px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--sage);
  color: white;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.domain {
  margin: 42px 0 0;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

@media (max-width: 520px) {
  .hero {
    padding: 38px 20px;
  }

  .mark {
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
    border-radius: 21px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .store-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
  }
}
