:root {
  --bg: #f7f6f2;
  --surface: #fffefa;
  --surface-2: #f0efea;
  --text: #1a1a18;
  --muted: #676b72;
  --line: rgba(26, 26, 24, 0.12);
  --accent: #0878c9;
  --accent-dark: #075f9e;
  --success: #247b55;
  --warning: #9a6818;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(30, 30, 28, 0.1);
  --shadow-soft: 0 8px 24px rgba(30, 30, 28, 0.07);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
}

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

.nav-links a,
.footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 680;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--accent);
  color: #fbfbf8;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover {
  border-color: rgba(26, 26, 24, 0.2);
  background: #ffffff;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 56px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(26, 26, 24, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 24, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 86%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.74);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  margin-top: 28px;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 820;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
}

h3 {
  font-size: 22px;
  font-weight: 760;
}

.accent {
  color: var(--accent);
  font-style: italic;
}

.lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

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

.microcopy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head p,
.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.card strong {
  color: var(--text);
}

.card ul,
.legal ul {
  padding-left: 20px;
}

.card li + li,
.legal li + li {
  margin-top: 8px;
}

.product-frame {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 10px;
  box-shadow: var(--shadow);
}

.product-shell {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f3ee;
}

.mock-sidebar {
  border-right: 1px solid var(--line);
  background: #ebeae4;
  padding: 22px;
}

.mock-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  font-weight: 760;
}

.mock-logo img {
  width: 26px;
  height: 26px;
}

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

.mock-nav span {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.mock-nav span.active {
  background: var(--surface);
  color: var(--text);
}

.mock-main {
  padding: 24px;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.mock-search {
  width: min(360px, 100%);
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.mock-avatars {
  display: flex;
}

.mock-avatars span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 2px solid #f4f3ee;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
}

.flow {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}

.flow-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px;
}

.flow-label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line {
  height: 9px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--surface-2);
}

.line.short {
  width: 70%;
}

.task-row,
.qa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}

.task-row:first-of-type,
.qa-row:first-of-type {
  border-top: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
  white-space: nowrap;
}

.pill.done {
  background: rgba(36, 123, 85, 0.12);
  color: var(--success);
}

.pill.warn {
  background: rgba(154, 104, 24, 0.13);
  color: var(--warning);
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.price {
  margin: 18px 0;
  font-size: 42px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 620;
}

.legal {
  padding: 72px 0;
}

.legal h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.legal h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal .updated {
  margin-top: 12px;
  color: var(--muted);
}

.support-block {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.support-email {
  color: var(--accent);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer {
  border-top: 1px solid var(--line);
  background: #efeee8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-note {
  color: var(--muted);
  font-size: 14px;
}

.heart {
  color: #c73333;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links,
  .nav-actions {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 64px;
  }

  .grid.three,
  .grid.two,
  .flow,
  .product-shell,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mock-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .nav-links a {
    padding-right: 8px;
    padding-left: 8px;
  }

  .button {
    width: 100%;
  }

  .nav-actions {
    width: 100%;
  }

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

  .product-frame {
    padding: 6px;
  }

  .mock-main,
  .mock-sidebar,
  .card,
  .support-block {
    padding: 18px;
  }

  .mock-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
