:root {
  --forest: #1f3d29;
  --forest-deep: #142b1c;
  --leaf: #4a8060;
  --sage: #b9cbbc;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --gold: #d9b17a;
  --ink: #182019;
  --muted: #657068;
  --line: rgba(31, 61, 41, 0.16);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49.92%, rgba(31, 61, 41, 0.035) 50%, transparent 50.08%),
    radial-gradient(circle at 82% 15%, rgba(217, 177, 122, 0.28), transparent 28rem),
    var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell {
  display: grid;
  width: min(100% - 48px, 1240px);
  min-height: 100vh;
  margin: 0 auto;
  grid-template-rows: auto 1fr auto;
}

.soon-header,
.soon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.soon-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.soon-brand {
  display: inline-flex;
}

.soon-brand img {
  display: block;
  width: 184px;
  height: auto;
}

.construction-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.construction-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgba(74, 128, 96, 0.13);
  animation: breathe 2.4s ease-in-out infinite;
}

.soon-main {
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 120px) 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(52px, 9vw, 132px);
}

.soon-copy {
  max-width: 720px;
  animation: enter-copy 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.soon-kicker {
  margin: 0 0 22px;
  color: var(--leaf);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.6vw, 6.9rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h1 em {
  display: block;
  color: var(--leaf);
  font-weight: 400;
}

.soon-lead {
  max-width: 590px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.soon-actions {
  align-items: center;
  margin-top: 32px;
  gap: 24px;
}

.soon-actions:not([hidden]) {
  display: flex;
}

.soon-button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--forest);
  border-radius: 3px;
  color: var(--paper);
  background: var(--forest);
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.soon-button:hover {
  background: var(--forest-deep);
  box-shadow: 0 12px 28px rgba(31, 61, 41, 0.18);
  transform: translateY(-2px);
}

.soon-email {
  padding: 8px 0;
  border-bottom: 1px solid var(--forest);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.soon-features {
  display: flex;
  flex-wrap: wrap;
  margin: 42px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.soon-features li {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(255, 253, 248, 0.48);
  font-size: 0.78rem;
  font-weight: 620;
}

.soon-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  animation: enter-visual 900ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(31, 61, 41, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: 440px;
  height: 440px;
}

.orbit-two {
  width: 330px;
  height: 330px;
  border-style: dashed;
  transform: rotate(18deg);
}

.document-card {
  position: relative;
  z-index: 1;
  width: min(100%, 344px);
  padding: 26px;
  border: 1px solid rgba(31, 61, 41, 0.12);
  border-radius: 4px;
  background: var(--paper);
  box-shadow:
    0 34px 80px rgba(31, 61, 41, 0.18),
    14px 14px 0 rgba(185, 203, 188, 0.4);
  transform: rotate(2.8deg);
}

.document-card::before {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 88px;
  height: 23px;
  background: rgba(217, 177, 122, 0.55);
  content: "";
  transform: translateX(-50%) rotate(-3deg);
}

.document-top {
  display: grid;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr 40px;
  gap: 13px;
}

.document-top img {
  width: 42px;
}

.document-top div {
  display: grid;
  gap: 3px;
}

.document-top span {
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.document-top strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
}

.document-top b {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--forest);
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.35rem;
  place-items: center;
}

.document-lines {
  display: grid;
  margin: 30px 0;
  gap: 14px;
}

.document-lines span {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: #e7ece7;
}

.document-lines span:nth-child(2) {
  width: 78%;
}

.document-lines span:nth-child(3) {
  width: 54%;
}

.document-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.document-total span {
  color: var(--muted);
  font-size: 0.75rem;
}

.document-total strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 500;
}

.document-status {
  display: flex;
  align-items: center;
  padding: 12px;
  color: var(--forest);
  background: #edf3ee;
  gap: 9px;
  font-size: 0.7rem;
  font-weight: 680;
}

.document-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}

.visual-note {
  position: absolute;
  right: -22px;
  bottom: 20px;
  margin: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.4;
  transform: rotate(-5deg);
}

.soon-footer {
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.soon-footer p {
  margin: 0;
}

@keyframes breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes enter-copy {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes enter-visual {
  from { opacity: 0; transform: translateY(34px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(circle at 88% 12%, rgba(217, 177, 122, 0.28), transparent 24rem),
      var(--cream);
  }

  .soon-main {
    padding: 64px 0 80px;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  h1 {
    max-width: 13ch;
  }

  .soon-visual {
    min-height: 460px;
  }

  .visual-note {
    right: max(0px, calc(50% - 250px));
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 32px, 1240px);
  }

  .soon-header {
    padding: 20px 0;
  }

  .soon-brand img {
    width: 152px;
  }

  .construction-label {
    font-size: 0.62rem;
  }

  .soon-main {
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .soon-actions:not([hidden]) {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .soon-features {
    align-items: flex-start;
    flex-direction: column;
  }

  .soon-visual {
    min-height: 390px;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 255px;
    height: 255px;
  }

  .document-card {
    width: min(90%, 310px);
    padding: 22px;
  }

  .visual-note {
    right: 0;
    bottom: -16px;
  }

  .soon-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

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