:root {
  --teal: #3dbdaa;
  --teal-dark: #15766a;
  --purple: #9c5ca5;
  --purple-dark: #6f3d77;
  --ink: #172033;
  --muted: #586477;
  --line: #d9e1ea;
  --surface: #ffffff;
  --page: #f7f9fb;
  --soft-teal: #e8f7f5;
  --soft-purple: #f6eef7;
  color: var(--ink);
  background: var(--page);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgb(217 225 234 / 80%);
  background: rgb(255 255 255 / 88%);
  padding: 14px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 180px;
}

.brand img,
.site-footer img {
  display: block;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--teal-dark);
}

.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.header-cta,
.primary-button {
  border: 1px solid var(--teal-dark);
  background: var(--teal-dark);
  color: #fff;
  padding: 10px 16px;
}

.header-cta:hover,
.primary-button:hover {
  background: #105f55;
}

.secondary-button {
  border: 1px solid rgb(21 118 106 / 32%);
  background: rgb(255 255 255 / 86%);
  color: var(--teal-dark);
  padding: 10px 16px;
}

.secondary-button:hover {
  background: var(--soft-teal);
}

.text-link {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82vh;
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) clamp(18px, 6vw, 72px);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgb(247 249 251 / 98%) 0%,
      rgb(247 249 251 / 84%) 42%,
      rgb(247 249 251 / 20%) 74%
    ),
    linear-gradient(180deg, rgb(247 249 251 / 30%), rgb(247 249 251 / 78%));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 650px;
  color: #354257;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.intro-band div {
  display: grid;
  gap: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 34px);
}

.intro-band strong {
  color: var(--ink);
  font-size: 1rem;
}

.intro-band span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 72px);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section-heading {
  width: min(100%, 980px);
  margin-bottom: 34px;
}

.section-heading.narrow {
  width: min(100%, 760px);
}

.section-heading p,
.split-section > div:first-child p,
.cta-section p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.security-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.security-grid article,
.pricing-grid article {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  gap: 10px;
  padding: 22px;
}

.feature-grid p,
.security-grid p,
.pricing-grid p,
.workflow-list p,
.faq-list p {
  color: var(--muted);
}

.pricing-grid .plan-inheritance,
.pricing-matrix .plan-inheritance {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.pricing-matrix .plan-inheritance {
  margin-top: 8px;
  font-size: 0.85rem;
}

.feature-number {
  color: var(--teal-dark);
  font-weight: 900;
}

.workflow-section {
  background: var(--ink);
  color: #fff;
}

.workflow-section .section-heading p,
.workflow-list p {
  color: rgb(255 255 255 / 74%);
}

.workflow-section .eyebrow {
  color: #a7e5dc;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(255 255 255 / 7%);
  padding: 20px;
}

.workflow-list span,
.plan-note {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}

.workflow-list strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 1.05rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(30px, 6vw, 72px);
  background: var(--surface);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page);
  color: #344054;
  font-weight: 750;
  padding: 10px 13px;
}

.security-section {
  background:
    linear-gradient(180deg, rgb(232 247 245 / 74%), rgb(246 238 247 / 64%)),
    var(--page);
}

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

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

.pricing-grid article {
  gap: 14px;
}

.trial-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgb(61 189 170 / 28%);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgb(232 247 245 / 82%), rgb(246 238 247 / 58%)),
    var(--surface);
  padding: clamp(24px, 5vw, 38px);
}

.trial-banner h2 {
  margin-bottom: 8px;
}

.trial-banner p:last-child {
  max-width: 820px;
  color: var(--muted);
}

.region-selector-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  border: 1px solid rgb(21 118 106 / 18%);
  border-radius: 8px;
  background: rgb(255 255 255 / 78%);
  margin-bottom: 24px;
  padding: 18px;
}

.region-selector-panel h3 {
  margin-bottom: 4px;
}

.region-selector-panel p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.region-selector-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
}

.region-selector-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.region-selector-form select {
  min-width: 220px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  padding: 9px 12px;
}

.price-block {
  display: grid;
  gap: 4px;
}

.price-block strong {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.price-block strong span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.price-block small {
  color: var(--teal-dark);
  font-weight: 850;
}

.pricing-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #344054;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.featured-plan {
  border-color: rgb(156 92 165 / 48%) !important;
  background: linear-gradient(
    180deg,
    var(--soft-purple),
    #fff 130px
  ) !important;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: var(--teal-dark);
  color: #fff;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgb(255 255 255 / 82%);
}

.cta-section .primary-button {
  border-color: #fff;
  background: #fff;
  color: var(--teal-dark);
}

.faq-section {
  background: var(--surface);
}

.faq-page-section {
  align-items: start;
  gap: 0;
}

.faq-page-section.alt-band {
  background: var(--surface);
}

.faq-list {
  display: grid;
  width: min(100%, 980px);
  gap: 10px;
}

.faq-page-list {
  width: min(100%, 1080px);
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 34px clamp(18px, 6vw, 72px);
}

.site-footer img {
  width: 180px;
}

.site-footer p {
  width: 100%;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--teal-dark);
  font-weight: 800;
}

.footer-cookie-settings {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cookie-settings:hover {
  color: var(--purple-dark);
}

.cookie-consent {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 50;
  display: grid;
  width: min(620px, calc(100vw - 32px));
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 18px;
  border: 1px solid rgb(21 118 106 / 22%);
  border-radius: 8px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 70px rgb(23 32 51 / 18%);
  padding: 20px;
  backdrop-filter: blur(18px);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.cookie-consent p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: stretch;
}

.cookie-consent-actions .primary-button,
.cookie-consent-actions .secondary-button {
  flex: 1 1 180px;
  min-height: 40px;
  cursor: pointer;
  white-space: nowrap;
}

.page-hero {
  background:
    linear-gradient(135deg, rgb(232 247 245 / 92%), rgb(246 238 247 / 86%)),
    var(--page);
  padding: clamp(72px, 10vw, 126px) clamp(18px, 6vw, 72px)
    clamp(54px, 8vw, 96px);
}

.page-hero-content {
  width: min(100%, 980px);
}

.confirmation-hero {
  display: grid;
  min-height: 68vh;
  align-items: center;
}

.confirmation-panel {
  display: grid;
  gap: 16px;
  max-width: 880px;
}

.confirmation-panel h1 {
  margin: 0;
}

.confirmation-panel p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.35rem, 5vw, 5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #354257;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.feature-detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(24px, 5vw, 42px);
}

.feature-detail-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.feature-copy p,
.feature-points,
.content-grid p,
.value-row span,
.contact-card p {
  color: var(--muted);
}

.feature-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

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

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

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

.content-grid article,
.contact-card,
.plan-summary-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.contact-form-card {
  align-self: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

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

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 12px 13px;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--teal-dark);
  outline: 3px solid rgb(61 189 170 / 22%);
}

.form-grid small {
  color: #a33a3a;
  font-weight: 700;
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-actions button {
  cursor: pointer;
  font: inherit;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
}

.contact-success-panel {
  display: grid;
  gap: 6px;
}

.contact-success-panel strong {
  font-size: 1.05rem;
}

.contact-success-panel span {
  font-weight: 650;
}

.form-status.success {
  border: 1px solid rgb(21 118 106 / 28%);
  background: var(--soft-teal);
  color: var(--teal-dark);
}

.form-status.error {
  border: 1px solid rgb(163 58 58 / 28%);
  background: #fff1f1;
  color: #8d3030;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.link-grid a {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  text-decoration: none;
}

.link-grid a:hover {
  border-color: rgb(21 118 106 / 45%);
  background: var(--soft-teal);
}

.link-grid strong {
  color: var(--ink);
}

.link-grid span {
  color: var(--muted);
}

.legal-copy {
  padding-top: 44px;
}

.legal-copy article {
  width: min(100%, 860px);
}

.legal-copy h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  max-width: none;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-copy ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-copy address {
  margin: 0 0 20px;
  border-left: 3px solid var(--teal);
  color: var(--ink);
  font-style: normal;
  line-height: 1.65;
  padding-left: 16px;
}

.legal-table-wrap {
  width: 100%;
  margin: 8px 0 22px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--surface);
}

.legal-table th,
.legal-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--soft-teal);
  color: var(--ink);
  font-size: 0.9rem;
}

.legal-table td {
  color: var(--muted);
  line-height: 1.5;
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.notice-panel {
  border: 1px solid rgb(156 92 165 / 34%);
  border-radius: 8px;
  background: var(--soft-purple);
  padding: 22px;
}

.notice-panel p:last-child {
  margin-bottom: 0;
}

.tutorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: start;
  gap: clamp(24px, 5vw, 56px);
}

.tutorial-content {
  display: grid;
  gap: 22px;
}

.tutorial-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 32px);
}

.tutorial-step h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.tutorial-step p,
.tutorial-step li,
.tutorial-summary p {
  color: var(--muted);
}

.tutorial-meta {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.tutorial-meta dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.tutorial-meta dt {
  color: var(--ink);
  font-weight: 850;
}

.tutorial-meta dd {
  margin: 0;
  color: var(--muted);
}

.tutorial-script-note {
  border-left: 4px solid var(--purple);
  background: var(--soft-purple);
  color: #493252;
  padding: 14px 16px;
}

.tutorial-script-note p {
  margin-bottom: 0;
  color: inherit;
}

.tutorial-group-list {
  display: grid;
  gap: 28px;
}

.tutorial-group {
  display: grid;
  gap: 14px;
}

.tutorial-group h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.tutorial-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tutorial-card,
.tutorial-card-soon {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  text-decoration: none;
}

.tutorial-card:hover {
  border-color: rgb(21 118 106 / 45%);
  background: var(--soft-teal);
}

.tutorial-card strong,
.tutorial-card-soon strong {
  color: var(--ink);
}

.tutorial-card span,
.tutorial-card-soon span {
  color: var(--muted);
}

.tutorial-card-soon {
  background: #fbfcfd;
}

.tutorial-status {
  width: fit-content;
  border-radius: 999px;
  background: var(--soft-purple);
  color: var(--purple-dark);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 4px 8px;
  text-transform: uppercase;
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: #f0faf8;
}

.comparison-table tbody th {
  width: 24%;
}

.comparison-table td {
  color: var(--muted);
}

.value-list {
  display: grid;
  gap: 12px;
}

.value-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
  padding: 16px;
}

.plan-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-summary-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
}

.plan-summary-grid h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.matrix-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pricing-matrix {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.pricing-matrix th,
.pricing-matrix td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: center;
  vertical-align: middle;
}

.pricing-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f0faf8;
  color: var(--ink);
  font-size: 1rem;
}

.pricing-matrix th:first-child,
.pricing-matrix td:first-child {
  text-align: left;
}

.pricing-matrix tbody th {
  width: 34%;
  background: #fff;
  font-weight: 850;
}

.pricing-matrix tbody th span,
.pricing-matrix tbody th small {
  display: block;
}

.pricing-matrix tbody th small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.pricing-matrix tbody td:nth-child(3),
.pricing-matrix thead th:nth-child(3),
.pricing-matrix tfoot td:nth-child(3) {
  background: rgb(246 238 247 / 58%);
}

.pricing-matrix tbody td {
  color: #263246;
  font-weight: 760;
}

.pricing-matrix .matrix-group th {
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pricing-matrix tfoot th,
.pricing-matrix tfoot td {
  border-bottom: 0;
  background: #fbfcfd;
}

.pricing-matrix tfoot a {
  width: 100%;
}

.matrix-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgb(61 189 170 / 28%);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgb(232 247 245 / 82%), rgb(246 238 247 / 58%)),
    var(--surface);
  margin-top: 18px;
  padding: 22px;
}

.matrix-next-step h3 {
  margin-bottom: 4px;
}

.matrix-next-step p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: var(--surface);
}

.page-cta p {
  max-width: 760px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .intro-band,
  .feature-grid,
  .workflow-list,
  .security-grid,
  .pricing-grid,
  .split-section,
  .cta-section,
  .trial-banner,
  .feature-detail-card,
  .content-grid,
  .content-grid.compact,
  .content-grid.three,
  .contact-grid,
  .form-grid,
  .link-grid,
  .plan-summary-grid,
  .tutorial-layout,
  .tutorial-card-grid,
  .page-cta,
  .region-selector-panel,
  .matrix-next-step {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-overlay {
    background: rgb(247 249 251 / 88%);
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .tutorial-meta {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    width: 150px;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 72vh;
    padding-top: 56px;
  }

  .hero-actions a,
  .cta-section a,
  .page-cta a,
  .matrix-next-step a,
  .section-actions a,
  .contact-card a {
    width: 100%;
  }

  .value-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pricing-matrix th,
  .pricing-matrix td {
    padding: 13px 14px;
  }

  .region-selector-form,
  .region-selector-form label,
  .region-selector-form select,
  .region-selector-form button {
    width: 100%;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-actions .primary-button,
  .cookie-consent-actions .secondary-button {
    flex: 1 1 180px;
  }
}
