:root {
  --ink: #14202b;
  --muted: #647384;
  --line: #dce4eb;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --navy: #102536;
  --navy-2: #18364e;
  --accent: #246bfe;
  --green: #247554;
  --gold: #b88925;
  --shadow: 0 22px 70px rgba(16, 37, 54, .14);
  --shadow-soft: 0 12px 34px rgba(16, 37, 54, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(220, 228, 235, .82);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.site-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.site-menu-toggle {
  display: none;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--navy);
  background: white;
  font-weight: 900;
  cursor: pointer;
}

.site-nav-links a,
.nav-cta,
.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.site-nav-links a {
  color: #415365;
}

.site-nav-links a:hover {
  color: var(--navy);
  background: #f3f7fb;
}

.site-nav-links .nav-cta,
.button {
  border: 1px solid #1f5fd1;
  color: white;
  background: linear-gradient(180deg, #2d74ff, #1f5fd1);
  box-shadow: 0 10px 24px rgba(31, 95, 209, .22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, .5);
  color: white;
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.band .button.secondary,
.pizzeria-card .button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.language-switch {
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: white;
}

.language-switch button {
  min-width: 36px;
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.language-switch button.active {
  color: white;
  background: var(--navy);
}

.site-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: clamp(24px, 5vw, 72px);
  min-height: calc(100vh - 68px);
  align-items: center;
  overflow: hidden;
  padding: clamp(78px, 10vw, 132px) clamp(18px, 5vw, 76px);
  color: white;
  background-color: var(--navy);
  isolation: isolate;
}

.site-hero::before,
.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.site-hero::before {
  background:
    linear-gradient(90deg, rgba(11, 24, 36, .94) 0%, rgba(15, 37, 54, .82) 47%, rgba(15, 37, 54, .28) 100%),
    url("/static/assets/grupo-schmitt-logo.png") right 8vw center / min(620px, 48vw) auto no-repeat,
    linear-gradient(135deg, #102536, #1d455f);
}

.enterprise-hero::before {
  background:
    linear-gradient(90deg, rgba(10, 22, 33, .94) 0%, rgba(12, 29, 43, .86) 45%, rgba(12, 29, 43, .38) 100%),
    url("/static/assets/enterprise-app-dashboard.png") right center / min(960px, 62vw) auto no-repeat,
    linear-gradient(135deg, #102536, #1d455f);
}

.training-hero::before {
  background:
    linear-gradient(90deg, rgba(11, 24, 36, .95) 0%, rgba(16, 37, 54, .84) 48%, rgba(16, 37, 54, .36) 100%),
    url("/static/assets/enterprise-app-dashboard.png") right center / min(900px, 58vw) auto no-repeat,
    linear-gradient(135deg, #102536, #1d455f);
}

.site-hero::after {
  z-index: -1;
  background: linear-gradient(180deg, transparent 68%, rgba(16, 37, 54, .28));
}

.legal-hero {
  display: grid;
  gap: 14px;
  padding: clamp(70px, 10vw, 118px) clamp(18px, 6vw, 84px) clamp(42px, 7vw, 72px);
  color: white;
  background:
    linear-gradient(120deg, rgba(16, 37, 54, .96), rgba(24, 54, 78, .9)),
    url("/static/assets/grupo-schmitt-logo.png") right 7vw center / min(420px, 44vw) auto no-repeat;
}

.legal-hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 6vw, 72px);
}

.legal-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-weight: 750;
}

.legal-shell {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) clamp(16px, 4vw, 28px) clamp(64px, 8vw, 96px);
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 34px);
  background: white;
  box-shadow: var(--shadow-soft);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card p {
  margin-bottom: 12px;
  color: #415365;
  font-size: 16px;
  line-height: 1.72;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.hero-copy {
  display: grid;
  max-width: 760px;
  gap: 22px;
}

.eyebrow {
  color: #84b7ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
}

p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.site-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-showcase {
  display: none;
}

.home-page .hero-showcase {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  opacity: .9;
  filter: brightness(0) invert(1) drop-shadow(0 24px 44px rgba(0, 0, 0, .25));
}

.home-page .hero-showcase img {
  width: 100%;
}

.home-page .showcase-caption {
  display: none;
}

.app-showcase {
  display: none;
}

.band {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 76px);
  background: white;
}

.band.soft {
  background:
    linear-gradient(180deg, #f8fbfd, #f1f5f8);
}

.section-head {
  max-width: 800px;
  margin-bottom: 30px;
}

.section-head.centered {
  max-width: 930px;
  margin-inline: auto;
  text-align: center;
}

.grid-3,
.grid-2,
.pricing-grid,
.module-grid,
.feature-matrix,
.addon-row {
  display: grid;
  gap: 16px;
}

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

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

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

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

.addon-row {
  grid-template-columns: minmax(180px, .65fr) minmax(180px, .65fr) minmax(280px, 1.2fr);
  margin-top: 18px;
}

.feature-card,
.card,
.pricing-card,
.module-card-sale,
.addon-card,
.calculator,
.pizzeria-card,
.feature-matrix article,
.roadmap-list article,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.feature-card,
.card,
.module-card-sale,
.feature-matrix article,
.roadmap-list article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.feature-card strong,
.card strong,
.module-card-sale strong,
.feature-matrix strong,
.pricing-card strong,
.addon-card strong,
.calculator strong,
.pizzeria-card strong,
.roadmap-list strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--navy-2);
  font-size: 13px;
  font-weight: 950;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.split-copy {
  display: grid;
  gap: 18px;
}

.check-list,
.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li::before,
.feature-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 950;
}

.product-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 228, 235, .9);
  border-radius: 8px;
  background: #e9eef3;
  box-shadow: var(--shadow);
}

.product-preview img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top left;
}

.pizzeria-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.pizzeria-card p {
  margin-top: 6px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: white;
  background:
    linear-gradient(90deg, rgba(16, 37, 54, .96), rgba(24, 54, 78, .92)),
    url("/static/assets/schmitt-icon.png") right 8vw center / 240px auto no-repeat;
}

.cta-band h2 {
  margin-bottom: 0;
}

.cta-band p,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, .82);
}

.app-showcase {
  pointer-events: none;
}

.enterprise-page .app-showcase {
  position: relative;
  display: block;
  min-height: 420px;
}

.desktop-shot,
.mobile-shot {
  display: none;
}

.enterprise-page .desktop-shot {
  position: absolute;
  right: 0;
  top: 22px;
  display: block;
  width: min(680px, 52vw);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.enterprise-page .mobile-shot {
  position: absolute;
  left: -16px;
  bottom: 10px;
  display: block;
  width: min(300px, 28vw);
  border: 8px solid #ffffff;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}

.module-card-sale {
  min-height: 300px;
  border-top: 5px solid #a9bfd4;
}

.module-card-sale span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.module-card-sale.primary-module {
  border-top-color: var(--accent);
}

.pricing-band {
  background:
    linear-gradient(180deg, #fff, #f5f8fb);
}

.pricing-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.pricing-card.dark {
  color: white;
  border-color: var(--navy);
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
}

.pricing-card.dark strong,
.pricing-card.dark p,
.pricing-card.dark li,
.pricing-card.dark .price small {
  color: rgba(255, 255, 255, .86);
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 4px 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 62px);
  font-weight: 950;
}

.pricing-card.dark .price {
  color: white;
}

.price small {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.addon-card,
.calculator {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.addon-card span {
  color: var(--navy);
  font-size: 46px;
  font-weight: 950;
}

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

.calculator .inline-option {
  display: flex;
  align-items: center;
}

.calculator input,
.calculator select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.calculator input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
}

.total-box {
  display: grid;
  gap: 4px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 18px;
  color: var(--navy) !important;
  background: #ffffff !important;
}

.total-box span {
  color: #4b6174 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.total-box strong,
#homePriceTotal,
#priceTotal {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  font-size: 34px;
}

.home-calculator {
  max-width: 880px;
  margin-inline: auto;
}

.purchase-form {
  display: grid;
  gap: 16px;
  max-width: 960px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 30px);
  background: white;
  box-shadow: var(--shadow-soft);
}

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

.purchase-form input,
.purchase-form select,
.purchase-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.purchase-form input,
.purchase-form select {
  height: 44px;
}

.purchase-form textarea {
  padding-block: 10px;
  resize: vertical;
}

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

.home-calculator > .button {
  justify-self: start;
}

.training-contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.training-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow-soft);
}

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

.training-form input,
.training-form select,
.training-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.training-form input,
.training-form select {
  height: 44px;
}

.training-form textarea {
  padding-block: 10px;
  resize: vertical;
}

.training-form .wide-field,
.training-form button {
  grid-column: 1 / -1;
}

.training-form button {
  justify-self: start;
}

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

.roadmap-list article span {
  color: var(--muted);
}

.admin-shell {
  min-height: 100vh;
  padding: 28px;
}

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

.admin-sidebar,
.admin-main {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.admin-sidebar img {
  width: 120px;
}

.admin-main {
  padding: 22px;
}

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

.admin-card {
  padding: 22px;
}

.admin-card strong {
  display: block;
  font-size: 28px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px;
  text-align: left;
}

.data-table th {
  background: var(--soft);
}

.login-panel {
  max-width: 420px;
}

.hidden {
  display: none !important;
}

.platform-admin-page {
  min-height: 100vh;
  background: #eef3f7;
}

.platform-admin-page:not(.is-admin-authenticated) {
  background:
    linear-gradient(120deg, rgba(16, 37, 54, .96), rgba(24, 54, 78, .9)),
    url("/static/assets/schmitt-icon.png") right 8vw bottom 8vh / min(360px, 42vw) auto no-repeat,
    #102536;
}

.platform-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.platform-admin-page.is-admin-authenticated .platform-shell {
  grid-template-columns: 72px minmax(0, 1fr);
}

.platform-admin-page:not(.is-admin-authenticated) .platform-shell {
  grid-template-columns: 1fr;
}

.platform-admin-page:not(.is-admin-authenticated) .platform-sidebar {
  display: none;
}

.platform-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  align-content: start;
  gap: 18px;
  border-right: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 16px 0 48px rgba(16, 37, 54, .08);
}

.platform-admin-page.is-admin-authenticated .platform-sidebar {
  width: 292px;
  z-index: 60;
  transform: translateX(-198px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.platform-admin-page.is-admin-authenticated .platform-sidebar:hover,
.platform-admin-page.is-admin-authenticated .platform-sidebar:focus-within {
  transform: translateX(0);
  box-shadow: 24px 0 60px rgba(16, 37, 54, .16);
}

.platform-admin-page.is-admin-authenticated .platform-brand span,
.platform-admin-page.is-admin-authenticated .platform-sidebar > p,
.platform-admin-page.is-admin-authenticated .platform-tabs,
.platform-admin-page.is-admin-authenticated .platform-sidebar-bottom {
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.platform-admin-page.is-admin-authenticated .platform-sidebar:hover .platform-brand span,
.platform-admin-page.is-admin-authenticated .platform-sidebar:hover > p,
.platform-admin-page.is-admin-authenticated .platform-sidebar:hover .platform-tabs,
.platform-admin-page.is-admin-authenticated .platform-sidebar:hover .platform-sidebar-bottom,
.platform-admin-page.is-admin-authenticated .platform-sidebar:focus-within .platform-brand span,
.platform-admin-page.is-admin-authenticated .platform-sidebar:focus-within > p,
.platform-admin-page.is-admin-authenticated .platform-sidebar:focus-within .platform-tabs,
.platform-admin-page.is-admin-authenticated .platform-sidebar:focus-within .platform-sidebar-bottom {
  opacity: 1;
  pointer-events: auto;
}

.platform-admin-page.is-admin-authenticated .platform-sidebar:hover .platform-brand img,
.platform-admin-page.is-admin-authenticated .platform-sidebar:focus-within .platform-brand img {
  justify-self: center;
}

.platform-brand {
  display: grid;
  gap: 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
}

.platform-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.platform-admin-page.is-admin-authenticated .platform-brand img {
  justify-self: end;
}

.platform-tabs {
  display: grid;
  gap: 6px;
}

.platform-tabs button,
.ghost-button,
.mini-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  color: #415365;
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.platform-tabs button.active,
.platform-tabs button:hover {
  color: var(--navy);
  border-color: #dbe6ef;
  background: #eef5fb;
}

.platform-sidebar-bottom {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.ghost-button {
  text-align: center;
  border-color: var(--line);
  background: white;
}

.platform-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.platform-login {
  display: grid;
  min-height: calc(100vh - 68px);
  place-items: center;
}

.platform-login .login-panel {
  width: min(100%, 480px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-login-logo {
  display: block;
  width: min(260px, 70%);
  margin: 0 auto 18px;
}

.platform-login h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 46px);
  text-align: center;
}

.platform-dashboard {
  display: grid;
  gap: 20px;
}

.platform-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.platform-topbar h1 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
}

.admin-identity {
  display: grid;
  gap: 2px;
  justify-items: end;
  min-width: 210px;
}

.platform-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.platform-history-controls {
  display: inline-flex;
  gap: 6px;
}

.platform-history-controls .mini-button {
  width: 36px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.admin-identity strong {
  color: var(--navy);
}

.admin-identity span {
  color: var(--muted);
  font-size: 13px;
}

.admin-identity em {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: white;
  background: var(--navy);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-tab-panel {
  display: none;
  min-width: 0;
}

.admin-tab-panel.active {
  display: grid;
  gap: 18px;
}

.platform-metrics {
  margin-bottom: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 16px;
}

.admin-card.wide {
  min-width: 0;
}

.platform-section-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: white;
  box-shadow: var(--shadow-soft);
}

.platform-section-card[open] {
  padding-bottom: 20px;
}

.platform-section-card summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 20px;
  list-style: none;
  cursor: pointer;
}

.platform-section-card summary::-webkit-details-marker {
  display: none;
}

.platform-section-card summary h3,
.platform-section-card summary p {
  margin-bottom: 4px;
}

.platform-section-card summary > span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f7fafc;
  font-weight: 950;
}

.platform-section-card:not([open]) summary > span {
  transform: rotate(-90deg);
}

.platform-section-card > :not(summary) {
  margin-inline: 20px;
}

.platform-section-card.wide {
  min-width: 0;
}

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

.card-head h2,
.card-head h3 {
  margin-bottom: 5px;
}

.admin-search {
  width: min(100%, 360px);
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.admin-select-filter {
  width: min(100%, 220px);
}

.email-body-preview {
  max-width: 420px;
}

.email-body-preview summary {
  cursor: pointer;
  color: var(--muted);
  white-space: normal;
}

.email-body-preview pre {
  max-height: 220px;
  overflow: auto;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.admin-tab-panel > .card-head,
.admin-tab-panel > .admin-table-wrap,
.payment-records {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.platform-section-card .admin-create-company,
.platform-section-card .admin-create-user,
.platform-section-card .payment-records {
  border: 0;
  box-shadow: none;
}

.platform-section-card .admin-create-company,
.platform-section-card .payment-records {
  margin-bottom: 0;
  padding: 0;
}

.platform-section-card .admin-create-user {
  margin-bottom: 0;
}

.admin-panel-tools {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

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

.data-table {
  min-width: 720px;
}

.data-table small,
.muted-text {
  color: var(--muted);
  font-size: 12px;
}

.status-pill {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #3e5264;
  background: #edf2f6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.active,
.status-pill.paid {
  color: #17633d;
  background: #e4f6ed;
}

.status-pill.trialing,
.status-pill.pending {
  color: #83601a;
  background: #fff3d6;
}

.status-pill.suspended,
.status-pill.past_due,
.status-pill.failed {
  color: #9d2a22;
  background: #fde8e6;
}

.status-pill.inactive,
.status-pill.canceled {
  color: #526170;
  background: #e8edf2;
}

.mini-button {
  min-height: 34px;
  border-color: var(--line);
  background: white;
  text-align: center;
}

.mini-button:hover {
  background: #f4f8fb;
}

.mini-button.danger {
  color: #9d2a22;
  border-color: #f1c9c5;
}

.platform-form {
  display: grid;
  gap: 14px;
}

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

.platform-form input,
.platform-form select,
.platform-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.platform-form input,
.platform-form select {
  height: 44px;
}

.platform-form textarea {
  padding-block: 10px;
  resize: vertical;
}

.platform-form button:disabled,
.button:disabled {
  cursor: wait;
  opacity: .58;
}

.form-error {
  min-height: 22px;
  color: #9d2a22;
  font-weight: 850;
}

.form-note {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.admin-create-user {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 18px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.admin-create-user h3,
.admin-create-user .form-note {
  grid-column: 1 / -1;
}

.admin-create-company {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.admin-create-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-create-head h3 {
  margin-bottom: 6px;
}

.admin-create-head p {
  font-size: 14px;
}

.admin-create-sections {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(260px, 1fr) minmax(220px, .7fr);
  gap: 14px;
}

.attention-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.attention-list span {
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--navy);
  background: #eef5fb;
  font-weight: 850;
}

.empty-state {
  color: var(--muted);
  font-weight: 750;
}

.payment-records {
  display: grid;
  gap: 12px;
}

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

.role-card {
  display: grid;
  gap: 10px;
}

.role-card summary {
  list-style: none;
  cursor: pointer;
}

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

.role-card:not([open]) .role-card-head > span:last-child {
  transform: rotate(-90deg);
}

.role-card form {
  display: grid;
  gap: 10px;
}

.admin-role-permissions {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.role-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

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

.role-permission-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.role-permission-list input {
  width: 18px;
  height: 18px;
}

.role-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.role-card.is-locked {
  background: #f8fafc;
}

.role-card span {
  color: var(--muted);
  font-weight: 850;
}

.role-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.platform-dialog {
  width: min(760px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: white;
  box-shadow: var(--shadow);
}

.platform-dialog::backdrop {
  background: rgba(16, 37, 54, .46);
}

.platform-dialog form {
  padding: 22px;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dialog-head h2 {
  margin-bottom: 4px;
  font-size: 28px;
}

.icon-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

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

.admin-fieldset {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.admin-fieldset legend {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 900;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 1180px) {
  .module-grid,
  .feature-matrix,
  .role-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .calculator {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-nav {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-nav-links {
    grid-column: 1 / -1;
    display: none;
    justify-content: start;
  }

  .site-nav.menu-open .site-nav-links {
    display: flex;
  }

  .legal-hero {
    background:
      linear-gradient(180deg, rgba(16, 37, 54, .96), rgba(24, 54, 78, .92)),
      url("/static/assets/schmitt-icon.png") right 18px bottom 18px / 150px auto no-repeat;
  }

  .site-hero,
  .enterprise-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-page .hero-showcase {
    width: min(280px, 70vw);
    justify-self: start;
  }

  .site-hero::before,
  .enterprise-hero::before {
    background:
      linear-gradient(180deg, rgba(10, 22, 33, .94), rgba(16, 37, 54, .9)),
      url("/static/assets/schmitt-icon.png") right 20px bottom 20px / 180px auto no-repeat,
      linear-gradient(135deg, #102536, #1d455f);
  }

  .grid-3,
  .grid-2,
  .pricing-grid,
  .module-grid,
  .feature-matrix,
  .addon-row,
  .split-band,
  .admin-layout,
  .admin-metrics,
  .platform-grid,
  .admin-create-user,
  .admin-create-sections,
  .role-card-grid,
  .form-grid-2,
  .home-addon-options,
  .training-contact,
  .training-form {
    grid-template-columns: 1fr;
  }

  .platform-shell {
    grid-template-columns: 1fr;
  }

  .platform-admin-page.is-admin-authenticated .platform-shell {
    grid-template-columns: 1fr;
  }

  .platform-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-admin-page.is-admin-authenticated .platform-sidebar {
    width: auto;
    transform: none;
  }

  .platform-admin-page.is-admin-authenticated .platform-brand img {
    justify-self: start;
  }

  .platform-admin-page.is-admin-authenticated .platform-brand span,
  .platform-admin-page.is-admin-authenticated .platform-sidebar > p,
  .platform-admin-page.is-admin-authenticated .platform-tabs,
  .platform-admin-page.is-admin-authenticated .platform-sidebar-bottom {
    opacity: 1;
    pointer-events: auto;
  }

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

  .platform-topbar,
  .cta-band,
  .pizzeria-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-identity {
    justify-items: start;
  }

  .platform-topbar-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-preview img {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .site-brand span {
    white-space: normal;
  }

  .site-nav-links a,
  .nav-cta,
  .button {
    width: 100%;
  }

  .language-switch {
    width: 100%;
  }

  .language-switch button {
    flex: 1;
  }

  h1 {
    font-size: clamp(38px, 14vw, 56px);
  }

  .band,
  .site-hero {
    padding-inline: 16px;
  }
}

.schmitt-redesign-page {
  background: #f3f6f8;
}

.purchase-nav .site-brand img {
  width: 46px;
  height: 46px;
}

.purchase-hero {
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  min-height: calc(100vh - 72px);
}

.purchase-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 21, 32, .96) 0%, rgba(16, 37, 54, .88) 48%, rgba(16, 37, 54, .6) 100%),
    url("/static/assets/enterprise-app-dashboard.png") right 7vw center / min(760px, 48vw) auto no-repeat,
    linear-gradient(135deg, #102536, #1d455f);
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.hero-proof-row span {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 850;
}

.purchase-hero-panel {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.purchase-logo-mark {
  width: min(310px, 58vw);
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .28));
}

.purchase-screen-stack {
  position: relative;
  width: min(590px, 47vw);
  min-height: 330px;
}

.purchase-screen-stack img:first-child {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.purchase-screen-stack img:last-child {
  position: absolute;
  left: -20px;
  bottom: -12px;
  width: min(170px, 34%);
  border: 8px solid #ffffff;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}

.wide-head {
  max-width: 980px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.value-strip article,
.sales-module-card,
.pricing-comparison article,
.purchase-total-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.value-strip article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.value-strip strong,
.sales-module-card strong,
.pricing-comparison strong {
  color: var(--ink);
}

.value-strip span,
.pricing-comparison small,
.sales-module-card span {
  color: var(--muted);
}

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

.sales-module-card {
  display: grid;
  gap: 12px;
  min-height: 260px;
  align-content: start;
  padding: 24px;
  border-top: 5px solid #a9bfd4;
}

.sales-module-card.featured {
  border-top-color: var(--accent);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.sales-module-card span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sales-module-card strong {
  font-size: 22px;
}

.purchase-preview img {
  min-height: 380px;
}

.product-gallery-band {
  background: #ffffff;
}

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

.product-shot-grid article {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.product-shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #dce4eb;
  border-radius: 8px;
  background: #f8fbfd;
  object-fit: cover;
  object-position: top left;
}

.product-shot-grid strong {
  color: var(--ink);
  font-size: 18px;
}

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

.pricing-comparison article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.pricing-comparison article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pricing-comparison strong {
  font-size: 48px;
  line-height: 1;
}

.pricing-comparison .best-value {
  color: #ffffff;
  border-color: var(--navy);
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
}

.pricing-comparison .best-value strong,
.pricing-comparison .best-value p,
.pricing-comparison .best-value small,
.pricing-comparison .best-value span {
  color: #ffffff;
}

.purchase-section {
  background:
    linear-gradient(180deg, #f5f8fb, #ffffff);
}

.purchase-shell {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(380px, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.purchase-copy {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.purchase-total-card {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 22px;
}

.purchase-total-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.purchase-total-card strong {
  color: var(--navy);
  font-size: 46px;
  line-height: 1;
}

.purchase-total-card small {
  color: var(--green);
  font-weight: 850;
}

.purchase-flow-form {
  max-width: none;
  margin: 0;
}

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

.purchase-addon {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.purchase-addon input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.purchase-addon span {
  display: inline;
}

.purchase-submit {
  justify-self: start;
}

.purchase-submit:disabled,
.button:disabled {
  border-color: #c5ced6;
  color: #6e7f8f;
  background: #e6ebef;
  box-shadow: none;
  cursor: wait;
}

.purchase-result {
  min-height: 24px;
  margin: 0;
}

.purchase-result.success {
  color: var(--green);
  font-weight: 850;
}

.purchase-result.error {
  color: #b3261e;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .pricing-comparison,
  .sales-module-grid,
  .product-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .purchase-hero-panel {
    justify-items: start;
  }

  .purchase-screen-stack {
    width: min(720px, 92vw);
  }
}

@media (max-width: 860px) {
  .enterprise-page .app-showcase {
    min-height: 280px;
  }

  .enterprise-page .desktop-shot {
    width: 92vw;
  }

  .enterprise-page .mobile-shot {
    left: 20px;
    width: min(230px, 46vw);
  }

  .purchase-hero::before {
    background:
      linear-gradient(180deg, rgba(9, 21, 32, .96), rgba(16, 37, 54, .92)),
      url("/static/assets/schmitt-icon.png") right 18px bottom 18px / 160px auto no-repeat,
      linear-gradient(135deg, #102536, #1d455f);
  }

  .value-strip,
  .purchase-shell {
    grid-template-columns: 1fr;
  }

  .purchase-copy {
    position: static;
  }

  .purchase-screen-stack {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .pricing-comparison,
  .sales-module-grid,
  .product-shot-grid,
  .purchase-addon-grid {
    grid-template-columns: 1fr;
  }

  .purchase-screen-stack {
    min-height: 190px;
  }

  .purchase-logo-mark {
    width: min(230px, 70vw);
  }
}
