:root {
  --ed-bg: #14161a;
  --ed-line: rgba(233, 230, 220, 0.09);
  --ed-line-soft: rgba(233, 230, 220, 0.05);
  --ed-ink: #e9e6dc;
  --ed-ink-soft: #a8a498;
  --ed-ink-faint: #6d6a60;
  --ed-accent: #d9694f;
  --ed-accent-deep: #b6543d;
  --ed-accent-soft: rgba(217, 105, 79, 0.12);
  --ed-green: #6fae82;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--ed-bg);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 37px,
    var(--ed-line-soft) 37px,
    var(--ed-line-soft) 38px
  );
  color: var(--ed-ink);
  font-family: "Newsreader", Georgia, serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.l-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1.5px solid var(--ed-ink);
  position: sticky;
  top: 0;
  background: var(--ed-bg);
  z-index: 50;
}
.l-logo {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ed-ink);
}
.l-logo em {
  color: var(--ed-accent);
  font-style: italic;
  font-weight: 400;
}
.l-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.l-nav-links a {
  color: var(--ed-ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: "Newsreader", Georgia, serif;
  transition: color 0.15s;
}
.l-nav-links a:hover { color: var(--ed-accent); }
.l-cta-btn {
  background: var(--ed-accent);
  color: #14161a;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  font-family: "Newsreader", Georgia, serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.l-cta-btn:hover { background: var(--ed-accent-deep); }

.l-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: end;
  padding: 72px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.l-hero-kicker {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ed-accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.l-hero-kicker::before {
  content: "No. 001";
  font-variant-numeric: tabular-nums;
  font-style: normal;
  color: var(--ed-ink-faint);
  font-size: 12px;
}
.l-hero-kicker::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--ed-line);
}
.l-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.l-hero p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  color: var(--ed-ink-soft);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 480px;
}
.l-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.l-btn-primary {
  background: var(--ed-accent);
  color: #14161a;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  font-family: "Newsreader", Georgia, serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.l-btn-primary:hover { transform: translateY(-1px); background: var(--ed-accent-deep); }
.l-btn-secondary {
  color: var(--ed-ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--ed-line);
  padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}
.l-btn-secondary:hover { color: var(--ed-ink); border-color: var(--ed-accent); }

.l-phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.l-phone {
  width: 320px;
  height: 660px;
  border-radius: 38px;
  background: #0a0b0d;
  padding: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  position: relative;
  border: 1px solid var(--ed-line);
}
.l-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0a0b0d;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.l-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--ed-bg);
}
.l-phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ed-bg);
  z-index: -1;
}
.l-phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(8px);
  background: var(--ed-bg);
  color: transparent;
  font-size: 0;
}
.l-phone-screen img.active {
  opacity: 1;
  transform: translateY(0);
}
.l-phone-dots {
  margin-top: 34px;
  display: flex;
  gap: 7px;
}
.l-phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ed-line);
  transition: background 0.3s, width 0.3s;
}
.l-phone-dot.active {
  background: var(--ed-accent);
  width: 18px;
}

.l-section {
  padding: 90px 24px;
  border-top: 1px solid var(--ed-line);
}
.l-section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.l-section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ed-accent);
  margin-bottom: 14px;
}
.l-section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 14px;
  text-wrap: balance;
}
.l-section-sub {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: var(--ed-ink-faint);
}

.l-feature-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ed-line);
  border: 1px solid var(--ed-line);
}
.l-feature-card {
  background: var(--ed-bg);
  padding: 32px 28px;
}
.l-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 18px;
  font-family: "Newsreader", Georgia, serif;
  color: var(--ed-accent);
  border: 1px solid var(--ed-line);
}
.l-feature-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.l-feature-card p {
  font-size: 13.5px;
  color: var(--ed-ink-faint);
  line-height: 1.55;
}

.l-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}
.l-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.l-stat + .l-stat {
  border-left: 1px solid var(--ed-line);
}
.l-stat-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ed-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.l-stat-label {
  font-size: 12px;
  color: var(--ed-ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.l-final {
  text-align: center;
  padding: 100px 24px;
  border-top: 1px solid var(--ed-line);
}
.l-final h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 18px;
  text-wrap: balance;
}
.l-final-sub {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: var(--ed-ink-faint);
  margin-bottom: 36px;
}
.l-final-meta {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ed-ink-faint);
}

.l-download-status {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ed-ink-faint);
  display: none;
  align-items: center;
  gap: 8px;
}
.l-download-status.show { display: flex; }
.l-download-bar-track {
  width: 140px;
  height: 3px;
  background: var(--ed-line);
  border-radius: 999px;
  overflow: hidden;
}
.l-download-bar-fill {
  height: 100%;
  background: var(--ed-accent);
  width: 0%;
  transition: width 0.2s linear;
}

.l-footer {
  border-top: 1px solid var(--ed-line);
  padding: 32px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ed-ink-faint);
  max-width: 1100px;
  margin: 0 auto;
}

.l-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.l-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .l-hero { grid-template-columns: 1fr; text-align: center; }
  .l-hero-kicker { justify-content: center; }
  .l-hero p { margin-left: auto; margin-right: auto; }
  .l-hero-actions { justify-content: center; }
  .l-hero h1 { font-size: 38px; }
  .l-feature-grid { grid-template-columns: 1fr; }
  .l-stats { flex-direction: column; gap: 24px; }
  .l-stat + .l-stat { border-left: none; border-top: 1px solid var(--ed-line); padding-top: 24px; }
  .l-nav-links { display: none; }
  .l-phone { width: 260px; height: 540px; }
  .l-footer { flex-direction: column; gap: 8px; text-align: center; }
}
