:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5f6f89;
  --line: #d9e1ec;
  --paper: #ffffff;
  --soft: #eef5fb;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --gold: #f6bd60;
  --rose: #d95d5d;
  --shadow: 0 22px 60px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fbfd;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(248, 251, 253, 0.94);
  border-bottom: 1px solid rgba(217, 225, 236, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.account-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.account-bar a {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(130deg, rgba(15, 118, 110, 0.12), transparent 36%),
    linear-gradient(320deg, rgba(246, 189, 96, 0.22), transparent 42%),
    #f8fbfd;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

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

.secondary-button {
  color: var(--accent-strong);
  background: #ffffff;
  border-color: var(--line);
}

.geo-note {
  max-width: 560px;
  margin-top: 22px;
  padding: 12px 14px;
  color: var(--accent-strong);
  background: rgba(15, 118, 110, 0.09);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  font-weight: 700;
}

.hero-panel {
  min-height: 520px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.document-stack {
  display: grid;
  gap: 18px;
}

.doc-card,
.final-doc {
  min-height: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.doc-card span,
.final-doc span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.doc-card strong,
.final-doc strong {
  font-size: 26px;
}

.doc-a {
  border-left: 6px solid var(--accent);
}

.doc-b {
  border-left: 6px solid var(--gold);
}

.doc-c {
  border-left: 6px solid var(--rose);
}

.merge-line {
  width: 2px;
  height: 48px;
  margin: 18px auto;
  background: var(--line);
}

.final-doc {
  color: #ffffff;
  background: var(--ink);
}

.final-doc span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.tool-card,
.price-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(20, 33, 61, 0.08);
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tool-header span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.file-drop,
.text-input {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.file-drop {
  padding: 18px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.06);
  cursor: pointer;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

output {
  display: block;
  min-height: 46px;
  margin-top: 16px;
  padding: 12px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: #ffffff;
}

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

.feature-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  font-size: 20px;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.plan-name {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin: 12px 0;
  font-size: 44px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .tool-grid,
  .split,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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