@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --panel: rgba(255, 255, 255, 0.98);
  --panel-strong: rgba(255, 255, 255, 1);
  --ink: #173246;
  --muted: #5d6e79;
  --line: rgba(17, 64, 83, 0.12);
  --soil: #00bda5;
  --leaf: #7bd84d;
  --water: #0f5d79;
  --sun: #aef26d;
  --surface: #f4fbfb;
  --surface-strong: #ebf7f6;
  --shadow: 0 26px 54px rgba(10, 38, 52, 0.1);
  --shadow-soft: 0 12px 28px rgba(10, 38, 52, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(0, 189, 165, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(123, 216, 77, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfb 46%, #eef7f7 100%);
  color: var(--ink);
  font-family: var(--font-body);
}

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 189, 165, 0.08), transparent 10%),
    radial-gradient(circle at 86% 18%, rgba(123, 216, 77, 0.08), transparent 11%),
    radial-gradient(circle at 78% 84%, rgba(15, 93, 121, 0.05), transparent 10%);
  pointer-events: none;
  opacity: 1;
}

.page-shell {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.page-shell.is-checkout-screen {
  max-width: 1120px;
}

.page-shell.is-checkout-screen .site-nav,
.page-shell.is-checkout-screen .hero,
.page-shell.is-checkout-screen .brand-info-grid,
.page-shell.is-checkout-screen .route-strip-panel,
.page-shell.is-checkout-screen .main-column,
.page-shell.is-checkout-screen .summary-panel,
.page-shell.is-checkout-screen .architecture-panel,
.page-shell.is-checkout-screen .legal-layer-panel,
.page-shell.is-checkout-screen .site-footer {
  display: none;
}

.page-shell.is-checkout-screen .layout {
  display: block;
}

.page-shell.is-checkout-screen .summary-column {
  position: static;
  max-width: 920px;
  margin: 0 auto;
}

.page-shell.is-checkout-screen .checkout-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 24px;
  border-radius: 999px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px 18px;
  position: sticky;
  top: 16px;
  z-index: 25;
  border-radius: 999px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 189, 165, 0.24);
  box-shadow: 0 16px 32px rgba(10, 38, 52, 0.12);
}

.site-nav a.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--soil), var(--leaf));
  color: white;
}

.site-nav a:focus-visible,
.brand-card:focus-visible,
.matrix-card:focus-visible,
.package-filter-chip:focus-visible,
.action-button:focus-visible,
.ghost-button:focus-visible,
.sample-tab:focus-visible,
.product-assign-button:focus-visible,
.support-link:focus-visible,
.footer-link:focus-visible,
.footer-top-link:focus-visible {
  outline: 3px solid rgba(0, 189, 165, 0.3);
  outline-offset: 3px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-lockup-copy {
  display: grid;
  gap: 2px;
}

.brand-group {
  margin: 0;
  color: var(--soil);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-lockup strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
}

.brand-mark::before {
  top: 18px;
  left: 8px;
  width: 28px;
  height: 2px;
  background: rgba(15, 93, 121, 0.48);
  transform: rotate(-28deg);
}

.brand-mark::after {
  top: 12px;
  left: 11px;
  width: 18px;
  height: 2px;
  background: rgba(15, 93, 121, 0.44);
  transform: rotate(64deg);
}

.brand-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf), var(--soil));
  box-shadow: 0 0 0 3px rgba(123, 216, 77, 0.14);
}

.node-a {
  top: 2px;
  left: 12px;
}

.node-b {
  top: 8px;
  left: 0;
}

.node-c {
  top: 14px;
  right: 2px;
}

.node-d {
  bottom: 6px;
  left: 8px;
}

.node-e {
  bottom: 0;
  right: 14px;
}

.masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.header-pill.is-accent {
  border-color: transparent;
  background: linear-gradient(135deg, var(--soil), var(--leaf));
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) 360px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero-single-column {
  grid-template-columns: minmax(0, 1fr);
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.82fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(123, 216, 77, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 248, 0.98));
}

.subpage-hero-copy {
  display: grid;
  gap: 12px;
  max-width: 72ch;
}

.subpage-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.02;
}

.subpage-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.subpage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subpage-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.subpage-hero-rail {
  display: grid;
}

.subpage-hero-rail-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(9, 32, 43, 0.9), rgba(13, 47, 58, 0.96)),
    linear-gradient(135deg, rgba(0, 189, 165, 0.18), rgba(123, 216, 77, 0.16));
  box-shadow: 0 18px 36px rgba(7, 29, 35, 0.18);
  color: white;
}

.subpage-hero-rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.subpage-hero-rail-logo {
  max-width: 148px;
  max-height: 42px;
  width: auto;
  height: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(7, 29, 35, 0.18);
}

.subpage-hero-rail-copy {
  display: grid;
  gap: 10px;
}

.subpage-hero-rail-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subpage-hero-rail-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.02;
  color: white;
}

.subpage-hero-rail-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.subpage-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.subpage-hero-metric {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.subpage-hero-metric span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-hero-metric strong {
  color: white;
  font-size: 0.95rem;
  line-height: 1.3;
}

.subpage-hero-links {
  margin-top: 2px;
}

.subpage-hero-link-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: white;
}

.subpage-hero-link-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.brand-switcher-panel {
  margin-bottom: 22px;
}

.brand-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.brand-info-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.brand-page-links {
  margin-bottom: 18px;
}

.hero-copy,
.journey-card,
.panel {
  background: var(--panel);
  border: 1px solid rgba(17, 64, 83, 0.08);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: hidden;
  padding: 42px 42px 146px;
  border-radius: var(--radius-xl);
  min-height: 470px;
  background:
    linear-gradient(90deg, rgba(13, 36, 49, 0.72) 0%, rgba(13, 36, 49, 0.48) 44%, rgba(13, 36, 49, 0.18) 100%),
    linear-gradient(180deg, rgba(19, 50, 70, 0.12), rgba(19, 50, 70, 0.2)),
    url("./assets/imagery/crop-health.jpg") center center / cover no-repeat;
}

.hero-single-column .hero-copy {
  padding: 34px 38px 36px;
  min-height: 320px;
  background:
    linear-gradient(90deg, rgba(13, 36, 49, 0.8) 0%, rgba(13, 36, 49, 0.58) 48%, rgba(13, 36, 49, 0.22) 100%),
    linear-gradient(180deg, rgba(19, 50, 70, 0.08), rgba(19, 50, 70, 0.16)),
    url("./assets/imagery/crop-health.jpg") center 38% / cover no-repeat;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 18px;
  height: 88px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 38, 52, 0.18), rgba(10, 38, 52, 0));
  z-index: 0;
  filter: blur(24px);
}

.hero-single-column .hero-copy::after {
  display: none;
}

.eyebrow,
.section-kicker,
.journey-label,
.route-label,
.sample-index {
  margin: 0 0 10px;
  color: var(--soil);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.1em;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.96;
  max-width: 10ch;
  color: white;
}

.hero-single-column h1 {
  margin-bottom: 10px;
  max-width: 13ch;
  font-size: clamp(2.45rem, 4.2vw, 4.15rem);
  line-height: 0.98;
}

.hero-text,
.journey-card li,
.route-card p,
.brand-card p,
.matrix-card p,
.form-description,
.empty-state,
.subsection-heading p,
.sample-hint,
.catalog-toolbar p,
.product-body,
.product-notes p,
.summary-block p,
.summary-block ul,
.architecture-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
}

.hero-single-column .hero-text {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.99rem;
  line-height: 1.58;
}

.page-shell[data-brand-theme="nrm"] .hero-copy,
.portal-subpage[data-brand-theme="nrm"] .subpage-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 29, 35, 0.86) 0%, rgba(9, 40, 48, 0.78) 28%, rgba(10, 49, 58, 0.42) 56%, rgba(11, 53, 61, 0.12) 100%),
    linear-gradient(118deg, rgba(0, 189, 165, 0.18), rgba(123, 216, 77, 0.12)),
    url("./assets/imagery/nrm-hero-field.jpg") center 54% / cover no-repeat;
}

.page-shell[data-brand-theme="nrm"] .hero-copy {
  min-height: 360px;
  padding-bottom: 40px;
}

.page-shell[data-brand-theme="nrm"] .hero-copy::before,
.portal-subpage[data-brand-theme="nrm"] .subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, transparent 61%, rgba(255, 255, 255, 0.08) 61%, rgba(255, 255, 255, 0.08) 66%, transparent 66%),
    linear-gradient(120deg, transparent 0%, transparent 69%, rgba(123, 216, 77, 0.22) 69%, rgba(123, 216, 77, 0.22) 75%, transparent 75%),
    linear-gradient(120deg, transparent 0%, transparent 77%, rgba(0, 189, 165, 0.18) 77%, rgba(0, 189, 165, 0.18) 83%, transparent 83%);
  pointer-events: none;
}

.page-shell[data-brand-theme="nrm"] .hero-copy::after,
.portal-subpage[data-brand-theme="nrm"] .subpage-hero::after {
  content: "";
  position: absolute;
  inset: auto 24px 18px;
  display: block;
  height: 88px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 29, 39, 0.28), rgba(8, 29, 39, 0));
  filter: blur(28px);
  pointer-events: none;
}

.page-shell[data-brand-theme="nrm"] .hero .eyebrow,
.portal-subpage[data-brand-theme="nrm"] .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.96);
}

.page-shell[data-brand-theme="nrm"] .hero h1,
.portal-subpage[data-brand-theme="nrm"] .subpage-hero-copy h1,
.page-shell[data-brand-theme="nrm"] .hero-text,
.portal-subpage[data-brand-theme="nrm"] .subpage-intro {
  color: white;
}

.portal-subpage[data-brand-theme="nrm"] .subpage-badges span {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.24);
}

.page-shell[data-brand-theme="nrm"] .hero-text,
.portal-subpage[data-brand-theme="nrm"] .subpage-intro {
  color: rgba(255, 255, 255, 0.9);
}

.page-shell[data-brand-theme="nrm"] .brand-story-panel {
  background:
    radial-gradient(circle at top right, rgba(123, 216, 77, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 246, 0.96));
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 22px;
  z-index: 2;
}

.hero-badges span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 64, 83, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 16px 28px rgba(10, 38, 52, 0.12);
}

.hero-badges span::after {
  content: ">";
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--soil), var(--leaf));
  color: white;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 500;
}

.journey-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  display: grid;
  align-content: start;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 248, 0.98)),
    var(--panel);
}

.journey-card ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}

.journey-card li {
  color: var(--ink);
  font-weight: 600;
}

.journey-card li::marker {
  color: var(--soil);
  font-weight: 800;
}

.journey-card.is-service-mode {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.98)),
    var(--panel);
}

.journey-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 64, 83, 0.08);
  color: var(--muted);
  line-height: 1.65;
}

.panel {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.route-strip-panel {
  margin-bottom: 22px;
}

.route-strip-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.route-strip-heading h2,
.section-heading h2,
.summary-panel h2,
.architecture-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.72rem);
}

.route-strip-note {
  max-width: 38ch;
  font-size: 0.95rem;
}

.route-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.route-card,
.summary-block,
.sample-tab,
.action-button,
.ghost-button,
.product-assign-button {
  border-radius: var(--radius-md);
}

.route-card {
  padding: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.92));
  position: relative;
  overflow: hidden;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--soil), var(--leaf));
}

.route-card h3,
.brand-card h3,
.matrix-card h3,
.product-card h3,
.sample-card h3,
#form-title,
.summary-block h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.brand-story-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.brand-story-lead.is-copy-only {
  grid-template-columns: minmax(0, 1fr);
}

.brand-story-copy {
  display: grid;
  gap: 10px;
  margin: 0;
}

.brand-story-copy h3,
.service-card h3,
.contact-card h3,
.service-card h4,
.trust-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.brand-story-copy p,
.contact-card p,
.service-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.brand-story-media-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(228, 243, 236, 0.9), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow);
}

.brand-story-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 28, 35, 0.06) 0%, rgba(9, 28, 35, 0.24) 44%, rgba(9, 28, 35, 0.82) 100%);
}

.brand-story-media-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 24px;
  color: white;
}

.brand-story-media-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-story-media-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-story-media-logo {
  max-width: 148px;
  max-height: 40px;
  width: auto;
  height: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(7, 29, 35, 0.18);
}

.brand-story-media-caption strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.02;
}

.brand-story-media-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.brand-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.brand-fact-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.92));
}

.brand-fact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-fact-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.brand-availability {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(17, 64, 83, 0.08);
}

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

.brand-availability.is-live {
  background: linear-gradient(135deg, rgba(238, 252, 248, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(0, 189, 165, 0.18);
}

.brand-availability.is-coming-soon {
  background: linear-gradient(135deg, rgba(247, 251, 252, 0.98), rgba(255, 255, 255, 0.98));
}

.brand-service-list,
.trust-grid {
  display: grid;
  gap: 14px;
}

.service-card,
.trust-card,
.contact-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.92));
}

.service-card-matrix {
  overflow: hidden;
  padding: 0;
}

.service-selector-card {
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-selector-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(10, 38, 52, 0.14);
}

.service-selector-card.is-selected {
  border-color: rgba(0, 189, 165, 0.34);
  box-shadow: 0 0 0 4px rgba(0, 189, 165, 0.12), 0 18px 34px rgba(10, 38, 52, 0.14);
}

.service-card-matrix img {
  width: 100%;
  height: 156px;
  object-fit: cover;
}

.service-continue-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(0, 189, 165, 0.18);
  background: linear-gradient(135deg, rgba(238, 252, 248, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.service-continue-card.is-complete {
  border-color: rgba(123, 216, 77, 0.22);
  background: linear-gradient(135deg, rgba(244, 253, 239, 0.98), rgba(255, 255, 255, 0.98));
}

.service-continue-copy {
  display: grid;
  gap: 8px;
}

.service-continue-copy h3 {
  margin: 0;
  font-family: var(--font-display);
}

.service-continue-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-continue-actions {
  display: flex;
  justify-content: end;
}

.trust-label {
  margin: 0;
  color: var(--soil);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.contact-details a {
  color: var(--water);
  text-decoration: none;
}

.contact-links,
.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 64, 83, 0.1);
  background: white;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.support-link:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 189, 165, 0.2);
  box-shadow: 0 16px 30px rgba(10, 38, 52, 0.12);
}

.main-column,
.summary-column {
  display: grid;
  gap: 22px;
  align-content: start;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.compact-heading {
  margin-bottom: 18px;
}

.section-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}

.brand-grid,
.matrix-grid,
.field-grid,
.product-list {
  display: grid;
  gap: 14px;
}

.package-summary-grid,
.package-pending-grid {
  display: grid;
  gap: 14px;
}

.package-filter-grid {
  display: grid;
  gap: 14px;
}

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

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

.package-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

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

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

.brand-card,
.matrix-card,
.product-card,
.sample-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  box-shadow: var(--shadow-soft);
}

.brand-card,
.matrix-card {
  appearance: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.brand-card:hover,
.matrix-card:hover,
.product-card:hover,
.sample-tab:hover,
.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(10, 38, 52, 0.14);
}

.brand-card img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  background: linear-gradient(160deg, #ffffff, #f3fbfb);
  padding: 18px 20px;
}

.matrix-card img {
  width: 100%;
  height: 156px;
  object-fit: cover;
}

.brand-card-content,
.matrix-card-content,
.product-card-content {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.brand-card-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.is-live {
  background: rgba(123, 216, 77, 0.16);
  color: #3f8d20;
}

.status-pill.is-soon {
  background: rgba(15, 93, 121, 0.1);
  color: var(--water);
}

.status-pill.is-quiet {
  background: rgba(17, 64, 83, 0.06);
  color: var(--muted);
}

.brand-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.matrix-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.matrix-meta,
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-accent {
  background: rgba(123, 216, 77, 0.14);
  color: #3f8d20;
  border-color: rgba(123, 216, 77, 0.2);
}

.product-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.is-selected {
  border-color: rgba(0, 189, 165, 0.34);
  box-shadow: 0 0 0 4px rgba(0, 189, 165, 0.12), 0 18px 34px rgba(10, 38, 52, 0.14);
}

.account-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.account-mode label,
.field {
  display: grid;
  gap: 8px;
}

label span,
.field span {
  font-weight: 600;
  color: var(--ink);
}

select,
input,
textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 64, 83, 0.14);
  padding: 13px 14px;
  font: inherit;
  background: white;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(0, 189, 165, 0.48);
  box-shadow: 0 0 0 4px rgba(0, 189, 165, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.readonly-field {
  background: rgba(15, 93, 121, 0.06);
  color: var(--ink);
}

.form-area {
  display: grid;
  gap: 20px;
}

.form-subsection {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(243, 251, 251, 0.92));
}

.subsection-heading {
  display: grid;
  gap: 6px;
}

.subsection-heading h3 {
  margin: 0;
  font-size: 1.08rem;
}

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

.sample-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
}

.sample-tab,
.action-button {
  border: 1px solid rgba(17, 64, 83, 0.1);
  background: rgba(255, 255, 255, 0.98);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.sample-tab strong {
  display: block;
  font-size: 0.98rem;
}

.sample-tab span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.sample-tab.is-active {
  border-color: rgba(0, 189, 165, 0.34);
  background: linear-gradient(180deg, rgba(237, 252, 248, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 0 0 3px rgba(0, 189, 165, 0.12);
}

.sample-tab.is-complete span {
  color: #3f8d20;
  font-weight: 600;
}

.sample-tab.is-pending span {
  color: var(--muted);
}

.action-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.sample-stack {
  display: grid;
}

.sample-controls {
  margin-bottom: 14px;
}

.sample-count-field {
  max-width: 380px;
}

.field-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sample-card {
  padding: 20px;
}

.sample-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.sample-index {
  margin-bottom: 6px;
}

.sample-hint {
  max-width: 24ch;
  font-size: 0.92rem;
}

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

.assignment-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.assignment-card.is-filled {
  background: linear-gradient(180deg, rgba(239, 252, 245, 0.96), rgba(255, 255, 255, 0.98));
}

.assignment-card.is-empty {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.92));
}

.assignment-copy {
  display: grid;
  gap: 6px;
}

.assignment-label {
  margin: 0;
  color: var(--soil);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}

.assignment-copy h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: start;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.94));
}

.catalog-toolbar-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 72ch;
}

.catalog-toolbar-links,
.catalog-section-links,
.product-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-toolbar-links {
  max-width: 72ch;
}

.catalog-toolbar > .action-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

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

.product-list > .catalog-section-block {
  grid-column: 1 / -1;
}

.catalog-section-block,
.catalog-section-stack {
  display: grid;
  gap: 18px;
}

.catalog-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.catalog-section-heading h3 {
  margin: 0;
  font-family: var(--font-display);
}

.catalog-section-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.catalog-section-product-list,
.package-product-list-reference {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-section-product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.product-card-content {
  gap: 12px;
}

.product-card.is-selected-package {
  border-color: rgba(0, 189, 165, 0.34);
  box-shadow: 0 0 0 4px rgba(0, 189, 165, 0.12), 0 18px 34px rgba(10, 38, 52, 0.14);
}

.product-card.is-reference-only {
  border-style: dashed;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 251, 252, 0.96));
}

.price-pill {
  color: var(--soil);
  font-weight: 700;
}

.product-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.product-headline {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-code {
  margin: 0 0 4px;
  color: var(--water);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-body {
  font-size: 0.95rem;
}

.product-key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.product-key-fact {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(241, 249, 248, 0.94));
}

.product-key-fact span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-key-fact strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.product-notes {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(17, 64, 83, 0.08);
}

.product-notes strong {
  color: var(--ink);
}

.product-reference-note {
  color: var(--muted);
  font-style: italic;
}

.product-actions {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.product-action-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.contact-detail-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.92));
}

.contact-detail-item span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail-item strong,
.contact-detail-item p {
  margin: 0;
}

.contact-detail-item strong {
  color: var(--ink);
  font-size: 1rem;
}

.contact-detail-item strong a,
.contact-detail-item p a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.contact-detail-item p {
  color: var(--muted);
  line-height: 1.5;
}

.contact-detail-item a {
  color: var(--water);
  text-decoration: none;
}

.action-button,
.ghost-button,
.product-assign-button {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--soil), #26c7b5);
  padding: 12px 16px;
  font: inherit;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  box-shadow: 0 12px 24px rgba(0, 189, 165, 0.18);
}

.product-assign-button.is-selected {
  background: linear-gradient(135deg, #0f5d79, #1b788f);
  color: white;
}

.ghost-button {
  min-width: 138px;
  background: white;
  color: var(--ink);
  border-color: rgba(17, 64, 83, 0.12);
  box-shadow: none;
}

.summary-column {
  position: sticky;
  top: 18px;
  align-self: start;
}

.summary-content {
  display: grid;
  gap: 12px;
}

.checkout-panel-content {
  display: grid;
  gap: 12px;
}

.checkout-screen-shell {
  display: grid;
  gap: 18px;
}

.checkout-screen-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.checkout-screen-copy {
  display: grid;
  gap: 8px;
  max-width: 60ch;
}

.checkout-screen-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.checkout-screen-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.summary-block {
  padding: 16px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.92));
}

.package-summary-grid .summary-block,
.package-pending-card {
  border-radius: 20px;
  min-height: 100%;
}

.package-summary-grid .summary-block h3,
.package-pending-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.package-summary-grid .summary-block p,
.package-pending-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.package-anchor-target {
  scroll-margin-top: 120px;
}

.package-filter-panel {
  display: grid;
  gap: 18px;
}

.package-filter-chip {
  appearance: none;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.94));
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.package-filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 189, 165, 0.24);
  box-shadow: 0 16px 30px rgba(10, 38, 52, 0.12);
}

.package-filter-chip.is-active {
  border-color: rgba(0, 189, 165, 0.28);
  background: linear-gradient(180deg, rgba(236, 252, 247, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 0 0 4px rgba(0, 189, 165, 0.1), 0 18px 34px rgba(10, 38, 52, 0.14);
}

.package-filter-chip strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.package-filter-chip span:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.package-filter-chip-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.package-group-panel {
  display: grid;
  gap: 18px;
}

.package-group-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.package-group-actions {
  margin-top: 0;
}

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

.package-product-list-all {
  margin-top: 16px;
}

.brochure-reference-details {
  margin-top: 6px;
}

.package-details {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.94));
}

.package-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.package-pending-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px dashed rgba(15, 93, 121, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 248, 250, 0.94));
}

.is-selected-summary-block {
  border-color: rgba(0, 189, 165, 0.24);
  background: linear-gradient(180deg, rgba(236, 252, 247, 0.98), rgba(255, 255, 255, 0.98));
}

.summary-block ul,
.architecture-list {
  padding-left: 18px;
}

.portal-helper-card,
.portal-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.94));
}

.portal-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.portal-card-header h3,
.portal-card-header h4,
.portal-card h3,
.portal-card h4 {
  margin: 0;
  font-family: var(--font-display);
}

.portal-card p,
.portal-helper-copy p,
.portal-cell-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.portal-helper-copy {
  display: grid;
  gap: 8px;
}

.portal-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.portal-form,
.portal-inline-form {
  display: grid;
  gap: 14px;
}

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

.portal-mini-form {
  display: contents;
}

.portal-table-wrap {
  overflow-x: auto;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.portal-table th,
.portal-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(17, 64, 83, 0.08);
  vertical-align: top;
  text-align: left;
}

.portal-table th {
  color: var(--water);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-table td strong {
  color: var(--ink);
}

.portal-table input:not([type="checkbox"]),
.portal-table select,
.portal-table textarea {
  width: 100%;
  min-width: 110px;
}

.portal-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.portal-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: end;
}

.portal-order-list {
  display: grid;
  gap: 14px;
}

.portal-order-card {
  border-radius: 22px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.94));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.portal-order-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px;
}

.portal-order-card summary::-webkit-details-marker {
  display: none;
}

.portal-card-body {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
}

.assignment-list {
  display: grid;
  gap: 8px;
}

.data-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

.basket-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.basket-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 64, 83, 0.08);
}

.basket-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.basket-line-meta {
  display: grid;
  gap: 4px;
  text-align: right;
  justify-items: end;
  min-width: 120px;
}

.quote-panel {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 64, 83, 0.08);
}

.summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.label-copy-field {
  max-width: 320px;
  margin-top: 12px;
}

.summary-helper {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.status-message {
  font-size: 0.92rem;
}

.status-message.is-working {
  color: var(--soil);
}

.status-message.is-success {
  color: #3f8d20;
}

.status-message.is-info {
  color: var(--ink);
}

.status-message.is-error {
  color: #b33d3d;
}

.payload-details {
  margin-top: 12px;
}

.confirmation-release-block {
  border-color: rgba(0, 189, 165, 0.16);
}

.payload-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.payload-preview {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(248, 252, 252, 0.96);
  border: 1px solid rgba(17, 64, 83, 0.08);
  font-size: 0.76rem;
  line-height: 1.55;
  overflow: auto;
  max-height: 320px;
  white-space: pre-wrap;
  word-break: break-word;
}

.checkout-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.94));
}

.checkout-card-success {
  border-color: rgba(123, 216, 77, 0.22);
  background: linear-gradient(180deg, rgba(244, 253, 239, 0.98), rgba(255, 255, 255, 0.98));
}

.checkout-card h3,
.checkout-card h4 {
  margin: 0;
  font-family: var(--font-display);
}

.checkout-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.checkout-highlight {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(238, 252, 248, 0.98), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(0, 189, 165, 0.14);
}

.checkout-highlight strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.checkout-actions {
  display: grid;
  gap: 10px;
}

.checkout-meta {
  display: grid;
  gap: 8px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(17, 64, 83, 0.08);
}

.checkout-meta p {
  color: var(--ink);
}

.checkout-intent-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.checkout-intent-list li {
  display: grid;
  gap: 3px;
}

.checkout-test-note {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 189, 165, 0.24);
  background: rgba(243, 251, 251, 0.98);
}

.checkout-test-note strong {
  color: var(--soil);
}

.stripe-form {
  display: grid;
  gap: 12px;
}

.stripe-form-header {
  display: grid;
  gap: 6px;
}

.stripe-form-header p {
  font-size: 0.94rem;
}

.stripe-element-shell {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.stripe-payment-element {
  min-height: 34px;
}

.checkout-helper {
  font-size: 0.92rem;
}

.legal-layer-panel {
  margin-top: 22px;
}

.legal-grid,
.legal-meta-grid {
  display: grid;
  gap: 14px;
}

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

.legal-meta-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  margin-top: 14px;
}

.legal-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 64, 83, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 251, 251, 0.94));
}

.legal-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-card-feature {
  min-height: 100%;
}

.legal-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
}

.legal-checklist li {
  line-height: 1.6;
}

.site-footer {
  margin-top: 22px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(17, 64, 83, 0.08);
  background:
    linear-gradient(180deg, rgba(13, 36, 49, 0.96), rgba(20, 49, 63, 0.98)),
    linear-gradient(135deg, rgba(0, 189, 165, 0.12), transparent 60%);
  box-shadow: var(--shadow);
  color: white;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
  gap: 22px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h2,
.footer-column h3 {
  margin: 0;
  font-family: var(--font-display);
  color: white;
}

.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.footer-link-list {
  display: grid;
  gap: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
}

.footer-link-dark {
  color: var(--water);
}

.footer-link:hover,
.footer-top-link:hover {
  color: white;
}

.footer-link-dark:hover {
  color: var(--soil);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.empty-state {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 189, 165, 0.2);
  background: rgba(248, 252, 252, 0.94);
}

.hidden {
  display: none;
}

@media (max-width: 1220px) {
  .brand-info-grid {
    grid-template-columns: 1fr;
  }

  .brand-story-lead.has-media {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    grid-template-columns: 1fr;
  }

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

  .masthead {
    border-radius: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .summary-column {
    position: static;
  }

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

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

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

  .legal-meta-grid {
    grid-template-columns: 1fr;
  }

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

  .portal-form-grid,
  .portal-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-nav {
    gap: 10px;
    padding: 0;
  }

  .brand-grid,
  .matrix-grid,
  .package-filter-grid,
  .package-pending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-footer {
    padding: 22px;
  }

  .catalog-section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .catalog-section-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-card-header {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 14px 36px;
  }

  .masthead {
    grid-template-columns: 1fr;
    display: grid;
    justify-items: start;
    padding: 16px 18px;
  }

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

  .hero-copy,
  .journey-card,
  .panel {
    padding: 18px;
  }

  .hero-copy {
    min-height: 460px;
    padding-bottom: 156px;
  }

  .hero-single-column .hero-copy {
    min-height: 280px;
    padding: 24px 22px 24px;
    gap: 10px;
  }

  .hero-single-column h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-single-column .hero-text {
    max-width: 34ch;
    font-size: 0.95rem;
  }

  .hero-badges {
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
  }

  .hero-badges span {
    width: 100%;
    justify-content: space-between;
  }

  .route-strip-heading,
  .sample-card-head,
  .catalog-toolbar,
  .checkout-screen-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .contact-links,
  .empty-state-actions,
  .footer-bottom {
    display: grid;
  }

  .field-grid,
  .sample-fields,
  .product-list,
  .package-filter-grid,
  .package-summary-grid,
  .package-pending-grid,
  .portal-form-grid,
  .portal-detail-grid,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-continue-card {
    grid-template-columns: 1fr;
  }

  .service-continue-actions {
    justify-content: start;
  }

  .brand-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .assignment-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .basket-list li {
    grid-template-columns: 1fr;
    display: grid;
  }

  .basket-line-meta {
    justify-items: start;
    text-align: left;
  }

  .site-footer {
    padding: 18px;
  }

  .brand-fact-grid {
    grid-template-columns: 1fr;
  }

  .brand-story-media-card {
    min-height: 280px;
  }

  .brand-story-media-caption {
    padding: 18px;
  }

  .brand-story-media-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-story-media-logo {
    max-width: 132px;
  }

  .subpage-hero {
    padding: 22px;
  }

  .subpage-hero-rail-card {
    padding: 18px;
  }

  .subpage-hero-rail-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .subpage-hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .account-mode,
  .route-strip-grid,
  .sample-tabs {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}
