/* Aeon Green — Asset Lifecycle Platform
   Brand palette: deep green + logo pink & cyan (AG brand pack / Atlas tokens) */

:root {
  /* Primary brand */
  --ag-green: #0A3D2F;
  --ag-green-mid: #145A47;
  --ag-green-soft: #1A6B55;
  --ag-green-muted: rgba(10, 61, 47, 0.08);

  /* Brand pack — pinks & light blues */
  --ag-pink: #E11383;
  --ag-pink-deep: #C4126F;
  --ag-pink-soft: rgba(225, 19, 131, 0.1);
  --ag-cyan: #00B3E3;
  --ag-cyan-deep: #008EB8;
  --ag-cyan-soft: rgba(0, 179, 227, 0.12);
  --ag-navy: #182D4D;
  --ag-silver: #D4DCE6;
  --ag-emerald: #10B981;

  /* Neutrals */
  --ag-slate-50: #F8FAFC;
  --ag-slate-100: #F1F5F9;
  --ag-slate-200: #E2E8F0;
  --ag-slate-300: #CBD5E1;
  --ag-slate-500: #64748B;
  --ag-slate-600: #475569;
  --ag-slate-700: #334155;
  --ag-slate-800: #1E293B;
  --ag-slate-900: #0F172A;

  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --shadow-card: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-card-hover: 0 12px 40px rgb(24 45 77 / 0.12);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ag-slate-800);
  background: var(--ag-slate-50);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* ——— Layout shell ——— */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ag-slate-200);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  /* 40% larger than original 2.35rem */
  height: 3.29rem;
  width: auto;
  flex-shrink: 0;
}

.brand-divider {
  width: 1px;
  height: 1.75rem;
  background: linear-gradient(180deg, var(--ag-pink), var(--ag-cyan));
  flex-shrink: 0;
  opacity: 0.7;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ag-navy);
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ag-slate-500);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.auth-user {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ag-navy);
  max-width: 12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-ghost {
  color: var(--ag-navy);
  background: transparent;
  border: 1px solid var(--ag-slate-300);
  opacity: 0.85;
}

.btn-ghost:hover {
  opacity: 1;
  border-color: var(--ag-cyan);
  background: var(--ag-cyan-soft);
}

/* Locked modules: hide Enter CTAs until signed in */
.module-card--locked {
  cursor: pointer;
}

.module-card--locked .module-cta--enter {
  display: none !important;
}

.module-cta--locked {
  color: var(--ag-slate-500) !important;
  background: var(--ag-slate-100) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-weight: 600;
}

.module-card--locked:hover .module-cta--locked {
  background: linear-gradient(135deg, rgba(225, 19, 131, 0.12), rgba(0, 179, 227, 0.14)) !important;
  color: var(--ag-navy) !important;
}

body.is-anonymous .module-cta--enter {
  display: none !important;
}

body.is-authenticated .module-cta--locked {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

/* Matches Enter Deliver — pink → cyan; lighter at rest, full colour on hover */
.btn-cta,
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--ag-pink), var(--ag-cyan));
  box-shadow: 0 2px 8px rgba(225, 19, 131, 0.12);
  opacity: 0.55;
}

.btn-cta:hover,
.btn-primary:hover {
  opacity: 1;
  filter: none;
  box-shadow: 0 6px 16px rgba(0, 179, 227, 0.28);
}

/* ——— Main ——— */

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ——— Hero (light brand — pink / cyan / silver, not dark green) ——— */

.hero {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(225, 19, 131, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(0, 179, 227, 0.14), transparent 50%),
    linear-gradient(160deg, #ffffff 0%, #f8fafc 40%, #eef8fc 100%);
  color: var(--ag-navy);
  padding: 3rem 0 2.75rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ag-slate-200);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ag-pink), var(--ag-cyan) 50%, var(--ag-silver));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ag-pink-soft), var(--ag-cyan-soft));
  border: 1px solid var(--ag-silver);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ag-navy);
  margin-bottom: 1.25rem;
}

.hero-kicker .kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ag-pink), var(--ag-cyan));
  box-shadow: 0 0 0 3px rgba(0, 179, 227, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 18ch;
  color: var(--ag-navy);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ag-slate-600);
  max-width: 40rem;
  margin: 0;
}

/* ——— Lifecycle strip (70% of previous large size) ——— */

.lifecycle-strip {
  background: white;
  border-bottom: 1px solid var(--ag-slate-200);
  padding: 1.4rem 0;
}

.lifecycle-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.63rem 1.19rem;
  border-radius: 999px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ag-navy);
  background: linear-gradient(135deg, var(--ag-cyan-soft), var(--ag-pink-soft));
  border: 1px solid var(--ag-silver);
  line-height: 1.2;
}

.flow-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.91rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--ag-pink), var(--ag-cyan));
  color: white;
  flex-shrink: 0;
}

.flow-arrow {
  color: var(--ag-cyan-deep);
  font-size: 1.26rem;
  font-weight: 700;
  user-select: none;
  opacity: 0.7;
  line-height: 1;
}

/* ——— Section ——— */

.section {
  padding: 2.75rem 0 3.5rem;
}

.section-header {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--ag-pink), var(--ag-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ag-navy);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.section-header p {
  margin: 0;
  color: var(--ag-slate-600);
  font-size: 1.05rem;
}

/* ——— Module grid ——— */

.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--ag-slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 100%;
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 179, 227, 0.45);
}

.module-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ag-pink), var(--ag-cyan));
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.module-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.module-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ag-pink-soft), var(--ag-cyan-soft));
  color: var(--ag-navy);
  flex-shrink: 0;
}

.module-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.module-icon.pink {
  background: var(--ag-pink-soft);
  color: var(--ag-pink-deep);
}

.module-icon.cyan {
  background: var(--ag-cyan-soft);
  color: var(--ag-cyan-deep);
}

.module-icon.green {
  background: var(--ag-green-muted);
  color: var(--ag-green);
}

.module-icon.navy {
  background: rgba(24, 45, 77, 0.1);
  color: var(--ag-navy);
}

.module-phase {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ag-cyan-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
  color: var(--ag-navy);
  line-height: 1.2;
}

.module-card > p {
  margin: 0 0 1rem;
  color: var(--ag-slate-600);
  font-size: 0.95rem;
  flex: 1;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--ag-slate-50);
  border: 1px solid var(--ag-silver);
  color: var(--ag-slate-600);
}

.module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ag-slate-100);
  margin-top: auto;
}

.module-footer .sell-note {
  font-size: 0.75rem;
  color: var(--ag-slate-500);
  font-weight: 500;
}

.module-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ag-pink), var(--ag-cyan));
  border: 1px solid transparent;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(225, 19, 131, 0.12);
  opacity: 0.55;
}

.module-card:hover .module-cta,
.module-cta:hover {
  opacity: 1;
  box-shadow: 0 6px 16px rgba(0, 179, 227, 0.28);
}

.module-cta svg {
  width: 1rem;
  height: 1rem;
}

/* ——— Suite banner ——— */

.suite-banner {
  background: white;
  border: 1px solid var(--ag-slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.suite-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ag-pink), var(--ag-cyan) 45%, var(--ag-silver));
}

@media (min-width: 768px) {
  .suite-banner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.suite-banner h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: var(--ag-navy);
}

.suite-banner p {
  margin: 0;
  color: var(--ag-slate-600);
  font-size: 0.95rem;
}

.suite-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.suite-points li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--ag-slate-700);
  font-weight: 500;
}

.suite-points li svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ag-pink);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--ag-slate-200);
  background: white;
  padding: 1.75rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ag-slate-500);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  height: 1.75rem;
  width: auto;
}

.footer-brand span {
  color: var(--ag-slate-600);
  font-weight: 500;
}

.footer-inner strong {
  color: var(--ag-navy);
}

/* ——— Module app shells ——— */

.app-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ag-slate-50);
}

.app-header {
  background: white;
  border-bottom: 1px solid var(--ag-slate-200);
  padding: 0.85rem 0;
}

.app-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ag-slate-600);
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.back-link:hover {
  background: var(--ag-cyan-soft);
  color: var(--ag-navy);
}

.app-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.app-header-title h1 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ag-navy);
}

.app-header-title .brand-divider {
  display: inline-block;
}

.app-body {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.placeholder-panel {
  background: white;
  border: 1px solid var(--ag-slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  max-width: 40rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.placeholder-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ag-pink), var(--ag-cyan));
}

.placeholder-panel .icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ag-pink-soft), var(--ag-cyan-soft));
  color: var(--ag-navy);
  margin-bottom: 1.25rem;
}

.placeholder-panel .icon-wrap svg {
  width: 2rem;
  height: 2rem;
}

.placeholder-panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
  letter-spacing: -0.025em;
  color: var(--ag-navy);
}

.placeholder-panel p {
  margin: 0 0 1.5rem;
  color: var(--ag-slate-600);
}

.placeholder-features {
  text-align: left;
  display: grid;
  gap: 0.5rem;
  margin: 0 auto 1.75rem;
  max-width: 22rem;
  list-style: none;
  padding: 0;
}

.placeholder-features li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ag-slate-700);
  font-weight: 500;
}

.placeholder-features li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ag-pink), var(--ag-cyan));
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* Focus rings */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ag-cyan);
  outline-offset: 2px;
}

/* Touch devices: show CTAs a bit stronger (no hover) */
@media (hover: none) {
  .btn-cta,
  .btn-primary,
  .module-cta {
    opacity: 0.78;
  }

  .btn-cta:active,
  .btn-primary:active,
  .module-cta:active,
  .module-card:active .module-cta {
    opacity: 1;
  }

  .module-card:hover {
    transform: none;
  }
}

/* ——— Tablet ——— */
@media (max-width: 900px) {
  .lifecycle-flow {
    gap: 0.4rem 0.55rem;
  }

  .flow-step {
    font-size: 0.98rem;
    padding: 0.52rem 0.95rem;
  }

  .flow-num {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.8rem;
  }

  .flow-arrow {
    font-size: 1.05rem;
  }
}

/* ——— Mobile (landing page) ——— */
@media (max-width: 720px) {
  .container {
    padding: 0 1.1rem;
  }

  /* Top bar */
  .topbar-inner {
    height: auto;
    min-height: 3.75rem;
    padding: 0.65rem 1rem;
    gap: 0.65rem;
  }

  .brand {
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
  }

  .brand-divider,
  .brand-text {
    display: none;
  }

  .brand-logo {
    height: 2.65rem;
  }

  .topbar-actions {
    gap: 0.4rem;
  }

  .topbar-actions .btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
    white-space: nowrap;
  }

  /* Hero */
  .hero {
    padding: 1.75rem 0 1.6rem;
  }

  .hero-kicker {
    font-size: 0.72rem;
    padding: 0.3rem 0.7rem;
    margin-bottom: 0.9rem;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
    max-width: none;
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  /* Lifecycle: vertical timeline on small screens (70% scale) */
  .lifecycle-strip {
    padding: 1rem 0 1.15rem;
  }

  .lifecycle-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 16rem;
    margin: 0 auto;
  }

  .flow-step {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.98rem;
    padding: 0.6rem 0.95rem;
    gap: 0.55rem;
    box-sizing: border-box;
  }

  .flow-num {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.82rem;
  }

  .flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.15rem 0;
    transform: rotate(90deg);
    opacity: 0.55;
    color: var(--ag-pink);
  }

  /* Modules */
  .section {
    padding: 1.75rem 0 2.5rem;
  }

  .section-header {
    margin-bottom: 1.25rem;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .module-grid {
    gap: 1rem;
  }

  .module-card {
    padding: 1.25rem 1.15rem 1.15rem;
    border-radius: 1.15rem;
  }

  .module-card:active {
    border-color: rgba(0, 179, 227, 0.45);
    box-shadow: var(--shadow-card-hover);
  }

  .module-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.75rem;
  }

  .module-icon svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .module-card h3 {
    font-size: 1.4rem;
  }

  .module-card > p {
    font-size: 0.9rem;
  }

  .capability-tags {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .tag {
    font-size: 0.68rem;
    padding: 0.25rem 0.5rem;
  }

  .module-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .module-footer .sell-note {
    text-align: center;
    order: 2;
  }

  .module-cta {
    order: 1;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    min-height: 2.75rem;
  }

  /* Suite */
  .suite-banner {
    padding: 1.25rem 1.15rem 1.35rem;
    margin-top: 1.15rem;
    border-radius: 1.15rem;
  }

  .suite-banner h3 {
    font-size: 1.1rem;
  }

  .suite-banner p {
    font-size: 0.9rem;
  }

  .suite-points li {
    font-size: 0.85rem;
  }

  /* Footer */
  .site-footer {
    padding: 1.25rem 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    text-align: left;
  }

  .footer-brand img {
    height: 1.5rem;
  }

  /* Sub-app shells */
  .app-header-inner {
    flex-wrap: wrap;
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .app-body {
    padding: 1.5rem 1.1rem 2.25rem;
  }

  .placeholder-panel {
    padding: 1.75rem 1.25rem;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .topbar-actions .btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }

  .brand-logo {
    height: 2.35rem;
  }

  .flow-step {
    font-size: 0.9rem;
    padding: 0.55rem 0.85rem;
  }
}
