:root {
  --brand: #4f46e5;
  --brand-dark: #312e81;
  --brand-soft: #eef2ff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --background: #f8fafc;
  --accent: #14b8a6;
  --success: #15803d;
  --pending: #b45309;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 24px 70px rgba(49, 46, 129, 0.12);
  --shell: min(1320px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light only;
  scroll-behavior: smooth;
}

#product,
#how-it-works,
#pricing,
#about,
#faq {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.body {
  min-width: 320px;
  overflow-x: hidden;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-dark);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(49, 46, 129, 0.18);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.quiet {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: #475569;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.quiet:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.menu-button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.28);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.22);
}

.button-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 32px rgba(49, 46, 129, 0.26);
}

.button-large {
  min-height: 52px;
  padding: 0 25px;
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button-quiet:hover {
  border-color: #c7d2fe;
  background: #f8faff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.button-light {
  color: var(--brand-dark);
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
}

.button-light:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.18);
}

.button-dark-quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark-quiet:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.hero {
  padding: 92px 0 64px;
  text-align: center;
  background: var(--background);
}

.hero-copy {
  max-width: 890px;
  margin: 0 auto 54px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 880px;
  margin: 0 auto 22px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.hero-line {
  margin: -8px auto 18px;
  color: #334155;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin: 0 auto 16px;
}

.hero-price {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stripe-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.stripe-trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.pricing-amount-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.pricing-amount-block small {
  display: block;
  flex-basis: 100%;
}

.pricing-amount-block .stripe-trust {
  margin-top: 0;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto;
  color: #475569;
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-line svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.product-frame {
  max-width: 1160px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: left;
  pointer-events: none;
  user-select: none;
}

.preview-caption {
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #eef2ff;
  color: #312e81;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: default;
}

.window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-address {
  width: 42%;
  min-width: 140px;
  height: 24px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.app-preview {
  min-height: 570px;
  display: grid;
  grid-template-columns: 212px 1fr;
}

.preview-sidebar {
  padding: 24px 18px;
  color: #cbd5e1;
  background: #111827;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #fff;
  font-weight: 700;
}

.preview-brand .brand-mark {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.preview-nav {
  display: grid;
  gap: 8px;
}

.preview-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 14px;
}

.preview-nav span:first-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.preview-main {
  padding: 34px;
  background: #f8fafc;
}

.preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.preview-heading h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.preview-heading .preview-chip {
  pointer-events: none;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.preview-metrics article,
.chart-card,
.recent-card,
.envelope-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.preview-metrics article {
  min-height: 108px;
  padding: 18px;
}

.preview-metrics span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.preview-metrics strong {
  font-size: 30px;
  line-height: 1;
}

.preview-content {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
  gap: 16px;
}

.chart-card,
.recent-card {
  padding: 22px;
}

.chart-card h3,
.recent-card h3 {
  margin-bottom: 22px;
  font-size: 16px;
}

.chart {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.chart span {
  flex: 1;
  min-width: 9px;
  border-radius: 6px 6px 2px 2px;
  background: #e0e7ff;
}

.chart span:nth-child(3n + 1) {
  background: #c7d2fe;
}

.chart span:nth-child(8) {
  background: var(--brand);
}

.recent-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f5;
  color: #334155;
  font-size: 14px;
}

.recent-card li:last-child {
  border: 0;
}

.recent-card i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--success);
  background: #dcfce7;
  font-style: normal;
}

.value-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.value-strip .shell {
  min-height: 106px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.value-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  color: #334155;
  font-weight: 700;
}

.value-strip article + article {
  border-left: 1px solid var(--line);
}

.value-strip svg,
.icon-box svg,
.step-icon svg,
.final-icon svg {
  color: var(--brand);
}

.section {
  padding: 112px 0;
}

.section-muted {
  background: var(--background);
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 54px;
  text-align: center;
}

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

.about-points article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.about-points h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.about-points p {
  margin: 0;
  color: var(--muted);
}

.section-heading h2,
.showcase-copy h2,
.platform-heading h2,
.pricing-copy h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  font-weight: 730;
  letter-spacing: -0.025em;
}

.section-heading p,
.showcase-copy p,
.platform-heading p,
.pricing-copy p,
.final-cta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.benefit-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit,
.steps article {
  padding: 30px 0 0;
}

.icon-box,
.step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
}

.benefit h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.benefit p,
.steps p {
  color: var(--muted);
}

.mini-ui {
  height: 170px;
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--background);
  pointer-events: none;
}

.mini-ui > span:first-child,
.mini-ui .preview-chip {
  position: absolute;
  z-index: 2;
}

.mini-ui > span:first-child {
  left: 22px;
  top: 78px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.mini-ui .preview-chip {
  right: 22px;
  top: 72px;
  min-height: 34px;
  padding: 0 12px;
}

.mini-ui::before,
.mini-ui::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  height: 11px;
  border-radius: 4px;
  background: #dbe3ec;
}

.mini-ui::before {
  top: 24px;
}

.mini-ui::after {
  top: 48px;
  right: 42%;
}

.field-ui .mini-field,
.status-ui .mini-status {
  position: absolute;
  z-index: 2;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.field-ui .mini-field {
  left: 28px;
  bottom: 25px;
  padding: 10px 16px;
  color: var(--brand-dark);
  border: 2px solid var(--brand);
  background: #fff;
}

.status-ui .mini-status {
  left: 24px;
  bottom: 28px;
  padding: 8px 13px;
  color: var(--success);
  background: #dcfce7;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 76px;
}

.showcase-copy {
  max-width: 500px;
}

.showcase-copy .button {
  margin-top: 26px;
}

.envelope-preview {
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.envelope-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.envelope-top h3 {
  margin: 0;
  font-size: 20px;
}

.search-preview {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px;
  padding: 0 14px;
  color: #94a3b8;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 14px;
}

.envelope-preview article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 20px;
  padding: 18px 2px;
  border-bottom: 1px solid #edf1f5;
}

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

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 800;
}

.avatar.alternate {
  color: #0f766e;
  background: #ccfbf1;
}

.envelope-preview strong,
.envelope-preview .muted {
  display: block;
}

.envelope-preview .muted {
  color: var(--muted);
  font-size: 13px;
}

.envelope-meta {
  text-align: right;
}

.envelope-meta span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--success);
  background: #dcfce7;
  font-size: 12px;
  font-weight: 800;
}

.envelope-meta .pending {
  color: var(--pending);
  background: #ffedd5;
}

.envelope-meta small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.statement {
  padding: 100px 0;
  color: #fff;
  background: var(--brand-dark);
  text-align: center;
}

.statement-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.statement blockquote {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.22;
  font-weight: 670;
  letter-spacing: -0.02em;
}

.section-dark {
  color: #fff;
  background: #111827;
}

.platform-heading {
  max-width: 710px;
  margin: 0 auto 60px;
  text-align: center;
}

.platform-heading p {
  color: #94a3b8;
}

.layered-preview {
  max-width: 1080px;
  height: 600px;
  position: relative;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

.layer {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.layer-back {
  width: 54%;
  height: 390px;
  top: 78px;
  left: 0;
  padding: 26px;
  color: var(--ink);
  transform: rotate(-3deg);
}

.layer-middle {
  width: 54%;
  min-height: 380px;
  top: 120px;
  right: 0;
  padding: 26px;
  color: var(--ink);
  transform: rotate(3deg);
}

.layer-front {
  width: 49%;
  min-height: 460px;
  top: 24px;
  left: 25.5%;
  padding: 30px;
  color: var(--ink);
  z-index: 3;
}

.document-sheet {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.sheet-line {
  width: 70%;
  height: 11px;
  margin-bottom: 14px;
  border-radius: 3px;
  background: #e2e8f0;
}

.sheet-line.wide {
  width: 100%;
}

.sheet-line.short {
  width: 46%;
}

.sheet-table {
  position: relative;
  overflow: hidden;
  height: 98px;
  margin: 28px 0;
  border: 1px solid #d7dee7;
  background: #fff;
}

.sheet-table::before {
  position: absolute;
  inset: 24px 0 auto;
  height: 1px;
  background: #e5e7eb;
  box-shadow: 0 25px #e5e7eb, 0 50px #e5e7eb;
  content: "";
}

.signature-line {
  width: 46%;
  margin: 38px 0 0 auto;
  padding-top: 8px;
  border-top: 1px solid #94a3b8;
  color: var(--muted);
  font-size: 12px;
}

.signer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.signer-header h3 {
  margin: 0;
  font-size: 18px;
}

.signer-header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.layer-middle ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer-middle li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.layer-middle li i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: #dcfce7;
  font-style: normal;
}

.completion {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px;
  border-radius: 6px;
  color: var(--success);
  background: #f0fdf4;
  font-size: 13px;
  font-weight: 700;
}

.layer-front .preview-chip {
  margin-top: 18px;
  width: 100%;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 84px;
}

.pricing-copy {
  max-width: 650px;
}

.pricing-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.pricing-panel .label {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-panel strong {
  display: block;
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.1;
}

.pricing-panel p {
  color: var(--muted);
}

.pricing-panel ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-panel li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.pricing-panel .button {
  width: 100%;
}

.pricing-compare {
  margin-top: 18px;
  font-weight: 600;
  color: var(--ink);
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 8px auto 0;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 18px 28px 18px 0;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

.final-cta {
  padding: 96px 0;
  color: #fff;
  background: var(--brand-dark);
  text-align: center;
}

.final-cta p {
  color: #c7d2fe;
}

.final-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.final-icon svg {
  color: #fff;
}

.final-cta .hero-actions {
  margin-top: 30px;
}

.footer {
  padding: 30px 0;
  color: #64748b;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .app-preview {
    grid-template-columns: 176px 1fr;
  }

  .preview-main {
    padding: 26px;
  }

  .preview-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-section,
  .pricing {
    gap: 48px;
  }

  .layered-preview {
    height: 540px;
  }
}

@media (max-width: 800px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .nav {
    min-height: 68px;
  }

  .menu-button {
    display: grid;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 18px 16px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
  }

  .menu.is-open {
    display: grid;
    gap: 14px;
  }

  .nav-links,
  .nav-actions {
    display: grid;
    gap: 6px;
  }

  .nav-links a,
  .quiet,
  .nav-actions .button {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-actions .button {
    justify-content: center;
  }

  .hero {
    padding: 70px 0 46px;
  }

  h1 {
    font-size: clamp(42px, 10vw, 58px);
  }

  .hero-text {
    font-size: 18px;
  }

  .app-preview {
    min-height: 530px;
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-content {
    grid-template-columns: 1fr;
  }

  .recent-card {
    display: none;
  }

  .value-strip .shell {
    min-height: auto;
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .value-strip article {
    min-height: 64px;
  }

  .value-strip article:nth-child(3) {
    border-left: 0;
  }

  .value-strip article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 84px 0;
  }

  .benefit-grid,
  .steps,
  .showcase-section,
  .pricing,
  .about-points {
    grid-template-columns: 1fr;
  }

  .showcase-section,
  .pricing {
    gap: 46px;
  }

  .showcase-copy,
  .pricing-copy {
    max-width: none;
  }

  .layered-preview {
    height: 760px;
  }

  .layer-back,
  .layer-middle,
  .layer-front {
    width: 86%;
    left: 7%;
    right: auto;
    transform: none;
  }

  .layer-back {
    top: 0;
  }

  .layer-middle {
    top: 176px;
  }

  .layer-front {
    top: 300px;
  }

  .footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .final-cta .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-frame {
    margin-left: -2px;
    margin-right: -2px;
  }

  .window-address {
    width: 52%;
  }

  .preview-main {
    padding: 20px 14px;
  }

  .preview-heading {
    align-items: flex-start;
  }

  .preview-heading h3 {
    font-size: 22px;
  }

  .preview-heading .preview-chip {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .preview-metrics {
    gap: 8px;
  }

  .preview-metrics article {
    min-height: 96px;
    padding: 14px;
  }

  .chart-card {
    padding: 16px;
  }

  .chart {
    gap: 7px;
  }

  .value-strip article {
    align-items: center;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .showcase-copy h2,
  .platform-heading h2,
  .pricing-copy h2,
  .final-cta h2 {
    font-size: 36px;
  }

  .benefit-grid,
  .steps {
    gap: 44px;
  }

  .envelope-top {
    padding: 18px;
  }

  .envelope-preview article {
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0 14px;
  }

  .envelope-meta {
    grid-column: 2;
    text-align: left;
  }

  .statement {
    padding: 76px 0;
  }

  .layered-preview {
    height: 680px;
  }

  .layer-back,
  .layer-middle,
  .layer-front {
    width: 94%;
    left: 3%;
    padding: 20px;
  }

  .layer-back {
    height: 330px;
  }

  .layer-middle {
    min-height: 320px;
    top: 145px;
  }

  .layer-front {
    min-height: 390px;
    top: 255px;
  }

  .pricing-panel {
    padding: 26px 22px;
  }

  .footer-links {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
