:root {
  --page-bg: #f4f7f4;
  --surface: #ffffff;
  --surface-soft: #f8faf8;
  --text: #17231c;
  --muted: #667069;
  --border: #dfe7e1;
  --brand: #0d5b31;
  --brand-dark: #094824;
  --brand-soft: #e6f2ea;
  --brand-pale: #f0f7f2;
  --shadow-sm: 0 10px 30px rgba(21, 52, 34, 0.07);
  --shadow-md: 0 22px 60px rgba(21, 52, 34, 0.14);
  --radius-md: 22px;
  --radius-lg: 30px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 18%, rgba(76, 145, 99, 0.09), transparent 25%),
    linear-gradient(180deg, #fbfcfb 0%, var(--page-bg) 62%, #f1f5f2 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  display: block;
}

/* ---------------------------------------------------------
   Existing header appearance retained
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 94px;
  border-top: 1px solid #dce3de;
  border-bottom: 1px solid #d7e4da;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  width: min(calc(100% - 40px), var(--container));
  min-height: 93px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 92px;
  height: 54px;
  object-fit: contain;
}


.nav-right {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.nav-right .nav-links {
  flex: 1;
}

.profile-menu {
  position: relative;
  z-index: 110;
  flex: 0 0 auto;
}

.profile-menu-button {
  display: inline-flex;
  min-width: 54px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px 8px 3px 4px;
  border: 1px solid #d7e4da;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(21, 52, 34, 0.08);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.profile-menu-button:hover,
.profile-menu-button[aria-expanded="true"] {
  border-color: #9fc4aa;
  box-shadow: 0 8px 22px rgba(21, 52, 34, 0.13);
  transform: translateY(-1px);
}

.profile-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #0d6a3b, #17854c);
}

.profile-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-initials {
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.profile-avatar-fallback {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-menu-chevron {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.profile-menu-button[aria-expanded="true"] .profile-menu-chevron {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 184px;
  padding: 7px;
  border: 1px solid #dce6df;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(21, 52, 34, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.profile-dropdown[hidden] {
  display: none;
}

.profile-dropdown::before {
  position: absolute;
  top: -5px;
  right: 20px;
  width: 9px;
  height: 9px;
  border-top: 1px solid #dce6df;
  border-left: 1px solid #dce6df;
  background: #ffffff;
  content: "";
  transform: rotate(45deg);
}

.profile-dropdown-item {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.profile-dropdown-item svg {
  width: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-dropdown-item:hover,
.profile-dropdown-item:focus-visible {
  color: var(--brand-dark);
  background: var(--brand-pale);
}

.profile-dropdown-logout {
  color: #8b2e2e;
}

.profile-dropdown-logout:hover,
.profile-dropdown-logout:focus-visible {
  color: #7b1f1f;
  background: #fff0f0;
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  white-space: nowrap;
}

.nav-links a {
  padding: 3px 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: #158149;
}

.nav-links a.active {
  border-bottom: 1px solid var(--brand-dark);
}

.nav-links a.disabled {
  color: #91ad9b;
  cursor: default;
  pointer-events: none;
}


/* Main page */
.page {
  width: min(calc(100% - 40px), 1320px);
  margin: 0 auto;
  padding: 34px 0 84px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 12%, rgba(185, 226, 194, 0.34), transparent 34%),
    linear-gradient(135deg, #082c1b 0%, #0d4b2b 54%, #176c3c 100%);
  box-shadow: var(--shadow-md);
}

.hero::before {
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(255, 255, 255, 0.035),
    0 0 0 116px rgba(255, 255, 255, 0.022);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  gap: 36px;
  align-items: stretch;
  padding: clamp(32px, 5vw, 66px);
}

.hero-copy {
  align-self: center;
  max-width: 740px;
}



.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-description {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
}








.hero-panel {
  align-self: stretch;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}





.capability-list {
  display: grid;
}

.capability-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-item:last-child {
  border-bottom: 0;
}

.capability-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.capability-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-item strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
}

.capability-item p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.45;
}

.platform-section {
  padding-top: 60px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.section-kicker {
  margin: 0 0 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading > p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.quick-card {
  --card-accent: var(--brand);
  --card-soft: var(--brand-soft);

  position: relative;
  display: flex;
  min-height: 255px;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.quick-card::after {
  position: absolute;
  right: -65px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 15%, transparent), transparent 68%);
  content: "";
  transition: transform 250ms ease;
}

a.quick-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 30%, transparent);
  box-shadow: 0 22px 50px rgba(21, 52, 34, 0.13);
  transform: translateY(-5px);
}

a.quick-card:hover::after {
  transform: scale(1.18);
}

.quick-card[data-accent="forest"] {
  --card-accent: #0d6a3b;
  --card-soft: #e7f4eb;
}

.quick-card[data-accent="teal"] {
  --card-accent: #147a70;
  --card-soft: #e4f4f2;
}

.quick-card[data-accent="lime"] {
  --card-accent: #668b27;
  --card-soft: #eff5e3;
}

.quick-card[data-accent="blue"] {
  --card-accent: #376e9d;
  --card-soft: #e8f0f7;
}

.quick-card[data-accent="orange"] {
  --card-accent: #bd6b2c;
  --card-soft: #fff0e5;
}

.quick-card[data-accent="gold"] {
  --card-accent: #9b7817;
  --card-soft: #fbf4dc;
}

.quick-card[data-accent="purple"] {
  --card-accent: #715b93;
  --card-soft: #f0ebf6;
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 31px;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--card-accent);
  background: var(--card-soft);
}

.card-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

a.quick-card:hover .card-arrow {
  border-color: color-mix(in srgb, var(--card-accent) 38%, transparent);
  color: var(--card-accent);
  transform: rotate(9deg);
}

.card-category {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: var(--card-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.quick-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.quick-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}


.disabled-card {
  cursor: default;
}

.coming-soon {
  position: relative;
  z-index: 1;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 18%, transparent);
  border-radius: 999px;
  color: var(--card-accent);
  background: var(--card-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 40px), 1320px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 25px 0 35px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.site-footer span {
  text-align: right;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(13, 91, 49, 0.25);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .nav {
    width: min(calc(100% - 28px), 1080px);
    gap: 24px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 11px;
  }

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

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0 13px;
  }

  .nav-right {
    width: 100%;
    gap: 10px;
  }

  .nav-links {
    width: auto;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 16px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .profile-menu {
    align-self: flex-start;
  }

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

  .hero-panel {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  html,
  body.platform-home {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .page {
    width: min(calc(100% - 26px), 1320px);
    padding: 18px 0 60px;
  }

  .hero-content {
    gap: 24px;
    padding: 27px 21px 22px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 10.5vw, 46px);
    letter-spacing: -0.045em;
    line-height: 1.04;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-description {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-panel {
    padding: 18px;
  }

  .section-heading {
    display: block;
    margin-bottom: 20px;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .quick-card {
    min-width: 0;
    min-height: 218px;
    padding: 19px;
    border-radius: 19px;
  }

  .card-top {
    margin-bottom: 24px;
  }

  .card-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }

  .card-icon svg {
    width: 21px;
  }

  .quick-card h3 {
    max-width: 100%;
    font-size: 19px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .quick-card p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.58;
  }

  .platform-section {
    padding-top: 43px;
  }

  .site-footer {
    width: min(calc(100% - 26px), 1320px);
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer span {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .brand-logo {
    width: 86px;
  }

  .hero-panel {
    display: none;
  }
}

@media (max-width: 360px) {
  .page {
    width: calc(100% - 20px);
  }

  .hero {
    border-radius: 22px;
  }

  .hero-content {
    padding: 23px 18px 20px;
  }

  .hero h1 {
    font-size: clamp(30px, 10vw, 36px);
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .quick-card {
    min-height: 208px;
    padding: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


@media (max-width: 560px) {
  .profile-menu-button {
    min-width: 42px;
    width: 42px;
    padding: 3px;
  }

  .profile-menu-chevron {
    display: none;
  }

  .profile-dropdown {
    position: fixed;
    top: 112px;
    right: 13px;
  }

  .profile-dropdown::before {
    display: none;
  }
}

