:root {
  color-scheme: light;
  --ink: #0a1d18;
  --muted: #5d6d67;
  --soft: #f4f1ea;
  --surface: #ffffff;
  --line: #d9d1c3;
  --green-950: #031a14;
  --green-900: #06291f;
  --green-800: #0d3b2e;
  --green-700: #14543f;
  --gold: #c99a35;
  --gold-2: #e0bb69;
  --blue: #136ccf;
  --success: #29a86a;
  --warning: #d89223;
  --danger: #b84a4a;
  --shadow: 0 16px 45px rgba(5, 23, 18, 0.14);
  --shadow-dark: 0 18px 55px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f5ef;
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(6, 41, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
  font-size: 22px;
  border-radius: 6px;
}

.brand strong {
  display: block;
  color: var(--green-900);
  font-size: 28px;
  line-height: 0.92;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--green-900);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #10251f;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.main-nav a:hover {
  color: var(--green-700);
}

.nav-cta {
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: #fff !important;
  background: var(--green-900);
  box-shadow: 0 12px 26px rgba(6, 41, 31, 0.22);
}

.menu-toggle {
  display: none;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

main {
  overflow: hidden;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 40px;
  align-items: center;
  min-height: 690px;
  padding: 70px 42px 42px;
  background:
    linear-gradient(92deg, rgba(247, 245, 239, 0.96), rgba(247, 245, 239, 0.72) 42%, rgba(6, 41, 31, 0.96) 100%),
    linear-gradient(145deg, #ffffff 0%, #efe8dc 52%, #08261d 52%, #08261d 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 60%;
  height: 260px;
  border-top: 1px solid rgba(224, 187, 105, 0.36);
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding-left: 30px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: var(--green-900);
  font-size: 82px;
  line-height: 0.9;
}

.hero-lead {
  max-width: 580px;
  margin: 22px 0 0;
  color: #263832;
  font-size: 22px;
  line-height: 1.45;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(6, 41, 31, 0.22);
  border-radius: var(--radius);
  color: var(--green-900);
  background: #fff;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(6, 41, 31, 0.14);
}

.button.primary {
  color: #fff;
  border-color: var(--green-900);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.button.gold {
  color: #21170a;
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.button.light {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.86);
}

.button.success {
  color: #fff;
  border-color: var(--success);
  background: var(--success);
}

.button.full {
  width: 100%;
}

.fine-print {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.platform-preview {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: #eef8f5;
  background: linear-gradient(145deg, #061b16, #102b24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: var(--shadow-dark);
  transform: rotate(-2deg);
}

.preview-top,
.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 8px 14px;
}

.preview-top strong,
.preview-top small {
  display: block;
}

.preview-top small,
.preview-footer {
  color: rgba(238, 248, 245, 0.68);
  font-size: 12px;
}

.mini-brand {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.status-dot span {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 800;
}

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

.kpi-card {
  min-height: 130px;
  padding: 16px;
  border-radius: var(--radius);
  color: #10251f;
  background: #f7f8f6;
}

.kpi-card span,
.kpi-card small {
  display: block;
  font-size: 12px;
}

.kpi-card strong {
  display: block;
  margin: 14px 0 4px;
  color: #071813;
  font-size: 26px;
  line-height: 1;
}

.kpi-card small {
  color: #406056;
}

.kpi-card svg {
  width: 100%;
  height: 34px;
  margin-top: 8px;
  fill: none;
  stroke: var(--success);
}

.kpi-card > i {
  margin-top: 18px;
  color: var(--green-700);
}

.progress {
  height: 5px;
  margin-top: 15px;
  background: #d7ded9;
  border-radius: 99px;
  overflow: hidden;
}

.progress span {
  height: 100%;
  background: var(--success);
}

.donut {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-top: 10px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 75%, #d7ded9 0);
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
}

.image-card {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(6, 41, 31, 0.15), rgba(6, 41, 31, 0.7)),
    linear-gradient(135deg, #b7d7df, #f3e0bd 60%, #0a3c32);
}

.image-card strong,
.image-card small {
  color: #fff;
}

.balance-card {
  color: #fff;
  background: linear-gradient(145deg, var(--green-800), var(--green-950));
}

.balance-card strong,
.balance-card small {
  color: #fff;
}

.balance-card button {
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(224, 187, 105, 0.7);
  border-radius: 6px;
  color: #fff;
  background: transparent;
}

.preview-footer {
  padding-top: 14px;
}

.preview-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-rail {
  width: min(1500px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(9, minmax(120px, 1fr));
  gap: 10px;
  margin: -44px auto 0;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.service-rail a {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 10px;
  border-radius: var(--radius);
  background: #fbfaf7;
  text-align: center;
}

.service-rail i {
  color: var(--green-700);
}

.service-rail strong {
  font-size: 15px;
}

.service-rail span {
  color: var(--muted);
  font-size: 12px;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  padding: 28px 42px;
  color: #f7f2e7;
  background: var(--green-950);
}

.metrics-band div {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics-band div:last-child {
  border-right: 0;
}

.metrics-band i {
  grid-row: span 2;
  color: var(--gold-2);
}

.metrics-band strong {
  color: var(--gold-2);
  font-size: 22px;
}

.metrics-band span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 82px 42px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.inverse,
.portal-section .section-heading,
.studio-section .section-heading {
  color: #fff;
}

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.section-heading.inverse p:not(.eyebrow),
.portal-section .section-heading p:not(.eyebrow),
.studio-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-900);
  background: #fff;
}

.tab.active {
  color: #fff;
  border-color: var(--green-900);
  background: var(--green-900);
}

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

.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(6, 41, 31, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 41, 31, 0.06);
}

.service-card i {
  color: var(--gold);
}

.service-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

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

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
}

.service-card li {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--green-900);
  background: #edf5f1;
  font-size: 12px;
  font-weight: 700;
}

.dark-product,
.portal-section,
.studio-section {
  color: #fff;
  background:
    linear-gradient(135deg, #06111d 0%, #082a37 40%, #071d18 100%);
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(520px, 1fr) minmax(300px, 360px);
  gap: 22px;
  align-items: stretch;
}

.phone-frame {
  width: min(100%, 340px);
  min-height: 600px;
  justify-self: center;
  padding: 14px;
  border: 10px solid #0b0f14;
  border-radius: 34px;
  background: #111820;
  box-shadow: var(--shadow-dark);
}

.phone-screen {
  min-height: 550px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #062c4b 0%, #071b2b 56%, #061a16 100%);
}

.app-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.app-grid button {
  min-height: 92px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.app-grid i {
  width: 24px;
  height: 24px;
  color: var(--gold-2);
}

.app-security-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(224, 187, 105, 0.32);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  line-height: 1.35;
}

.simulator-panel,
.status-panel,
.portal-main,
.portal-aside,
.campaign-list,
.campaign-preview,
.ai-panel,
.admin-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.simulator-panel,
.status-panel {
  padding: 24px;
  min-height: 600px;
}

.simulator-panel h3,
.status-panel h3,
.campaign-list h3,
.ai-panel h3 {
  margin: 0 0 18px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: inherit;
  font-size: 14px;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

select option {
  color: #111;
}

.quote-result {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.quote-result span,
.quote-result small {
  display: block;
  color: var(--muted);
}

.quote-result strong {
  display: block;
  margin: 6px 0;
  color: var(--green-900);
  font-size: 30px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 30px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.timeline li.done::before,
.timeline li.active::before {
  border-color: var(--success);
  background: var(--success);
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

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

.partner-public-section {
  background: #fff;
}

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

.public-feature-grid article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(6, 41, 31, 0.12);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.public-feature-grid i {
  color: var(--gold);
}

.public-feature-grid h3 {
  margin: 18px 0 8px;
}

.public-feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.marketing-public-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 17, 29, 0.96) 0%, rgba(8, 42, 55, 0.96) 44%, rgba(7, 29, 24, 0.96) 100%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}

.marketing-public-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.marketing-public-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.marketing-public-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.login-page,
.private-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(3, 26, 20, 0.96), rgba(8, 42, 55, 0.92)),
    #031a14;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  gap: 42px;
  align-items: center;
  padding: 42px;
  color: #fff;
}

.login-copy {
  max-width: 760px;
}

.login-copy h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1;
}

.login-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.55;
}

.login-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.login-card h2 {
  margin: 0 0 8px;
}

.login-card p {
  color: rgba(255, 255, 255, 0.7);
}

.demo-access {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.demo-access button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
  padding: 0 12px;
}

.private-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  color: #fff;
}

.private-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.private-sidebar .brand {
  margin-bottom: 20px;
  color: #fff;
}

.private-sidebar .brand strong,
.private-sidebar .brand small {
  color: #fff;
}

.private-nav {
  display: grid;
  gap: 6px;
}

.private-nav a,
.private-footer button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  text-align: left;
}

.private-nav a.active,
.private-nav a:hover,
.private-footer button:hover {
  color: #fff;
  background: rgba(19, 108, 207, 0.35);
}

.private-nav a svg {
  flex: 0 0 auto;
}

.private-nav a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-badge {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 6px;
  color: #dcecff;
  background: rgba(19, 108, 207, 0.55);
  font-size: 11px;
  font-weight: 800;
}

.private-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(224, 187, 105, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.plan-card i {
  color: var(--gold-2);
}

.plan-card strong,
.plan-card span {
  display: block;
}

.plan-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.plan-card button {
  min-height: 34px;
  width: 100%;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.private-main {
  min-width: 0;
  padding: 24px;
}

.private-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.private-topbar h1 {
  margin: 0;
  font-size: 30px;
}

.private-topbar p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

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

.private-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.private-card h3 {
  margin: 0 0 12px;
}

.private-card span,
.private-card small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
}

.private-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.private-section {
  margin-top: 16px;
}

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

.private-table th,
.private-table td {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.private-table th {
  color: rgba(255, 255, 255, 0.52);
}

.unauthorized {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.unauthorized-card {
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.portal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-sidebar strong {
  margin-bottom: 20px;
  font-size: 22px;
}

.portal-sidebar a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
}

.portal-sidebar a.active,
.portal-sidebar a:hover {
  color: #fff;
  background: rgba(19, 108, 207, 0.36);
}

.portal-main,
.portal-aside {
  padding: 16px;
}

.portal-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.portal-kpis article {
  min-height: 138px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.portal-kpis i {
  color: var(--blue);
}

.portal-kpis span,
.portal-kpis small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.portal-kpis strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.kanban-shell {
  margin-top: 14px;
}

.subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.subheading h3 {
  margin: 12px 0;
}

.subheading span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 8px;
  overflow-x: auto;
}

.kanban-column {
  min-width: 150px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.kanban-column h4 {
  margin: 0 0 10px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.proposal-card {
  margin-bottom: 8px;
  padding: 12px;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.proposal-card strong,
.proposal-card span,
.proposal-card small {
  display: block;
}

.proposal-card span,
.proposal-card small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.notice-box {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.notice-box h3 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}

.notice-box h3 span {
  color: #ff9999;
}

.notice-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-box li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.notice-box.success {
  border: 1px solid rgba(41, 168, 106, 0.36);
}

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

.campaign-list,
.campaign-preview,
.ai-panel {
  padding: 18px;
}

.search-field {
  position: relative;
}

.search-field i {
  position: absolute;
  left: 12px;
  bottom: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.search-field input {
  padding-left: 40px;
}

.material-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.material-tabs .tab {
  flex: 0 0 auto;
}

.campaign-items {
  display: grid;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
}

.campaign-item {
  position: relative;
  min-height: 90px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.campaign-item.active {
  border-color: var(--blue);
  background: rgba(19, 108, 207, 0.18);
}

.campaign-item em {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.campaign-thumb {
  height: 70px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b3c32, #d2a446);
}

.campaign-item strong,
.campaign-item span {
  display: block;
}

.campaign-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.creative-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.creative-toolbar h3 {
  margin: 4px 0;
}

.creative-toolbar small,
.mini-brand {
  color: rgba(255, 255, 255, 0.62);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-2);
  font-weight: 850;
  text-transform: uppercase;
}

.creative-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(4, 20, 17, 0.55), rgba(4, 20, 17, 0.15)),
    linear-gradient(135deg, #112821 0%, #403320 48%, #061b16 100%);
  border: 1px solid rgba(224, 187, 105, 0.42);
}

.creative-card h3 {
  margin: 6px 0 8px;
  color: var(--gold-2);
  font-size: 58px;
  line-height: 0.92;
}

.creative-card p {
  max-width: 390px;
  margin: 0;
  font-size: 20px;
}

.creative-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.creative-card li::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border: 1px solid var(--gold-2);
  border-radius: 50%;
  color: var(--gold-2);
}

.partner-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--gold-2);
  border-radius: var(--radius);
  color: #0b1814;
  background: rgba(255, 255, 255, 0.86);
}

.partner-strip span,
.partner-strip strong,
.partner-strip small {
  display: block;
}

.partner-strip i {
  grid-row: span 3;
  width: 62px;
  height: 62px;
}

.format-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.format {
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.format.active {
  border-color: var(--blue);
  background: rgba(19, 108, 207, 0.26);
}

.format small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
}

.ai-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compliance-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(41, 168, 106, 0.36);
  border-radius: var(--radius);
  background: rgba(41, 168, 106, 0.08);
}

.compliance-list p {
  margin: 0 0 6px;
}

.compliance-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.compliance-list i,
.success .lucide {
  color: var(--success);
}

.ecosystem-section {
  background: var(--soft);
}

.ecosystem-card {
  padding: 34px;
  border: 1px solid rgba(6, 41, 31, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hub-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(300px, 420px) minmax(240px, 1fr);
  gap: 24px;
  align-items: center;
}

.hub-column {
  display: grid;
  gap: 14px;
}

.hub-column article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.hub-column i {
  color: var(--green-700);
}

.hub-column strong,
.hub-column span {
  display: block;
}

.hub-column strong {
  margin: 8px 0 4px;
}

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

.hub-core {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 34px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at top, var(--green-700), var(--green-950));
}

.hub-core .brand-mark {
  border-color: var(--gold-2);
}

.hub-core h3 {
  margin: 0;
  font-size: 31px;
}

.hub-core ul {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hub-core li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold-2);
}

.admin-section {
  background: #fff;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.admin-panel {
  padding: 20px;
  color: var(--ink);
  border-color: rgba(6, 41, 31, 0.12);
  background: #f9f8f4;
}

.admin-panel h3 {
  margin: 0 0 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
}

.badge.ok {
  color: #09683c;
  background: #daf5e8;
}

.badge.warn {
  color: #80510c;
  background: #fbecd0;
}

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

.review-list div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.review-list button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-900);
  background: #fff;
}

.governance-section {
  background: var(--soft);
}

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

.governance-grid article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(6, 41, 31, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.governance-grid i {
  color: var(--gold);
}

.governance-grid h3 {
  margin: 18px 0 8px;
}

.governance-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.legal-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-950);
}

.legal-strip span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-weight: 750;
}

.flow-section {
  background: #fff;
}

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

.flow-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(6, 41, 31, 0.12);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.flow-grid span {
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.flow-grid h3 {
  margin: 18px 0 8px;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 64px 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
}

.final-cta h2 {
  max-width: 780px;
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

.final-cta p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.5;
}

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

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 26, 20, 0.72);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-dark);
}

.modal.credit-modal {
  width: min(1080px, 100%);
  max-height: min(860px, 94vh);
  padding: 0;
  overflow: hidden;
}

.modal h2 {
  margin: 0 46px 16px 0;
}

.modal.credit-modal h2 {
  padding: 26px 30px 0;
  margin: 0 62px 18px 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border-color: var(--line);
}

.modal .button {
  margin-top: 14px;
}

.modal label input,
.modal label select {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

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

.credit-flow {
  max-height: calc(94vh - 84px);
  overflow: auto;
  padding: 0 30px 26px;
}

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

.credit-stepper li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fbfaf6;
}

.credit-stepper span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--green-900);
  background: #ece7dc;
  font-size: 12px;
  font-weight: 900;
}

.credit-stepper strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.credit-stepper li.active {
  color: var(--green-900);
  border-color: rgba(201, 154, 53, 0.7);
  background: #fff8e8;
}

.credit-stepper li.active span,
.credit-stepper li.done span {
  color: #fff;
  background: var(--green-900);
}

.credit-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: start;
}

.credit-flow-main {
  min-width: 0;
}

.credit-copy {
  margin-bottom: 16px;
}

.credit-copy h3 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 26px;
}

.credit-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

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

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

.credit-choice-card {
  min-height: 146px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(6, 41, 31, 0.13);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(6, 41, 31, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.credit-choice-card:hover,
.credit-choice-card.selected {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow: 0 14px 28px rgba(6, 41, 31, 0.11);
}

.credit-choice-card.selected {
  background: linear-gradient(180deg, #fff, #fff8e8);
}

.credit-choice-card i {
  color: var(--gold);
}

.credit-choice-card strong {
  color: var(--green-900);
  font-size: 16px;
}

.credit-choice-card span,
.credit-choice-card small {
  color: var(--muted);
  line-height: 1.35;
}

.credit-choice-card small {
  color: var(--green-700);
  font-weight: 800;
}

.product-card {
  min-height: 126px;
}

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

.credit-form-grid label,
.credit-flow label {
  color: var(--green-900);
  font-weight: 750;
}

.credit-form-grid input,
.credit-form-grid select,
.credit-flow input,
.credit-flow select {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.conditional-block {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(6, 41, 31, 0.1);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.conditional-block h4 {
  margin: 0 0 14px;
  color: var(--green-900);
}

.credit-summary {
  position: sticky;
  top: 0;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(6, 41, 31, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfaf6, #fff);
}

.credit-summary h3 {
  margin: 0;
  color: var(--green-900);
}

.summary-row {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(6, 41, 31, 0.09);
}

.summary-row span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 850;
}

.summary-row strong {
  color: var(--ink);
  line-height: 1.35;
}

.credit-summary-box,
.credit-disclaimer,
.credit-warning,
.credit-error {
  display: flex;
  gap: 10px;
  padding: 13px;
  border-radius: var(--radius);
  line-height: 1.4;
}

.credit-summary-box {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(201, 154, 53, 0.28);
  background: #fff8e8;
}

.credit-summary-box strong {
  color: var(--green-900);
}

.credit-summary-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.credit-disclaimer {
  margin-top: 16px;
  color: var(--green-900);
  border: 1px solid rgba(6, 41, 31, 0.1);
  background: #eef6f2;
}

.credit-warning {
  margin-bottom: 14px;
  color: #63460c;
  border: 1px solid rgba(201, 154, 53, 0.28);
  background: #fff8e8;
}

.credit-error {
  margin-bottom: 14px;
  color: #7d2828;
  border: 1px solid rgba(184, 74, 74, 0.24);
  background: #fff1f1;
}

.credit-checkbox {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.credit-checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.credit-checkbox span {
  color: var(--muted);
  line-height: 1.45;
}

.review-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(6, 41, 31, 0.12);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.credit-actions {
  position: sticky;
  bottom: -26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px -30px -26px;
  padding: 16px 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.credit-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.credit-success {
  display: grid;
  place-items: center;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 0 28px;
  text-align: center;
}

.credit-success > i {
  width: 54px;
  height: 54px;
  color: var(--success);
}

.credit-success h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 30px;
}

.credit-success p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1280px) {
  .main-nav {
    gap: 10px;
    font-size: 13px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .platform-preview {
    max-width: 900px;
    transform: none;
  }

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

  .metrics-band,
  .service-grid,
  .governance-grid,
  .flow-grid,
  .public-feature-grid,
  .private-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-layout,
  .portal-layout,
  .studio-layout,
  .hub-layout,
  .admin-grid,
  .login-shell,
  .private-shell {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(100%, 360px);
  }

  .private-sidebar {
    position: relative;
    height: auto;
  }

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

  .portal-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .portal-sidebar strong {
    min-width: max-content;
    margin: 0 16px 0 0;
  }

  .credit-flow-grid {
    grid-template-columns: 1fr;
  }

  .credit-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 980px) {
  .topbar {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: inline-grid;
    color: var(--green-900);
    border-color: rgba(6, 41, 31, 0.18);
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.menu-open .main-nav {
    display: grid;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero-section,
  .section,
  .final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .kpi-grid,
  .portal-kpis,
  .format-row,
  .legal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-band {
    padding: 22px 20px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 32px;
  }

  .hub-core {
    min-height: 320px;
    border-radius: var(--radius);
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .marketing-public-card,
  .private-topbar {
    grid-template-columns: 1fr;
  }

  .modal.credit-modal {
    width: calc(100vw - 24px);
  }

  .credit-stepper {
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    overflow-x: auto;
  }

  .credit-stepper li {
    min-width: 92px;
  }

  .profile-grid,
  .product-grid,
  .credit-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand strong {
    font-size: 24px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .platform-preview {
    padding: 10px;
    border-radius: 14px;
  }

  .kpi-grid,
  .service-rail,
  .metrics-band,
  .service-grid,
  .portal-kpis,
  .governance-grid,
  .flow-grid,
  .legal-strip,
  .format-row,
  .public-feature-grid,
  .private-grid,
  .private-nav {
    grid-template-columns: 1fr;
  }

  .login-shell,
  .private-main {
    padding: 20px;
  }

  .login-copy h1 {
    font-size: 40px;
  }

  .service-rail {
    width: calc(100% - 24px);
    margin-top: 16px;
  }

  .metrics-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .phone-frame {
    width: 100%;
    max-width: 360px;
  }

  .creative-card {
    min-height: 430px;
    padding: 22px;
  }

  .creative-card h3 {
    font-size: 42px;
  }

  .partner-strip {
    grid-template-columns: 1fr;
  }

  .partner-strip i {
    width: 42px;
    height: 42px;
    grid-row: auto;
  }

  .review-list div {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    padding: 0;
  }

  .modal.credit-modal {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal.credit-modal h2 {
    padding: 20px 54px 0 18px;
    font-size: 24px;
  }

  .credit-flow {
    max-height: calc(100vh - 74px);
    padding: 0 18px 18px;
  }

  .credit-copy h3 {
    font-size: 22px;
  }

  .credit-choice-card {
    min-height: auto;
  }

  .credit-actions {
    bottom: -18px;
    margin: 18px -18px -18px;
    padding: 14px 18px;
  }

  .credit-actions .button {
    flex: 1;
    padding-inline: 10px;
  }
}
