:root {
  color-scheme: light;
  --bg: #f5efe6;
  --ink: #16202b;
  --muted: #6e655d;
  --panel: rgba(255, 250, 244, 0.78);
  --panel-strong: rgba(255, 251, 247, 0.94);
  --border: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 80px rgba(80, 58, 34, 0.12);
  --accent: #f09a1f;
  --accent-deep: #c97a17;
  --dark: #1d222b;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(240, 154, 31, 0.14), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(23, 29, 36, 0.08), transparent 18%),
    radial-gradient(circle at 74% 72%, rgba(201, 122, 23, 0.08), transparent 22%),
    linear-gradient(180deg, #f8f3ed 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 44px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  flex: 0 0 auto;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-wordmark {
  color: var(--ink);
  font-size: clamp(1.7rem, 2.35vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.brand-tagline {
  color: var(--muted);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  line-height: 1.15;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.nav-actions > a:not(.pill-link) {
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-actions > a:not(.pill-link):hover {
  color: var(--ink);
}

.pill-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.pill-link {
  min-height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(560px, 0.92fr);
  gap: 44px;
  align-items: center;
  min-height: 72vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2,
.platform-panel h2,
.download-card h2 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.7vw, 4.2rem);
  max-width: 11.6ch;
  text-wrap: balance;
}

.lede,
.platform-copy,
.privacy-copy,
.support-copy,
.feature-card p,
.workflow-rail p,
.download-card p {
  color: var(--muted);
  line-height: 1.75;
}

.lede {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.06rem;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
}

.primary-button {
  background: var(--dark);
  color: #fff8ef;
  box-shadow: 0 18px 38px rgba(29, 34, 43, 0.16);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.hero-facts {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffbe55 0%, #f18a18 100%);
}

.hero-note {
  margin: 16px 0 0;
  color: var(--accent-deep);
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.mock-window,
.feature-card,
.platform-panel,
.download-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mock-window {
  width: min(600px, 100%);
  border-radius: 34px;
  padding: 18px;
}

.mock-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.mock-burger {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    linear-gradient(#ffffff, #ffffff) center 15px / 18px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) center center / 18px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) center 29px / 18px 2px no-repeat,
    linear-gradient(180deg, #1f242d 0%, #11161d 100%);
  box-shadow: 0 14px 26px rgba(17, 22, 29, 0.18);
}

.mock-toolbar {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.mock-toolbar span,
.mock-chip {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.mock-toolbar .active,
.mock-chip {
  background: var(--dark);
  color: #fff8ef;
}

.mock-editor {
  min-height: 470px;
  border-radius: 28px;
  background: var(--panel-strong);
  padding: 26px 30px;
}

.mock-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.mock-lines {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.mock-lines span {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: rgba(29, 34, 43, 0.08);
}

.mock-lines span.warm {
  background: rgba(240, 154, 31, 0.18);
}

.mock-lines .long {
  width: 82%;
}

.mock-lines .medium {
  width: 63%;
}

.mock-lines .short {
  width: 44%;
}

.section {
  padding: 104px 0 0;
}

.section-heading {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  text-align: center;
}

.section-heading h2,
.platform-panel h2,
.download-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  text-wrap: balance;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 28px;
  padding: 24px;
}

.feature-card h3,
.workflow-rail h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-rail article {
  padding: 20px 0 0;
  border-top: 1px solid rgba(22, 32, 43, 0.12);
}

.step-index {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.platform-panel {
  border-radius: 34px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.platform-list {
  display: grid;
  gap: 16px;
}

.platform-list div {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.platform-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.platform-list span {
  color: var(--muted);
  line-height: 1.6;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 24px;
  align-items: start;
}

.support-card {
  height: 100%;
  padding: 26px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.support-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.support-disabled {
  opacity: 0.62;
}

.privacy-copy {
  max-width: 88ch;
  margin: 0 auto;
  font-size: 1.04rem;
  text-wrap: pretty;
  text-align: center;
}

.download-card {
  border-radius: 34px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.download-card img {
  width: 82px;
  height: 82px;
  border-radius: 22px;
}

.download-card p {
  margin: 12px 0 0;
}

.pill-link:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.feature-card,
.platform-list div,
.support-card,
.download-card,
.mock-window {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.feature-card:hover,
.platform-list div:hover,
.support-card:hover,
.download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 88px rgba(80, 58, 34, 0.14);
}

@media (max-width: 1100px) {
  .hero-grid,
  .platform-panel,
  .support-panel,
  .download-card {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-topbar {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }

  .mock-toolbar {
    justify-self: flex-start;
  }

  .section {
    padding-top: 88px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 16px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .brand-copy {
    gap: 2px;
  }

  .brand-wordmark {
    font-size: 1.65rem;
  }

  .brand-tagline {
    font-size: 0.88rem;
  }

  .nav-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-grid {
    min-height: auto;
  }

  .section {
    padding-top: 72px;
  }

  .feature-grid,
  .workflow-rail {
    grid-template-columns: 1fr;
  }

  .download-actions {
    width: 100%;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
