@font-face {
  font-family: Inter;
  src: url('/assets/marketing/hpx-showcase/inter-400.ttf') format('truetype');
  font-display: swap;
}

:root {
  --ink: #12201e; --forest: #153f38; --teal: #0f766e; --clay: #965635; --paper: #faf7f0; --muted: #52615d; --line: #dce3df; color-scheme: light;
  font: 16px/1.6 Inter, sans-serif;
  background: #fff;
  color: var(--ink);
}

* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.header { border-top: 3px solid transparent; border-image: linear-gradient(90deg, #dcf3eb, #147267, #d6ad68, #f0ebe1) 1; border-bottom: 1px solid var(--line); background: white; }
.nav, .nav nav, .actions { display: flex; align-items: center; gap: 24px; }
.nav { justify-content: space-between; min-height: 72px; }
.nav nav { font-size: .88rem; color: var(--muted); }
.nav a, .button { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 7px; font-weight: bold; letter-spacing: .1em; }
.brand img { width: 30px; height: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7em; font-weight: bold; line-height: 1.25; padding: 13px 17px; border-radius: 7px; }
.light { background: #edf5f1; color: var(--forest); }
.accent { background: var(--forest); color: white; }
.button:hover { filter: brightness(.92); }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4.5vw, 68px); align-items: center; padding-block: clamp(40px, 5.5vw, 76px); }
.eyebrow { font-size: .72rem; font-weight: bold; color: var(--teal); letter-spacing: .15em; text-transform: uppercase; }
h1, h2 { font-family: Inter, sans-serif; font-weight: 600; line-height: 1.02; letter-spacing: -.053em; }
h1 { font-size: clamp(3rem, 5.9vw, 5.6rem); margin: 14px 0 20px; }
h1 em { color: var(--clay); font: italic 400 1em Georgia, serif; white-space: nowrap; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
.intro, .section-head > p:last-child, .closing > p { max-width: 52ch; color: var(--muted); font-size: 1.05rem; }
.actions { flex-wrap: wrap; gap: 14px 20px; margin-top: 25px; }
.plain-link { text-underline-offset: 5px; font-size: .9rem; }
.micro { margin-top: 16px; font-size: .77rem; }
.muted { color: var(--muted); }
.hero-visual { position: relative; overflow: hidden; border-radius: 13px; background: #d9e9e1; box-shadow: 0 20px 55px #153f3826; border: 5px solid #fff; }
.hero-visual img { aspect-ratio: 1.45; object-fit: cover; }
.hero-visual figcaption { position: absolute; inset: auto 0 0; background: linear-gradient(transparent, #10110fe8); display: grid; gap: 2px; padding: 36px 22px 17px; color: #fff; }
.hero-visual figcaption span { color: #e2e3cd; font-size: .75rem; }
.hero-visual figcaption strong { font: 1.5rem Georgia, serif; }
.paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.workflow, .pricing, .teams, .closing { padding-block: clamp(40px, 5.5vw, 76px); }
.paper .eyebrow { color: var(--teal); }
.paper .section-head > p:last-child { color: var(--muted); }
.section-head { margin-bottom: 29px; }
.section-head h2 { margin: 11px 0 13px; }
.workflow-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; gap: clamp(25px, 5vw, 66px); }
.viewer { background: #fffdf5; border: 1px solid #dddccc; border-radius: 12px; overflow: hidden; }
.viewer img { aspect-ratio: 16 / 9; object-fit: cover; background: #dad8cd; }
.viewer figcaption { padding: 9px 13px; font-size: .76rem; color: #575b4b; }
.views { display: flex; gap: 4px; padding: 8px; }
.views button { cursor: pointer; font: inherit; font-size: .8rem; color: #414535; background: transparent; border: 0; border-radius: 5px; padding: 5px 10px; }
.views button[aria-pressed="true"] { color: #fff; background: var(--forest); }
.steps { margin: 0; padding-left: 1.35em; }
.steps li { padding: 11px 0 11px 6px; border-bottom: 1px solid #d9dacd; }
.steps li:first-child { padding-top: 0; }
.steps span { display: block; color: var(--muted); font-size: .9rem; }
.cost-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cost { padding: clamp(16px, 3vw, 30px); border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cost.arq { background: #edf7f3; border-color: #b9d8cd; }
.cost h3 { font-size: 1.1rem; }
.plan, .total span { font-size: .84rem; color: var(--muted); }
.cost dl { margin-top: 18px; }
.cost dl div { display: flex; justify-content: space-between; gap: 13px; border-top: 1px solid var(--line); padding: 9px 0; font-size: .88rem; }
.cost dd { text-align: right; }
.total { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.total strong { font: clamp(2.4rem, 5vw, 4rem) Georgia, serif; letter-spacing: -.055em; color: var(--forest); }
.note { font-size: .8rem; color: var(--muted); margin-top: 13px; max-width: 94ch; }
.note a { text-underline-offset: 3px; }
.paper .note { color: var(--muted); }
table { width: 100%; border-collapse: collapse; text-align: left; background: #fff; }
th, td { vertical-align: top; padding: 13px 15px; border-bottom: 1px solid #dcded0; }
th { font-weight: 700; }
thead { background: #f4f7f5; }
.closing > p { margin-top: 16px; }

.hero-band { background: radial-gradient(ellipse at 0% 0%, #deeeea, transparent 58%), radial-gradient(ellipse at 100% 90%, #e7eee6, transparent 50%), var(--paper); border-bottom: 1px solid var(--line); }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 4px; font-size: .86rem; color: var(--forest); }
.hero-points li::before { content: '✓'; color: var(--teal); margin-right: 9px; font-weight: 700; }
.features { padding-block: clamp(44px, 6vw, 76px); }
.comparison-table { border: 1px solid var(--line); }
.comparison-table td:nth-child(2), .comparison-table thead th:nth-child(2) { background: #edf6f1; }
.comparison-table td { width: 38%; }
.comparison-table td strong { color: var(--forest); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-card { background: #fff; border: 1px solid var(--line); padding: clamp(14px, 2.6vw, 28px); border-radius: 12px; }
.team-card.ours { background: #f0f8f4; border-color: #b9d8cd; }
.seat-price { font-size: clamp(1.7rem, 4.5vw, 3.2rem); font-weight: 600; letter-spacing: -.05em; color: var(--forest); line-height: 1.2; margin-block: 10px 20px; }
.seat-price span { font-size: .84rem; letter-spacing: normal; display: block; color: var(--muted); }
.allowances div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.allowances dd { text-align: right; font-weight: 600; }
.team-example { margin-top: 16px; background: white; padding: 16px 19px; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 8px; }
.team-example p { color: var(--muted); margin-top: 3px; font-size: .9rem; }
.workflow { background: #f4f8f6; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .workflow-grid { grid-template-columns: 1fr; }
  .hero-visual img { aspect-ratio: 16 / 10; }
}

@media (max-width: 520px) {
  .nav nav { display: none; }
  .nav { min-height: 62px; }
  .cost-grid, .team-grid { grid-template-columns: 1fr; }
  th, td { padding: 9px 6px; font-size: .75rem; line-height: 1.45; }
  .views button { font-size: .73rem; padding-inline: 7px; }
}

.comparison-table th:first-child { width: 25%; }
.comparison-table thead th { vertical-align: middle; }
.comparison-table thead th:nth-child(2) { background: var(--forest); color: #fff; }
.comparison-table thead span { display: block; font-weight: 400; font-size: .82em; }
.comparison-table td:nth-child(2) { position: relative; padding-left: 37px; }
.comparison-table td:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 19px;
  width: 10px;
  height: 6px;
  border: solid var(--teal);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.comparison-table td:nth-child(3) { color: var(--muted); }
.comparison-table td:nth-child(3) strong { color: var(--ink); }
.cost-assumption { color: var(--forest); font-size: .76rem; font-weight: 600; margin-top: 5px; }
.comparison-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 24px 0; font-size: .85rem; }
.comparison-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.comparison-footer button { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.analytics-consent {
  position: fixed;
  z-index: 10;
  inset: auto 16px 16px;
  width: min(520px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px #12201e26;
  font-size: .875rem;
}
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.analytics-consent button { padding: 7px 12px; border: 1px solid var(--forest); border-radius: 6px; font: inherit; cursor: pointer; }
.analytics-consent .btn-primary { background: var(--forest); color: #fff; }
.analytics-consent .btn-ghost { background: #fff; color: var(--forest); }

@media (max-width: 520px) {
  .comparison-table td:nth-child(2) { padding-left: 20px; }
  .comparison-table td:nth-child(2)::before { left: 6px; top: 13px; width: 8px; height: 5px; }
}
