:root {
  --green: #174d3a;
  --green-900: #0f2f24;
  --green-800: #123c2d;
  --green-100: #e3ede6;
  --beige: #f5efe5;
  --beige-2: #fbf7ee;
  --beige-3: #eee3d1;
  --gold: #b99043;
  --ink: #13251d;
  --text: #31445b;
  --muted: #6f7b86;
  --line: #ded4c4;
  --card: #fffdf8;
  --white: #ffffff;
  --danger: #c83a3a;
  --warning: #b57200;
  --shadow-soft: 0 18px 48px rgba(23, 77, 58, 0.10);
  --shadow-card: 0 10px 28px rgba(23, 77, 58, 0.055);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  background: var(--beige);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(185, 144, 67, 0.08), transparent 32rem),
    linear-gradient(180deg, #f8f2e8 0%, var(--beige) 44%, #fbf7ee 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: white;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 229, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 212, 196, 0.72);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #2c3734;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  border-bottom-color: rgba(23, 77, 58, 0.35);
}

.mobile-toggle {
  display: none;
}

.mobile-label {
  display: none;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
  border: 1px solid rgba(23, 77, 58, 0.25);
  border-radius: 999px;
  padding: 8px 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(23, 77, 58, 0.17);
}

.btn-primary:hover {
  background: var(--green-900);
  box-shadow: 0 16px 28px rgba(15, 47, 36, 0.22);
}

.btn-secondary {
  color: var(--green-900);
  background: rgba(255,255,255,0.20);
  border-color: rgba(23, 77, 58, 0.24);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.45);
  border-color: rgba(23, 77, 58, 0.45);
}

.hero {
  padding: 78px 0 70px;
  min-height: 620px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 580px;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.005em;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: none;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
}

.serif {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 740px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

.hero-copy {
  max-width: 665px;
  margin: 0 0 30px;
  color: #344860;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.62;
}

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

.trust-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #40546c;
  border: 1px solid rgba(23,77,58,.14);
  background: rgba(255,255,255,.34);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}

.trust-pill::before {
  content: none;
}

.product-composition {
  min-height: 620px;
  position: relative;
}

.hero-img {
  position: absolute;
  display: block;
  border: 1px solid rgba(222,212,196,.8);
}

.hero-img--dashboard {
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(23,50,40,.10), 0 1px 6px rgba(0,0,0,.06);
}

.hero-img--app {
  width: 44%;
  left: 18px;
  bottom: 0;
  z-index: 2;
  border-radius: 18px;
  box-shadow: 0 18px 56px rgba(23,50,40,.20), 0 5px 16px rgba(0,0,0,.11);
}


.panel {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(222, 212, 196, 0.75);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.dashboard {
  width: 470px;
  height: 318px;
  position: absolute;
  right: 0;
  top: 58px;
}

.dashboard-top {
  height: 46px;
  background: var(--green);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 760;
}

.avatar {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: white;
  font-size: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 18px 8px;
}

.stat {
  background: rgba(245,248,247,.9);
  border-radius: 14px;
  padding: 12px 8px;
  color: #021b35;
  text-align: center;
  font-size: 20px;
  font-weight: 850;
}

.stat span {
  display: block;
  margin-top: 1px;
  color: #8c9698;
  font-size: 9px;
  font-weight: 680;
}

.rows {
  padding: 8px 18px 18px;
  display: grid;
  gap: 9px;
}

.dash-row {
  height: 36px;
  border-radius: 10px;
  background: rgba(247,249,248,.9);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--green-100);
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
}

.pill.warning { background: #fff0bf; color: var(--warning); }
.pill.danger { background: #ffe0dd; color: var(--danger); }

.phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 238px;
  height: 410px;
  background: #f9fbfa;
  border-radius: 31px;
  border: 3px solid #1d2733;
  box-shadow: 0 24px 52px rgba(31,41,55,.18);
  overflow: hidden;
  z-index: 2;
}

.phone-top {
  height: 98px;
  padding: 21px 15px 13px;
  background: var(--green);
  color: white;
  position: relative;
}

.phone-time {
  font-size: 10px;
  opacity: .82;
  margin-bottom: 7px;
}

.phone-title {
  font-size: 15px;
  line-height: 1.15;
  font-weight: 850;
}

.phone-sub {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  margin-top: 1px;
}

.phone-dots {
  position: absolute;
  top: 27px;
  right: 16px;
  display: flex;
  gap: 5px;
}

.phone-dot {
  width: 9px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}

.phone-body {
  padding: 14px 12px;
}

.phone-date {
  color: #9c9ba8;
  font-size: 12px;
  margin-bottom: 2px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #0a1c34;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 12px;
}

.match-label {
  color: var(--green);
  background: #edf3f0;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 9px;
  white-space: nowrap;
}

.person-row {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f3f6f5;
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 7px 9px;
  color: #14263b;
  font-size: 11px;
  font-weight: 620;
}

.initial {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #dfe7e5;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
}

.status {
  margin-left: auto;
  border-radius: 999px;
  padding: 3px 7px;
  color: white;
  background: var(--green);
  font-size: 8.5px;
  font-weight: 850;
}

.status.unavailable { background: #ffdddd; color: #bf3434; }
.status.maybe { background: #fff0be; color: #a96500; }

.phone-cta {
  width: 100%;
  height: 35px;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--green);
  font-size: 11px;
  font-weight: 850;
}

section {
  padding: 72px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.046em;
  margin-bottom: 14px;
}

.section-heading p {
  margin: 0 auto;
  max-width: 690px;
  font-size: 18px;
  line-height: 1.58;
  color: #344860;
}

.subtle-section {
  background: rgba(255,250,240,.62);
  border-top: 1px solid rgba(222, 212, 196, 0.55);
  border-bottom: 1px solid rgba(222, 212, 196, 0.55);
}

.grid {
  display: grid;
  gap: 22px;
}

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

.card {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card h3 {
  color: #061b2c;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: #344860;
  font-size: 16px;
  line-height: 1.58;
}

.icon {
  width: 34px;
  height: 34px;
  color: var(--green);
  margin-bottom: 22px;
}

.feature-card {
  min-height: 190px;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.product-card {
  padding: 34px;
}

.product-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 16.5px;
}

.interface-card-media {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(222, 212, 196, .82);
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(23, 50, 40, .09);
}

.interface-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.phone-media {
  width: min(230px, 78%);
  aspect-ratio: 390 / 844;
  margin-inline: auto;
  border-radius: 30px;
}

.dashboard-media {
  aspect-ratio: 980 / 620;
  border-radius: 16px;
}

.mini-device-row {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.admin-window {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(222,212,196,.78);
  border-radius: 17px;
  background: rgba(255,255,255,.64);
}

.admin-window .dashboard-top {
  height: 40px;
}

.admin-list {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.admin-line {
  min-height: 40px;
  display: grid;
  grid-template-columns: 1.1fr .7fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(250,252,251,.95);
  border: 1px solid rgba(226,232,228,.8);
  color: #283c52;
  font-size: 13px;
  font-weight: 650;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--green-100);
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
}

.org-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 38px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,253,248,.96), rgba(246,239,226,.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.org-tree {
  display: grid;
  gap: 12px;
}

.org-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 15px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
}

.org-children {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-left: 22px;
}

.org-children::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -5px;
  bottom: 8px;
  width: 1px;
  background: #c7d1ca;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 150px;
  padding: 22px 18px 18px;
  border-radius: 18px;
  background: rgba(255,253,248,.78);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 850;
}

.step strong {
  display: block;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: 6px;
}

.step span {
  color: #506377;
  font-size: 14px;
  line-height: 1.42;
}

.page-hero {
  padding: 76px 0 42px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
  gap: 52px;
}

.page-hero p {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.66;
  margin: 0 0 26px;
}

.page-card {
  padding: 30px;
}

.stat-card {
  background: var(--green);
  color: white;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card span {
  color: rgba(255,255,255,.74);
}

.role-card {
  min-height: 230px;
}

.role-card ul,
.check-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.role-card li,
.check-list li {
  display: flex;
  gap: 10px;
  color: #344860;
  font-size: 15px;
  line-height: 1.45;
}

.role-card li::before,
.check-list li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 900;
}

.callout {
  padding: 38px;
  border-radius: 26px;
  background: var(--green);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.callout h2 {
  color: white;
  margin-bottom: 10px;
}

.callout p {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8cec0;
  border-radius: 13px;
  background: rgba(255,253,248,.92);
  color: #1f2937;
  padding: 12px 13px;
  font: inherit;
  font-size: 15px;
}

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

footer {
  background: var(--green-900);
  color: rgba(255,255,255,.72);
  padding: 52px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr .8fr;
  gap: 28px;
  margin-bottom: 34px;
}

.footer-brand {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 9px;
}

.footer-title {
  color: white;
  font-weight: 850;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 22px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

@media (max-width: 1060px) {
  .hero-grid,
  .page-hero-grid,
  .org-panel {
    grid-template-columns: 1fr;
  }

  .product-composition {
    width: min(500px, 100%);
    margin: 10px auto 0;
  }

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

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 34px, var(--max));
  }

  .nav {
    flex-wrap: wrap;
    min-height: 70px;
    padding: 14px 0;
  }

  .nav .btn {
    display: none;
  }

  .mobile-label {
    display: inline-flex;
  }

  .nav-links {
    order: 4;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0 2px;
  }

  .mobile-toggle:checked ~ .nav-links {
    display: grid;
  }

  .hero {
    padding: 52px 0 48px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .hero-copy,
  .page-hero p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .product-composition {
    min-height: 440px;
  }

  .hero-img--app {
    width: 46%;
  }

  .hero-img--dashboard {
    width: 100%;
  }

  section {
    padding: 56px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .duo,
  .footer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

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

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

  .org-children {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 23px;
  }

  .product-composition {
    min-height: 360px;
  }

  .hero-img--app {
    width: 46%;
  }

  .hero-img--dashboard {
    width: 100%;
  }

  .card,
  .product-card,
  .org-panel,
  .callout {
    padding: 22px;
  }

  .admin-line {
    grid-template-columns: 1fr;
  }
}

/* Revised configurable club structure visual */
.org-explainer {
  margin: 0 0 18px;
  color: #344860;
  font-size: 16px;
  line-height: 1.58;
}

.org-level {
  display: grid;
  gap: 10px;
  position: relative;
}

.org-level + .org-level {
  margin-top: 12px;
  padding-left: 22px;
}

.org-level + .org-level::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -8px;
  bottom: 8px;
  width: 1px;
  background: #c7d1ca;
}

.org-label {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 2px 0 0;
}

.org-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.org-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.org-node.small {
  font-size: 13px;
  padding: 11px 13px;
}

.org-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.org-section-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.org-groups {
  margin-top: 8px;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 2px solid #d0dbd2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.org-group-label {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 2px;
}

@media (max-width: 820px) {
  .org-row,
  .org-row.three {
    grid-template-columns: 1fr;
  }
  .org-sections-grid {
    grid-template-columns: 1fr;
  }
}

.org-panel-expanded {
  grid-template-columns: .92fr 1.08fr;
  align-items: start;
}

.scope-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

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

.scope-item {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(222, 212, 196, .82);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
}

.scope-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.22;
}

.scope-item span {
  color: #4d6175;
  font-size: 13px;
  line-height: 1.42;
}

.org-map {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 4px 0;
}

.org-map::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(23,77,58,.22), rgba(185,144,67,.45));
  transform-origin: top;
  animation: orgLineGrow .9s ease-out both;
}

.org-map-level {
  position: relative;
  display: grid;
  gap: 8px;
  padding-left: 44px;
  opacity: 0;
  transform: translateY(12px);
  animation: orgNodeIn .55s ease-out both;
}

.org-map-level::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 33px;
  width: 22px;
  height: 2px;
  background: rgba(23,77,58,.28);
  transform-origin: left;
  animation: orgConnectorIn .45s ease-out both;
}

.level-club { animation-delay: .05s; }
.level-sections { animation-delay: .18s; }
.level-groups { animation-delay: .32s; }
.level-teams { animation-delay: .46s; }
.level-club::before { display: none; }

.org-map-label {
  color: var(--green);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.org-map-node {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(222, 212, 196, .88);
  border-radius: 15px;
  background: rgba(255,255,255,.82);
  color: var(--green-900);
  box-shadow: 0 8px 22px rgba(23, 77, 58, .055);
  font-size: 14px;
  font-weight: 780;
}

.org-map-node.active {
  border-color: rgba(23,77,58,.34);
  background: rgba(255,255,255,.96);
}

.org-map-node.muted {
  color: #53675d;
}

.role-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--green-100);
  color: var(--green);
  font-size: 10px;
  font-weight: 780;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  animation: roleChipIn .35s ease-out both;
  animation-delay: inherit;
}

.delegation-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,253,248,.96), rgba(246,239,226,.9));
  box-shadow: var(--shadow-card);
}

.delegation-panel h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.delegation-panel p {
  margin: 0;
  color: #344860;
  font-size: 16px;
  line-height: 1.58;
}

@keyframes orgLineGrow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes orgNodeIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes orgConnectorIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes roleChipIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .org-map::before,
  .org-map-level,
  .org-map-level::before,
  .role-chip {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .org-panel-expanded,
  .delegation-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .org-branch-grid,
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .org-map::before {
    left: 14px;
  }
  .org-map-level {
    padding-left: 34px;
  }
  .org-map-level::before {
    left: 14px;
    width: 20px;
  }
  .delegation-panel {
    padding: 22px;
  }
}

/* ==============================================
   UX Mockups — Hero Phone & Admin Dashboard
   Used on index.html and platform.html heroes
============================================== */

.ux-phone {
  position: absolute;
  left: 12px;
  top: 38px;
  width: 256px;
  height: 522px;
  background: var(--beige);
  border-radius: 38px;
  border: 3px solid #1c1c1e;
  box-shadow: 0 30px 76px rgba(23,50,40,.30), 0 8px 22px rgba(0,0,0,.18);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

/* Dynamic island notch bar */
.ux-phone::before,
.plat-phone::before {
  content: "";
  flex-shrink: 0;
  height: 28px;
  background: #1c1c1e;
  background-image: radial-gradient(ellipse 80px 16px at 50% 62%, #111 0%, #1c1c1e 100%);
}

/* Home indicator bar */
.ux-phone::after,
.plat-phone::after {
  content: "";
  flex-shrink: 0;
  height: 24px;
  background: white;
  background-image: radial-gradient(ellipse 90px 3.5px at center 68%, rgba(10,10,10,.22) 0%, transparent 100%);
}

.ux-ph-header { background: var(--green); flex-shrink: 0; }

.ux-ph-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 16px 3px;
}

.ux-ph-time {
  color: rgba(255,255,255,.78);
  font-size: 10.5px;
  font-weight: 700;
}

.ux-ph-dots { display: flex; gap: 3px; }
.ux-ph-dots span {
  display: block; width: 6px; height: 6px;
  border-radius: 999px; background: rgba(255,255,255,.42);
}

.ux-ph-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 14px;
}

.ux-ph-hi { color: rgba(255,255,255,.58); font-size: 10px; }
.ux-ph-name { color: white; font-size: 15.5px; font-weight: 800; }

.ux-ph-controls { display: flex; gap: 8px; align-items: center; }

.ux-ph-bell {
  position: relative;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.85);
}

.ux-ph-bell svg { width: 14px; height: 14px; }

.ux-ph-bell-dot {
  position: absolute;
  top: 5px; right: 4px;
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 999px;
  border: 1.5px solid var(--green);
}

.ux-ph-av {
  width: 33px; height: 33px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  color: white; font-size: 10.5px; font-weight: 800;
  display: grid; place-items: center;
}

.ux-ph-body {
  flex: 1; overflow: hidden;
  padding: 11px 12px;
  display: flex; flex-direction: column;
  gap: 8px;
  background: var(--beige);
}

.ux-ph-lbl {
  font-size: 9px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: #8a9085;
  display: flex; align-items: center; gap: 5px;
}

.ux-badge-red {
  background: #ef4444; color: white;
  border-radius: 999px; font-size: 8px;
  width: 16px; height: 16px;
  display: grid; place-items: center; font-weight: 800;
}

.ux-event-card {
  background: var(--green);
  border-radius: 14px; padding: 11px 13px;
  color: white; flex-shrink: 0;
}

.ux-ev-top { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 7px; }

.ux-ev-datebox {
  background: rgba(255,255,255,.15);
  border-radius: 8px; padding: 5px 9px;
  text-align: center; flex-shrink: 0;
}

.ux-ev-datebox > span { display: block; font-size: 8.5px; text-transform: uppercase; opacity: .68; }
.ux-ev-datebox > strong { display: block; font-size: 21px; font-weight: 800; line-height: 1; }

.ux-ev-info { flex: 1; min-width: 0; }
.ux-ev-org { font-size: 8.5px; opacity: .6; text-transform: uppercase; letter-spacing: .05em; }
.ux-ev-title { font-size: 13.5px; font-weight: 750; line-height: 1.18; }
.ux-ev-meta { font-size: 9px; opacity: .68; margin-top: 3px; }

.ux-ev-open {
  font-size: 8.5px; color: #4ade80; flex-shrink: 0;
  display: flex; align-items: center; gap: 2px;
}

.ux-ev-foot {
  padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: space-between;
}

.ux-ev-acts { display: flex; gap: 12px; }
.ux-ev-act-btn { font-size: 9.5px; opacity: .75; display: flex; align-items: center; gap: 3px; }

.ux-avail-chip {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(74,222,128,.18);
  border: 1px solid rgba(74,222,128,.35);
  color: #4ade80; border-radius: 999px;
  font-size: 9px; padding: 3px 8px; font-weight: 700;
}

.ux-action-card {
  background: white; border-radius: 12px;
  padding: 11px 12px; flex-shrink: 0;
  box-shadow: 0 1px 5px rgba(0,0,0,.07);
}

.ux-act-title { font-size: 12px; font-weight: 700; color: var(--ink); }
.ux-act-sub { font-size: 9px; color: #8a9085; margin-bottom: 8px; }

.ux-act-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ux-act-btns button {
  border-radius: 9px; font-size: 10px; font-weight: 600;
  padding: 7px 5px; cursor: default; display: block; text-align: center;
  border: 1px solid #d8d4cc; background: transparent; color: #7a8278;
}
.ux-act-btns button.primary {
  background: var(--green); border-color: var(--green); color: white; font-weight: 700;
}

.ux-week-item {
  background: white; border-radius: 12px;
  padding: 9px 11px; display: flex; gap: 9px;
  align-items: center; flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.ux-week-datebox {
  background: var(--green); color: white;
  border-radius: 8px; padding: 5px 8px;
  text-align: center; flex-shrink: 0; font-size: 9px;
}

.ux-week-datebox span { display: block; opacity: .75; }
.ux-week-datebox strong { display: block; font-size: 16px; font-weight: 800; line-height: 1; }
.ux-week-title { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.ux-week-sub { font-size: 9px; color: #8a9085; margin-top: 2px; }

.ux-ph-nav {
  height: 56px; background: white;
  border-top: 1px solid #e8e4da;
  display: grid; grid-template-columns: repeat(4, 1fr);
  flex-shrink: 0;
}

.ux-nav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px;
  font-size: 8.5px; color: #9a9a8e;
}

.ux-nav-item.active { color: var(--green); }
.ux-nav-item svg { width: 17px; height: 17px; }

/* Admin dashboard hero mockup */

.ux-admin {
  position: absolute;
  top: 0; left: 0; right: 0;
  border-radius: 12px; background: #fafaf8;
  border: 1px solid rgba(222,212,196,.8);
  box-shadow: 0 4px 24px rgba(23,50,40,.09), 0 1px 6px rgba(0,0,0,.05);
  overflow: hidden; z-index: 1;
}

.ux-adm-nav {
  height: 38px; background: var(--green);
  display: flex; align-items: center;
  padding: 0 14px; gap: 0;
}

.ux-adm-brand { color: white; font-size: 11px; font-weight: 850; margin-right: 20px; }

.ux-adm-links { display: flex; gap: 14px; flex: 1; }
.ux-adm-links span { color: rgba(255,255,255,.52); font-size: 8.5px; font-weight: 600; }
.ux-adm-links span.on { color: rgba(255,255,255,.92); font-weight: 750; }

.ux-adm-av {
  width: 24px; height: 24px;
  background: rgba(255,255,255,.2); border-radius: 999px;
  color: white; font-size: 8.5px; font-weight: 850;
  display: grid; place-items: center;
}

.ux-adm-body { padding: 11px 14px 12px; }
.ux-adm-title { font-size: 11px; font-weight: 800; color: var(--ink); margin-bottom: 9px; }

.ux-adm-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 7px; margin-bottom: 9px;
}

.ux-adm-stat {
  background: white; border: 1px solid #e8e2d8;
  border-radius: 8px; padding: 7px 8px;
}

.ux-adm-stat-val { font-size: 14px; font-weight: 850; color: var(--ink); line-height: 1; }
.ux-adm-stat-lbl { font-size: 6.5px; color: #8c938a; margin-top: 2px; }

.ux-adm-table {
  background: white; border: 1px solid #e8e2d8;
  border-radius: 7px; overflow: hidden;
}

.ux-adm-th, .ux-adm-tr {
  display: grid;
  grid-template-columns: 2fr 1.1fr 0.95fr 0.85fr;
  gap: 6px; padding: 6px 10px; align-items: center;
}

.ux-adm-th {
  background: #f0ece4; font-size: 6.5px; font-weight: 750;
  text-transform: uppercase; letter-spacing: .06em; color: #7a8278;
}

.ux-adm-tr { font-size: 8.5px; color: #1f2e28; border-top: 1px solid #f0ece4; }

.ux-pill-g { display: inline-flex; background: #e0f0e7; color: #1b5e35; border-radius: 999px; font-size: 7px; font-weight: 750; padding: 2px 7px; }
.ux-pill-r { display: inline-flex; background: #fde8e8; color: #b83232; border-radius: 999px; font-size: 7px; font-weight: 750; padding: 2px 7px; }
.ux-pill-a { display: inline-flex; background: #fff3d6; color: #8f5e00; border-radius: 999px; font-size: 7px; font-weight: 750; padding: 2px 7px; }
.ux-text-r { color: #b83232; font-weight: 700; }

/* ==============================================
   Platform Page — Feature Sections
============================================== */

.plat-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.plat-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 14px;
}

.plat-kicker::before {
  content: ""; width: 18px; height: 1px; background: var(--gold);
}

.plat-feature h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -.035em; color: var(--ink);
  font-weight: 700;
  line-height: 1.1; margin: 0 0 14px;
}

.plat-feature > div > p {
  color: #344860;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  margin-bottom: 18px;
}

.plat-checklist {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 9px;
}

.plat-checklist li {
  display: flex; align-items: flex-start;
  gap: 9px;
  color: #2e4055;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.plat-checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background: var(--green-100);
  border-radius: 999px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23174d3a' stroke-width='2.6'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}

.plat-sub-heading {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  margin: 22px 0 10px;
}

.plat-int-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

.plat-int-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 5px 12px;
  font-size: 12px; font-weight: 650; color: var(--ink);
}

/* Mini phone preview — "Two interfaces" product cards */
.card-ph-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.card-ph-inner::before {
  content: "";
  flex-shrink: 0;
  height: 22px;
  background: #1c1c1e;
  background-image: radial-gradient(ellipse 70px 13px at 50% 62%, #111 0%, #1c1c1e 100%);
}
.card-ph-inner::after {
  content: "";
  flex-shrink: 0;
  height: 20px;
  background: white;
  background-image: radial-gradient(ellipse 80px 3px at center 68%, rgba(10,10,10,.2) 0%, transparent 100%);
}
.card-ph-inner .ux-ph-statusbar { padding: 6px 14px 2px; }
.card-ph-inner .ux-ph-time { font-size: 9.5px; }
.card-ph-inner .ux-ph-greeting { padding: 3px 14px 12px; }
.card-ph-inner .ux-ph-hi { font-size: 9px; }
.card-ph-inner .ux-ph-name { font-size: 14px; }
.card-ph-inner .ux-ph-bell { width: 28px; height: 28px; }
.card-ph-inner .ux-ph-bell svg { width: 12px; height: 12px; }
.card-ph-inner .ux-ph-av { width: 29px; height: 29px; font-size: 9.5px; }
.card-ph-inner .ux-ph-body { padding: 9px 10px; gap: 7px; }
.card-ph-inner .ux-ph-lbl { font-size: 8px; }
.card-ph-inner .ux-badge-red { font-size: 7px; width: 14px; height: 14px; }
.card-ph-inner .ux-event-card { border-radius: 12px; padding: 10px 11px; }
.card-ph-inner .ux-ev-datebox { padding: 4px 8px; border-radius: 7px; }
.card-ph-inner .ux-ev-datebox > span { font-size: 7.5px; }
.card-ph-inner .ux-ev-datebox > strong { font-size: 19px; }
.card-ph-inner .ux-ev-top { gap: 8px; margin-bottom: 6px; }
.card-ph-inner .ux-ev-org { font-size: 7.5px; }
.card-ph-inner .ux-ev-title { font-size: 12px; }
.card-ph-inner .ux-ev-meta { font-size: 8px; }
.card-ph-inner .ux-ev-open { font-size: 7.5px; }
.card-ph-inner .ux-ev-act-btn { font-size: 8.5px; }
.card-ph-inner .ux-avail-chip { font-size: 8px; padding: 2px 7px; }
.card-ph-inner .ux-action-card { border-radius: 10px; padding: 9px 11px; }
.card-ph-inner .ux-act-title { font-size: 11px; }
.card-ph-inner .ux-act-sub { font-size: 8px; margin-bottom: 7px; }
.card-ph-inner .ux-act-btns button { font-size: 9px; padding: 6px 4px; }
.card-ph-inner .ux-week-item { border-radius: 10px; padding: 8px 10px; gap: 8px; }
.card-ph-inner .ux-week-datebox { padding: 4px 7px; font-size: 8px; border-radius: 7px; }
.card-ph-inner .ux-week-datebox strong { font-size: 14px; }
.card-ph-inner .ux-week-title { font-size: 11px; }
.card-ph-inner .ux-week-sub { font-size: 8px; }
.card-ph-inner .ux-ph-nav { height: 50px; }
.card-ph-inner .ux-nav-item { font-size: 7.5px; gap: 2px; }
.card-ph-inner .ux-nav-item svg { width: 15px; height: 15px; }

/* Mini admin preview — "Two interfaces" product cards */
.card-adm-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card-adm-inner .ux-adm-nav { height: 34px; }
.card-adm-inner .ux-adm-brand { font-size: 10px; margin-right: 16px; }
.card-adm-inner .ux-adm-links { gap: 12px; }
.card-adm-inner .ux-adm-links span { font-size: 8px; }
.card-adm-inner .ux-adm-body { padding: 10px 12px 12px; }
.card-adm-inner .ux-adm-title { font-size: 10.5px; margin-bottom: 8px; }
.card-adm-inner .ux-adm-stats { gap: 6px; margin-bottom: 8px; }
.card-adm-inner .ux-adm-stat { padding: 6px 8px; }
.card-adm-inner .ux-adm-stat-val { font-size: 13px; }
.card-adm-inner .ux-adm-stat-lbl { font-size: 6px; }

/* Standalone phone mockup — platform page */

.plat-phone-outer {
  display: flex; justify-content: center;
  background: linear-gradient(145deg, rgba(23,77,58,.06), rgba(185,144,67,.06));
  border-radius: 24px;
  padding: 32px 24px;
  border: 1px solid var(--line);
}

.generated-phone-showcase {
  display: block;
}

.generated-phone-showcase > .plat-phone {
  display: none;
}

.phone-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 210px));
  justify-content: center;
  gap: 16px;
  align-items: end;
}

.phone-showcase-grid figure,
.admin-showcase-grid figure {
  margin: 0;
}

.phone-showcase-grid figure {
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 18px 44px rgba(23,50,40,.16), 0 4px 14px rgba(0,0,0,.08);
}

.phone-showcase-grid img {
  width: 100%;
  display: block;
}

.plat-phone {
  width: 258px;
  background: var(--beige);
  border-radius: 38px;
  border: 3px solid #1c1c1e;
  box-shadow: 0 30px 76px rgba(23,50,40,.28), 0 8px 22px rgba(0,0,0,.16);
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

/* Platform admin finance mockup */

.plat-admin-outer {
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(222,212,196,.8);
  box-shadow: 0 8px 36px rgba(23,50,40,.12), 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
}

.generated-admin-showcase {
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,253,248,.98), rgba(247,241,231,.96));
}

.generated-admin-showcase > :not(.admin-showcase-grid) {
  display: none;
}

.admin-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-shot {
  overflow: hidden;
  border: 1px solid rgba(222,212,196,.82);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 14px 32px rgba(23,50,40,.08);
}

.admin-shot.primary {
  grid-column: 1 / -1;
}

.admin-shot img {
  width: 100%;
  display: block;
}

.plat-adm-nav {
  height: 44px; background: var(--green);
  display: flex; align-items: center; padding: 0 18px;
}

.plat-adm-brand { color: white; font-size: 13px; font-weight: 850; margin-right: 24px; }
.plat-adm-links { display: flex; gap: 18px; flex: 1; }
.plat-adm-links span { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 600; }
.plat-adm-links span.on { color: rgba(255,255,255,.92); font-weight: 750; }
.plat-adm-av {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.2); border-radius: 999px;
  color: white; font-size: 10px; font-weight: 850;
  display: grid; place-items: center;
}

.plat-adm-body { padding: 16px 18px 18px; background: #fafaf8; }
.plat-adm-title { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }

.plat-adm-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-bottom: 14px;
}

.plat-adm-stat {
  background: white; border: 1px solid #e8e2d8;
  border-radius: 10px; padding: 10px 12px;
}

.plat-adm-stat-val { font-size: 18px; font-weight: 850; color: var(--ink); line-height: 1; }
.plat-adm-stat-lbl { font-size: 8px; color: #8c938a; margin-top: 3px; }
.plat-adm-stat-trend {
  font-size: 8px; color: #1c7a42; background: #e3f5ea;
  border-radius: 999px; display: inline-flex; padding: 1px 6px; margin-top: 4px;
}

/* Bar chart */

.plat-chart {
  background: white; border: 1px solid #e8e2d8;
  border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
}

.plat-chart-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}

.plat-chart-title { font-size: 10.5px; font-weight: 750; color: var(--ink); }

.plat-chart-legend { display: flex; gap: 12px; }
.plat-legend-item { display: flex; align-items: center; gap: 4px; font-size: 8.5px; color: #6a7870; }
.plat-legend-dot { width: 8px; height: 8px; border-radius: 999px; }
.plat-legend-dot.rev { background: var(--green); }
.plat-legend-dot.exp { background: #b8d8c4; }

.plat-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 72px;
}

.plat-bar-grp {
  display: flex; align-items: flex-end; gap: 3px; flex: 1;
}

.plat-bar {
  flex: 1; border-radius: 4px 4px 0 0; min-height: 4px;
}

.plat-bar.rev { background: var(--green); }
.plat-bar.exp { background: #b8d8c4; }

.plat-bar-axis {
  display: flex; gap: 6px; margin-top: 5px;
}

.plat-bar-axis span { flex: 1; text-align: center; font-size: 7.5px; color: #9a9a8e; }

/* Finance table */

.plat-fin-table {
  background: white; border: 1px solid #e8e2d8;
  border-radius: 10px; overflow: hidden;
}

.plat-fin-th, .plat-fin-tr {
  display: grid;
  grid-template-columns: 1.8fr 1.4fr 1fr 0.9fr 0.9fr;
  gap: 8px; padding: 8px 14px; align-items: center;
}

.plat-fin-th {
  background: #f0ece4; font-size: 8px; font-weight: 750;
  text-transform: uppercase; letter-spacing: .06em; color: #7a8278;
}

.plat-fin-tr { font-size: 11px; color: #1f2e28; border-top: 1px solid #f0ece4; }
.plat-fin-tr .ux-pill-g, .plat-fin-tr .ux-pill-r, .plat-fin-tr .ux-pill-a { font-size: 8.5px; }

@media (max-width: 1060px) {
  .plat-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .ux-phone {
    top: 36px;
    width: 210px;
    height: 432px;
  }
  .plat-adm-stats { grid-template-columns: repeat(2, 1fr); }
  .plat-fin-th, .plat-fin-tr { grid-template-columns: 1.8fr 1fr 0.9fr 0.9fr; }
  .plat-fin-th > span:nth-child(2),
  .plat-fin-tr > span:nth-child(2) { display: none; }
  .phone-showcase-grid,
  .admin-showcase-grid {
    grid-template-columns: 1fr;
  }
  .admin-shot.primary {
    grid-column: auto;
  }
}

/* Hero product composition — side-by-side layout: admin left, phone right */
.hero-grid .product-composition,
.page-hero-grid .product-composition {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 22px;
  align-items: center;
}

.hero-grid .product-composition .ux-admin,
.page-hero-grid .product-composition .ux-admin {
  position: relative;
  inset: auto;
  align-self: stretch;
  z-index: 1;
  min-width: 0;
  min-height: 430px;
}

.hero-grid .product-composition .ux-phone,
.page-hero-grid .product-composition .ux-phone {
  position: relative;
  left: auto;
  top: auto;
  width: 252px;
  height: 512px;
  align-self: center;
  z-index: 1;
}

.hero-grid .product-composition .ux-adm-title,
.page-hero-grid .product-composition .ux-adm-title {
  font-size: 13px;
}

.hero-grid .product-composition .ux-adm-stat-val,
.page-hero-grid .product-composition .ux-adm-stat-val {
  font-size: 14px;
}

@media (max-width: 620px) {
  .hero-grid .product-composition,
  .page-hero-grid .product-composition {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-grid .product-composition .ux-phone,
  .page-hero-grid .product-composition .ux-phone {
    width: min(240px, 72vw);
    height: 490px;
    justify-self: center;
  }
}

/* Hero — wide screens: expand container and upsize both panels */
@media (min-width: 1061px) {
  .hero .container,
  .page-hero .container {
    width: min(1440px, calc(100% - 48px));
  }

  .hero-grid {
    grid-template-columns: minmax(380px, 0.64fr) minmax(620px, 1.32fr);
    gap: 48px;
  }

  .page-hero-grid {
    grid-template-columns: minmax(380px, 0.66fr) minmax(600px, 1.28fr);
    gap: 48px;
  }

  .hero-grid .product-composition,
  .page-hero-grid .product-composition {
    grid-template-columns: minmax(0, 1fr) 278px;
    gap: 26px;
  }

  .hero-grid .product-composition .ux-phone,
  .page-hero-grid .product-composition .ux-phone {
    width: 278px;
    height: 562px;
  }

  .hero-grid .product-composition .ux-admin,
  .page-hero-grid .product-composition .ux-admin {
    min-height: 495px;
  }

  .hero-grid .product-composition .ux-adm-stat-val,
  .page-hero-grid .product-composition .ux-adm-stat-val {
    font-size: 15px;
  }

  .hero-grid .product-composition .ux-adm-title,
  .page-hero-grid .product-composition .ux-adm-title {
    font-size: 14px;
  }
}
