:root {
  --page: #efefef;
  --paper: #f8f8f6;
  --ink: #1f1c1b;
  --muted: #5c5753;
  --soft: #d6d2cc;
  --button: #352f2d;
  --button-hover: #1f1c1b;
  --white: #ffffff;
  --shadow: 0 22px 58px rgba(31, 28, 27, 0.08);
  color-scheme: light;
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.site-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 24px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 34px clamp(24px, 4vw, 56px) 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 172px;
  max-width: 100%;
  border: 0;
  background: transparent;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.4vw, 34px);
}

.site-header a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
}

.nav-button {
  border-radius: 999px;
  background: var(--button);
  color: #fff !important;
  padding: 17px 28px;
  white-space: nowrap;
}

main {
  overflow: hidden;
}

.hero,
.overview,
.section,
.use-case,
.vault,
footer {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-right: clamp(24px, 4vw, 56px);
  padding-left: clamp(24px, 4vw, 56px);
}

.hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding-top: 76px;
  padding-bottom: 96px;
}

.eyebrow,
.tier,
.sheet-title span,
.side-card span,
.stack-card span {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 7vw, 6.85rem);
  line-height: 0.98;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.2vw, 4.45rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.34rem;
  line-height: 1.18;
}

.subhead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.24rem, 2.1vw, 1.7rem);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button);
  border-radius: 999px;
  padding: 17px 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--button);
  color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1rem;
}

.trust-row span:not(:last-child)::after {
  content: "/";
  margin-left: 18px;
  color: #9a948d;
}

.product-preview {
  position: relative;
  min-height: 570px;
}

.preview-card {
  position: absolute;
  border: 1px solid var(--soft);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lead-card {
  right: 0;
  top: 34px;
  z-index: 3;
  width: min(420px, 88vw);
  padding: 32px;
}

.side-card {
  left: 0;
  top: 0;
  z-index: 2;
  width: 260px;
  padding: 24px;
  transform: rotate(-3deg);
}

.stack-card {
  right: 62px;
  bottom: 12px;
  z-index: 1;
  width: 330px;
  padding: 24px;
  transform: rotate(3deg);
}

.sheet-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.sheet-title span,
.side-card span,
.stack-card span {
  margin-bottom: 0;
}

.sheet-title strong {
  font-size: 1.08rem;
  font-weight: 400;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--soft);
}

.metric-row div {
  min-height: 92px;
  border-right: 1px solid var(--soft);
  padding: 16px;
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row small {
  display: block;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-row b {
  display: block;
  margin-top: 10px;
  font-size: 1.62rem;
  font-weight: 400;
}

.ruled-lines {
  height: 150px;
  margin: 22px 0 18px;
  border: 1px solid var(--soft);
  background: repeating-linear-gradient(to bottom, transparent 0 35px, var(--soft) 36px 37px);
}

.lead-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--soft);
  padding: 18px 0;
}

.status-line i {
  width: 15px;
  height: 15px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.status-line b {
  font-size: 0.96rem;
  font-weight: 400;
}

.status-line.short {
  width: 82%;
}

.mini-table {
  height: 260px;
  margin-top: 18px;
  border: 1px solid var(--soft);
  background:
    linear-gradient(var(--soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--soft) 1px, transparent 1px);
  background-size: 100% 43px, 33.33% 100%;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
  padding-top: 64px;
  padding-bottom: 64px;
}

.overview p,
.use-case p,
.vault p {
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.72;
}

.section,
.use-case,
.vault {
  padding-top: 86px;
  padding-bottom: 86px;
}

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

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--soft);
  border-left: 1px solid var(--soft);
}

.tool-grid article {
  min-height: 210px;
  border-right: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
  padding: clamp(22px, 3vw, 34px);
}

.tool-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.tool-grid p,
.price-card li,
.checklist li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.use-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 28px;
  align-items: stretch;
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
}

.checklist {
  border-left: 1px solid var(--soft);
  padding: clamp(26px, 4vw, 42px);
}

.checklist p {
  margin-bottom: 18px;
  color: var(--ink);
}

.checklist ul,
.price-card ul {
  margin: 0;
  padding-left: 20px;
}

.checklist li + li,
.price-card li + li {
  margin-top: 9px;
}

.pricing-section {
  padding-bottom: 96px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 510px;
  flex-direction: column;
  border: 1px solid var(--soft);
  background: rgba(248, 248, 246, 0.72);
  padding: 28px;
}

.price-card.featured {
  background: var(--paper);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  right: 18px;
  top: 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier {
  margin-bottom: 20px;
}

.price-card strong {
  display: block;
  margin: 14px 0 22px;
  font-size: 2.15rem;
  font-weight: 400;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.vault {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
  margin-bottom: 46px;
}

.vault-card {
  border-left: 1px solid var(--soft);
  padding-left: 34px;
}

.vault-card strong,
.vault-card span {
  display: block;
}

.vault-card strong {
  font-size: 2.65rem;
  font-weight: 400;
}

.vault-card span {
  margin-top: 4px;
  color: var(--muted);
}

.vault-card .button {
  width: 100%;
  margin-top: 24px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--soft);
  padding-top: 28px;
  padding-bottom: 40px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1020px) {
  .site-header,
  .hero,
  .overview,
  .use-case,
  .vault {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .product-preview {
    min-height: 560px;
  }

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

  .checklist,
  .vault-card {
    border-left: 0;
    border-top: 1px solid var(--soft);
    padding: 28px 0 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-top: 24px;
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .site-header nav a:not(.nav-button) {
    display: none;
  }

  .brand img {
    width: 145px;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(2.78rem, 14vw, 4.55rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .button {
    width: 100%;
  }

  .trust-row span:not(:last-child)::after {
    display: none;
  }

  .product-preview {
    min-height: 480px;
  }

  .lead-card {
    left: 0;
    right: auto;
    width: min(100%, 420px);
    padding: 22px;
  }

  .side-card {
    left: 12px;
    top: 300px;
    width: 235px;
  }

  .stack-card {
    right: 0;
    bottom: 0;
    width: 230px;
  }

  .metric-row div {
    min-height: 78px;
    padding: 12px;
  }

  .metric-row b {
    font-size: 1.24rem;
  }

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

  .price-card {
    min-height: auto;
  }

  footer {
    display: block;
  }

  footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
