/* Shared product and documentation presentation. No external font dependencies. */
:root {
  --paper: #fafaf6;
  --ink: #183638;
  --muted: #56696a;
  --teal: #176e69;
  --line: #dce3de;
  --white: #fff;
  --soft: #eef3ed;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: #114d4b;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 650;
}
h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 22px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 13px;
  letter-spacing: -0.02em;
}
p {
  margin-bottom: 20px;
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #1a8e86;
  outline-offset: 5px;
  border-radius: 3px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 16px;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  transform: translateY(-180%);
  border-radius: 6px;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  padding: 26px 40px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  color: var(--ink);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.brand span {
  color: var(--teal);
}
.brand-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--teal);
  margin-left: 6px;
  margin-top: 10px;
}
.site-header nav {
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a {
  text-decoration: none;
  color: var(--muted);
}
.site-header nav a[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
}
.site-header nav a:last-child {
  padding: 7px 15px;
  border: 1px solid #bccbc4;
  border-radius: 5px;
}
.menu-button {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid #bccbc4;
  border-radius: 5px;
  padding: 8px 15px;
  background: transparent;
  cursor: pointer;
}
.hero,
.section {
  max-width: 1240px;
  margin: auto;
  padding: 70px 40px;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 45px;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 85px;
}
.hero h1 {
  font-size: clamp(2.7rem, 4.7vw, 4.3rem);
  letter-spacing: -0.06em;
}
.hero h1 span {
  color: var(--teal);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 24px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.signal-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-description {
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
}
.actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.actions li {
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 49px;
  padding: 12px 21px;
  border: 1px solid #bccbc4;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  line-height: 1.5;
  cursor: pointer;
  max-width: 100%;
}
.button.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.button:hover {
  background: #e5eeea;
}
.button.primary:hover {
  background: #145853;
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.text-link {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  display: inline-block;
}
.hero-note {
  font-size: 12px;
  margin: 26px 0 0;
  color: #70827c;
}
.architecture {
  background: #edf3ee;
  border: 1px solid #d5e0d8;
  border-radius: var(--radius);
  padding: 18px;
}
.diagram-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #577471;
  padding-bottom: 15px;
  border-bottom: 1px solid #d0ddd3;
  gap: 12px;
}
.architecture svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 16px 0 8px;
}
.architecture p {
  font-size: 11px;
  text-align: center;
  margin: 0;
  color: #577471;
}
.introduction {
  border-top: 1px solid var(--line);
  padding-bottom: 26px;
  max-width: 1160px;
  padding-left: 0;
  padding-right: 0;
}
.introduction p:not(.eyebrow) {
  max-width: 620px;
}
.stacks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 10px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  background: white;
  min-width: 0;
}
.card-number {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 28px;
  font-weight: 650;
}
.product-card p {
  max-width: 445px;
}
.product-card h2 {
  font-size: 2.35rem;
}
.master-card {
  background: #eff4ef;
}
.feature-list {
  padding: 20px 0;
  margin: 0 0 22px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.feature-list li {
  margin: 6px 0;
}
.feature-list li:before {
  content: "↳";
  margin-right: 12px;
  color: var(--teal);
}
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.card-links a {
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.platform-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  padding-top: 68px;
}
.platform-section > div > p {
  max-width: 480px;
}
.platform-list > div {
  padding: 0 0 20px 45px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  position: relative;
}
.platform-list > div:last-child {
  margin-bottom: 0;
}
.platform-list span {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: var(--teal);
  padding-top: 4px;
}
.platform-list h3 {
  font-size: 20px;
  margin: 0 0 10px;
}
.platform-list p {
  font-size: 14px;
  margin: 0;
}
.evaluation {
  background: var(--soft);
  max-width: none;
  padding: 65px max(40px, calc((100% - 1160px) / 2));
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.evaluation-grid p {
  font-size: 14px;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border: 1px solid #bbcfc4;
  border-radius: 50%;
  font-size: 12px;
  margin: 0 0 24px;
  color: var(--teal);
}
.evidence-strip {
  display: flex;
  gap: 30px;
  align-items: center;
  border-top: 1px solid #cad8cd;
  margin-top: 22px;
  padding-top: 30px;
}
.evidence-strip > div {
  flex: 1;
}
.evidence-strip h3 {
  font-size: 17px;
}
.evidence-strip p {
  font-size: 13px;
  max-width: 680px;
  margin: 0;
}
.licensing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.license-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
}
.license-options > a {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  background: white;
}
.license-options > a:hover {
  border-color: var(--teal);
}
.license-options span {
  font-size: 13px;
  font-weight: 600;
}
.license-options strong {
  font-size: 30px;
  letter-spacing: -0.05em;
}
.license-options small {
  font-size: 12px;
  color: var(--muted);
}
.license-options .enterprise-link {
  grid-column: 1/-1;
  background: #edf3ee;
  gap: 5px;
}
.enterprise-link strong {
  font-size: 20px;
}
.license-options > p {
  grid-column: 1/-1;
  font-size: 12px;
  margin: 4px 0 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 55px max(40px, calc((100% - 1160px) / 2)) 22px;
  background: #f0f2ed;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 55px;
}
.footer-grid h2 {
  font-size: 13px;
  letter-spacing: 0;
  margin: 8px 0 20px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 13px;
  text-decoration: none;
  margin: 9px 0;
}
.footer-grid p {
  font-size: 13px;
  margin-top: 14px;
}
.footer-grid .seller {
  font-size: 12px;
  line-height: 1.85;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 30px;
}
.footer-bottom a {
  text-decoration: none;
}
.attribution {
  font-size: 10px;
  margin: 18px 0 0;
  color: #798780;
}
.document {
  max-width: 1160px;
  margin: auto;
  padding: 0 40px 75px;
}
.document > header {
  padding: 65px 0 38px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.document > header h1 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  max-width: 880px;
}
.document > header p {
  font-size: 19px;
  max-width: 820px;
  margin: 0;
}
.guide-content {
  min-width: 0;
}
.guide-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
}
.guide-content h3 {
  margin-top: 36px;
  font-size: 1.4rem;
}
.guide-content h4 {
  margin-top: 25px;
}
.guide-content li {
  color: var(--muted);
  margin-bottom: 9px;
}
.guide-content p {
  max-width: 950px;
}
.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 35px;
}
.guide-nav a {
  text-decoration: none;
  font-weight: 600;
}
.guide-nav a[aria-current="page"] {
  text-decoration: underline;
}
code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.85em;
  overflow-wrap: anywhere;
  background: #edf1ec;
  padding: 2px 5px;
  border-radius: 3px;
  color: #23494a;
}
pre {
  max-width: 100%;
  overflow-x: auto;
  background: #173b3e;
  color: #e2f0e7;
  border-radius: 9px;
  padding: 25px;
  line-height: 1.85;
  margin: 25px 0 30px;
  font-size: 14px;
}
pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  white-space: pre;
  overflow-wrap: normal;
  font-size: inherit;
}
.table-wrapper {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 25px 0 35px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: white;
  min-width: 680px;
}
caption {
  text-align: left;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--soft);
}
td,
th {
  padding: 17px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
thead {
  background: var(--soft);
}
td {
  color: var(--muted);
}
tr:last-child td,
tr:last-child th {
  border-bottom: 0;
}
table code {
  font-size: 12px;
}
.validation-note {
  border-left: 3px solid #b3914e;
  border-radius: 0 8px 8px 0;
  background: #f3f0e4;
  padding: 27px 30px;
  margin: 30px 0;
}
.validation-note .eyebrow {
  color: #72592a;
  margin: 0 0 15px;
}
.validation-note h2 {
  font-size: 24px;
  margin: 0 0 16px;
}
.validation-note p {
  font-size: 14px;
}
.validation-note p:last-child {
  margin: 0;
}
details {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  margin: 16px 0;
  padding: 21px 25px;
}
summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
details[open] summary {
  margin-bottom: 18px;
}
details p:last-child {
  margin-bottom: 0;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.row > div {
  min-width: 0;
}
#purchase-form .row > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
#purchase-form h3 {
  margin-top: 0;
}
#purchase-form label {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  margin-left: 8px;
}
input[type="radio"],
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
  vertical-align: middle;
}
#purchase-status {
  padding: 20px 24px;
  border: 1px solid #d8dcca;
  border-radius: 8px;
  background: #f1f2e8;
  margin: 28px 0 15px;
  font-size: 14px;
}
#tax-status {
  font-size: 13px;
}
.enterprise-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: #eef3ed;
  border-radius: 12px;
  margin: 35px 0;
}
.enterprise-card h3 {
  margin-top: 0;
}
.legal-details {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  font-size: 14px;
}
.legal-details dt {
  font-weight: 600;
}
.legal-details dd {
  margin: 0;
  color: var(--muted);
}
main a,
main p,
main li {
  overflow-wrap: anywhere;
}
main:focus {
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 1000px) {
  .header-inner {
    padding: 23px 28px;
  }
  .site-header nav {
    gap: 17px;
    font-size: 13px;
  }
  .hero {
    gap: 24px;
    padding: 65px 28px;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .hero-description {
    font-size: 16px;
  }
  .section {
    padding-left: 28px;
    padding-right: 28px;
  }
  .introduction {
    margin: 0 28px;
  }
  .platform-section,
  .licensing {
    gap: 40px;
  }
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .footer-grid {
    gap: 28px;
  }
  .document {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 760px) {
  .header-inner {
    padding: 18px 22px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand {
    font-size: 26px;
  }
  .site-header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 22px;
    align-items: flex-start;
  }
  .site-header nav a:last-child {
    border: 0;
    padding: 0;
  }
  .menu-button {
    margin-left: auto;
  }
  .js-nav .site-header nav {
    display: none;
    padding: 10px 0 4px;
  }
  .js-nav .site-header nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 48px 22px;
    gap: 37px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 8.8vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 22px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-note {
    font-size: 11px;
  }
  .hero .actions {
    gap: 18px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .architecture {
    padding: 15px;
  }
  .diagram-top {
    font-size: 9px;
  }
  .section {
    padding: 45px 22px;
  }
  .introduction {
    margin: 0 22px;
    padding: 42px 0 8px;
  }
  .stacks {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }
  .product-card {
    padding: 28px;
  }
  .product-card h2 {
    font-size: 2rem;
  }
  .card-number {
    margin-bottom: 23px;
  }
  .platform-section,
  .licensing {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .evaluation-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .evaluation-grid > div {
    padding-left: 49px;
    position: relative;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 0;
  }
  .evidence-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .license-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .license-options > a {
    padding: 18px;
  }
  .license-options strong {
    font-size: 27px;
  }
  .site-footer {
    padding: 42px 22px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid h2 {
    font-size: 12px;
  }
  .footer-grid > div > a:not(.brand) {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .document {
    padding: 0 22px 45px;
  }
  .document > header {
    padding: 43px 0 28px;
    margin-bottom: 26px;
  }
  .document > header p {
    font-size: 17px;
  }
  .document h1 {
    font-size: 2.5rem;
  }
  .guide-nav {
    gap: 12px 22px;
  }
  pre {
    padding: 20px;
    font-size: 12px;
  }
  table {
    font-size: 13px;
  }
  td,
  th {
    padding: 15px;
  }
  .row {
    grid-template-columns: 1fr;
  }
  #purchase-form .row > div {
    padding: 24px;
  }
  #purchase-form .actions {
    align-items: stretch;
    flex-direction: column;
  }
  #purchase-form .actions .button {
    width: 100%;
  }
  .validation-note {
    padding: 22px 20px;
  }
  .validation-note h2 {
    font-size: 22px;
  }
  .validation-note code {
    font-size: 11px;
  }
  details {
    padding: 20px;
  }
  summary {
    font-size: 16px;
  }
  .legal-details {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 22px;
  }
  .legal-details dd {
    margin-bottom: 14px;
  }
  .legal-details dd:last-child {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
