@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/dm-sans-latin-wght-normal-Xz1IZZA0.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/nunito-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin-400-italic-DpcbibHm.woff2") format("woff2");
}

:root {
  --ink: #123a32;
  --deep: #143e36;
  --deep-2: #102f2a;
  --sage: #9aaf9f;
  --sage-light: #dde6d8;
  --cream: #f5f4ed;
  --paper: #fcfcf8;
  --mist: #5c726a;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 50% -10%, #ffffff, transparent 60%),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 22px;
}

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  grid-template-areas:
    "brand visual"
    "copy visual"
    "phrase phrase";
  column-gap: 36px;
  row-gap: 8px;
  min-height: min(720px, calc(100vh - 120px));
  padding: 40px 44px 28px;
  border-radius: 28px;
  color: var(--paper);
  background:
    radial-gradient(620px 460px at 86% 46%, rgba(154, 175, 159, 0.22), transparent 62%),
    linear-gradient(165deg, #1b4d43 0%, var(--deep) 46%, var(--deep-2) 100%);
  box-shadow:
    0 30px 70px rgba(16, 47, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  align-self: start;
}

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

.brand span {
  color: #f4f2ea;
  font-family: Nunito, "DM Sans", sans-serif;
  font-size: calc(46px * 0.641);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: calc(46px * 0.235);
}

.copy {
  grid-area: copy;
  align-self: center;
  max-width: 520px;
  padding: 18px 0 28px;
}

.eyebrow,
.soon {
  margin: 0;
  color: #c5d4c8;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow { margin-bottom: 18px; }

h1 {
  margin: 0;
  color: #f7f6f1;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

h1 em {
  display: block;
  margin-top: 8px;
  color: var(--sage);
  font-family: var(--serif);
  font-size: clamp(2.85rem, 5.1vw, 4.45rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.lead,
.support,
.phrase,
.closing,
.legal { margin: 0; }

.lead {
  max-width: 34rem;
  margin-top: 22px;
  color: rgba(247, 246, 241, 0.9);
  font-size: 1.08rem;
  line-height: 1.55;
}

.support {
  max-width: 34rem;
  margin-top: 14px;
  color: rgba(213, 224, 214, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  letter-spacing: 0.16em;
}

.soon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(154, 175, 159, 0.18);
}

.visual {
  grid-area: visual;
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  min-height: 460px;
  margin: 8px 8px 8px 0;
}

.orb {
  position: absolute;
  z-index: 0;
  top: 6%;
  left: -6%;
  width: 168px;
  height: 168px;
  border-radius: 46%;
  background:
    radial-gradient(circle at 35% 30%, #d7e4d4, #8ea696 58%, #6f8a78 100%);
  filter: blur(1px);
  opacity: 0.72;
  animation: drift 9s ease-in-out infinite;
}

.screen {
  position: relative;
  z-index: 1;
  order: 2;
  width: 100%;
  padding: 20px 20px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fdfdf9 0%, #f3f4ec 100%);
  color: var(--ink);
  box-shadow:
    0 28px 50px rgba(6, 24, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transform-origin: center;
}

.screen-head,
.chart-label,
.metrics,
.composition {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-head strong {
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.screen-head span,
.chart-label span,
.chip span,
.composition small,
.metrics small {
  color: var(--mist);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics {
  gap: 10px;
  margin-top: 14px;
}

.metrics div,
.chip {
  border: 1px solid rgba(18, 58, 50, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(18, 58, 50, 0.05);
}

.metrics div {
  flex: 1;
  padding: 12px 12px 10px;
}

.metrics strong,
.chip strong,
.composition strong {
  display: block;
  margin-top: 3px;
  font-size: 1.22rem;
  font-weight: 560;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.metrics em {
  display: inline-block;
  margin-top: 4px;
  color: #3f6b52;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 650;
}

.chart { margin-top: 16px; }

.chart-label { margin-bottom: 8px; }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 92px;
}

.bars i {
  display: block;
  flex: 1;
  height: var(--h);
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #b7c9b4 0%, #6e8d78 42%, #1c463c 100%);
  transform-origin: bottom;
  animation: grow 1s ease both;
}

.bars i:nth-child(2) { animation-delay: 0.08s; }
.bars i:nth-child(3) { animation-delay: 0.14s; }
.bars i:nth-child(4) { animation-delay: 0.2s; }
.bars i:nth-child(5) { animation-delay: 0.26s; }
.bars i:nth-child(6) { animation-delay: 0.32s; }

.composition {
  gap: 14px;
  justify-content: flex-start;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 58, 50, 0.08);
}

.donut {
  position: relative;
  display: grid;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#163f38 0 58%, #9aaf9f 58% 81%, #d7e2d4 81% 100%);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #f7f7f1;
}

.donut span {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.composition strong {
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: -0.03em;
}

.composition ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  font-size: 0.72rem;
}

.composition li { display: flex; align-items: center; gap: 6px; }

.swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.swatch.ink { background: #163f38; }
.swatch.sage { background: #9aaf9f; }
.swatch.mist { background: #d7e2d4; }

.note {
  margin: 12px 84px 0 0;
  color: var(--mist);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.chip {
  order: 1;
  z-index: 3;
  align-self: flex-end;
  min-width: 132px;
  margin: 0 18px -22px;
  padding: 12px 14px 11px;
  animation: float 7.5s ease-in-out infinite;
}

.chip span { display: block; margin-top: 2px; letter-spacing: 0.12em; }

.plus {
  position: absolute;
  z-index: 3;
  right: 4px;
  bottom: 18px;
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 16px 14px rgba(8, 30, 24, 0.28));
  animation: float 8.5s ease-in-out infinite reverse;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  border-radius: 18px;
  background:
    linear-gradient(145deg, #e4eee2 0%, #b7c9b4 28%, #89a292 70%, #6d8876 100%);
}

.plus::before { top: 32px; width: 92px; height: 28px; }
.plus::after { left: 32px; width: 28px; height: 92px; }

.phrase {
  grid-area: phrase;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(221, 230, 216, 0.28);
  color: #d7e3d8;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.closing {
  margin: 22px 6px 0;
  color: var(--mist);
  font-size: 0.98rem;
}

.legal {
  margin: 6px 6px 0;
  color: #7e9186;
  font-size: 0.78rem;
}

.copy > * {
  animation: enter 0.8s ease both;
}

.eyebrow { animation-delay: 0.05s; }
h1 { animation-delay: 0.12s; }
.lead { animation-delay: 0.2s; }
.support { animation-delay: 0.28s; }
.soon { animation-delay: 0.36s; }
.screen { animation: appear 0.9s ease both; }

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

@keyframes appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes grow {
  from { transform: scaleY(0.2); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 8px -6px; }
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 28px, 720px); margin-top: 16px; }

  .panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "copy"
      "visual"
      "phrase";
    min-height: 0;
    padding: 28px 22px 22px;
    border-radius: 24px;
  }

  .copy, .lead, .support { max-width: none; }
  .copy { padding: 26px 0 8px; }
  .visual, .screen, .panel, .copy { min-width: 0; max-width: 100%; }
  .visual { min-height: 0; margin: 18px 0 8px; }
  .screen { transform: none; width: 100%; }
  .orb { left: -6px; top: 36px; width: 96px; height: 96px; opacity: 0.45; }
  .chip { margin: 0 0 12px; }
  .plus { width: 64px; height: 64px; right: 10px; bottom: 12px; }
  .note { margin-right: 70px; }
  .plus::before { top: 22px; width: 64px; height: 20px; border-radius: 14px; }
  .plus::after { left: 22px; width: 20px; height: 64px; border-radius: 14px; }
  h1 em { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}

@media (max-width: 640px) {
  .brand img { height: 38px; }
  .brand span {
    font-size: calc(38px * 0.641);
    margin-top: calc(38px * 0.235);
  }
  .lead, .support { font-size: 1rem; }
  .metrics { flex-direction: column; }
  .metrics strong { font-size: 1.35rem; }
  .composition { align-items: flex-start; }
  .chip { margin: 0 0 12px; }
  .screen { padding: 18px 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .screen { transform: none; }
}
