:root {
  --paper: #fbfaf6;
  --ink: #11100e;
  --text: #252a31;
  --soft: #f3f0e8;
  --line: #ddd4c5;
  --muted: #6d6255;
  --gold: #d9b85f;
  --brown: #7a5638;
  --green: #2f5f45;
  --card: #fffdf8;
  --line-soft: rgba(17, 16, 14, .08);
  --shadow: 0 24px 65px rgba(35, 29, 22, .08);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--display);
  letter-spacing: 0;
}

a { color: inherit; }

hr {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 16px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font: 700 13px var(--sans);
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(251, 250, 246, .88);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(100% - 56px, 1180px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--sans);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__mark img {
  display: block;
  width: 42px;
  height: auto;
}

.brand__name,
.page-label,
.kicker,
.panel-label,
.preview-meta,
.signal-strip p {
  font-family: var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
}

.brand__name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.page-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-align: right;
}

.ehang-hero {
  position: relative;
  isolation: isolate;
  width: min(100% - 56px, 1180px);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0 76px;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .74fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.hero-visual {
  position: absolute;
  z-index: -1;
  top: clamp(8px, 4vw, 44px);
  right: calc(50% - 50vw);
  width: min(69vw, 920px);
  height: min(61vw, 650px);
  min-height: 430px;
  overflow: hidden;
  opacity: .85;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 28%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 68%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 28%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 68%, transparent 100%);
  mask-composite: intersect;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(ellipse at 82% 36%, rgba(251, 250, 246, 0) 0%, rgba(251, 250, 246, .02) 40%, rgba(251, 250, 246, .42) 78%, var(--paper) 100%),
    linear-gradient(to right, var(--paper) 0%, rgba(251, 250, 246, .76) 24%, rgba(251, 250, 246, .04) 54%, rgba(251, 250, 246, .38) 88%, var(--paper) 100%),
    linear-gradient(to bottom, var(--paper) 0%, rgba(251, 250, 246, .04) 20%, rgba(251, 250, 246, .14) 60%, var(--paper) 100%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 46%;
  filter: saturate(.82) contrast(.92);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 710px;
}

.ehang-brand-card {
  width: min(100%, 408px);
  margin: 0 0 34px;
  padding: 0;
}

.ehang-wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.kicker,
.panel-label {
  margin: 0 0 18px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(48px, 6.4vw, 80px);
  line-height: .96;
  font-weight: 400;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 0;
  color: #4d5660;
  font-size: 19px;
  line-height: 1.62;
}

.signup-panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 38px);
}

.signup-panel__header h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(31px, 4vw, 42px);
  line-height: 1.04;
  font-weight: 500;
}

.signup-panel__header p:last-child {
  margin-bottom: 26px;
  color: #4d5660;
  font-size: 16px;
  line-height: 1.55;
}

.stock-quote {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}

.stock-quote__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.stock-quote__top a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.stock-quote strong {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 48px);
  line-height: .98;
  font-weight: 760;
}

.stock-quote [data-stock-change] {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.stock-quote time {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.stock-quote[data-tone="positive"] [data-stock-change] {
  color: var(--green);
}

.stock-quote[data-tone="negative"] [data-stock-change] {
  color: #9d3328;
}

.signup-form {
  scroll-margin-top: 96px;
  display: grid;
  gap: 16px;
  font-family: var(--sans);
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.signup-form label span {
  letter-spacing: .08em;
  text-transform: uppercase;
}

.signup-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(17, 16, 14, .18);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 500 16px var(--sans);
  padding: 0 14px;
}

.signup-form input:focus {
  outline: 2px solid rgba(217, 184, 95, .62);
  outline-offset: 2px;
}

.submit {
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: 760 13px var(--sans);
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font: 700 13px/1.45 var(--sans);
}

.signal-strip,
.digest-preview {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip article {
  padding: 30px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.signal-strip article:last-child {
  border-right: 0;
}

.signal-strip p {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.signal-strip h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
  font-weight: 500;
}

.signal-strip span {
  display: block;
  color: #4d5660;
  font-size: 16px;
  line-height: 1.55;
}

.digest-preview {
  padding: clamp(74px, 10vw, 118px) 0;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 82px);
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  font-weight: 500;
}

.preview-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.preview-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.preview-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.preview-item h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.16;
  font-weight: 500;
}

.preview-item p:last-child {
  margin-bottom: 0;
  color: #4d5660;
  font-size: 16px;
  line-height: 1.58;
}

.bottom-subscribe {
  width: min(100% - 56px, 1180px);
  margin: 0 auto clamp(54px, 8vw, 86px);
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bottom-subscribe p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 500;
}

.bottom-subscribe__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 150px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: 760 13px var(--sans);
  text-decoration: none;
}

.site-footer {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  font: 600 13px/1.55 var(--sans);
}

.site-footer p {
  margin: 0;
  max-width: 560px;
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 960px) {
  .ehang-hero,
  .digest-preview {
    grid-template-columns: 1fr;
  }

  .ehang-hero {
    min-height: 0;
  }

  .hero-visual {
    top: 16px;
    right: 0;
    width: 100%;
    height: 420px;
    min-height: 0;
    opacity: .44;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .site-header__inner,
  .ehang-hero,
  .signal-strip,
  .digest-preview,
  .bottom-subscribe,
  .site-footer,
  hr {
    width: min(100% - 32px, 1180px);
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand__name {
    font-size: 12px;
    letter-spacing: .18em;
  }

  .page-label {
    font-size: 10px;
    letter-spacing: .16em;
  }

  .ehang-hero {
    padding: 34px 0 40px;
    gap: 24px;
  }

  .hero-visual {
    top: 28px;
    right: 0;
    width: 100%;
    height: 320px;
    opacity: .24;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 28%, #000 78%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 15%, #000 70%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 28%, #000 78%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 15%, #000 70%, transparent 100%);
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.58;
  }

  .ehang-brand-card {
    width: min(72vw, 292px);
    margin-bottom: 18px;
  }

  .kicker,
  .panel-label {
    margin-bottom: 12px;
  }

  .signup-panel {
    padding: 20px;
    box-shadow: 0 16px 42px rgba(35, 29, 22, .07);
  }

  .signup-panel__header h2 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.08;
  }

  .signup-panel__header p:last-child {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .stock-quote {
    gap: 7px;
    margin-bottom: 18px;
    padding: 14px 0 16px;
  }

  .stock-quote__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .preview-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .preview-item:last-child {
    border-bottom: 0;
  }

  .bottom-subscribe {
    width: min(100% - 32px, 1180px);
    margin-bottom: 52px;
    padding-top: 22px;
    display: grid;
    gap: 18px;
  }

  .bottom-subscribe p {
    font-size: 25px;
  }

  .bottom-subscribe__button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}
