/* MedaNexa clean design system */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --ink: #445368;
  --ink-soft: #536276;
  --muted: #748196;
  --paper: #f5f3ed;
  --paper-deep: #e9eee8;
  --white: #fff;
  --lime: #c5ef62;
  --lime-deep: #709923;
  --blue: #b9e9f2;
  --violet: #d9d3ff;
  --line: rgba(16, 23, 36, .13);
  --line-soft: rgba(16, 23, 36, .08);
  --shadow: 0 24px 70px rgba(31, 42, 56, .12);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.language-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img, svg, video, canvas { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--lime); }

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 18px;
  z-index: 300;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
}
.skip-link:focus { top: 14px; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 0;
  height: 3px;
  background: var(--lime-deep);
  box-shadow: 0 0 16px rgba(112, 153, 35, .4);
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 88px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(245, 243, 237, .88);
  box-shadow: 0 8px 28px rgba(31, 42, 56, .05);
  backdrop-filter: blur(18px);
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 88px;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  text-decoration: none;
}
.brand-logo {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain;
}
.brand::after { display: none !important; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.nav-link,
.nav-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active,
.nav-summary:hover,
.nav-summary:focus-visible,
.nav-group.is-open > .nav-summary {
  outline: none;
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .72);
  transform: translateY(-1px);
}
.nav-link.is-active { box-shadow: inset 0 -2px 0 var(--lime-deep); }
.nav-link__label { white-space: nowrap; text-align: center; }
.nav-group { position: relative; }
.nav-summary { width: auto; }
.nav-summary-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(112, 153, 35, .28);
  border-radius: 50%;
  background: rgba(197, 239, 98, .2);
  transition: transform .2s ease, background .2s ease;
}
.nav-summary-icon svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.nav-group.is-open .nav-summary-icon {
  transform: rotate(180deg);
  background: rgba(197, 239, 98, .55);
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  width: 270px;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity .2s ease, transform .24s var(--ease);
}
.nav-group.is-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-sub-link {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.nav-sub-link:hover,
.nav-sub-link:focus-visible {
  outline: none;
  background: #edf4df;
  transform: translateY(-1px);
}
.nav-sub-link small {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-sub-link__label {
  overflow-wrap: anywhere;
  font-weight: 700;
}

/* Header controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switcher { position: relative; display: inline-flex; align-items: center; }
.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 54px;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .7);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.lang-switcher-toggle:hover,
.lang-switcher-toggle:focus-visible,
.lang-switcher.is-open .lang-switcher-toggle {
  outline: none;
  border-color: rgba(112, 153, 35, .4);
  background: var(--white);
  transform: translateY(-1px);
}
.lang-switcher-toggle__flag,
.lang-switcher-item__flag {
  width: 28px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(16, 23, 36, .16);
}
.lang-switcher-toggle__caret {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  font-size: .7rem;
}
.lang-switcher-toggle__caret svg { width: 10px; height: 10px; }
.lang-switcher.is-open .lang-switcher-toggle__caret { transform: rotate(180deg); }
.lang-switcher-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(650px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 80px rgba(31, 42, 56, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .2s ease, transform .24s var(--ease), visibility 0s linear .24s;
}
.lang-switcher.is-open .lang-switcher-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.lang-switcher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-height: min(62vh, 500px);
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: none;
  scrollbar-color: #9da9a0 transparent;
}
.lang-switcher-grid::-webkit-scrollbar { width: 7px; }
.lang-switcher-grid::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #9da9a0;
}
.lang-switcher-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 62px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--ink-soft);
  background: #f3f5f3;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.lang-switcher-item:hover,
.lang-switcher-item:focus-visible {
  outline: none;
  color: var(--ink);
  border-color: rgba(112, 153, 35, .25);
  background: #edf4df;
  transform: translateY(-1px);
}
.lang-switcher-item.is-active {
  color: var(--ink);
  border-color: rgba(112, 153, 35, .2);
  background: var(--lime);
}
.lang-switcher-item__name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}
.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  border-radius: 99px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}

/* Shared */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { font-family: "Sora", sans-serif; }
h1, h2, h3 { letter-spacing: -.055em; }
.section { padding: 112px 0; }
.section-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--lime-deep);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.surface-card,
.value-card,
.info-card,
.app-card,
.app-roadmap,
.timeline-item,
.policy-section-card,
.page-aside,
.contact-panel {
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 14px 40px rgba(31, 42, 56, .06);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover, .button:focus-visible { outline: none; transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 13px 28px rgba(112, 153, 35, .18); }
.button-primary:hover, .button-primary:focus-visible { box-shadow: 0 17px 36px rgba(112, 153, 35, .25); }
.button-ghost, .button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .58); }
.button-ghost:hover, .button-secondary:hover, .button-ghost:focus-visible, .button-secondary:focus-visible { border-color: rgba(16, 23, 36, .25); background: var(--white); }
.button-light { color: var(--ink); background: var(--white); }

/* Home hero */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 102px 0 84px;
  background:
    radial-gradient(circle at 82% 18%, rgba(185, 233, 242, .65), transparent 30%),
    radial-gradient(circle at 8% 85%, rgba(197, 239, 98, .28), transparent 27%),
    linear-gradient(135deg, #f8f7f2 0%, #eff5f0 100%);
}
.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .28;
  background-image: linear-gradient(rgba(16, 23, 36, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 23, 36, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  gap: 70px;
}
.home-hero-copy { max-width: 690px; }
.eyebrow { color: var(--muted); }
.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(197, 239, 98, .18);
}
.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 7.6vw, 7.5rem);
  line-height: .92;
}
.home-hero h1 em, .final-cta h2 em { color: var(--lime-deep); font-style: normal; }
.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-proof div { display: grid; grid-template-columns: auto 1fr; gap: 9px; }
.hero-proof strong { color: var(--lime-deep); font-size: .76rem; }
.hero-proof span { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.hero-product {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.orbit { position: absolute; border: 1px solid rgba(112, 153, 35, .22); border-radius: 50%; }
.orbit-one { width: 510px; height: 510px; transform: rotate(-17deg); }
.orbit-two { width: 375px; height: 375px; border-color: rgba(89, 160, 186, .28); transform: rotate(24deg); }
.product-console {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  padding: 14px;
  border: 1px solid rgba(16, 23, 36, .13);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 28px 60px rgba(31, 42, 56, .16);
  backdrop-filter: blur(12px);
}
.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 15px;
  color: #dbe4ef;
  background: var(--ink);
  font-size: .66rem;
  font-weight: 700;
}
.console-bar b { color: var(--lime); }
.console-body {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 15px;
  background: #e7f4f2;
}
.console-side { display: grid; gap: 7px; }
.console-side span, .console-side b { min-height: 10px; border-radius: 99px; background: rgba(16, 23, 36, .13); }
.console-side b { background: var(--lime-deep); }
.console-main {
  display: grid;
  align-content: center;
  min-height: 295px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(217,239,239,.8));
}
.console-main small { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.console-main strong { margin-top: 10px; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1; }
.console-main i { display: block; width: 80%; height: 9px; margin-top: 24px; border-radius: 99px; background: var(--lime); }
.floating-label {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border: 1px solid rgba(16, 23, 36, .12);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 10px 24px rgba(31, 42, 56, .1);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.label-build { top: 12%; right: 0; }
.label-istanbul { bottom: 15%; left: 0; }

/* Products */
.products-section { background: var(--paper); }
.section-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}
.section-intro.compact { display: block; }
.section-intro h2, .section-head h2 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(2.3rem, 4.7vw, 4.7rem);
  line-height: .98;
}
.section-intro > p { max-width: 500px; margin: 0; color: var(--muted); }
.product-showcase { display: grid; gap: 16px; }
.project-card {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #f9faf5;
  box-shadow: 0 16px 42px rgba(31, 42, 56, .08);
}
.project-card:nth-child(2) { background: #eff6f9; }
.project-copy { display: flex; flex-direction: column; padding: 35px; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.live-badge { color: var(--lime-deep); }
.live-badge i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; }
.project-copy h3 { margin: auto 0 18px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .88; }
.project-copy p { max-width: 370px; margin: 0; color: var(--muted); }
.project-cta { display: inline-flex; align-items: center; gap: 12px; width: fit-content; margin-top: 24px; color: var(--ink); font-size: .82rem; font-weight: 800; }
.project-cta-icon {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.project-cta-icon::before { width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; content: ""; transform: rotate(45deg); transition: transform .22s var(--ease); }
.clayvia-visual, .energy-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 30px;
  background: linear-gradient(135deg, #d7f1ed, #f6f8f1);
}
.energy-visual { background: linear-gradient(135deg, #d7eefa, #ebf5df); }
.media-window, .energy-dashboard {
  width: min(100%, 430px);
  padding: 15px;
  border: 1px solid rgba(16, 23, 36, .13);
  border-radius: 15px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(31, 42, 56, .13);
}
.media-top, .energy-head { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: .7rem; font-weight: 800; }
.media-top i { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--lime-deep); }
.media-screen {
  position: relative;
  display: grid;
  min-height: 250px;
  margin-top: 13px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #13243b, #2d5169);
}
.play-button { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); }
.media-screen > span { position: absolute; right: 12px; bottom: 10px; color: #fff; font-size: .68rem; }
.media-screen b { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--lime); }
.media-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); font-size: .7rem; }
.media-controls div { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.media-controls div b { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--lime-deep); }
.energy-number { display: grid; gap: 8px; margin-top: 28px; }
.energy-number small { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.energy-number strong { font-size: 3.4rem; line-height: 1; }
.energy-number em { color: var(--muted); font-size: .9rem; font-style: normal; }
.energy-number span { color: var(--lime-deep); font-weight: 800; }
.energy-chart { margin-top: 24px; border-top: 1px solid var(--line); }
.energy-chart svg { width: 100%; height: 130px; }
.energy-legend { display: flex; justify-content: space-between; color: var(--muted); font-size: .65rem; }

/* Expertise and manifesto */
.expertise-section { background: var(--paper-deep); }
.expertise-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 290px 290px;
  gap: 14px;
}
.expertise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 28px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
}
.expertise-card:nth-child(2) { background: var(--violet); }
.expertise-card:nth-child(3) { background: var(--blue); }
.expertise-card:nth-child(4) { background: var(--ink); color: #fff; }
.expertise-large { grid-row: span 2; }
.expertise-wide { grid-column: 1 / -1; }
.expertise-no { color: var(--muted); font-size: .7rem; font-weight: 800; }
.expertise-card h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.expertise-card p { max-width: 440px; margin: 10px 0 0; color: inherit; opacity: .72; }
.expertise-symbol { display: flex; gap: 8px; }
.expertise-symbol i { width: 48px; height: 48px; border: 2px solid var(--lime-deep); border-radius: 50%; }
.expertise-symbol i:nth-child(2) { transform: translateY(15px); }
.design-glyph { font-family: Georgia, serif; font-size: 4rem; line-height: 1; }
.design-glyph span { color: var(--lime-deep); font-family: "Plus Jakarta Sans", sans-serif; font-size: .8rem; }
.progress-line { display: flex; align-items: end; gap: 6px; height: 52px; }
.progress-line i, .progress-line b { display: block; width: 12px; border-radius: 99px; background: var(--lime); }
.progress-line i:nth-child(1) { height: 20%; }
.progress-line i:nth-child(2) { height: 42%; }
.progress-line i:nth-child(3) { height: 67%; }
.progress-line i:nth-child(4) { height: 82%; }
.progress-line b { height: 100%; }
.manifesto-section { color: #fff; background: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; }
.manifesto-grid blockquote { max-width: 900px; margin: 0; font-family: "Sora", sans-serif; font-size: clamp(2.4rem, 5.6vw, 6rem); letter-spacing: -.06em; line-height: .96; }
.manifesto-grid blockquote em { color: var(--lime); font-style: normal; }
.manifesto-grid p { max-width: 650px; margin: 28px 0 0; color: #aab5c3; }
.text-link { display: inline-flex; gap: 9px; margin-top: 24px; color: var(--lime); font-weight: 800; text-decoration: none; }

/* CTA and inner pages */
.final-cta-section { background: var(--paper); }
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border-radius: 30px;
  background: linear-gradient(115deg, #dff0d9, #d8f0f2);
}
.final-cta h2 { max-width: 860px; margin: 0; font-size: clamp(2.7rem, 6vw, 6.2rem); line-height: .94; }
.final-cta > p:not(.section-kicker) { max-width: 560px; margin: 22px 0 0; color: var(--muted); }
.final-cta .button { margin-top: 28px; }
.cta-orb { position: absolute; right: 5%; top: 50%; width: 260px; height: 260px; border: 1px solid rgba(16, 23, 36, .16); border-radius: 50%; transform: translateY(-50%); }
.cta-orb::before, .cta-orb::after { position: absolute; inset: 28px; border: inherit; border-radius: inherit; content: ""; }
.cta-orb::after { inset: 70px; border: 0; background: var(--lime); box-shadow: 0 0 70px rgba(112, 153, 35, .3); }
.page-hero, .hero:not(.home-hero) {
  position: relative;
  overflow: hidden;
  padding: 94px 0 84px;
  background: radial-gradient(circle at 88% 12%, rgba(185,233,242,.6), transparent 32%), linear-gradient(135deg, #f8f7f2, #edf4ed);
}
.page-hero .hero-grid, .hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 64px; align-items: center; }
.page-hero h1, .hero:not(.home-hero) h1 { max-width: 800px; margin: 0; font-size: clamp(3rem, 6vw, 6.8rem); line-height: .93; }
.page-hero h1 em, .hero:not(.home-hero) h1 em { color: var(--lime-deep); font-style: normal; }
.page-hero .hero-lead, .hero:not(.home-hero) .hero-lead { max-width: 680px; }
.hero-visual { min-height: 360px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.55); box-shadow: var(--shadow); }
.section-head { max-width: 820px; margin-bottom: 38px; }
.section-head > p:not(.section-kicker) { max-width: 650px; color: var(--muted); }
.grid-3, .grid-4, .values-grid, .info-grid, .app-launch-grid, .app-roadmap-grid { display: grid; gap: 14px; }
.grid-3, .values-grid, .app-roadmap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-grid, .app-launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.surface-card, .value-card, .info-card, .app-card, .app-roadmap, .timeline-item, .policy-section-card, .page-aside { padding: 28px; }
.surface-card h2, .surface-card h3, .value-card h3, .info-card h3, .app-card h3, .app-roadmap h3 { margin: 0; line-height: 1.05; }
.surface-card p, .value-card p, .info-card p, .app-card p, .app-roadmap p, .timeline-item p, .page-aside p { color: var(--muted); }
.split { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 18px; }
.sticky-card, .policy-aside { position: sticky; top: 112px; }
.sticky-card h3 { margin: 0; font-size: 2rem; }
.check-list { display: grid; gap: 11px; margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 9px; color: var(--muted); }
.check-list li::before { content: "->"; color: var(--lime-deep); font-weight: 800; }
.timeline, .policy-stack { display: grid; gap: 12px; }
.timeline-item { display: grid; grid-template-columns: 50px 1fr; gap: 16px; }
.timeline-item > strong { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); }
.tag, .pill, .policy-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.52); font-size: .72rem; font-weight: 800; }
.policy-section-card h2 { margin-top: 0; }
.policy-section-card + .policy-section-card { margin-top: 12px; }
.contact-panel { padding: 42px; background: linear-gradient(135deg, #e6f3db, #dff1f2); }
.contact-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: .98; }
.error-shell { display: grid; min-height: calc(100vh - 176px); padding: 70px 24px; place-items: center; }
.error-card { width: min(760px, 100%); padding: 56px; text-align: center; }
.error-code { color: var(--lime-deep); font-family: "Sora", sans-serif; font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: .8; }
.error-card h1 { margin: 30px 0 12px; font-size: 2.4rem; }
.error-card p { color: var(--muted); }

/* Footer and motion */
footer { padding: 66px 0 24px; border-top: 1px solid var(--line-soft); background: #e9eee8; }
.footer-main { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: start; gap: 34px; padding-bottom: 44px; }
.footer-brand { display: inline-flex; width: 64px; height: 64px; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; }
.footer-main > p { max-width: 360px; margin: 0; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; justify-self: end; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--lime-deep); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.footer-inner span:last-child { display: flex; align-items: center; gap: 8px; }
.footer-inner i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime-deep); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1060px) {
  .container { width: min(var(--container), calc(100% - 44px)); }
  .site-nav { gap: 0; }
  .nav-link, .nav-summary { padding-inline: 10px; font-size: .86rem; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-hero-copy { max-width: 760px; }
  .hero-product { min-height: 430px; }
  .page-hero .hero-grid, .hero .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
}
@media (max-width: 1024px) {
  .site-header, .header-inner { min-height: 76px; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand, .brand-logo { width: 52px !important; height: 52px !important; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: min(350px, calc(100vw - 30px));
    max-height: calc(100dvh - 104px);
    gap: 4px;
    padding: 13px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .2s ease, transform .24s var(--ease), visibility 0s linear .24s;
  }
  .site-header.nav-open .site-nav, body.nav-open .site-nav, .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .site-nav > * { width: 100%; }
  .nav-link, .nav-summary { justify-content: space-between; width: 100%; min-height: 48px; padding: 12px; border-radius: 13px; font-size: .98rem; }
  .nav-link__label { flex: 1; text-align: center; white-space: nowrap; }
  .nav-group { display: block; }
  .nav-submenu { position: static; width: auto; max-height: 0; margin: 0 6px; padding: 0 7px; overflow: hidden; border-radius: 15px; opacity: 0; transform: none; transition: max-height .24s ease, opacity .2s ease, padding .24s ease, margin .24s ease; }
  .nav-group.is-open .nav-submenu { max-height: 220px; margin: 6px; padding: 7px; opacity: 1; }
  .nav-toggle { display: grid; }
  .site-header.nav-open .nav-toggle span:nth-child(1), body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2), body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3), body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .lang-switcher-panel { position: fixed; top: 86px; right: 15px; width: min(650px, calc(100vw - 30px)); }
  .lang-switcher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: calc(100dvh - 120px); }
  .section-intro, .manifesto-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .project-card { grid-template-columns: 1fr; }
  .project-copy { min-height: 360px; }
  .clayvia-visual, .energy-visual { min-height: 330px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px 260px; }
  .expertise-large { grid-row: span 2; }
  .expertise-wide { grid-column: 1 / -1; }
  .sticky-card, .policy-aside { position: static; }
  .grid-3, .values-grid, .app-roadmap-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > p { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 30px, var(--container)); }
  .site-header, .header-inner { min-height: 70px; }
  .brand, .brand-logo { width: 48px !important; height: 48px !important; }
  .header-actions { gap: 6px; }
  .lang-switcher-toggle { min-width: 46px; min-height: 40px; padding-inline: 7px; }
  .lang-switcher-toggle__flag { width: 25px; height: 18px; }
  .nav-toggle { width: 42px; height: 42px; }
  .home-hero { padding: 72px 0 60px; }
  .home-hero h1 { font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { gap: 17px; margin-top: 38px; }
  .hero-product { min-height: 360px; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 260px; height: 260px; }
  .product-console { width: calc(100% - 4px); }
  .console-main { min-height: 225px; }
  .floating-label { font-size: .58rem; }
  .label-build { top: 2%; right: -4px; }
  .label-istanbul { bottom: 4%; left: -4px; }
  .section { padding: 78px 0; }
  .section-intro h2, .section-head h2 { font-size: clamp(2.3rem, 11vw, 4rem); }
  .project-copy { min-height: 330px; padding: 25px; }
  .project-copy h3 { margin-top: auto; font-size: 3.6rem; }
  .clayvia-visual, .energy-visual { padding: 18px; }
  .media-screen { min-height: 190px; }
  .energy-number strong { font-size: 2.7rem; }
  .expertise-grid { display: flex; flex-direction: column; }
  .expertise-card { min-height: 230px; }
  .expertise-wide { min-height: 250px; }
  .final-cta { padding: 34px 25px; }
  .cta-orb { width: 170px; height: 170px; right: -52px; opacity: .55; }
  .cta-orb::before { inset: 19px; }
  .cta-orb::after { inset: 50px; }
  .page-hero, .hero:not(.home-hero) { padding: 70px 0 60px; }
  .page-hero h1, .hero:not(.home-hero) h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .grid-3, .grid-4, .values-grid, .info-grid, .app-launch-grid, .app-roadmap-grid { grid-template-columns: 1fr; }
  .surface-card, .value-card, .info-card, .app-card, .app-roadmap, .timeline-item, .policy-section-card, .page-aside { padding: 22px; }
  .contact-panel { padding: 28px 22px; }
  .footer-main { grid-template-columns: 1fr; padding-bottom: 34px; }
  .footer-main > p { grid-column: auto; }
  .footer-links { justify-self: start; width: 100%; }
  .footer-inner { flex-direction: column; gap: 9px; }
  .lang-switcher-panel { top: 76px; right: 8px; width: calc(100vw - 16px); padding: 10px; border-radius: 20px; }
  .lang-switcher-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .lang-switcher-item { min-height: 58px; padding: 8px; }
  .lang-switcher-item__name { font-size: .76rem; }
}
@media (max-width: 400px) {
  .lang-switcher-grid { grid-template-columns: 1fr; }
  .lang-switcher-item { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* Stable header and popup layout. Keep these rules in one place. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
}

body {
  padding-top: 88px;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher-toggle,
.nav-toggle {
  box-sizing: border-box;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 5px 16px rgba(31, 42, 56, .07);
}

.lang-switcher-toggle {
  display: inline-flex;
}

.lang-switcher-toggle__caret {
  display: none !important;
}

.lang-switcher-toggle__flag,
.lang-switcher-item__flag {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 2px;
  border: 1px solid rgba(16, 23, 36, .1);
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.nav-toggle {
  display: none;
  place-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 0;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease, opacity .16s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1),
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2),
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3),
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-link.is-active,
.nav-summary.is-active {
  box-shadow: inset 0 -3px 0 var(--lime-deep);
}

.lang-switcher-panel {
  z-index: 120;
  width: min(650px, calc(100vw - 64px));
  max-width: calc(100vw - 64px);
}

.lang-switcher-grid {
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.lang-switcher-grid::-webkit-scrollbar,
.site-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* The page scrollbar is separate; popup panels never create another slider. */
html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html.menu-open .scroll-progress,
html.language-open .scroll-progress,
body.menu-open .scroll-progress,
body.language-open .scroll-progress {
  display: none !important;
}

.scroll-progress {
  top: 102px !important;
  right: 10px !important;
  bottom: 14px !important;
  left: auto !important;
  width: 14px !important;
  height: auto !important;
  opacity: 0;
  background: transparent !important;
  box-shadow: none !important;
  transition: opacity .2s ease;
}

.scroll-progress::before,
.scroll-progress-track {
  position: absolute;
  inset: 0 4px;
  border-radius: 999px;
}

.scroll-progress::before {
  background: rgba(16, 23, 36, .08);
  content: "";
}

.scroll-progress-thumb {
  position: absolute;
  top: 0;
  left: 2px;
  width: 10px;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8ba848, #5f7f26);
  box-shadow: 0 4px 14px rgba(95, 127, 38, .3);
  cursor: grab;
  touch-action: none;
  transition: transform .12s ease, height .18s ease;
}

html.scroll-visible .scroll-progress,
html.scroll-dragging .scroll-progress {
  opacity: 1;
  pointer-events: auto;
}

html.scroll-dragging .scroll-progress-thumb {
  cursor: grabbing;
  transition: none;
}

/* Do not mutate body position or width while a popup is open. */
html.menu-open,
html.language-open,
body.menu-open,
body.language-open {
  overflow: visible;
  overscroll-behavior: none;
}

@media (max-width: 1024px) {
  body {
    padding-top: 76px;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-header .site-nav {
    position: fixed;
    top: 86px;
    right: 32px;
    left: auto;
    z-index: 110;
    display: grid;
    width: min(320px, calc(100vw - 64px));
    min-width: 0;
    max-width: calc(100vw - 64px);
    max-height: calc(100dvh - 102px);
    gap: 8px;
    margin: 0;
    padding: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .2s ease, transform .24s var(--ease), visibility 0s linear .24s;
  }

  .site-header.nav-open .site-nav,
  body.nav-open .site-nav,
  .site-header .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .site-nav > .nav-link,
  .site-nav > .nav-group {
    width: 100%;
    margin: 0;
  }

  .site-nav .nav-link,
  .site-nav .nav-summary {
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border-radius: 13px;
  }

  .site-nav .nav-link__label {
    flex: 1;
    text-align: center;
    white-space: normal;
  }

  .site-nav .nav-group {
    display: grid;
    min-height: 0;
  }

  .site-nav .nav-submenu,
  .site-nav .nav-group.is-open .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 8px;
    overflow: hidden;
    border-color: transparent;
    border-radius: 15px;
    box-shadow: none;
    opacity: 0;
    transform: none;
    transition: max-height .24s ease, opacity .2s ease, padding .24s ease, margin .24s ease, border-color .2s ease;
  }

  .site-nav .nav-group:not(.is-open) .nav-submenu {
    max-height: 0;
  }

  .site-nav .nav-group.is-open .nav-submenu {
    max-height: 220px;
    margin-top: 8px;
    padding: 8px;
    border-color: var(--line);
    background: #f7f8f4;
    opacity: 1;
  }

  .site-nav .nav-sub-link {
    width: 100%;
    padding: 10px;
  }

  .lang-switcher-panel {
    position: fixed;
    top: 86px;
    right: 32px;
    width: min(650px, calc(100vw - 64px));
    max-width: calc(100vw - 64px);
    max-height: calc(100dvh - 102px);
  }

  .lang-switcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100dvh - 132px);
  }
}

@media (max-width: 620px) {
  body {
    padding-top: 70px;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-switcher-toggle,
  .nav-toggle {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .lang-switcher-toggle__flag,
  .lang-switcher-item__flag {
    width: 29px;
    height: 29px;
  }

  .site-header .site-nav,
  .lang-switcher-panel {
    top: 80px;
    right: 15px;
    width: min(320px, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
    max-height: calc(100dvh - 96px);
  }

  .lang-switcher-panel {
    padding: 10px;
    border-radius: 20px;
  }

  .lang-switcher-grid {
    gap: 7px;
    max-height: calc(100dvh - 116px);
  }

  .lang-switcher-item {
    min-height: 58px;
    padding: 8px;
  }

  .lang-switcher-item__name {
    font-size: .76rem;
  }

  .scroll-progress {
    top: 86px !important;
    right: 6px !important;
    bottom: 10px !important;
  }
}

@media (max-width: 400px) {
  .lang-switcher-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep policy headings visually attached to their own paragraphs. */
.policy-stack {
  display: grid;
  gap: 18px;
}

.policy-section-card > .section-kicker,
.policy-section-card > .tag {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--lime-deep);
  font-family: "Sora", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
}

.policy-section-card > h2,
.policy-section-card > h3 {
  margin: 0 0 14px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  line-height: 1.08;
}

.policy-section-card > p:last-child {
  margin-bottom: 0;
}
/* Final equal control geometry. */
.lang-switcher-toggle,
.nav-toggle {
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
  line-height: 0 !important;
  background: rgba(255, 255, 255, .84) !important;
  box-shadow: 0 5px 16px rgba(31, 42, 56, .07) !important;
}

.lang-switcher-toggle__flag {
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  padding: 2px !important;
  border: 1px solid rgba(16, 23, 36, .1) !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
  box-shadow: none !important;
}

.nav-toggle {
  position: relative !important;
  gap: 0 !important;
}

.nav-toggle span,
.nav-toggle span:nth-child(1),
.nav-toggle span:nth-child(2),
.nav-toggle span:nth-child(3) {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  margin: 0 !important;
  border-radius: 99px !important;
  background: currentColor !important;
  transform: translate(-50%, -50%) !important;
  transition: transform .2s ease, opacity .16s ease !important;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px)) !important;
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px)) !important;
}

.site-header.nav-open .nav-toggle span:nth-child(1),
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.site-header.nav-open .nav-toggle span:nth-child(2),
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0 !important;
}

.site-header.nav-open .nav-toggle span:nth-child(3),
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

@media (max-width: 620px) {
  .lang-switcher-toggle,
  .nav-toggle {
    flex-basis: 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }
}
/* Synchronous page scrollbar and uniform menu strokes. */
.scroll-progress-thumb {
  width: 10px !important;
  height: var(--scroll-thumb-height, 48px);
  min-height: 48px;
  transition: none !important;
  will-change: transform;
}

.nav-toggle span,
.nav-toggle span:nth-child(1),
.nav-toggle span:nth-child(2),
.nav-toggle span:nth-child(3) {
  height: 3px !important;
}
html.scroll-dragging {
  scroll-behavior: auto !important;
}
/* Softer menu tone and stable drag cursor. */
.nav-toggle {
  color: #4d6073 !important;
}

.site-nav .nav-link,
.site-nav .nav-summary {
  color: #4d6073;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-summary:hover,
.site-nav .nav-summary:focus-visible,
.site-nav .nav-group.is-open > .nav-summary {
  color: #304356;
}

.scroll-progress,
.scroll-progress-thumb {
  cursor: grab !important;
}

html.scroll-dragging,
html.scroll-dragging body,
html.scroll-dragging .scroll-progress,
html.scroll-dragging .scroll-progress * {
  cursor: grabbing !important;
}
/* Keep one navigation mode visible at a time. */
.nav-toggle {
  display: none !important;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: grid !important;
  }
}

@media (min-width: 1025px) {
  .site-header .site-nav {
    position: static !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}
/* During a viewport resize, never animate or expose the mobile panel. */
html.is-resizing .site-nav,
html.is-resizing .lang-switcher-panel,
html.is-resizing .nav-toggle span {
  transition: none !important;
}

@media (max-width: 1024px) {
  html.is-resizing .site-header .site-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
  }
}
/* Keep desktop navigation effects visually separated. */
@media (min-width: 1025px) {
  .site-header .site-nav {
    gap: 12px !important;
  }
}
/* Mark the currently selected application inside its submenu. */
.nav-sub-link.is-active {
  color: var(--ink);
  background: #edf4df;
  box-shadow: inset 0 -3px 0 var(--lime-deep);
  transform: none;
}
/* Compact hamburger menu width. */
@media (max-width: 1024px) {
  .site-header .site-nav {
    width: min(240px, calc(100vw - 64px)) !important;
    max-width: calc(100vw - 64px) !important;
  }
}

@media (max-width: 620px) {
  .site-header .site-nav {
    width: min(240px, calc(100vw - 30px)) !important;
    max-width: calc(100vw - 30px) !important;
  }
}
/* Compact language popup width. */
@media (min-width: 1025px) {
  .lang-switcher-panel {
    width: min(520px, calc(100vw - 64px)) !important;
    max-width: calc(100vw - 64px) !important;
  }
}

@media (max-width: 1024px) {
  .lang-switcher-panel {
    width: min(520px, calc(100vw - 64px)) !important;
    max-width: calc(100vw - 64px) !important;
  }
}

@media (max-width: 620px) {
  .lang-switcher-panel {
    width: min(300px, calc(100vw - 30px)) !important;
    max-width: calc(100vw - 30px) !important;
  }
}
/* Prevent hero heading lines from colliding on product pages. */
.page-hero h1,
.hero:not(.home-hero) h1 {
  line-height: 1.06 !important;
}

.policy-rendered-intro {
  max-width: 900px;
}

.policy-rendered-intro h1 {
  margin: 0;
  overflow-wrap: anywhere;
}

.policy-rendered-document {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 52px);
}

.policy-rendered-document h2,
.policy-rendered-document h3 {
  margin: 2.1em 0 .65em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.policy-rendered-document h2:first-child,
.policy-rendered-document h3:first-child {
  margin-top: 0;
}

.policy-rendered-document p,
.policy-rendered-document li {
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.policy-rendered-document p {
  margin: 0 0 1.05em;
}

.policy-rendered-document ul {
  margin: 0 0 1.15em;
  padding-inline-start: 1.25em;
}

.policy-rendered-document li + li {
  margin-top: .5em;
}

.policy-rendered-document strong {
  color: var(--ink);
}

.policy-rendered-document hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.policy-rendered-document code {
  padding: .12em .35em;
  border-radius: 5px;
  background: var(--paper-deep);
  font-size: .92em;
}

html[lang="en"] .policy-rendered-document,
html[lang="en"] .policy-rendered-intro,
html[lang="de"] .policy-rendered-document,
html[lang="de"] .policy-rendered-intro {
  text-transform: none;
  font-variant: normal;
}

@media (max-width: 620px) {
  .page-hero h1,
  .hero:not(.home-hero) h1 {
    line-height: 1.04 !important;
  }
}
/* The full policy document must never be hidden by the generic reveal animation. */
.policy-rendered-document,
.policy-rendered-document.reveal,
.policy-rendered-document.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/* Use the full MedaNexa logo in page headers; favicon links stay unchanged. */
.brand {
  width: 116px;
  height: 58px;
  justify-content: flex-start;
}

.brand-logo {
  width: 116px !important;
  height: 58px !important;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 1024px) {
  .brand {
    width: 100px;
    height: 52px;
  }

  .brand-logo {
    width: 100px !important;
    height: 52px !important;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 88px;
    height: 46px;
  }

  .brand-logo {
    width: 88px !important;
    height: 46px !important;
  }
}
/* Slightly larger full logo scale. */
.brand {
  width: 132px;
  height: 64px;
}

.brand-logo {
  width: 124px !important;
  height: 64px !important;
}

@media (max-width: 1024px) {
  .brand {
    width: 112px;
    height: 58px;
  }

  .brand-logo {
    width: 112px !important;
    height: 58px !important;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 100px;
    height: 52px;
  }

  .brand-logo {
    width: 100px !important;
    height: 52px !important;
  }
}
/* Larger full logo scale. */
.brand {
  width: 150px;
  height: 70px;
}

.brand-logo {
  width: 150px !important;
  height: 70px !important;
}

@media (max-width: 1024px) {
  .brand {
    width: 125px;
    height: 64px;
  }

  .brand-logo {
    width: 125px !important;
    height: 64px !important;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 110px;
    height: 58px;
  }

  .brand-logo {
    width: 110px !important;
    height: 58px !important;
  }
}
/* Footer layout refinements. */
.footer-brand {
  width: 140px;
  height: 104px;
}

.footer-brand img {
  width: 140px;
  height: 104px;
  object-fit: contain;
}

.footer-links {
  grid-template-columns: repeat(4, max-content);
  gap: 10px 22px;
}

.footer-inner {
  padding-right: 18px;
}

@media (max-width: 620px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-right: 0;
  }
}
/* Center the footer brand block on narrow screens only. */
@media (max-width: 760px) {
  .footer-main {
    justify-items: center;
    text-align: center;
  }

  .footer-main > p {
    margin-inline: auto;
  }

  .footer-links {
    justify-self: center;
    justify-content: center;
  }
}

/* Fully center footer content when the layout no longer fits horizontally. */
@media (max-width: 760px) {
  .footer-main {
    justify-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-brand,
  .footer-main > p,
  .footer-links {
    justify-self: center;
    margin-inline: auto;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-links a {
    text-align: center;
  }

  .footer-inner {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-right: 0;
  }

  .footer-inner span,
  .footer-inner span:last-child {
    justify-content: center;
  }
}

/* Tablet and small screens: keep every footer element on the same center axis. */
@media (max-width: 1060px) {
  .footer-main {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 24px !important;
  }

  .footer-brand,
  .footer-main > p,
  .footer-links {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    margin-inline: auto !important;
  }

  .footer-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .footer-main > p {
    max-width: min(440px, 100%) !important;
  }

  .footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px 28px !important;
    text-align: center !important;
  }

  .footer-links a {
    text-align: center !important;
  }

  .footer-inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding-right: 0 !important;
    text-align: center !important;
  }

  .footer-inner span,
  .footer-inner span:last-child {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Desktop footer: vertically center the three-column content. */
@media (min-width: 1061px) {
  .footer-main {
    align-items: center !important;
  }

  .footer-brand,
  .footer-main > p,
  .footer-links {
    align-self: center !important;
  }

  .footer-links {
    align-items: center !important;
  }
}

/* Sharper circular flags inside the existing language controls. */
.lang-switcher-toggle__flag,
.lang-switcher-item__flag,
.lang-switch img {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 1px solid rgba(16, 23, 36, .12) !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #fff !important;
  box-shadow: 0 2px 7px rgba(16, 23, 36, .16) !important;
  image-rendering: auto;
  overflow: hidden;
}

/* Circle flag assets: keep the symbol centered and fully visible. */
.lang-switcher-toggle__flag,
.lang-switcher-item__flag,
.lang-switch img {
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 1px solid rgba(16, 23, 36, .12) !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
  box-shadow: 0 2px 7px rgba(16, 23, 36, .16) !important;
}

/* Brand-safe text and roomier hero typography. */
.brand-token {
  text-transform: none !important;
  font-variant-ligatures: none;
}

.section-kicker .brand-token {
  letter-spacing: .08em;
}

.page-hero h1,
.hero:not(.home-hero) h1 {
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

.page-hero h1 em,
.hero:not(.home-hero) h1 em {
  display: inline-block;
  padding-top: .04em;
}

@media (max-width: 620px) {
  .page-hero h1,
  .hero:not(.home-hero) h1 {
    line-height: 1.2 !important;
  }
}

/* Lightweight continuous content motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-product,
  .media-window,
  .energy-dashboard {
    animation: meda-soft-float 8s ease-in-out infinite;
    will-change: transform;
  }

  .media-window {
    animation-delay: -.8s;
  }

  .energy-dashboard {
    animation-delay: -1.6s;
  }

  .play-button,
  .live-badge i,
  .policy-badge::before {
    animation: meda-soft-pulse 2.8s ease-in-out infinite;
  }

  .media-screen b,
  .console-main i {
    transform-origin: left center;
    animation: meda-progress-breathe 3.8s ease-in-out infinite;
    will-change: transform, opacity;
  }

  .orbit-one {
    animation: meda-orbit-drift 18s linear infinite;
    will-change: transform;
  }

  .orbit-two {
    animation: meda-orbit-drift 24s linear infinite reverse;
    will-change: transform;
  }

  .project-card,
  .app-card,
  .info-card,
  .value-card,
  .surface-card:not(.policy-rendered-document) {
    transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
  }

  .project-card:hover,
  .app-card:hover,
  .info-card:hover,
  .value-card:hover,
  .surface-card:not(.policy-rendered-document):hover {
    transform: translateY(-5px);
  }
}

@keyframes meda-soft-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes meda-soft-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: .82; }
}

@keyframes meda-progress-breathe {
  0%, 100% { transform: scaleX(.84); opacity: .78; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes meda-orbit-drift {
  0% { transform: rotate(0deg) translate3d(0, 0, 0); }
  100% { transform: rotate(360deg) translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product,
  .media-window,
  .energy-dashboard,
  .play-button,
  .live-badge i,
  .policy-badge::before,
  .media-screen b,
  .console-main i,
  .orbit-one,
  .orbit-two {
    animation: none !important;
    will-change: auto !important;
  }
}

/* Roomier card typography: prevent headings and body text from touching. */
.app-card h3,
.info-card h3,
.value-card h3,
.surface-card h3,
.app-roadmap h3,
.policy-section-card h2,
.policy-section-card h3 {
  margin: 0 0 12px !important;
  line-height: 1.24 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

.app-card p,
.info-card p,
.value-card p,
.surface-card p,
.app-roadmap p,
.policy-section-card p {
  margin-top: 0 !important;
  line-height: 1.72 !important;
  letter-spacing: 0 !important;
}

.app-card .tag,
.info-card .tag,
.value-card .tag,
.policy-section-card .tag {
  margin-bottom: 12px !important;
}

/* Site-wide readable text rhythm: remove squeezed headline/card spacing. */
.section-intro h2,
.section-head h2,
.contact-panel h2,
.final-cta h2,
.manifesto-grid blockquote,
.project-copy h3,
.expertise-card h3,
.timeline-item h2,
.sticky-card h3,
.page-aside h3,
.hero-panel h1,
.hero-panel h2,
.service-card h3,
.feature-card h3,
.surface-card h2,
.surface-card h3,
.value-card h3,
.info-card h3,
.app-card h3,
.app-roadmap h3,
.policy-section-card h2,
.policy-section-card h3 {
  letter-spacing: 0 !important;
  word-spacing: .035em;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.section-intro h2,
.section-head h2,
.contact-panel h2,
.final-cta h2,
.manifesto-grid blockquote {
  line-height: 1.14 !important;
}

.contact-panel h2 {
  max-width: 980px;
  margin-bottom: 18px !important;
  text-wrap: balance;
}

.project-copy h3,
.expertise-card h3,
.timeline-item h2,
.sticky-card h3,
.page-aside h3 {
  line-height: 1.18 !important;
}

.app-card h3,
.info-card h3,
.value-card h3,
.service-card h3,
.feature-card h3,
.surface-card h2,
.surface-card h3,
.app-roadmap h3,
.policy-section-card h2,
.policy-section-card h3 {
  margin-bottom: 16px !important;
  line-height: 1.32 !important;
}

.app-card p,
.info-card p,
.value-card p,
.service-card p,
.feature-card p,
.surface-card p,
.app-roadmap p,
.timeline-item p,
.page-aside p,
.contact-panel p:not(.section-kicker),
.policy-section-card p,
.policy-section-card li {
  line-height: 1.78 !important;
  letter-spacing: 0 !important;
  word-spacing: .015em;
}

.app-card .tag,
.info-card .tag,
.value-card .tag,
.service-card .tag,
.feature-card .tag,
.surface-card .tag,
.policy-section-card .tag,
.app-card .section-kicker,
.info-card .section-kicker,
.value-card .section-kicker,
.service-card .section-kicker,
.feature-card .section-kicker,
.surface-card .section-kicker,
.policy-section-card .section-kicker {
  margin-bottom: 14px !important;
}

@media (max-width: 620px) {
  .contact-panel h2,
  .final-cta h2,
  .manifesto-grid blockquote,
  .section-intro h2,
  .section-head h2 {
    line-height: 1.18 !important;
  }

  .app-card h3,
  .info-card h3,
  .value-card h3,
  .service-card h3,
  .feature-card h3,
  .surface-card h2,
  .surface-card h3,
  .app-roadmap h3,
  .policy-section-card h2,
  .policy-section-card h3 {
    line-height: 1.36 !important;
  }
}

/* Animated profile control. */
.profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.profile-toggle {
  position: relative;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(208, 217, 218, .95);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 5px 16px rgba(31, 42, 56, .08);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.profile-toggle:hover,
.profile-toggle:focus-visible,
.profile-menu.is-open .profile-toggle {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(112, 153, 35, .38);
  background: #fff;
  box-shadow: 0 12px 28px rgba(112, 153, 35, .16);
}

.profile-toggle__glow {
  position: absolute;
  inset: -15px;
  border-radius: inherit;
  background: conic-gradient(from 120deg, transparent 0 22%, rgba(190, 245, 76, .92), rgba(43, 171, 255, .72), transparent 72% 100%);
  opacity: .7;
}

.profile-avatar,
.profile-panel-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff 0 34%, #eef7e2 35% 100%);
  overflow: hidden;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  box-shadow: inset 0 0 0 1px rgba(16, 23, 36, .08), 0 4px 10px rgba(16, 23, 36, .12);
}

.profile-avatar img,
.profile-panel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 5px;
}

.profile-menu.has-profile-photo .profile-avatar img {
  padding: 0;
  object-fit: cover;
}

.profile-avatar__fallback,
.profile-panel-avatar span {
  position: absolute;
  opacity: 0;
  font-family: "Sora", sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.profile-status-dot {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 4px rgba(190, 245, 76, .18);
}

.profile-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 80;
  width: min(300px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(208, 217, 218, .95);
  border-radius: 26px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 80px rgba(31, 42, 56, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.96);
  transform-origin: top right;
  transition: opacity .2s ease, transform .24s var(--ease), visibility 0s linear .24s;
}

.profile-menu.is-open .profile-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.profile-card-mini {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(239, 247, 226, .96), rgba(226, 246, 248, .92));
  overflow: hidden;
}

.profile-card-mini::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -42px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(190, 245, 76, .32);
  filter: blur(2px);
}

.profile-panel-avatar {
  width: 52px;
  height: 52px;
  box-shadow: inset 0 0 0 1px rgba(16, 23, 36, .08), 0 8px 20px rgba(16, 23, 36, .12);
}

.profile-panel-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
}

.profile-panel-copy strong,
.profile-panel-copy small,
.profile-card-mini p,
.profile-panel-actions {
  position: relative;
  z-index: 1;
}

.profile-panel-copy strong {
  display: block;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.profile-panel-copy small {
  display: block;
  margin-top: 3px;
  color: var(--lime-deep);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-card-mini p {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.58;
}

.profile-panel-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

.profile-panel-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(112, 153, 35, .2);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .64);
  font-weight: 800;
  font-size: .78rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.profile-panel-actions a:hover,
.profile-panel-actions a:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(112, 153, 35, .35);
  background: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .profile-toggle__glow {
    animation: profile-ring-spin 5s linear infinite;
  }

  .profile-status-dot {
    animation: profile-dot-pulse 2.4s ease-in-out infinite;
  }
}

@keyframes profile-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes profile-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(190, 245, 76, .18); }
  50% { box-shadow: 0 0 0 7px rgba(190, 245, 76, .04); }
}

@media (max-width: 1024px) {
  .profile-panel {
    position: fixed;
    top: 86px;
    right: 15px;
  }
}

@media (max-width: 620px) {
  .profile-toggle {
    flex-basis: 46px;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
  }

  .profile-panel {
    top: 76px;
    right: 8px;
    width: min(300px, calc(100vw - 16px));
  }
}

/* Profile login form UI. */
.profile-panel {
  width: min(374px, calc(100vw - 32px)) !important;
}

.profile-card-mini {
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 16px;
}

.profile-login-form {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.profile-login-form[hidden] {
  display: none !important;
}

.profile-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.profile-field > span,
.profile-check,
.profile-text-action {
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.profile-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(208, 217, 218, .95);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
  font: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.profile-field input:focus {
  border-color: rgba(112, 153, 35, .48);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(190, 245, 76, .18);
}

.profile-password-field {
  position: relative;
}

.profile-password-field input {
  padding-right: 52px;
}

.profile-password-toggle {
  position: absolute;
  top: 32px;
  right: 7px;
  display: grid;
  width: 32px;
  min-width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(112, 153, 35, .18);
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(239, 247, 226, .9);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.profile-password-toggle:hover,
.profile-password-toggle:focus-visible,
.profile-password-toggle.is-visible {
  outline: none;
  transform: translateY(-1px);
  color: var(--ink);
  border-color: rgba(112, 153, 35, .34);
  background: var(--lime);
}

.profile-password-toggle .profile-eye {
  grid-area: 1 / 1;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .16s ease, transform .18s ease;
}

.profile-password-toggle .profile-eye-closed {
  opacity: 0;
  transform: scale(.78);
}

.profile-password-toggle.is-visible .profile-eye-open {
  opacity: 0;
  transform: scale(.78);
}

.profile-password-toggle.is-visible .profile-eye-closed {
  opacity: 1;
  transform: scale(1);
}

.profile-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.profile-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.profile-check input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid rgba(112, 153, 35, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-check input:checked {
  border-color: rgba(112, 153, 35, .64);
  background: var(--lime);
  box-shadow: inset 0 0 0 4px var(--lime), inset 0 0 0 7px var(--ink);
}

.profile-text-action {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.profile-text-action:hover,
.profile-text-action:focus-visible {
  outline: none;
  color: var(--lime-deep);
}

.profile-submit,
.profile-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.profile-submit {
  margin-top: 4px;
  border: 1px solid rgba(112, 153, 35, .34);
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), #d8ff82);
  box-shadow: 0 16px 32px rgba(112, 153, 35, .2);
}

.profile-submit span {
  transition: transform .2s ease;
}

.profile-submit:hover,
.profile-submit:focus-visible,
.profile-google:hover,
.profile-google:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.profile-submit:hover span,
.profile-submit:focus-visible span {
  transform: translateX(3px);
}

.profile-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
}

.profile-divider::before,
.profile-divider::after {
  content: "";
  height: 1px;
  background: rgba(208, 217, 218, .95);
}

.profile-google {
  border: 1px solid rgba(208, 217, 218, .95);
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 20px rgba(31, 42, 56, .06);
}

.profile-google-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(208, 217, 218, .95);
}

.profile-google-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.profile-login-note {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: .72rem !important;
  line-height: 1.5 !important;
}

.profile-menu.is-submitted .profile-login-note {
  color: var(--lime-deep) !important;
}

.profile-panel-actions {
  grid-template-columns: 1fr !important;
}

@media (max-width: 620px) {
  .profile-panel {
    width: min(340px, calc(100vw - 16px)) !important;
  }

  .profile-form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Profile validation feedback. */
.profile-field.has-error input {
  border-color: rgba(218, 70, 70, .58) !important;
  background: rgba(255, 247, 247, .96) !important;
  box-shadow: 0 0 0 4px rgba(218, 70, 70, .12) !important;
}

.profile-field-error {
  display: block;
  margin-top: -1px;
  color: #b42323;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  animation: profile-error-in .18s ease both;
}

.profile-field.has-error > span:first-child {
  color: #9f2b2b;
}

.profile-menu.is-submitted .profile-field.has-error + .profile-login-note {
  color: var(--muted) !important;
}

@keyframes profile-error-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fuller header logo scale. */
.site-header .brand {
  width: 176px !important;
  height: 80px !important;
  justify-content: flex-start !important;
}

.site-header .brand-logo {
  width: 176px !important;
  height: 80px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

@media (max-width: 1024px) {
  .site-header .brand {
    width: 146px !important;
    height: 72px !important;
  }

  .site-header .brand-logo {
    width: 146px !important;
    height: 72px !important;
  }
}

@media (max-width: 620px) {
  .site-header .brand {
    width: 124px !important;
    height: 62px !important;
  }

  .site-header .brand-logo {
    width: 124px !important;
    height: 62px !important;
  }
}

/* Prevent the static language links from flashing before app.js builds the selector. */
.lang-switcher:not(.is-enhanced) {
  flex: 0 0 56px !important;
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  visibility: hidden !important;
  overflow: hidden !important;
}

.lang-switcher:not(.is-enhanced) .lang-switch {
  display: none !important;
}
/* Keep mobile tap/press effects clipped to each control shape. */
.button,
.nav-link,
.nav-summary,
.nav-sub-link,
.lang-switcher-toggle,
.lang-switcher-item,
.nav-toggle,
.profile-toggle,
.profile-submit,
.profile-google,
.profile-panel-actions a,
.profile-password-toggle,
.profile-text-action,
.footer-links a {
  -webkit-tap-highlight-color: transparent;
}

.button,
.nav-link,
.nav-summary,
.nav-sub-link,
.lang-switcher-toggle,
.lang-switcher-item,
.nav-toggle,
.profile-toggle,
.profile-submit,
.profile-google,
.profile-panel-actions a,
.profile-password-toggle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button::before,
.button::after,
.nav-link::before,
.nav-link::after,
.nav-summary::before,
.nav-summary::after,
.nav-sub-link::before,
.nav-sub-link::after,
.lang-switcher-toggle::before,
.lang-switcher-toggle::after,
.lang-switcher-item::before,
.lang-switcher-item::after,
.nav-toggle::before,
.nav-toggle::after,
.profile-toggle::before,
.profile-toggle::after,
.profile-submit::before,
.profile-submit::after,
.profile-google::before,
.profile-google::after,
.profile-panel-actions a::before,
.profile-panel-actions a::after,
.profile-password-toggle::before,
.profile-password-toggle::after {
  border-radius: inherit;
}
/* Password reveal button must stay inside the password input, not in form flow. */
.profile-password-field .profile-password-toggle {
  position: absolute !important;
  top: 32px !important;
  right: 7px !important;
  z-index: 2;
}
/* Light / dark / system appearance control. */
:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef5ff;
  --ink-soft: #cfdaea;
  --muted: #9eacbd;
  --paper: #081019;
  --paper-deep: #0d1824;
  --white: #101c28;
  --line: rgba(225, 238, 255, .15);
  --line-soft: rgba(225, 238, 255, .09);
  --shadow: 0 28px 80px rgba(0, 0, 0, .38);
  --blue: #123343;
  --violet: #252140;
}

.theme-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.theme-toggle {
  position: relative;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 5px 16px rgba(31, 42, 56, .07);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.theme-menu.is-open .theme-toggle {
  outline: none;
  transform: translateY(-1px);
  color: var(--ink);
  border-color: rgba(112, 153, 35, .38);
  background: #fff;
  box-shadow: 0 12px 28px rgba(112, 153, 35, .16);
}

.theme-toggle__icon {
  grid-area: 1 / 1;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  opacity: 0;
  transform: scale(.72) rotate(-14deg);
  transition: opacity .18s ease, transform .22s var(--ease);
}

.theme-toggle__icon svg,
.theme-option__mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-dark svg path,
.theme-option[data-theme-option="dark"] .theme-option__mark svg path {
  fill: currentColor;
  stroke: currentColor;
}

html[data-theme-choice="light"] .theme-icon-light,
html[data-theme-choice="dark"] .theme-icon-dark,
html[data-theme-choice="system"] .theme-icon-system {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.theme-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 82;
  display: grid;
  width: min(250px, calc(100vw - 32px));
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(208, 217, 218, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 80px rgba(31, 42, 56, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.96);
  transform-origin: top right;
  transition: opacity .2s ease, transform .24s var(--ease), visibility 0s linear .24s;
}

.theme-menu.is-open .theme-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.theme-option {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 17px;
  color: var(--ink-soft);
  background: rgba(245, 247, 244, .9);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.theme-option:hover,
.theme-option:focus-visible,
.theme-option.is-active {
  outline: none;
  color: var(--ink);
  border-color: rgba(112, 153, 35, .28);
  background: #edf4df;
}

.theme-option.is-active {
  background: var(--lime);
  box-shadow: inset 0 -3px 0 var(--lime-deep);
}

.theme-option__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--lime-deep);
  background: rgba(255, 255, 255, .82);
}

.theme-option span:last-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.theme-option strong {
  font-size: .9rem;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.theme-option small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
}

.theme-toggle,
.theme-option {
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
  overflow: hidden;
}

.theme-toggle::before,
.theme-toggle::after,
.theme-option::before,
.theme-option::after {
  border-radius: inherit;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 16% 8%, rgba(190, 245, 76, .1), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(50, 180, 220, .12), transparent 32%),
    var(--paper);
  color: var(--ink);
}

html[data-theme="dark"] .site-header {
  background: rgba(8, 16, 25, .9);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .lang-switcher-toggle,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .profile-toggle,
html[data-theme="dark"] .nav-toggle {
  color: var(--ink-soft);
  border-color: var(--line);
  background: rgba(15, 27, 39, .88) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22) !important;
}

html[data-theme="dark"] .lang-switcher-toggle:hover,
html[data-theme="dark"] .lang-switcher-toggle:focus-visible,
html[data-theme="dark"] .lang-switcher.is-open .lang-switcher-toggle,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible,
html[data-theme="dark"] .theme-menu.is-open .theme-toggle,
html[data-theme="dark"] .profile-toggle:hover,
html[data-theme="dark"] .profile-toggle:focus-visible,
html[data-theme="dark"] .profile-menu.is-open .profile-toggle {
  color: var(--ink);
  background: rgba(23, 38, 54, .96) !important;
  border-color: rgba(190, 245, 76, .36);
}

html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .nav-submenu,
html[data-theme="dark"] .lang-switcher-panel,
html[data-theme="dark"] .theme-panel,
html[data-theme="dark"] .profile-panel {
  border-color: var(--line);
  background: rgba(12, 22, 33, .96) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link:focus-visible,
html[data-theme="dark"] .nav-link.is-active,
html[data-theme="dark"] .nav-summary:hover,
html[data-theme="dark"] .nav-summary:focus-visible,
html[data-theme="dark"] .nav-group.is-open > .nav-summary,
html[data-theme="dark"] .nav-sub-link,
html[data-theme="dark"] .lang-switcher-item,
html[data-theme="dark"] .theme-option {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(225, 238, 255, .08);
}

html[data-theme="dark"] .lang-switcher-item:hover,
html[data-theme="dark"] .lang-switcher-item:focus-visible,
html[data-theme="dark"] .theme-option:hover,
html[data-theme="dark"] .theme-option:focus-visible {
  background: rgba(190, 245, 76, .14);
}

html[data-theme="dark"] .lang-switcher-item.is-active,
html[data-theme="dark"] .theme-option.is-active,
html[data-theme="dark"] .button-primary,
html[data-theme="dark"] .profile-submit {
  color: #101724;
}

html[data-theme="dark"] .home-hero,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] footer {
  background: linear-gradient(135deg, rgba(8, 16, 25, .96), rgba(12, 28, 34, .96));
}

html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .hero-product,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .expertise-card,
html[data-theme="dark"] .surface-card,
html[data-theme="dark"] .app-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .policy-section-card,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .media-window,
html[data-theme="dark"] .energy-dashboard,
html[data-theme="dark"] .final-cta,
html[data-theme="dark"] .profile-card-mini {
  border-color: var(--line);
  background: rgba(15, 27, 39, .72) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .profile-field input,
html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .055);
}

html[data-theme="dark"] .profile-field input::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(207, 218, 234, .55);
}

html[data-theme="dark"] .button-ghost,
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .profile-google,
html[data-theme="dark"] .profile-panel-actions a {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .profile-avatar,
html[data-theme="dark"] .profile-panel-avatar,
html[data-theme="dark"] .theme-option__mark,
html[data-theme="dark"] .profile-password-toggle {
  background: rgba(238, 245, 255, .08);
}

html[data-theme="dark"] .profile-status-dot {
  border-color: #101c28;
}

html[data-theme="dark"] .footer-inner {
  border-color: var(--line);
}

html[data-theme="dark"] .scroll-progress-track {
  background: rgba(255, 255, 255, .08);
}

@media (max-width: 620px) {
  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .theme-toggle,
  .profile-toggle,
  .lang-switcher-toggle,
  .nav-toggle {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .theme-panel {
    position: fixed;
    top: 80px;
    right: 15px;
    width: min(250px, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
  }
}

@media (max-width: 360px) {
  .site-header .brand {
    width: 96px !important;
    height: 56px !important;
  }

  .site-header .brand-logo {
    width: 96px !important;
    height: 56px !important;
  }

  .header-inner {
    gap: 8px;
  }

  .header-actions {
    gap: 4px;
  }

  .theme-toggle,
  .profile-toggle,
  .lang-switcher-toggle,
  .nav-toggle {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}
input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

img,
svg,
canvas,
video {
  pointer-events: auto;
}
/* Product logos from assets, normalized to equal visual size. */
.project-copy {
  position: relative;
}

.product-logo,
.product-hero-logo {
  display: grid;
  width: 74px;
  height: 74px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 34px rgba(31, 42, 56, .1);
}

.product-logo {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 1;
}

.product-hero-logo {
  margin: 0 0 18px;
}

html[data-theme="dark"] .product-logo,
html[data-theme="dark"] .product-hero-logo {
  background: rgba(238, 245, 255, .08);
  border-color: var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

@media (max-width: 620px) {
  .product-logo,
  .product-hero-logo {
    width: 62px;
    height: 62px;
    padding: 7px;
    border-radius: 18px;
  }

  .product-logo {
    top: 22px;
    right: 22px;
  }
}
/* Application logos inside the Applications submenu. */
.nav-sub-link {
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.nav-sub-logo {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
}

.nav-sub-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

html[data-theme="dark"] .nav-sub-logo {
  background: transparent;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .site-nav .nav-sub-link {
    grid-template-columns: 40px 1fr;
    text-align: left;
  }
}
/* Compact, centered and animated spacing for policy pages. */
.policy-page .page-hero {
  isolation: isolate;
  padding: 58px 0 38px;
}

.policy-page .page-hero::before,
.policy-page .page-hero::after {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.policy-page .page-hero::before {
  width: min(460px, 42vw);
  height: min(460px, 42vw);
  right: 7%;
  top: -34%;
  background: radial-gradient(circle, rgba(197, 239, 98, .32), rgba(185, 233, 242, .18) 44%, transparent 70%);
  filter: blur(2px);
}

.policy-page .page-hero::after {
  width: min(560px, 52vw);
  height: min(560px, 52vw);
  left: 50%;
  bottom: -68%;
  border: 1px solid rgba(112, 153, 35, .18);
  transform: translateX(-50%);
}

.policy-page .page-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.policy-page .page-hero .section-kicker {
  justify-content: center;
  margin-bottom: 20px;
}

.policy-page .page-hero h1 {
  margin-inline: auto;
}

.policy-page .page-hero .hero-lead {
  margin-inline: auto;
}

.policy-page .page-hero .container::after {
  width: min(260px, 55vw);
  height: 6px;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--lime), rgba(185, 233, 242, .9), transparent);
  box-shadow: 0 14px 34px rgba(112, 153, 35, .16);
  content: "";
}

.policy-page .page-hero + .section {
  padding-top: 42px;
}

@media (prefers-reduced-motion: no-preference) {
  .policy-page .page-hero::before {
    animation: policy-hero-float 9s ease-in-out infinite;
  }

  .policy-page .page-hero::after {
    animation: policy-hero-orbit 18s linear infinite;
  }

  .policy-page .page-hero .container::after {
    animation: policy-hero-line 2.8s ease-in-out infinite;
  }
}

@keyframes policy-hero-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .9; }
  50% { transform: translate3d(-18px, 16px, 0) scale(1.05); opacity: .72; }
}

@keyframes policy-hero-orbit {
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes policy-hero-line {
  0%, 100% { opacity: .55; transform: scaleX(.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 620px) {
  .policy-page .page-hero {
    padding: 44px 0 28px;
  }

  .policy-page .page-hero + .section {
    padding-top: 30px;
  }
}
/* Animated policy document surface. */
.policy-page .policy-rendered-document {
  position: relative;
  overflow: hidden;
  border-color: rgba(112, 153, 35, .16);
  background:
    radial-gradient(circle at 12% 0%, rgba(197, 239, 98, .12), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(185, 233, 242, .18), transparent 38%),
    rgba(255, 255, 255, .68);
}

.policy-page .policy-rendered-document::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, transparent, var(--lime), rgba(185, 233, 242, .86), transparent);
  content: "";
  opacity: .85;
}

.policy-page .policy-rendered-document::after {
  position: absolute;
  right: clamp(22px, 5vw, 56px);
  top: clamp(20px, 4vw, 44px);
  width: 130px;
  height: 130px;
  border: 1px solid rgba(112, 153, 35, .16);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.policy-page .policy-rendered-document h2,
.policy-page .policy-rendered-document h3 {
  position: relative;
  padding-top: .1em;
}

.policy-page .policy-rendered-document h2::after,
.policy-page .policy-rendered-document h3::after {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), rgba(185, 233, 242, .95));
  content: "";
}

.policy-page .policy-rendered-document a,
.policy-page .policy-rendered-document strong {
  text-decoration: none;
}

.policy-page .policy-rendered-document a {
  color: var(--lime-deep);
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .policy-page .policy-rendered-document::before {
    animation: policy-document-line 4.8s ease-in-out infinite;
  }

  .policy-page .policy-rendered-document::after {
    animation: policy-document-orb 14s linear infinite;
  }

  .policy-page .policy-rendered-document h2::after,
  .policy-page .policy-rendered-document h3::after {
    animation: policy-heading-line 3s ease-in-out infinite;
  }
}

@keyframes policy-document-line {
  0%, 100% { opacity: .35; transform: translateY(-18%); }
  50% { opacity: .95; transform: translateY(18%); }
}

@keyframes policy-document-orb {
  to { transform: rotate(360deg); }
}

@keyframes policy-heading-line {
  0%, 100% { transform: scaleX(.7); transform-origin: left; opacity: .65; }
  50% { transform: scaleX(1); opacity: 1; }
}
/* Keep the header logo visually crisp on desktop and Windows browsers. */
.site-header .brand {
  position: relative !important;
  isolation: isolate;
  border-radius: 24px;
  transition: none;
}

.site-header .brand::before,
.site-header .brand::after {
  content: none !important;
  display: none !important;
}

.site-header .brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  filter: none !important;
  transition: none;
  transform: none;
  backface-visibility: hidden;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
}

.site-header .brand:hover,
.site-header .brand:focus-visible {
  transform: none;
}

.site-header .brand:hover .brand-logo,
.site-header .brand:focus-visible .brand-logo,
html[data-theme="dark"] .site-header .brand-logo {
  filter: none !important;
}

/* Footer social media area. */
.footer-socials {
  display: grid;
  align-self: center;
  justify-self: center;
  gap: 10px;
  min-width: max-content;
}

.footer-socials__title {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-socials__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 12px 28px rgba(31, 42, 56, .06);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, box-shadow .22s ease, transform .22s var(--ease);
}

.footer-social-link::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197, 239, 98, .42), rgba(185, 233, 242, .34));
  content: "";
  opacity: 0;
  transform: translateY(18%);
  transition: opacity .22s ease, transform .22s ease;
}

.footer-social-link svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  outline: none;
  border-color: rgba(112, 153, 35, .32);
  box-shadow: 0 18px 34px rgba(31, 42, 56, .1);
  transform: translateY(-3px);
}

.footer-social-link:hover::before,
.footer-social-link:focus-visible::before {
  opacity: 1;
  transform: none;
}

.footer-social-link[data-social="youtube"]:hover,
.footer-social-link[data-social="youtube"]:focus-visible { color: #ff2b45; }
.footer-social-link[data-social="linkedin"]:hover,
.footer-social-link[data-social="linkedin"]:focus-visible { color: #0a66c2; }
.footer-social-link[data-social="x"]:hover,
.footer-social-link[data-social="x"]:focus-visible { color: var(--ink); }
.footer-social-link[data-social="instagram"]:hover,
.footer-social-link[data-social="instagram"]:focus-visible { color: #dd2a7b; }
.footer-social-link[data-social="fiverr"]:hover,
.footer-social-link[data-social="fiverr"]:focus-visible { color: #1dbf73; }

@media (min-width: 1061px) {
  .footer-main {
    grid-template-columns: max-content minmax(260px, 360px) max-content max-content !important;
    justify-content: center !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 42px !important;
  }

  .footer-brand,
  .footer-main > p,
  .footer-socials,
  .footer-links {
    align-self: center !important;
  }

  .footer-main > p {
    text-align: center !important;
    max-width: 360px !important;
  }

  .footer-socials {
    justify-self: center !important;
  }

  .footer-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    width: max-content !important;
    white-space: nowrap !important;
  }

  .footer-links a {
    white-space: nowrap !important;
  }
}

@media (max-width: 1060px) {
  .footer-socials {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }

  .footer-socials__list {
    justify-content: center !important;
  }
}

html[data-theme="dark"] .footer-social-link {
  background: rgba(238, 245, 255, .08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}
/* Keep home hero heading line spacing consistent across all languages. */
.home-hero h1 {
  line-height: 1.06 !important;
  letter-spacing: -.035em !important;
}

.home-hero h1 em {
  display: inline-block;
  padding-top: .04em;
}

@media (max-width: 620px) {
  .home-hero h1 {
    line-height: 1.12 !important;
    letter-spacing: -.03em !important;
  }
}
/* Allow every popup to scroll internally while the page stays locked. */
.lang-switcher-grid,
.profile-panel,
.theme-panel {
  max-height: min(72vh, calc(100dvh - 112px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.site-header .site-nav {
  overscroll-behavior: contain;
}

.profile-panel::-webkit-scrollbar,
.theme-panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 620px) {
  .profile-panel,
  .theme-panel {
    max-height: calc(100dvh - 96px);
  }
}
/* About page hero visual content. */
.about-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(22px, 4vw, 36px);
  background:
    radial-gradient(circle at 18% 18%, rgba(197, 239, 98, .18), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(185, 233, 242, .28), transparent 38%),
    rgba(255, 255, 255, .58);
}

.about-hero-visual::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(112, 153, 35, .14);
  border-radius: 24px;
  content: "";
}

.about-visual-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.about-visual-orb-one {
  width: 180px;
  height: 180px;
  right: -42px;
  top: -36px;
  background: rgba(197, 239, 98, .34);
  filter: blur(2px);
}

.about-visual-orb-two {
  width: 250px;
  height: 250px;
  left: -96px;
  bottom: -110px;
  border: 1px solid rgba(112, 153, 35, .18);
}

.about-visual-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(380px, 100%);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 24px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 22px 60px rgba(31, 42, 56, .1);
  backdrop-filter: blur(16px);
}

.about-visual-head {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 13px;
}

.about-visual-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(197, 239, 98, .8), rgba(185, 233, 242, .72));
  box-shadow: 0 12px 26px rgba(112, 153, 35, .16);
}

.about-visual-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.about-visual-head small {
  display: block;
  color: var(--lime-deep);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-visual-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.1;
}

.about-visual-steps {
  display: grid;
  gap: 9px;
}

.about-visual-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, .58);
}

.about-visual-step i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--lime-deep);
  background: rgba(197, 239, 98, .22);
  font-style: normal;
  font-size: .72rem;
  font-weight: 900;
}

.about-visual-step span {
  color: var(--ink-soft);
  font-weight: 800;
}

.about-visual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-visual-chips span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(197, 239, 98, .18);
  font-size: .72rem;
  font-weight: 900;
}

@media (prefers-reduced-motion: no-preference) {
  .about-visual-card {
    animation: about-card-float 7s ease-in-out infinite;
  }

  .about-visual-orb-one {
    animation: about-orb-float 8s ease-in-out infinite;
  }

  .about-visual-orb-two {
    animation: about-orb-spin 18s linear infinite;
  }
}

@keyframes about-card-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes about-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-16px, 14px, 0) scale(1.06); }
}

@keyframes about-orb-spin {
  to { transform: rotate(360deg); }
}
/* First-entry MedaNexa intro moment. */
.entry-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(197, 239, 98, .36), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(185, 233, 242, .42), transparent 34%),
    rgba(245, 243, 237, .82);
  backdrop-filter: blur(20px);
  transition: opacity .42s ease, visibility 0s linear .42s;
}

.entry-intro.is-ready {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.entry-intro.is-hiding {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.entry-intro__card {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(520px, 100%);
  justify-items: center;
  gap: 14px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 34px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(240, 251, 241, .72)),
    rgba(255, 255, 255, .7);
  box-shadow: 0 34px 90px rgba(31, 42, 56, .18);
  transform: translateY(16px) scale(.97);
  transition: transform .52s var(--ease);
}

.entry-intro.is-ready .entry-intro__card {
  transform: none;
}

.entry-intro__orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.entry-intro__orb-one {
  width: 230px;
  height: 230px;
  right: -82px;
  top: -88px;
  background: rgba(197, 239, 98, .42);
  filter: blur(4px);
}

.entry-intro__orb-two {
  width: 320px;
  height: 320px;
  left: -150px;
  bottom: -174px;
  border: 1px solid rgba(112, 153, 35, .16);
}

.entry-intro__logo-wrap {
  display: grid;
  width: 160px;
  height: 86px;
  place-items: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 20px 42px rgba(31, 42, 56, .1);
}

.entry-intro__logo-wrap img {
  width: 142px;
  height: 72px;
  object-fit: contain;
}

.entry-intro p {
  margin: 4px 0 0;
  color: var(--lime-deep);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.entry-intro h2 {
  max-width: 430px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.entry-intro__detail {
  max-width: 380px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.entry-intro__path {
  display: grid;
  grid-template-columns: 13px 70px 13px 70px 13px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.entry-intro__path i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(197, 239, 98, .16);
}

.entry-intro__path b {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), rgba(185, 233, 242, .95));
}

.entry-intro__skip {
  margin-top: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .56);
  font-size: .74rem;
  font-weight: 900;
}

.entry-intro__skip:hover,
.entry-intro__skip:focus-visible {
  outline: none;
  color: var(--ink);
  border-color: rgba(112, 153, 35, .38);
  background: rgba(255, 255, 255, .88);
}

@media (prefers-reduced-motion: no-preference) {
  .entry-intro__orb-one {
    animation: entry-orb-breathe 4.8s ease-in-out infinite;
  }

  .entry-intro__orb-two {
    animation: entry-orbit-spin 16s linear infinite;
  }

  .entry-intro__path b {
    animation: entry-path-flow 1.45s ease-in-out infinite;
  }
}

@keyframes entry-orb-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .68; }
  50% { transform: translate3d(-16px, 14px, 0) scale(1.08); opacity: .92; }
}

@keyframes entry-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes entry-path-flow {
  0%, 100% { opacity: .48; transform: scaleX(.42); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 520px) {
  .entry-intro__path {
    grid-template-columns: 11px 44px 11px 44px 11px;
  }

  .entry-intro__logo-wrap {
    width: 140px;
    height: 76px;
  }

  .entry-intro__logo-wrap img {
    width: 124px;
    height: 64px;
  }
}

html[data-theme="dark"] .entry-intro {
  background:
    radial-gradient(circle at 18% 18%, rgba(197, 239, 98, .16), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(80, 184, 220, .16), transparent 34%),
    rgba(8, 16, 25, .86);
}

html[data-theme="dark"] .entry-intro__card {
  background: linear-gradient(135deg, rgba(16, 28, 40, .92), rgba(14, 34, 34, .82));
  border-color: var(--line);
  box-shadow: 0 38px 92px rgba(0, 0, 0, .34);
}
/* EXPERIMENT: Visitor delight layer start */
.visitor-compass {
  display: grid;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid rgba(112, 153, 35, .18);
  border-radius: 28px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 18px 48px rgba(31, 42, 56, .09);
  backdrop-filter: blur(16px);
}

.visitor-compass__label {
  padding: 0 10px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.visitor-compass__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visitor-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 20px rgba(31, 42, 56, .06);
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s var(--ease), border-color .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease;
}

.visitor-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(197, 239, 98, .8), rgba(219, 255, 139, .55));
  opacity: 0;
  transform: scale(.86);
  transition: transform .24s var(--ease), opacity .24s ease;
}

.visitor-choice i,
.visitor-choice span {
  position: relative;
  z-index: 1;
}

.visitor-choice i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .42;
}

.visitor-choice:hover,
.visitor-choice:focus-visible,
.visitor-choice.is-active {
  outline: none;
  color: var(--ink);
  border-color: rgba(112, 153, 35, .38);
  box-shadow: 0 14px 32px rgba(112, 153, 35, .16);
  transform: translateY(-2px);
}

.visitor-choice:hover::before,
.visitor-choice:focus-visible::before,
.visitor-choice.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.visitor-story-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(197, 239, 98, .14), transparent 30%),
    radial-gradient(circle at 84% 30%, rgba(185, 233, 242, .22), transparent 34%),
    var(--paper);
}

.visitor-story-section::before {
  content: "";
  position: absolute;
  inset: 32px clamp(18px, 4vw, 56px);
  pointer-events: none;
  border: 1px solid rgba(112, 153, 35, .13);
  border-radius: 42px;
  opacity: .7;
}

.visitor-story-shell {
  position: relative;
  z-index: 1;
}

.visitor-story-head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.visitor-story-head h2 {
  margin-inline: auto;
}

.visitor-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.visitor-story-card {
  position: relative;
  isolation: isolate;
  min-height: 220px;
  overflow: hidden;
  border-color: rgba(112, 153, 35, .13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(246, 251, 238, .68)),
    var(--paper-soft);
}

.visitor-story-card::before {
  content: "";
  position: absolute;
  inset: auto 22px 22px 22px;
  z-index: -1;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), rgba(185, 233, 242, .9));
  transform: scaleX(.28);
  transform-origin: left center;
  opacity: .72;
  transition: transform .32s var(--ease), opacity .32s ease;
}

.visitor-story-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

.visitor-story-index {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 32px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .76);
  font-size: .78rem;
  font-weight: 900;
}

.visitor-story-card h3 {
  color: var(--ink-soft);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.visitor-story-card p {
  max-width: 230px;
  margin-top: 12px;
  line-height: 1.55;
}

.products-section .project-card {
  overflow: hidden;
}

.products-section .project-card .media-window,
.products-section .project-card .energy-dashboard,
.products-section .project-card .project-copy {
  transition: transform .34s var(--ease), box-shadow .34s ease, filter .34s ease;
}

.products-section .project-card:hover .media-window,
.products-section .project-card:hover .energy-dashboard {
  transform: translate3d(0, -8px, 0) scale(1.015);
  filter: saturate(1.08);
}

.products-section .project-card:hover .project-copy {
  transform: translate3d(0, -3px, 0);
}

.project-cta:hover .project-cta-icon,
.project-cta:focus-visible .project-cta-icon {
  border-color: rgba(112, 153, 35, .42);
  box-shadow: 0 12px 26px rgba(112, 153, 35, .18);
}

.project-cta:hover .project-cta-icon::before,
.project-cta:focus-visible .project-cta-icon::before {
  transform: translateX(3px) rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .visitor-compass {
    animation: visitor-compass-in .58s var(--ease) both .2s;
  }

  .visitor-story-section::before {
    animation: visitor-frame-breathe 7s ease-in-out infinite;
  }

  .visitor-story-card:nth-child(2) { transition-delay: .04s; }
  .visitor-story-card:nth-child(3) { transition-delay: .08s; }
  .visitor-story-card:nth-child(4) { transition-delay: .12s; }
}

@keyframes visitor-compass-in {
  from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes visitor-frame-breathe {
  0%, 100% { opacity: .46; transform: scale(.992); }
  50% { opacity: .82; transform: scale(1); }
}

@media (max-width: 900px) {
  .visitor-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .visitor-compass {
    width: 100%;
    border-radius: 24px;
  }

  .visitor-compass__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visitor-choice {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .visitor-story-section::before {
    inset: 18px 10px;
    border-radius: 28px;
  }

  .visitor-story-grid {
    grid-template-columns: 1fr;
  }

  .visitor-story-card {
    min-height: 190px;
  }
}

html[data-theme="dark"] .visitor-compass,
html[data-theme="dark"] .visitor-choice,
html[data-theme="dark"] .visitor-story-card,
html[data-theme="dark"] .visitor-story-index {
  background: rgba(16, 28, 40, .78);
  border-color: var(--line);
}

html[data-theme="dark"] .visitor-story-section {
  background:
    radial-gradient(circle at 18% 24%, rgba(197, 239, 98, .1), transparent 30%),
    radial-gradient(circle at 84% 30%, rgba(80, 184, 220, .12), transparent 34%),
    var(--paper);
}
/* EXPERIMENT: Visitor delight layer end */
/* Final CTA Fiverr action. */
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.final-cta-actions .button {
  margin-top: 0;
}

.button-fiverr {
  color: #0f2f20;
  background: linear-gradient(135deg, #1dbf73, #b7f55c);
  border-color: rgba(29, 191, 115, .36);
  box-shadow: 0 18px 38px rgba(29, 191, 115, .2);
}

.button-fiverr:hover,
.button-fiverr:focus-visible {
  color: #07130d;
  border-color: rgba(29, 191, 115, .58);
  box-shadow: 0 22px 48px rgba(29, 191, 115, .28);
}

@media (max-width: 560px) {
  .final-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta-actions .button {
    width: 100%;
  }
}

html[data-theme="dark"] .button-fiverr {
  color: #07130d;
  background: linear-gradient(135deg, #29d885, #c8ff68);
}
/* CTA button icons. */
.final-cta-actions .button {
  gap: 10px;
}

.button-icon-img {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}

.button-icon-img--mail {
  flex-basis: 20px;
  width: 20px;
  height: 20px;
  opacity: .92;
}

.button-icon-img--fiverr {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(4, 65, 38, .18);
}

.button-arrow {
  display: inline-flex;
  margin-left: 2px;
  line-height: 1;
}
/* Mobile readable wrapping: do not split words inside large headings. */
.home-hero h1,
.section-intro h2,
.section-head h2,
.page-hero h1,
.hero:not(.home-hero) h1,
.final-cta h2,
.manifesto-grid blockquote,
.project-copy h3,
.expertise-card h3,
.surface-card h2,
.surface-card h3,
.value-card h3,
.info-card h3,
.app-card h3,
.app-roadmap h3,
.button,
.project-cta {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

@media (max-width: 620px) {
  .final-cta h2 {
    font-size: clamp(2rem, 10.4vw, 3.05rem) !important;
    line-height: 1.08 !important;
  }

  .home-hero h1,
  .page-hero h1,
  .hero:not(.home-hero) h1 {
    font-size: clamp(2.55rem, 12.2vw, 4.2rem) !important;
  }

  .section-intro h2,
  .section-head h2,
  .manifesto-grid blockquote {
    font-size: clamp(2rem, 9.5vw, 3rem) !important;
  }

  .project-copy h3 {
    font-size: clamp(2.4rem, 12vw, 3.25rem) !important;
  }
}

@media (max-width: 390px) {
  .final-cta h2 {
    font-size: clamp(1.95rem, 9.8vw, 2.55rem) !important;
  }
}
/* Equal side gutters on every screen size. */
@media (max-width: 620px) {
  .container {
    width: 100% !important;
    max-width: var(--container);
    padding-inline: 18px !important;
    margin-inline: auto !important;
  }

  .section,
  .home-hero,
  .final-cta-section,
  .products-section,
  .expertise-section,
  .manifesto-section {
    overflow-x: clip;
  }

  .product-showcase,
  .expertise-grid,
  .visitor-story-grid,
  .grid-3,
  .grid-4,
  .values-grid,
  .info-grid,
  .app-launch-grid,
  .app-roadmap-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .project-card,
  .expertise-card,
  .surface-card,
  .value-card,
  .info-card,
  .app-card,
  .app-roadmap,
  .timeline-item,
  .policy-section-card,
  .final-cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .container {
    padding-inline: 16px !important;
  }
}
/* Keep expertise cards balanced instead of leaving a large empty first card. */
@media (max-width: 1100px) {
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
  }

  .expertise-large,
  .expertise-wide {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .expertise-card {
    min-height: 260px;
    justify-content: flex-start;
    gap: 24px;
  }

  .expertise-wide .progress-line {
    margin-top: auto;
  }
}

@media (max-width: 620px) {
  .expertise-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .expertise-card {
    min-height: auto !important;
    gap: 22px;
  }
}
/* Product card logo and adaptive title row. */
.project-title-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
  min-width: 0;
  margin: auto 0 18px;
}

.project-title-row h3 {
  min-width: 0;
  margin: 0 !important;
  font-size: clamp(2.25rem, 4.45vw, 4.75rem) !important;
  line-height: .96 !important;
  text-wrap: balance;
}

.project-logo {
  display: block;
  flex: 0 0 auto;
  width: clamp(58px, 6.4vw, 82px);
  height: clamp(58px, 6.4vw, 82px);
  object-fit: contain;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  image-rendering: auto;
}

.project-logo--energy {
  width: clamp(62px, 6.8vw, 86px);
  height: clamp(62px, 6.8vw, 86px);
}

@media (max-width: 900px) {
  .project-title-row h3 {
    font-size: clamp(2.2rem, 7.2vw, 3.85rem) !important;
  }
}

@media (max-width: 620px) {
  .project-title-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-top: auto;
  }

  .project-title-row h3 {
    font-size: clamp(2.05rem, 9.7vw, 2.85rem) !important;
    line-height: 1.05 !important;
  }

  .project-logo {
    width: clamp(48px, 13vw, 58px);
    height: clamp(48px, 13vw, 58px);
  }
}

@media (max-width: 360px) {
  .project-title-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-title-row h3 {
    font-size: clamp(2rem, 10.3vw, 2.45rem) !important;
  }
}
/* Hide live status labels by request. */
.console-bar > b,
.energy-head > i,
.live-badge {
  display: none !important;
}
/* Keep decorative lines inside their visual container and remove the CTA orb. */
.visitor-story-head {
  padding-inline: clamp(18px, 4vw, 42px);
}

.visitor-story-head .section-kicker {
  justify-content: center;
}

.surface-card .section-kicker::before,
.value-card .section-kicker::before,
.info-card .section-kicker::before,
.app-card .section-kicker::before,
.app-roadmap .section-kicker::before,
.timeline-item .section-kicker::before,
.policy-section-card .section-kicker::before,
.page-aside .section-kicker::before,
.contact-panel .section-kicker::before,
.final-cta .section-kicker::before {
  flex: 0 0 22px;
}

.cta-orb {
  display: none !important;
}
/* Make the visitor story frame a real container so cards cannot overflow it. */
.visitor-story-section::before {
  display: none !important;
}

.visitor-story-shell {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(112, 153, 35, .13);
  border-radius: 42px;
  background: rgba(255, 255, 255, .18);
}

.visitor-story-grid {
  gap: clamp(16px, 2vw, 22px);
}

@media (max-width: 620px) {
  .visitor-story-shell {
    padding: 18px;
    border-radius: 28px;
  }
}
/* Product page identity block: logo + visible product title. */
.app-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.app-hero-brand img {
  width: clamp(54px, 6vw, 76px);
  height: clamp(54px, 6vw, 76px);
  object-fit: contain;
}

.app-hero-brand__copy {
  display: grid;
  gap: 2px;
}

.app-hero-brand__copy span {
  color: var(--lime-deep);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.app-hero-brand__copy strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

@media (max-width: 620px) {
  .app-hero-brand {
    gap: 12px;
    margin-bottom: 18px;
  }
}
/* GES service landing page. */
.energy-services-page .page-hero h1 em {
  display: inline;
}

.ges-page-hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(197, 239, 98, .26), transparent 28%),
    radial-gradient(circle at 10% 85%, rgba(185, 233, 242, .42), transparent 30%),
    linear-gradient(135deg, #f8f7f2 0%, #edf5ee 100%);
}

.ges-visual {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.62), rgba(217,241,235,.78)),
    radial-gradient(circle at 88% 18%, rgba(197, 239, 98, .35), transparent 28%);
}

.ges-quote-card {
  width: min(100%, 430px);
  padding: 26px;
  border: 1px solid rgba(16, 23, 36, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 28px 80px rgba(31, 42, 56, .14);
  backdrop-filter: blur(14px);
}

.ges-quote-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ges-quote-head span,
.ges-quote-total small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ges-quote-head strong,
.ges-quote-total strong {
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1.05;
  text-align: right;
}

.ges-quote-meter {
  height: 10px;
  margin: 28px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 23, 36, .09);
}

.ges-quote-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), #6ad7c9);
  box-shadow: 0 0 22px rgba(112, 153, 35, .2);
}

.ges-quote-list {
  display: grid;
  gap: 10px;
}

.ges-quote-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 23, 36, .08);
  border-radius: 16px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.62);
  font-weight: 700;
}

.ges-quote-list b {
  color: var(--lime-deep);
  font-size: .78rem;
}

.ges-quote-total {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: right;
}

.ges-service-grid,
.ges-reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ges-service-card {
  min-height: 260px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(246,251,238,.7));
}

.ges-service-card h3 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.ges-service-card p {
  margin: 0;
  line-height: 1.65;
}

.ges-reference-section {
  background: var(--paper-deep);
}

.ges-reference-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(16, 23, 36, .1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 14%, rgba(197, 239, 98, .28), transparent 26%),
    rgba(255,255,255,.58);
  box-shadow: 0 18px 42px rgba(31, 42, 56, .07);
}

.ges-reference-card span {
  color: var(--lime-deep);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ges-reference-card h3 {
  margin: 70px 0 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.05;
}

.ges-reference-card p {
  margin: 0;
  color: var(--muted);
}

.ges-quote-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(112, 153, 35, .16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 239, 98, .26), transparent 28%),
    linear-gradient(135deg, rgba(230, 243, 219, .88), rgba(222, 242, 243, .9));
  box-shadow: 0 28px 80px rgba(31, 42, 56, .12);
}

.ges-quote-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1;
}

.ges-quote-copy p:not(.section-kicker) {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted);
}

.ges-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(16, 23, 36, .1);
  border-radius: 26px;
  background: rgba(255,255,255,.68);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(112, 153, 35, .5);
  box-shadow: 0 0 0 4px rgba(197, 239, 98, .22);
}

.quote-form-wide {
  grid-column: 1 / -1;
}

@media (max-width: 1050px) {
  .ges-service-grid,
  .ges-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ges-quote-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ges-service-grid,
  .ges-reference-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .ges-service-card,
  .ges-reference-card {
    min-height: auto;
  }

  .ges-reference-card h3,
  .ges-service-card h3 {
    margin-top: 34px;
  }

  .ges-contact-actions .button {
    width: 100%;
  }
}

html[data-theme="dark"] .ges-quote-card,
html[data-theme="dark"] .ges-service-card,
html[data-theme="dark"] .ges-reference-card,
html[data-theme="dark"] .quote-form {
  background: rgba(16, 28, 40, .78);
}
/* Custom quote form controls. */
.quote-form label {
  position: relative;
  min-width: 0;
}

.quote-native-select {
  position: absolute !important;
  inset: auto auto 0 0;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.quote-combobox,
.quote-city-combobox {
  position: relative;
  min-width: 0;
}

.quote-combo-button,
.quote-city-input {
  width: 100%;
  min-height: 58px;
  padding: 14px 48px 14px 18px;
  border: 1px solid rgba(16, 23, 36, .12);
  border-radius: 20px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,252,246,.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 10px 24px rgba(31, 42, 56, .05);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.quote-combo-button::after,
.quote-city-combobox::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .22s var(--ease);
}

.quote-combobox.is-open .quote-combo-button::after,
.quote-city-combobox.is-open::after {
  transform: translateY(-35%) rotate(225deg);
}

.quote-combo-button:hover,
.quote-combo-button:focus-visible,
.quote-city-input:hover,
.quote-city-input:focus {
  border-color: rgba(112, 153, 35, .45);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 5px rgba(197, 239, 98, .18), 0 16px 34px rgba(31, 42, 56, .08);
}

.quote-combo-list,
.quote-city-list {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  z-index: 35;
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(16, 23, 36, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 64px rgba(31, 42, 56, .17);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(.98);
  transform-origin: top center;
  transition: opacity .18s ease, transform .22s var(--ease);
}

.quote-combobox.is-open .quote-combo-list,
.quote-city-combobox.is-open .quote-city-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.quote-combo-option,
.quote-city-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ink-soft);
  background: transparent;
  font-weight: 800;
  text-align: left;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.quote-combo-option:hover,
.quote-combo-option:focus-visible,
.quote-combo-option.is-active,
.quote-city-option:hover,
.quote-city-option:focus-visible,
.quote-city-option.is-active {
  outline: none;
  color: var(--ink);
  border-color: rgba(112, 153, 35, .18);
  background: linear-gradient(135deg, rgba(197, 239, 98, .78), rgba(234, 247, 213, .9));
  transform: translateX(2px);
}

.quote-form .quote-city-combobox .quote-city-input {
  margin: 0;
}

html[data-theme="dark"] .quote-combo-button,
html[data-theme="dark"] .quote-city-input,
html[data-theme="dark"] .quote-combo-list,
html[data-theme="dark"] .quote-city-list {
  background: rgba(16, 28, 40, .96);
  border-color: var(--line);
}
/* Quote form control metric fixes. */
.quote-form {
  --quote-control-height: 64px;
}

.quote-combobox,
.quote-city-combobox {
  width: 100%;
}

.quote-combo-button,
.quote-city-input {
  display: block;
  width: 100% !important;
  height: var(--quote-control-height) !important;
  min-height: var(--quote-control-height) !important;
  padding: 0 52px 0 18px !important;
  border-radius: 22px !important;
  box-sizing: border-box;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

.quote-combo-button {
  cursor: pointer;
}

.quote-city-combobox {
  cursor: text;
}

.quote-city-combobox::before {
  display: none;
  content: none;
}

.quote-city-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  width: 58px;
  height: var(--quote-control-height);
  border: 0;
  border-radius: 0 22px 22px 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

.quote-city-toggle::before {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform .22s var(--ease);
}

.quote-city-combobox.is-open .quote-city-toggle::before {
  transform: translateY(-35%) rotate(225deg);
}

.quote-city-toggle:hover,
.quote-city-toggle:focus-visible {
  outline: none;
}

.quote-city-combobox::after,
.quote-combo-button::after {
  right: 20px;
  z-index: 5;
}

.quote-phone-input::placeholder {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.quote-combo-list,
.quote-city-list {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.quote-combo-list::-webkit-scrollbar,
.quote-city-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (max-width: 620px) {
  .quote-form {
    --quote-control-height: 60px;
  }
}



/* Energy page reference cards and readable headline rhythm. */
.energy-services-page .section-head h2,
.energy-services-page .ges-quote-copy h2 {
  line-height: 1.12;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.energy-services-page .section-head > p:not(.section-kicker),
.energy-services-page .ges-quote-copy p:not(.section-kicker) {
  line-height: 1.78;
}

.energy-services-page .ges-quote-copy h2 {
  max-width: 760px;
}

.ges-reference-head {
  gap: clamp(16px, 3vw, 36px);
}

.ges-reference-head > p:not(.section-kicker) {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.75;
}

.ges-reference-grid {
  gap: clamp(16px, 2vw, 24px);
}

.ges-reference-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 360px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(244, 251, 238, .72)),
    radial-gradient(circle at 82% 12%, rgba(197, 239, 98, .24), transparent 28%);
  box-shadow: 0 24px 70px rgba(31, 42, 56, .09);
}

.ges-reference-card::before {
  position: absolute;
  inset: auto -18% -34% 26%;
  height: 190px;
  border: 1px solid rgba(112, 153, 35, .16);
  border-radius: 999px 999px 0 0;
  content: "";
  opacity: .8;
  transform: rotate(-8deg);
}

.ges-reference-card span:not(.ges-reference-sun):not(.ges-reference-panel):not(.ges-reference-wave):not(.ges-reference-inverter):not(.ges-reference-battery):not(.ges-reference-report) {
  position: relative;
  z-index: 1;
}

.ges-reference-card h3 {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 22px 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.ges-reference-card p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  color: var(--muted);
  font-size: clamp(.96rem, 1vw, 1.04rem);
  line-height: 1.7;
}

.ges-reference-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin-bottom: 26px;
  border: 1px solid rgba(16, 23, 36, .08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .3) 44%, transparent 45%),
    linear-gradient(145deg, rgba(197, 239, 98, .62), rgba(183, 233, 242, .46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 18px 38px rgba(31, 42, 56, .1);
}

.ges-reference-sun {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 10px rgba(197, 239, 98, .22);
}

.ges-reference-panel {
  width: 68px;
  height: 44px;
  border: 2px solid rgba(68, 83, 104, .72);
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 31%, rgba(68, 83, 104, .3) 32%, rgba(68, 83, 104, .3) 34%, transparent 35%, transparent 65%, rgba(68, 83, 104, .3) 66%, rgba(68, 83, 104, .3) 68%, transparent 69%),
    linear-gradient(180deg, rgba(255,255,255,.48), rgba(185, 233, 242, .42));
  transform: skewX(-10deg) rotate(-4deg);
}

.ges-reference-wave {
  position: absolute;
  width: 72px;
  height: 30px;
  border-bottom: 4px solid rgba(112, 153, 35, .85);
  border-radius: 0 0 999px 999px;
  transform: translateY(10px);
}

.ges-reference-wave::before,
.ges-reference-wave::after {
  position: absolute;
  top: -13px;
  width: 36px;
  height: 26px;
  border-top: 4px solid rgba(68, 83, 104, .7);
  border-radius: 999px 999px 0 0;
  content: "";
}

.ges-reference-wave::before { left: 0; }
.ges-reference-wave::after { right: 0; }

.ges-reference-inverter {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 34px;
  height: 42px;
  border-radius: 10px;
  background: rgba(68, 83, 104, .82);
  box-shadow: inset 0 -10px 0 rgba(255,255,255,.14);
}

.ges-reference-battery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 76px;
  height: 48px;
  padding: 7px;
  border: 3px solid rgba(68, 83, 104, .76);
  border-radius: 14px;
}

.ges-reference-battery::after {
  position: absolute;
  top: 14px;
  right: -10px;
  width: 8px;
  height: 20px;
  border-radius: 0 7px 7px 0;
  background: rgba(68, 83, 104, .76);
  content: "";
}

.ges-reference-battery i {
  border-radius: 8px;
  background: linear-gradient(180deg, var(--lime), #70bf45);
}

.ges-reference-report {
  display: grid;
  gap: 8px;
  width: 70px;
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.74);
  box-shadow: inset 0 0 0 2px rgba(68, 83, 104, .18);
}

.ges-reference-report i {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(68, 83, 104, .76), rgba(197, 239, 98, .82));
}

.ges-reference-card--dc .ges-reference-visual {
  background: linear-gradient(145deg, rgba(197, 239, 98, .72), rgba(185, 233, 242, .5));
}

.ges-reference-card--ac .ges-reference-visual {
  background: linear-gradient(145deg, rgba(185, 233, 242, .72), rgba(255, 255, 255, .54));
}

.ges-reference-card--battery .ges-reference-visual {
  background: linear-gradient(145deg, rgba(226, 246, 190, .82), rgba(255, 255, 255, .56));
}

.ges-reference-card--report .ges-reference-visual {
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(197, 239, 98, .42));
}

@media (max-width: 760px) {
  .energy-services-page .section-head h2,
  .energy-services-page .ges-quote-copy h2 {
    line-height: 1.16;
    letter-spacing: -.04em;
  }

  .ges-reference-card {
    min-height: auto;
  }

  .ges-reference-visual {
    width: 96px;
    height: 96px;
    margin-bottom: 20px;
  }
}

html[data-theme="dark"] .ges-reference-card {
  background:
    linear-gradient(145deg, rgba(16, 28, 40, .88), rgba(24, 38, 48, .74)),
    radial-gradient(circle at 82% 12%, rgba(197, 239, 98, .12), transparent 30%);
}


/* Cleaner technical pictograms for GES reference cards. */
.ges-reference-visual {
  width: 108px;
  height: 108px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(236,248,237,.5)),
    radial-gradient(circle at 78% 18%, rgba(197, 239, 98, .32), transparent 28%);
}

.ges-reference-sun {
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  background: rgba(197, 239, 98, .96);
  box-shadow: 0 0 0 9px rgba(197, 239, 98, .18);
}

.ges-reference-panel {
  position: relative;
  width: 66px;
  height: 46px;
  border: 2px solid rgba(68, 83, 104, .78);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(68, 83, 104, .34) 33%, rgba(68, 83, 104, .34) 35%, transparent 36%, transparent 64%, rgba(68, 83, 104, .34) 65%, rgba(68, 83, 104, .34) 67%, transparent 68%),
    linear-gradient(180deg, transparent 48%, rgba(68, 83, 104, .28) 49%, rgba(68, 83, 104, .28) 52%, transparent 53%),
    linear-gradient(145deg, rgba(255,255,255,.58), rgba(185, 233, 242, .52));
  box-shadow: 0 12px 20px rgba(68, 83, 104, .13);
  transform: perspective(90px) rotateX(9deg) rotateZ(-4deg);
}

.ges-reference-panel::after {
  position: absolute;
  left: 25px;
  bottom: -15px;
  width: 16px;
  height: 14px;
  border-left: 2px solid rgba(68, 83, 104, .54);
  border-right: 2px solid rgba(68, 83, 104, .54);
  content: "";
}

.ges-reference-wave {
  top: 50%;
  left: 18px;
  width: 72px;
  height: 28px;
  border: 0;
  background:
    radial-gradient(ellipse at 25% 50%, transparent 44%, rgba(112, 153, 35, .86) 46%, rgba(112, 153, 35, .86) 52%, transparent 54%),
    radial-gradient(ellipse at 75% 50%, transparent 44%, rgba(68, 83, 104, .76) 46%, rgba(68, 83, 104, .76) 52%, transparent 54%);
  transform: translateY(-50%);
}

.ges-reference-wave::before,
.ges-reference-wave::after {
  display: none;
}

.ges-reference-inverter {
  right: 30px;
  bottom: 26px;
  width: 44px;
  height: 46px;
  border: 2px solid rgba(255,255,255,.52);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(68, 83, 104, .9), rgba(68, 83, 104, .72));
  box-shadow: 0 14px 24px rgba(31, 42, 56, .16), inset 0 -11px 0 rgba(255,255,255,.12);
}

.ges-reference-inverter::before,
.ges-reference-inverter::after {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 3px;
  border-radius: 999px;
  background: rgba(197, 239, 98, .72);
  content: "";
}

.ges-reference-inverter::before { top: 13px; }
.ges-reference-inverter::after { top: 22px; }

.ges-reference-battery {
  width: 72px;
  height: 46px;
  gap: 4px;
  padding: 7px;
  border: 2px solid rgba(68, 83, 104, .78);
  border-radius: 13px;
  background: rgba(255,255,255,.5);
  box-shadow: 0 14px 22px rgba(68, 83, 104, .12);
}

.ges-reference-battery::after {
  top: 15px;
  right: -8px;
  width: 7px;
  height: 16px;
  border-radius: 0 6px 6px 0;
}

.ges-reference-battery i {
  min-width: 0;
  border-radius: 6px;
}

.ges-reference-report {
  position: relative;
  width: 66px;
  min-height: 78px;
  gap: 8px;
  padding: 18px 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 2px rgba(68, 83, 104, .16), 0 14px 22px rgba(68, 83, 104, .12);
}

.ges-reference-report::before {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.ges-reference-report i:nth-child(1) { width: 80%; }
.ges-reference-report i:nth-child(2) { width: 58%; }
.ges-reference-report i:nth-child(3) { width: 72%; }

@media (max-width: 760px) {
  .ges-reference-visual {
    width: 94px;
    height: 94px;
    border-radius: 24px;
  }

  .ges-reference-panel {
    width: 58px;
    height: 40px;
  }

  .ges-reference-inverter {
    right: 25px;
    bottom: 22px;
    width: 38px;
    height: 42px;
  }
}


/* Simplified GES reference pictograms: remove background clutter and clarify inverter. */
.ges-reference-visual {
  overflow: visible;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(239, 250, 240, .72));
}

.ges-reference-card::before {
  display: none;
}

.ges-reference-card--dc .ges-reference-visual,
.ges-reference-card--ac .ges-reference-visual,
.ges-reference-card--battery .ges-reference-visual,
.ges-reference-card--report .ges-reference-visual {
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(238, 249, 240, .74));
}

.ges-reference-card--ac .ges-reference-visual {
  background: linear-gradient(145deg, rgba(244, 253, 255, .96), rgba(224, 245, 247, .76));
}

.ges-reference-card--ac .ges-reference-wave {
  left: 18px;
  bottom: 20px;
  top: auto;
  width: 72px;
  height: 18px;
  background: none;
  border: 0;
  transform: none;
}

.ges-reference-card--ac .ges-reference-wave::before {
  display: block;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 17% 50%, transparent 44%, rgba(112, 153, 35, .9) 47%, rgba(112, 153, 35, .9) 53%, transparent 56%),
    radial-gradient(ellipse at 50% 50%, transparent 44%, rgba(112, 153, 35, .9) 47%, rgba(112, 153, 35, .9) 53%, transparent 56%),
    radial-gradient(ellipse at 83% 50%, transparent 44%, rgba(112, 153, 35, .9) 47%, rgba(112, 153, 35, .9) 53%, transparent 56%);
  content: "";
}

.ges-reference-card--ac .ges-reference-wave::after {
  display: none;
}

.ges-reference-inverter {
  top: 18px;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 54px;
  height: 58px;
  border: 2px solid rgba(68, 83, 104, .78);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.3), transparent 38%),
    linear-gradient(180deg, rgba(82, 98, 118, .96), rgba(63, 78, 96, .9));
  box-shadow: 0 16px 24px rgba(31, 42, 56, .16), inset 0 -14px 0 rgba(255,255,255,.11);
  transform: translateX(-50%);
}

.ges-reference-inverter::before {
  top: 13px;
  left: 13px;
  right: 13px;
  height: 4px;
  border-radius: 999px;
  background: rgba(197, 239, 98, .95);
}

.ges-reference-inverter::after {
  top: 25px;
  left: 12px;
  right: 12px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.38);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,.38) 48%, rgba(255,255,255,.38) 52%, transparent 53%);
}

@media (max-width: 760px) {
  .ges-reference-inverter {
    top: 15px;
    width: 48px;
    height: 52px;
  }
}


/* AC reference icon should show only the inverter, no green ground shape. */
.ges-reference-card--ac .ges-reference-wave,
.ges-reference-card--ac .ges-reference-wave::before,
.ges-reference-card--ac .ges-reference-wave::after {
  display: none !important;
}


/* Large visual reference showcase for the GES page. */
.ges-reference-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.ges-reference-case {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 34px);
  min-height: 360px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(16, 23, 36, .09);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 12%, rgba(197, 239, 98, .18), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(244, 250, 241, .72));
  box-shadow: 0 24px 70px rgba(31, 42, 56, .08);
}

.ges-reference-case::after {
  position: absolute;
  inset: auto -12% -28% 44%;
  height: 190px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(197, 239, 98, .14), rgba(185, 233, 242, .12));
  content: "";
  pointer-events: none;
}

.ges-reference-shot {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  justify-self: center;
  width: min(100%, 310px);
  min-height: 242px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 23, 36, .1);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(236,248,241,.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 20px 46px rgba(31, 42, 56, .1);
}

.ges-shot-top,
.ges-shot-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ges-shot-top span,
.ges-shot-bottom span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ges-shot-top strong {
  color: var(--ink);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.ges-shot-bottom {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ges-shot-bottom span {
  padding: 7px 9px;
  border: 1px solid rgba(16, 23, 36, .08);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 8px 18px rgba(31, 42, 56, .04);
}

.ges-reference-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.ges-reference-copy > span {
  color: var(--lime-deep);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ges-reference-copy h3 {
  max-width: 420px;
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: clamp(1.65rem, 2.4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.ges-reference-copy p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.05vw, 1.08rem);
  line-height: 1.72;
}

.ges-panel-field {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: min(100%, 210px);
  margin: 18px auto;
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(68,83,104,.08), rgba(185,233,242,.22));
  transform: perspective(380px) rotateX(10deg) rotateZ(-2deg);
}

.ges-panel-field i {
  aspect-ratio: 1.25;
  border: 1px solid rgba(68, 83, 104, .22);
  border-radius: 9px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(68,83,104,.16) 49%, rgba(68,83,104,.16) 51%, transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(185,233,242,.52));
}

.ges-shot-dc::before {
  position: absolute;
  top: 68px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 12px rgba(197, 239, 98, .18);
  content: "";
}

.ges-inverter-scene {
  display: grid;
  place-items: center;
  min-height: 138px;
  margin: 10px auto 14px;
}

.ges-inverter-unit {
  position: relative;
  width: 82px;
  height: 112px;
  border: 2px solid rgba(68,83,104,.7);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.25), transparent 38%),
    linear-gradient(180deg, rgba(82,98,118,.96), rgba(55,70,88,.92));
  box-shadow: 0 18px 30px rgba(31, 42, 56, .18), inset 0 -18px 0 rgba(255,255,255,.1);
}

.ges-inverter-unit i {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 5px;
  border-radius: 999px;
  background: var(--lime);
}

.ges-inverter-unit i:nth-child(1) { top: 22px; }
.ges-inverter-unit i:nth-child(2) { top: 36px; opacity: .6; }

.ges-inverter-unit b {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,.36);
  border-radius: 12px;
  background: linear-gradient(90deg, transparent 47%, rgba(255,255,255,.34) 48%, rgba(255,255,255,.34) 52%, transparent 53%);
}

.ges-ac-lines {
  position: absolute;
  right: 34px;
  bottom: 62px;
  display: grid;
  gap: 6px;
}

.ges-ac-lines span {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(197,239,98,.95), rgba(185,233,242,.7));
}

.ges-battery-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  width: min(100%, 220px);
  height: 126px;
  margin: 16px auto;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 0 0 1px rgba(16,23,36,.08);
}

.ges-battery-stack i {
  position: relative;
  min-height: 58px;
  border: 2px solid rgba(68,83,104,.62);
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, rgba(197,239,98,.92), rgba(112,153,35,.76));
}

.ges-battery-stack i:nth-child(2) { min-height: 78px; }
.ges-battery-stack i:nth-child(3) { min-height: 98px; }
.ges-battery-stack i:nth-child(4) { min-height: 116px; }

.ges-battery-stack i::before {
  position: absolute;
  top: -8px;
  left: 35%;
  width: 30%;
  height: 7px;
  border-radius: 6px 6px 0 0;
  background: rgba(68,83,104,.62);
  content: "";
}

.ges-report-preview {
  position: relative;
  display: grid;
  gap: 11px;
  width: min(100%, 205px);
  margin: 15px auto;
  padding: 22px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.76);
  box-shadow: inset 0 0 0 1px rgba(16,23,36,.08), 0 18px 34px rgba(31,42,56,.08);
}

.ges-report-preview span {
  height: 10px;
  border-radius: 999px;
  background: rgba(68,83,104,.18);
}

.ges-report-preview span:nth-child(1) { width: 82%; }
.ges-report-preview span:nth-child(2) { width: 58%; background: rgba(197,239,98,.86); }
.ges-report-preview span:nth-child(3) { width: 72%; }

.ges-report-preview i {
  width: 68px;
  height: 68px;
  margin: 4px auto 0;
  border: 10px solid rgba(197,239,98,.74);
  border-right-color: rgba(68,83,104,.36);
  border-radius: 50%;
}

@media (max-width: 1120px) {
  .ges-reference-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ges-reference-case {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .ges-reference-copy h3,
  .ges-reference-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .ges-reference-shot {
    width: min(100%, 280px);
  }
}

html[data-theme="dark"] .ges-reference-case,
html[data-theme="dark"] .ges-reference-shot {
  background: rgba(16, 28, 40, .82);
  border-color: var(--line);
}

/* Keep city and project controls aligned with standard quote text inputs. */
.quote-form {
  --quote-control-height: 48px;
}

.quote-form .quote-combo-button,
.quote-form .quote-city-input {
  height: 48px !important;
  min-height: 48px !important;
  padding: 12px 44px 12px 14px !important;
  border-radius: 16px !important;
  line-height: 1.35 !important;
}

.quote-form .quote-city-toggle {
  width: 48px !important;
  height: 48px !important;
  border-radius: 0 16px 16px 0 !important;
}

.quote-form .quote-city-toggle::before,
.quote-form .quote-city-combobox::after,
.quote-form .quote-combo-button::after {
  right: 18px !important;
}

@media (max-width: 620px) {
  .quote-form {
    --quote-control-height: 48px;
  }
}

/* Energy references page. */
.energy-references-page {
  background:
    radial-gradient(circle at 78% 7%, rgba(197, 239, 98, .28), transparent 28%),
    linear-gradient(180deg, #f7f6ef 0%, #eef8f7 42%, #f7f6ef 100%);
}

.energy-reference-hero { overflow: hidden; }
.energy-reference-hero .hero-grid { align-items: center; }
.energy-reference-hero h1 { line-height: 1.04; }

.energy-reference-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.energy-reference-stats span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(112, 153, 35, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 14px 34px rgba(31, 42, 56, .06);
}

.energy-reference-stats strong {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  line-height: 1.1;
}

.energy-reference-stats small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.35;
}

.energy-reference-visual {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border: 1px solid rgba(112, 153, 35, .18);
  border-radius: 34px;
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.energy-reference-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 338px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 58px rgba(31, 42, 56, .14);
}

.reference-orbit {
  position: absolute;
  inset: -12% 8% 12% -6%;
  z-index: 1;
  border: 1px solid rgba(112, 153, 35, .22);
  border-radius: 50%;
}

.reference-orbit::before,
.reference-orbit::after {
  position: absolute;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.reference-orbit::before { inset: 46px; }
.reference-orbit::after { inset: 102px; background: rgba(197, 239, 98, .16); border: 0; }

.reference-mini-card {
  position: absolute;
  right: 48px;
  bottom: 42px;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 44px rgba(31, 42, 56, .14);
  backdrop-filter: blur(16px);
}

.reference-mini-card strong {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
}

.reference-mini-card span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}

.energy-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.energy-reference-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 23, 36, .09);
  border-radius: 32px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 24px 70px rgba(31, 42, 56, .08);
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}

.energy-reference-card:hover,
.energy-reference-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(112, 153, 35, .24);
  box-shadow: 0 32px 86px rgba(31, 42, 56, .12);
}

.energy-reference-card figure { margin: 0; padding: 12px 12px 0; }

.energy-reference-card figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  background: #e9f5f2;
}

.energy-reference-content {
  display: grid;
  gap: 15px;
  padding: 22px;
}

.energy-reference-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--lime-deep);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.energy-reference-meta b {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(197, 239, 98, .64);
  letter-spacing: .02em;
  text-transform: none;
}

.energy-reference-content h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.25vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.energy-reference-content p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.energy-reference-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.energy-reference-kpis span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(208, 217, 218, .88);
  border-radius: 18px;
  background: rgba(247, 250, 245, .82);
}

.energy-reference-kpis strong {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(.96rem, 1.3vw, 1.25rem);
  line-height: 1.1;
}

.energy-reference-kpis small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.35;
}

.reference-process-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(112, 153, 35, .2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 12%, rgba(197, 239, 98, .46), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(226, 246, 246, .72));
  box-shadow: var(--shadow);
}

.reference-process-card h2 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 1.08;
}

.reference-process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.reference-process-steps span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 23, 36, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  color: var(--ink-soft);
  font-weight: 850;
}

.reference-process-steps b {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: .72rem;
}

@media (prefers-reduced-motion: no-preference) {
  .reference-orbit { animation: reference-orbit-drift 14s ease-in-out infinite alternate; }
}

@keyframes reference-orbit-drift {
  from { transform: translate3d(-10px, 8px, 0) rotate(-2deg); }
  to { transform: translate3d(12px, -8px, 0) rotate(3deg); }
}

@media (max-width: 1050px) {
  .energy-reference-stats,
  .reference-process-steps { grid-template-columns: 1fr; }
  .energy-reference-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .energy-reference-visual {
    min-height: 300px;
    padding: 14px;
    border-radius: 26px;
  }

  .energy-reference-visual img {
    min-height: 250px;
    border-radius: 20px;
  }

  .reference-mini-card {
    right: 24px;
    bottom: 22px;
    min-width: 0;
    max-width: calc(100% - 48px);
  }

  .energy-reference-kpis { grid-template-columns: 1fr; }
  .energy-reference-card,
  .reference-process-card { border-radius: 24px; }
  .energy-reference-content { padding: 18px; }
}

html[data-theme="dark"] .energy-references-page {
  background:
    radial-gradient(circle at 78% 7%, rgba(197, 239, 98, .14), transparent 28%),
    linear-gradient(180deg, #081019 0%, #102031 48%, #081019 100%);
}

html[data-theme="dark"] .energy-reference-stats span,
html[data-theme="dark"] .energy-reference-visual,
html[data-theme="dark"] .energy-reference-card,
html[data-theme="dark"] .reference-process-card,
html[data-theme="dark"] .reference-process-steps span,
html[data-theme="dark"] .energy-reference-kpis span,
html[data-theme="dark"] .reference-mini-card {
  background: rgba(16, 28, 40, .82);
  border-color: var(--line);
}


/* Home page narrative showcase. */
.home-page .home-hero::before {
  position: absolute;
  top: -18%;
  right: -10%;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  border-radius: 42% 58% 63% 37%;
  content: "";
  pointer-events: none;
  opacity: .38;
  background: linear-gradient(135deg, rgba(197, 239, 98, .52), rgba(185, 233, 242, .16) 58%, transparent 72%);
  will-change: transform;
}

.home-page .hero-product {
  isolation: isolate;
}

.home-page .product-console::after {
  position: absolute;
  inset: 19px;
  z-index: -1;
  border-radius: 20px;
  content: "";
  background: rgba(197, 239, 98, .28);
  filter: blur(30px);
  opacity: .58;
}

.home-page .console-main {
  position: relative;
  overflow: hidden;
}

.home-page .console-main::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 24%;
  content: "";
  pointer-events: none;
  opacity: .32;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
  transform: skewX(-16deg);
}

.home-signal-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(197, 239, 98, .22);
  border-bottom: 1px solid rgba(197, 239, 98, .22);
  color: #eff8e0;
  background: #26364a;
  box-shadow: 0 18px 42px rgba(31, 42, 56, .12);
}

.home-signal-strip::before,
.home-signal-strip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(28px, 8vw, 120px);
  content: "";
  pointer-events: none;
}

.home-signal-strip::before {
  left: 0;
  background: linear-gradient(90deg, #26364a, transparent);
}

.home-signal-strip::after {
  right: 0;
  background: linear-gradient(-90deg, #26364a, transparent);
}

.home-signal-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.home-signal-group {
  display: flex;
  flex: none;
  align-items: center;
  min-height: 62px;
}

.home-signal-group span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-right: 36px;
  font-family: "Sora", sans-serif;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-signal-group span::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  content: "";
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(197, 239, 98, .12);
}

.home-directory-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(197, 239, 98, .28), transparent 25%),
    radial-gradient(circle at 92% 8%, rgba(185, 233, 242, .42), transparent 28%),
    linear-gradient(180deg, #edf2eb 0%, #f5f3ed 100%);
}

.home-directory-section::before {
  position: absolute;
  top: 80px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(112, 153, 35, .17);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  box-shadow: 0 0 0 54px rgba(112, 153, 35, .035), 0 0 0 108px rgba(112, 153, 35, .025);
}

.home-directory-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .72fr);
  align-items: end;
  gap: clamp(32px, 8vw, 110px);
  margin-bottom: 48px;
}

.home-directory-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 1.01;
  letter-spacing: -.065em;
}

.home-directory-head h2 em {
  color: var(--lime-deep);
  font-style: normal;
}

.home-directory-head > p {
  max-width: 540px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.home-directory-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.home-destination-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  padding: clamp(24px, 3.2vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(16, 23, 36, .1);
  border-radius: 32px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 22px 58px rgba(31, 42, 56, .09);
  transition: transform .36s var(--ease), box-shadow .36s ease, border-color .36s ease;
}

.home-destination-card::before {
  position: absolute;
  inset: auto -18% -34% auto;
  z-index: -1;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  opacity: .4;
  background: rgba(255, 255, 255, .72);
  transform: scale(.86);
  transition: opacity .36s ease, transform .5s var(--ease);
}

.home-destination-card::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color .3s ease;
}

.home-destination-card:hover,
.home-destination-card:focus-visible {
  outline: none;
  border-color: rgba(112, 153, 35, .28);
  box-shadow: 0 32px 78px rgba(31, 42, 56, .15);
  transform: translate3d(0, -7px, 0);
}

.home-destination-card:hover::before,
.home-destination-card:focus-visible::before {
  opacity: .74;
  transform: scale(1.08);
}

.home-destination-card:hover::after,
.home-destination-card:focus-visible::after {
  border-color: rgba(255, 255, 255, .45);
}

.home-destination-card--applications {
  grid-column: span 7;
  min-height: 560px;
  color: #f7fbff;
  border-color: rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 80% 20%, rgba(94, 200, 225, .24), transparent 31%),
    linear-gradient(145deg, #27384d, #172538);
}

.home-destination-card--applications::before {
  background: rgba(197, 239, 98, .28);
}

.home-destination-card--energy {
  grid-column: span 5;
  min-height: 560px;
  padding-bottom: 230px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .68), transparent 27%),
    linear-gradient(145deg, #e4f2bf, #bceae6);
}

.home-destination-card--games {
  grid-column: span 4;
  padding-bottom: 165px;
  background: linear-gradient(145deg, #e2dcff, #cfd8fb);
}

.home-destination-card--about {
  grid-column: span 4;
  padding-bottom: 165px;
  background: linear-gradient(145deg, #fffef9, #e8eee8);
}

.home-destination-card--support {
  grid-column: span 4;
  padding-bottom: 165px;
  background: linear-gradient(145deg, #c7edf3, #dff0d3);
}

.home-destination-index {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  opacity: .68;
}

.home-destination-index::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.home-destination-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 54px;
}

.home-destination-card--applications .home-destination-copy {
  max-width: 55%;
}

.home-destination-copy h3 {
  max-width: 690px;
  margin: 0;
  color: inherit;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem, 3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.home-destination-copy p {
  max-width: 610px;
  margin: 18px 0 0;
  color: inherit;
  font-size: .95rem;
  line-height: 1.72;
  opacity: .72;
}

.home-destination-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  color: inherit;
  font-size: .8rem;
  font-weight: 900;
}

.home-destination-link i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  opacity: .78;
  transition: color .25s ease, background .25s ease, transform .3s var(--ease);
}

.home-destination-card:hover .home-destination-link i,
.home-destination-card:focus-visible .home-destination-link i {
  color: #203043;
  background: var(--lime);
  transform: rotate(45deg);
}

.home-destination-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.home-destination-art--applications {
  right: 20px;
  bottom: 24px;
  width: 42%;
  height: 76%;
}

.destination-app {
  position: absolute;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  width: min(100%, 260px);
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 22px 42px rgba(5, 15, 27, .2);
  backdrop-filter: blur(12px);
}

.destination-app img {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.destination-app b {
  color: #fff;
  font-size: .92rem;
}

.destination-app small {
  color: #b9c8d7;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.destination-app--clayvia {
  top: 13%;
  right: 0;
  transform: rotate(4deg);
}

.destination-app--energy {
  right: 14%;
  bottom: 10%;
  transform: rotate(-5deg);
}

.home-destination-art--applications::before,
.home-destination-art--applications::after {
  position: absolute;
  border: 1px solid rgba(197, 239, 98, .28);
  border-radius: 50%;
  content: "";
}

.home-destination-art--applications::before {
  inset: 2% 4% 8% -6%;
}

.home-destination-art--applications::after {
  inset: 17% 16% 22% 7%;
  border-color: rgba(185, 233, 242, .34);
}

.home-destination-art--energy {
  right: 20px;
  bottom: 16px;
  left: 20px;
  height: 190px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(53, 92, 87, .12));
}

.energy-sun {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f7ffcf;
  box-shadow: 0 0 0 13px rgba(255, 255, 255, .18);
}

.energy-field {
  position: absolute;
  right: -12px;
  bottom: 17px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  transform: perspective(300px) rotateX(56deg) rotateZ(-3deg);
  transform-origin: bottom;
}

.energy-field i {
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .45);
  background:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px),
    #355d65;
  background-size: 16px 16px;
}

.energy-pulse {
  position: absolute;
  top: 25px;
  left: 24px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #2a4d43;
}

.energy-pulse b {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.energy-pulse small {
  font-weight: 900;
}

.home-destination-art--games {
  right: 18px;
  bottom: 12px;
  width: 180px;
  height: 150px;
}

.game-cross {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 74px;
  height: 74px;
  border-radius: 25px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 16px 30px rgba(48, 54, 95, .12);
  transform: rotate(-8deg);
}

.game-cross i {
  position: absolute;
  top: 34px;
  left: 19px;
  width: 36px;
  height: 7px;
  border-radius: 99px;
  background: #51627a;
}

.game-cross i:last-child {
  transform: rotate(90deg);
}

.game-button {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 7px solid rgba(255, 255, 255, .68);
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 8px 20px rgba(48, 54, 95, .16);
}

.game-button--one {
  right: 22px;
  bottom: 25px;
}

.game-button--two {
  right: 60px;
  bottom: 63px;
  background: #53a9c6;
}

.game-orbit {
  position: absolute;
  inset: 3px 0 0 30px;
  border: 1px solid rgba(68, 83, 104, .28);
  border-radius: 50%;
}

.home-destination-art--about {
  right: 22px;
  bottom: 12px;
  display: flex;
  width: 190px;
  height: 150px;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
}

.home-destination-art--about span {
  position: absolute;
  right: 56px;
  bottom: -25px;
  color: rgba(68, 83, 104, .16);
  font-family: "Sora", sans-serif;
  font-size: 10rem;
  font-weight: 800;
  line-height: 1;
}

.home-destination-art--about i {
  position: relative;
  z-index: 1;
  width: 16px;
  border-radius: 999px;
  background: var(--lime-deep);
}

.home-destination-art--about i:nth-of-type(1) { height: 46px; opacity: .42; }
.home-destination-art--about i:nth-of-type(2) { height: 78px; opacity: .68; }
.home-destination-art--about i:nth-of-type(3) { height: 116px; }

.home-destination-art--support {
  right: 22px;
  bottom: 18px;
  width: 190px;
  height: 140px;
}

.support-wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.support-wave i {
  width: 13px;
  height: 46px;
  border-radius: 99px;
  background: #486c78;
}

.support-wave i:nth-child(2) { height: 90px; background: var(--lime-deep); }
.support-wave i:nth-child(3) { height: 64px; }

.home-destination-art--support b {
  position: absolute;
  right: 75px;
  bottom: 6px;
  color: rgba(68, 83, 104, .28);
  font-size: .64rem;
  letter-spacing: .16em;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .home-hero::before {
    animation: home-aurora-drift 12s ease-in-out infinite alternate;
  }

  .home-page .orbit-one {
    animation: home-orbit-one 26s linear infinite;
  }

  .home-page .orbit-two {
    animation: home-orbit-two 21s linear infinite;
  }

  .home-page .product-console {
    animation: home-console-float 6.8s ease-in-out infinite;
  }

  .home-page .console-main::after {
    animation: home-console-scan 5.6s ease-in-out infinite;
  }

  .home-page .console-main i {
    transform-origin: left center;
    animation: home-signal-pulse 3.8s ease-in-out infinite;
  }

  .home-page .floating-label {
    animation: home-label-float 5s ease-in-out infinite;
  }

  .home-page .label-istanbul {
    animation-delay: -2.4s;
  }

  .home-page .energy-chart path {
    stroke-dasharray: 34 10;
    animation: home-chart-flow 5s linear infinite;
  }

  .home-signal-track {
    animation: home-signal-scroll 34s linear infinite;
  }

  .destination-app--clayvia {
    animation: home-app-clayvia 5.8s ease-in-out infinite;
  }

  .destination-app--energy {
    animation: home-app-energy 6.4s ease-in-out infinite;
  }

  .energy-sun {
    animation: home-energy-sun 5.2s ease-in-out infinite;
  }

  .game-orbit {
    animation: home-game-orbit 14s linear infinite;
  }

  .support-wave i {
    transform-origin: center;
    animation: home-support-wave 2.2s ease-in-out infinite;
  }

  .support-wave i:nth-child(2) { animation-delay: -.45s; }
  .support-wave i:nth-child(3) { animation-delay: -.9s; }
}

@keyframes home-aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-5deg) scale(.94); }
  to { transform: translate3d(5%, 4%, 0) rotate(4deg) scale(1.06); }
}

@keyframes home-orbit-one {
  from { transform: rotate(-17deg); }
  to { transform: rotate(343deg); }
}

@keyframes home-orbit-two {
  from { transform: rotate(24deg); }
  to { transform: rotate(-336deg); }
}

@keyframes home-console-float {
  0%, 100% { transform: translate3d(0, -5px, 0); }
  50% { transform: translate3d(0, 8px, 0); }
}

@keyframes home-console-scan {
  0%, 22% { transform: translate3d(-40%, 0, 0) skewX(-16deg); opacity: 0; }
  42% { opacity: .34; }
  66%, 100% { transform: translate3d(590%, 0, 0) skewX(-16deg); opacity: 0; }
}

@keyframes home-signal-pulse {
  0%, 100% { transform: scaleX(.58); opacity: .72; }
  52% { transform: scaleX(1); opacity: 1; }
}

@keyframes home-label-float {
  0%, 100% { transform: translate3d(0, -3px, 0); }
  50% { transform: translate3d(0, 7px, 0); }
}

@keyframes home-chart-flow {
  to { stroke-dashoffset: -88; }
}

@keyframes home-signal-scroll {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes home-app-clayvia {
  0%, 100% { transform: translate3d(0, -3px, 0) rotate(4deg); }
  50% { transform: translate3d(-5px, 7px, 0) rotate(2deg); }
}

@keyframes home-app-energy {
  0%, 100% { transform: translate3d(0, 4px, 0) rotate(-5deg); }
  50% { transform: translate3d(5px, -7px, 0) rotate(-3deg); }
}

@keyframes home-energy-sun {
  0%, 100% { transform: scale(.92); opacity: .8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes home-game-orbit {
  to { transform: rotate(360deg); }
}

@keyframes home-support-wave {
  0%, 100% { transform: scaleY(.62); }
  50% { transform: scaleY(1); }
}

@media (max-width: 1080px) {
  .home-destination-card--applications,
  .home-destination-card--energy {
    grid-column: 1 / -1;
  }

  .home-destination-card--applications {
    min-height: 500px;
  }

  .home-destination-card--energy {
    min-height: 480px;
  }

  .home-destination-card--games,
  .home-destination-card--about {
    grid-column: span 6;
  }

  .home-destination-card--support {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .home-directory-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

  .home-directory-head h2 {
    font-size: clamp(2.65rem, 12vw, 4.8rem);
  }

  .home-directory-head > p {
    max-width: 650px;
  }

  .home-destination-card--games,
  .home-destination-card--about,
  .home-destination-card--support {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .home-signal-group {
    min-height: 52px;
  }

  .home-signal-group span {
    gap: 14px;
    padding-right: 28px;
    font-size: .66rem;
  }

  .home-directory-section {
    padding-top: 72px;
  }

  .home-directory-section::before {
    display: none;
  }

  .home-destination-card,
  .home-destination-card--applications,
  .home-destination-card--energy,
  .home-destination-card--games,
  .home-destination-card--about,
  .home-destination-card--support {
    min-height: 0;
    padding: 24px;
    border-radius: 25px;
  }

  .home-destination-copy,
  .home-destination-card--applications .home-destination-copy {
    max-width: none;
    padding-top: 34px;
  }

  .home-destination-copy h3 {
    font-size: clamp(1.7rem, 8.5vw, 2.5rem);
    line-height: 1.12;
  }

  .home-destination-copy p {
    font-size: .9rem;
  }

  .home-destination-link {
    margin-top: 24px;
    padding-top: 0;
  }

  .home-destination-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: 180px;
    margin-top: 26px;
  }

  .home-destination-art--applications {
    height: 240px;
  }

  .home-destination-art--about,
  .home-destination-art--support {
    height: 140px;
  }

  .destination-app {
    width: min(82%, 250px);
  }
}

html[data-theme="dark"] .home-directory-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(197, 239, 98, .11), transparent 25%),
    radial-gradient(circle at 92% 8%, rgba(77, 177, 205, .14), transparent 28%),
    linear-gradient(180deg, #0d1925 0%, #101c29 100%);
}

html[data-theme="dark"] .home-directory-head h2 {
  color: #edf3fa;
}

html[data-theme="dark"] .home-destination-card--energy {
  color: #eaf4f4;
  background: linear-gradient(145deg, #244337, #284e58);
}

html[data-theme="dark"] .home-destination-card--games {
  color: #eef0ff;
  background: linear-gradient(145deg, #32345d, #293c5e);
}

html[data-theme="dark"] .home-destination-card--about {
  color: #eef3f7;
  background: linear-gradient(145deg, #26364a, #1a2939);
}

html[data-theme="dark"] .home-destination-card--support {
  color: #eef8f6;
  background: linear-gradient(145deg, #1f4651, #2f563f);
}

html[data-theme="dark"] .energy-pulse {
  color: #e7f4ee;
}

/* Keep home motion lightweight and pause it outside the viewport. */
.home-page .home-hero::before,
.home-page .product-console,
.home-page .console-main::after,
.home-page .energy-chart path {
  animation: none !important;
}

.home-page .home-hero::before,
.home-signal-track {
  will-change: auto;
}

.destination-app {
  background: rgba(45, 61, 80, .92);
  backdrop-filter: none;
}

.home-hero:not(.is-motion-active) .orbit,
.home-hero:not(.is-motion-active) .console-main i,
.home-hero:not(.is-motion-active) .floating-label,
.home-signal-strip:not(.is-motion-active) .home-signal-track,
.home-destination-card:not(.is-motion-active) .destination-app,
.home-destination-card:not(.is-motion-active) .energy-sun,
.home-destination-card:not(.is-motion-active) .game-orbit,
.home-destination-card:not(.is-motion-active) .support-wave i {
  animation-play-state: paused !important;
}

.home-destination-art {
  contain: layout paint;
}
/* Mobile home motion budget. */
@media (max-width: 780px) {
  .home-page .home-hero .orbit,
  .home-page .home-hero .floating-label,
  .home-destination-card .destination-app,
  .home-destination-card .energy-sun,
  .home-destination-card .game-orbit,
  .home-destination-card .support-wave i {
    animation: none !important;
  }

  .home-destination-card {
    contain: paint;
    box-shadow: 0 14px 34px rgba(31, 42, 56, .08);
  }

  .destination-app {
    box-shadow: 0 12px 26px rgba(5, 15, 27, .16);
  }
}
/* Production forms, consent and accessibility */
:where(main, footer) :where(p, h1, h2, h3, h4, li, a, span, strong, small, blockquote) {
  -webkit-user-select: text;
  user-select: text;
}
:where(input, textarea) { -webkit-user-select: text; user-select: text; }
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--lime) 72%, #1f4b31);
  outline-offset: 3px;
}
:where(.button, .nav-link, .nav-summary, .lang-switcher-item, .theme-option, .profile-submit, .profile-google) {
  overflow: hidden;
  isolation: isolate;
}
.site-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 5vw, 52px);
  padding: clamp(22px, 4vw, 38px);
  text-align: left;
}
.request-form-head, .request-form-wide { grid-column: 1 / -1; }
.request-form-head h3 { margin: 0 0 8px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.request-form-head p { margin: 0; color: var(--muted); }
.site-request-form > label:not(.request-consent):not(.request-honeypot),
.quote-form > label:not(.request-consent):not(.request-honeypot) {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.site-request-form label > span, .request-consent > span {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
}
.site-request-form input, .site-request-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  font: inherit;
  line-height: 1.5;
}
.site-request-form textarea { min-height: 150px; resize: vertical; }
.request-consent { display: flex; align-items: flex-start; gap: 10px; }
.request-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); }
.request-consent a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.request-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.request-status, .profile-auth-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.5;
}
.profile-signed-in {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 48px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--lime) 12%, var(--paper));
}
.profile-signed-in[hidden] { display: none; }
.profile-signed-in > div { min-width: 0; }
.profile-signed-in strong, .profile-signed-in small { display: block; overflow-wrap: anywhere; line-height: 1.4; }
.profile-signed-in small { color: var(--muted); }
.profile-user-photo {
  display: block;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}
.profile-signout {
  grid-column: 1 / -1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.consent-banner {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(720px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 20px 70px rgba(18, 32, 39, .2);
  backdrop-filter: blur(18px);
}
.consent-banner p { margin: 0; color: var(--ink); line-height: 1.55; }
.consent-banner a { color: var(--green); font-weight: 800; }
.consent-banner > div { display: flex; gap: 9px; }
.consent-banner .button { min-height: 44px; padding: 10px 15px; white-space: nowrap; }
.consent-accept { border-color: var(--lime); background: var(--lime); color: #102033; }
.consent-essential { border-color: var(--line); background: var(--paper); color: var(--ink); }
@media (max-width: 720px) {
  .site-request-form { grid-template-columns: 1fr; }
  .site-request-form > * { grid-column: 1; }
  .consent-banner { right: 12px; bottom: 12px; grid-template-columns: 1fr; width: calc(100% - 24px); }
  .consent-banner > div { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-banner .button { white-space: normal; line-height: 1.25; }
}
/* Narrow viewport containment */
@media (max-width: 620px) {
  .theme-menu { display: none !important; }
  .header-inner {
    width: calc(100% - 24px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .site-header .brand,
  .site-header .brand-logo {
    width: 100px !important;
    height: 56px !important;
  }
  .header-actions {
    min-width: 0;
    max-width: calc(100vw - 132px);
    flex-wrap: nowrap;
    gap: 6px;
  }
  .profile-toggle,
  .lang-switcher-toggle,
  .nav-toggle {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }
  main,
  main section,
  .hero-grid,
  .hero-grid > *,
  .hero-copy,
  .contact-panel,
  .surface-card {
    min-width: 0;
    max-width: 100%;
  }
  .hero-lead,
  main p,
  main h1,
  main h2,
  main h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 420px) {
  .consent-banner > div { grid-template-columns: 1fr; }
}
/* Lock the document while any header popup is open; popup panels contain their own scroll. */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
.site-nav,
.lang-switcher-panel,
.profile-panel,
.theme-panel {
  overscroll-behavior: contain;
}
/* Firebase account profile page. */
.account-page {
  min-height: calc(100vh - 88px);
  padding: clamp(42px, 7vw, 86px) 0 clamp(70px, 10vw, 120px);
  background:
    radial-gradient(circle at 8% 8%, rgba(197, 239, 98, .22), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(185, 233, 242, .28), transparent 30%);
}
.account-profile-shell {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
}
.account-profile-intro { padding: clamp(18px, 3vw, 42px) 0; }
.account-profile-intro .section-kicker { margin-bottom: 14px; }
.account-profile-intro h1 { max-width: 11ch; margin: 0; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -.055em; }
.account-profile-intro > p:last-child { max-width: 48ch; margin: 22px 0 0; color: var(--ink-soft); font-size: 1.02rem; }
.account-auth-panel { min-width: 0; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--line); border-radius: 32px; background: color-mix(in srgb, var(--paper) 86%, #fff); box-shadow: 0 28px 70px rgba(31, 42, 56, .12); }
.account-auth-panel[aria-busy="true"] { opacity: .82; }
.account-auth-status { min-height: 1.5em; margin: 0 0 18px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.account-signed-out { display: grid; gap: 18px; }
.account-signed-out h2, .account-signed-in h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.18; }
.account-signed-out p { margin: 0; color: var(--ink-soft); }
.account-google-button, .account-signout, .account-save { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; gap: 10px; padding: 12px 18px; border: 1px solid rgba(112, 153, 35, .3); border-radius: 16px; color: var(--ink); background: linear-gradient(135deg, var(--lime), #e0ff9b); box-shadow: 0 14px 28px rgba(112, 153, 35, .16); font: inherit; font-weight: 800; text-decoration: none; }
.account-google-button:disabled, .account-signout:disabled, .account-save:disabled { cursor: wait; opacity: .6; }
.account-google-mark { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #4285f4; background: #fff; box-shadow: inset 0 0 0 1px rgba(16, 23, 36, .1); font-family: Arial, sans-serif; font-size: .9rem; font-weight: 800; }
.account-trust-note { display: flex; gap: 9px; align-items: flex-start; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.account-trust-note::before { content: "✓"; color: var(--lime-deep); font-weight: 900; }
.account-identity { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.account-profile-photo { width: 76px; height: 76px; border: 3px solid rgba(255, 255, 255, .88); border-radius: 50%; object-fit: cover; box-shadow: 0 12px 28px rgba(31, 42, 56, .15); }
.account-identity h2 { overflow-wrap: anywhere; }
.account-email { margin: 5px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.account-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.account-facts > div { min-width: 0; padding: 14px; border: 1px solid var(--line-soft); border-radius: 16px; background: color-mix(in srgb, var(--white) 70%, transparent); }
.account-facts dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-facts dd { margin: 5px 0 0; color: var(--ink); font-size: .86rem; font-weight: 800; overflow-wrap: anywhere; }
.account-profile-edit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 22px; }
.account-profile-edit label { display: grid; gap: 7px; min-width: 0; color: var(--ink-soft); font-size: .78rem; font-weight: 800; }
.account-profile-edit input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: rgba(255, 255, 255, .76); font: inherit; }
.account-save { min-height: 52px; box-shadow: none; }
.account-signout { width: 100%; margin-top: 18px; border-color: var(--line); background: var(--white); box-shadow: none; }
.account-signed-in[hidden], .account-signed-out[hidden] { display: none !important; }
html[data-theme="dark"] .account-page { background: radial-gradient(circle at 8% 8%, rgba(197, 239, 98, .12), transparent 28%), radial-gradient(circle at 92% 18%, rgba(80, 184, 220, .13), transparent 30%); }
html[data-theme="dark"] .account-auth-panel, html[data-theme="dark"] .account-facts > div, html[data-theme="dark"] .account-profile-edit input, html[data-theme="dark"] .account-signout { background: rgba(16, 28, 40, .78); }
@media (max-width: 760px) { .account-profile-shell { grid-template-columns: 1fr; gap: 8px; } .account-profile-intro { padding-top: 0; } .account-profile-intro h1 { max-width: 12ch; } }
@media (max-width: 460px) { .account-auth-panel { padding: 20px; border-radius: 24px; } .account-identity { grid-template-columns: 62px minmax(0, 1fr); gap: 13px; } .account-profile-photo { width: 62px; height: 62px; } .account-facts, .account-profile-edit { grid-template-columns: 1fr; } .account-save { width: 100%; } }
/* Irreversible account deletion is deliberately isolated and explicit. */
.account-danger { margin-top: 22px; border: 1px solid rgba(185, 60, 60, .28); border-radius: 17px; background: rgba(255, 248, 248, .62); }
.account-danger summary { padding: 14px 16px; color: #a73535; cursor: pointer; font-size: .88rem; font-weight: 800; }
.account-danger[open] summary { border-bottom: 1px solid rgba(185, 60, 60, .18); }
.account-danger p, .account-danger label { display: grid; gap: 7px; margin: 14px 16px 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.5; }
.account-danger label { color: var(--ink); font-size: .78rem; font-weight: 800; }
.account-danger input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid rgba(185, 60, 60, .28); border-radius: 13px; color: var(--ink); background: rgba(255, 255, 255, .86); font: inherit; }
.account-delete { width: calc(100% - 32px); min-height: 48px; margin: 16px; padding: 10px 14px; border: 1px solid rgba(172, 48, 48, .5); border-radius: 13px; color: #fff; background: #b23a3a; box-shadow: 0 12px 24px rgba(178, 58, 58, .18); font: inherit; font-weight: 800; }
.account-delete:disabled { cursor: wait; opacity: .6; }
html[data-theme="dark"] .account-danger { background: rgba(101, 27, 30, .2); }
html[data-theme="dark"] .account-danger input { background: rgba(16, 28, 40, .78); }
/* Account center refresh: professional profile dashboard. */
.account-page {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 88px);
  padding: clamp(46px, 7vw, 92px) 0 clamp(76px, 10vw, 128px);
  background:
    radial-gradient(circle at 6% 12%, rgba(197, 239, 98, .31), transparent 24rem),
    radial-gradient(circle at 90% 9%, rgba(185, 233, 242, .4), transparent 28rem),
    linear-gradient(135deg, #f8f7f1 0%, var(--paper) 48%, #eef3ef 100%);
}
.account-page::before,
.account-page::after {
  position: absolute;
  z-index: 0;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(112, 153, 35, .1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.account-page::before { top: 12%; left: -20rem; box-shadow: 0 0 0 42px rgba(112, 153, 35, .035), 0 0 0 88px rgba(112, 153, 35, .022); }
.account-page::after { right: -21rem; bottom: 2%; box-shadow: 0 0 0 46px rgba(105, 172, 190, .045); }
.account-profile-shell { position: relative; z-index: 1; grid-template-columns: minmax(0, .78fr) minmax(440px, 1.22fr); gap: clamp(36px, 7vw, 98px); align-items: center; }
.account-profile-intro { position: relative; padding: clamp(18px, 3vw, 34px) 0; }
.account-profile-intro::before { position: absolute; top: 0; left: -28px; width: 3px; height: 58px; border-radius: 99px; background: linear-gradient(var(--lime-deep), transparent); content: ""; }
.account-profile-intro .section-kicker,
.account-panel-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--lime-deep); font-size: .68rem; font-weight: 800; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.account-profile-intro .section-kicker::before,
.account-panel-kicker::before { width: 18px; height: 1px; background: currentColor; content: ""; }
.account-profile-intro h1 { max-width: 10.5ch; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .98; }
.account-profile-intro h1 em { color: var(--lime-deep); font-style: normal; }
.account-profile-intro > p:not(.section-kicker) { max-width: 45ch; margin: 25px 0 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.account-intro-points { display: grid; gap: 10px; margin: 27px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: .87rem; font-weight: 700; }
.account-intro-points li { display: flex; align-items: center; gap: 10px; }
.account-intro-points span,
.account-trust-note::before { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(112, 153, 35, .25); border-radius: 50%; color: var(--lime-deep); background: rgba(197, 239, 98, .27); font-size: .7rem; font-weight: 900; }
.account-intro-note { display: flex; max-width: 44ch; gap: 9px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.55; }
.account-intro-note::before { width: 15px; height: 15px; margin-top: 2px; border-radius: 50%; color: #fff; background: var(--lime-deep); box-shadow: 0 0 0 4px rgba(112, 153, 35, .12); content: "✓"; font-size: .58rem; font-weight: 900; line-height: 15px; text-align: center; }
.account-auth-panel { position: relative; min-height: 474px; padding: clamp(27px, 4.2vw, 44px); border: 1px solid rgba(31, 42, 56, .12); border-radius: 34px; background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(248, 250, 246, .8)); box-shadow: 0 32px 80px rgba(31, 42, 56, .14), inset 0 1px 0 rgba(255, 255, 255, .75); overflow: hidden; isolation: isolate; }
.account-auth-panel::before { position: absolute; top: 0; right: 0; width: 48%; height: 42%; border-radius: 0 0 0 100%; background: radial-gradient(circle at 80% 15%, rgba(197, 239, 98, .52), transparent 66%); content: ""; pointer-events: none; }
.account-auth-panel::after { position: absolute; right: -70px; bottom: -70px; width: 175px; height: 175px; border: 1px solid rgba(112, 153, 35, .12); border-radius: 50%; box-shadow: 0 0 0 25px rgba(112, 153, 35, .035), 0 0 0 51px rgba(112, 153, 35, .02); content: ""; pointer-events: none; }
.account-auth-panel > * { position: relative; z-index: 1; }
.account-auth-panel[aria-busy="true"] { opacity: .8; }
.account-auth-status { position: absolute; top: 28px; right: clamp(23px, 4vw, 40px); display: inline-flex; max-width: min(245px, 44%); min-height: 30px; align-items: center; margin: 0; padding: 6px 10px; border: 1px solid rgba(112, 153, 35, .2); border-radius: 99px; color: var(--lime-deep); background: rgba(255, 255, 255, .68); font-size: .68rem; font-weight: 800; line-height: 1.3; text-align: right; transition: color .25s ease, border-color .25s ease, background .25s ease; backdrop-filter: blur(8px); }
.account-auth-status::before { width: 6px; height: 6px; flex: 0 0 auto; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent); content: ""; }
.account-auth-status[data-state="success"] { color: #38825c; border-color: rgba(56, 130, 92, .24); background: rgba(239, 252, 243, .85); }
.account-auth-status[data-state="error"] { color: #ae4848; border-color: rgba(174, 72, 72, .22); background: rgba(255, 247, 247, .85); }
.account-signed-out { min-height: 390px; align-content: center; gap: 15px; padding-top: 30px; }
.account-signed-out::before { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 4px; border: 1px solid rgba(112, 153, 35, .22); border-radius: 18px; color: var(--lime-deep); background: linear-gradient(135deg, rgba(197, 239, 98, .65), rgba(185, 233, 242, .48)); box-shadow: 0 14px 28px rgba(112, 153, 35, .12); content: "✦"; font-size: 1.4rem; }
.account-signed-out h2,
.account-signed-in h2 { max-width: 13ch; color: var(--ink); font-family: "Sora", sans-serif; font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.14; }
.account-signed-out p { max-width: 44ch; color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
.account-google-button,
.account-save { position: relative; width: fit-content; min-height: 54px; gap: 11px; margin-top: 8px; padding: 12px 17px 12px 13px; border: 1px solid rgba(112, 153, 35, .35); border-radius: 15px; color: #354526; background: linear-gradient(135deg, #c5ef62, #e5f8a9); box-shadow: 0 15px 28px rgba(112, 153, 35, .2); transition: transform .24s var(--ease), box-shadow .24s var(--ease), filter .24s ease; }
.account-google-button:hover,
.account-save:hover { transform: translateY(-2px); box-shadow: 0 18px 33px rgba(112, 153, 35, .28); filter: saturate(1.07); }
.account-google-button:focus-visible,
.account-save:focus-visible,
.account-signout:focus-visible,
.account-delete:focus-visible { outline: 3px solid rgba(112, 153, 35, .34); outline-offset: 3px; }
.account-google-mark { width: 27px; height: 27px; color: #4285f4; font-size: 1rem; }
.account-button-arrow { margin-left: 3px; font-size: 1.1rem; line-height: 1; transition: transform .2s var(--ease); }
.account-google-button:hover .account-button-arrow { transform: translateX(3px); }
.account-trust-note { max-width: 48ch; margin-top: 6px !important; font-size: .76rem !important; }
.account-trust-note::before { flex: 0 0 auto; content: "✓"; }
.account-identity { grid-template-columns: 78px minmax(0, 1fr); gap: 17px; align-items: center; padding: 16px 0 25px; border-bottom: 1px solid var(--line); }
.account-profile-photo-wrap { position: relative; width: 78px; height: 78px; }
.account-profile-photo { width: 78px; height: 78px; border: 3px solid rgba(255, 255, 255, .95); box-shadow: 0 13px 30px rgba(31, 42, 56, .18); }
.account-presence { position: absolute; right: 2px; bottom: 2px; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; background: #54b873; box-shadow: 0 0 0 3px rgba(84, 184, 115, .14); }
.account-identity > div:last-child { min-width: 0; }
.account-identity .account-panel-kicker { margin-bottom: 5px; font-size: .61rem; }
.account-identity .account-panel-kicker::before { width: 12px; }
.account-identity h2 { max-width: 100%; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.account-email { max-width: 34ch; margin-top: 5px; font-size: .82rem; }
.account-facts { gap: 12px; margin: 23px 0; }
.account-facts > div { position: relative; display: grid; min-height: 100px; align-content: end; overflow: hidden; padding: 16px; border: 1px solid rgba(31, 42, 56, .08); border-radius: 18px; background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(250, 252, 247, .6)); transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease; }
.account-facts > div::before { position: absolute; top: -12px; right: -8px; width: 48px; height: 48px; border-radius: 50%; background: rgba(197, 239, 98, .28); content: ""; }
.account-facts > div:nth-child(2)::before { background: rgba(185, 233, 242, .46); }
.account-facts > div:hover { transform: translateY(-3px); border-color: rgba(112, 153, 35, .2); box-shadow: 0 14px 24px rgba(31, 42, 56, .08); }
.account-facts dt { position: relative; color: var(--muted); font-size: .66rem; letter-spacing: .1em; }
.account-facts dd { position: relative; margin-top: 6px; color: var(--ink); font-size: .8rem; line-height: 1.45; }
.account-profile-edit { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 15px; border: 1px solid var(--line-soft); border-radius: 20px; background: rgba(245, 247, 241, .67); }
.account-profile-edit label { color: var(--ink); font-size: .7rem; letter-spacing: .03em; }
.account-profile-edit input { min-height: 53px; border: 1px solid rgba(31, 42, 56, .12); border-radius: 13px; background: rgba(255, 255, 255, .88); box-shadow: inset 0 1px 2px rgba(31, 42, 56, .03); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.account-profile-edit input:focus { outline: none; border-color: rgba(112, 153, 35, .65); background: #fff; box-shadow: 0 0 0 4px rgba(197, 239, 98, .24); }
.account-save { min-width: 128px; min-height: 53px; margin: 0; padding: 11px 17px; border-radius: 13px; box-shadow: none; font-size: .84rem; }
.account-save b { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--lime-deep); background: rgba(255, 255, 255, .72); }
.account-signout { display: inline-flex; width: auto; min-height: 42px; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 4px; border-color: transparent; color: var(--ink-soft); background: transparent; font-size: .8rem; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(112, 153, 35, .45); text-underline-offset: 4px; transition: color .2s ease, transform .2s var(--ease); }
.account-signout::before { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 8px; color: var(--ink-soft); background: rgba(68, 83, 104, .08); content: "↗"; font-size: .8rem; text-decoration: none; }
.account-signout:hover { color: var(--ink); transform: translateX(2px); }
.account-danger { margin-top: 13px; border: 1px solid rgba(185, 60, 60, .19); border-radius: 15px; background: rgba(255, 249, 249, .54); transition: border-color .2s ease, background .2s ease; }
.account-danger:hover { border-color: rgba(185, 60, 60, .33); }
.account-danger summary { display: flex; align-items: center; min-height: 46px; padding: 12px 15px; color: #9a4242; font-size: .78rem; }
.account-danger summary::marker { content: ""; }
.account-danger summary::before { display: grid; width: 19px; height: 19px; place-items: center; margin-right: 8px; border-radius: 50%; background: rgba(185, 60, 60, .12); content: "!"; font-size: .68rem; }
.account-danger[open] { background: rgba(255, 247, 247, .82); }
.account-danger p, .account-danger label { font-size: .78rem; }
.account-danger input { min-height: 46px; transition: border-color .2s ease, box-shadow .2s ease; }
.account-danger input:focus { outline: none; border-color: rgba(185, 60, 60, .58); box-shadow: 0 0 0 4px rgba(185, 60, 60, .1); }
.account-delete { min-height: 46px; border-radius: 12px; font-size: .78rem; transition: transform .2s var(--ease), box-shadow .2s ease, opacity .2s ease; }
.account-delete:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 15px 26px rgba(178, 58, 58, .23); }
html[data-theme="dark"] .account-page { background: radial-gradient(circle at 8% 8%, rgba(197, 239, 98, .12), transparent 28%), radial-gradient(circle at 92% 18%, rgba(80, 184, 220, .13), transparent 30%), #101c28; }
html[data-theme="dark"] .account-auth-panel { border-color: rgba(255, 255, 255, .11); background: linear-gradient(145deg, rgba(16, 28, 40, .94), rgba(20, 35, 48, .83)); }
html[data-theme="dark"] .account-auth-status,
html[data-theme="dark"] .account-facts > div,
html[data-theme="dark"] .account-profile-edit,
html[data-theme="dark"] .account-profile-edit input { background: rgba(16, 28, 40, .74); }
html[data-theme="dark"] .account-profile-edit { border-color: rgba(255, 255, 255, .09); }
html[data-theme="dark"] .account-profile-edit input:focus { background: rgba(16, 28, 40, .95); }
html[data-theme="dark"] .account-presence { border-color: #172633; }
@media (prefers-reduced-motion: no-preference) {
  .account-profile-intro { animation: account-intro-in .65s var(--ease) both; }
  .account-auth-panel { animation: account-panel-in .7s .08s var(--ease) both; }
  .account-auth-panel::after { animation: account-orbit 14s linear infinite; }
  .account-auth-status::before { animation: account-status-pulse 2.1s ease-in-out infinite; }
  .account-signed-in:not([hidden]) .account-identity,
  .account-signed-in:not([hidden]) .account-facts,
  .account-signed-in:not([hidden]) .account-profile-edit,
  .account-signed-in:not([hidden]) .account-danger { animation: account-item-in .46s var(--ease) both; }
  .account-signed-in:not([hidden]) .account-facts { animation-delay: .08s; }
  .account-signed-in:not([hidden]) .account-profile-edit { animation-delay: .14s; }
  .account-signed-in:not([hidden]) .account-danger { animation-delay: .2s; }
}
@keyframes account-intro-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes account-panel-in { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes account-item-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes account-orbit { to { transform: rotate(360deg); } }
@keyframes account-status-pulse { 50% { opacity: .45; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 9%, transparent); } }
@media (max-width: 860px) { .account-profile-shell { grid-template-columns: 1fr; gap: 28px; } .account-profile-intro { max-width: 650px; } .account-profile-intro::before { left: 0; } }
@media (max-width: 560px) { .account-page { padding-top: 32px; } .account-profile-intro h1 { font-size: clamp(2.65rem, 14vw, 4rem); } .account-intro-points { margin-top: 21px; } .account-auth-panel { min-height: 0; padding: 24px 19px; border-radius: 26px; } .account-auth-status { position: static; width: fit-content; max-width: 100%; margin: 0 0 22px auto; text-align: left; } .account-signed-out { min-height: 345px; padding-top: 4px; } .account-identity { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding-top: 4px; } .account-profile-photo-wrap, .account-profile-photo { width: 62px; height: 62px; } .account-identity h2 { font-size: 1.3rem; } .account-facts, .account-profile-edit { grid-template-columns: 1fr; } .account-facts > div { min-height: 88px; } .account-save { width: 100%; } .account-danger summary { font-size: .72rem; } }
/* Account center dashboard components. */
.account-dashboard-shell { align-items: stretch; }
.account-dashboard-intro { display: flex; flex-direction: column; justify-content: center; min-height: 680px; padding: clamp(28px, 5vw, 58px) 0; }
.account-intro-mark { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 27px; border: 1px solid rgba(112, 153, 35, .26); border-radius: 21px; background: linear-gradient(145deg, rgba(197, 239, 98, .65), rgba(185, 233, 242, .52)); box-shadow: 0 18px 32px rgba(112, 153, 35, .14); }
.account-intro-mark img { width: 44px; height: 44px; object-fit: contain; }
.account-dashboard-intro h1 { max-width: 9.5ch; margin-bottom: 0; }
.account-dashboard-intro > p:not(.section-kicker) { margin-top: 24px; }
.account-intro-steps { display: grid; gap: 0; max-width: 430px; margin-top: 34px; border-top: 1px solid var(--line); }
.account-intro-steps p { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.account-intro-steps b { color: var(--lime-deep); font-size: .67rem; letter-spacing: .08em; }
.account-intro-steps span { display: grid; gap: 1px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.account-intro-steps strong { color: var(--ink); font-size: .82rem; }
.account-dashboard-intro .account-intro-note { display: flex; align-items: flex-start; max-width: 410px; margin-top: 23px; padding: 12px 14px; border: 1px solid rgba(112, 153, 35, .15); border-radius: 14px; background: rgba(255, 255, 255, .4); }
.account-dashboard-intro .account-intro-note::before { display: none; }
.account-dashboard-intro .account-intro-note > span { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--lime-deep); font-size: .61rem; font-weight: 900; }
.account-dashboard-panel { display: flex; min-height: 680px; flex-direction: column; padding: clamp(23px, 4vw, 43px); }
.account-dashboard-panel .account-panel-head { display: flex; min-height: 47px; align-items: flex-start; justify-content: space-between; gap: 14px; }
.account-dashboard-panel .account-panel-head h2 { margin: 0; color: var(--ink); font-family: "Sora", sans-serif; font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.045em; line-height: 1.2; }
.account-dashboard-panel .account-panel-kicker { margin-bottom: 6px; }
.account-dashboard-panel .account-auth-status { position: static; display: inline-flex; width: fit-content; max-width: 230px; margin: 0; text-align: left; }
.account-dashboard-signed-out { min-height: 535px; padding: 28px 0 18px; }
.account-dashboard-signed-out::before { display: none; }
.account-signin-symbol { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 11px; border: 1px solid rgba(112, 153, 35, .26); border-radius: 19px; color: var(--lime-deep); background: linear-gradient(135deg, rgba(197, 239, 98, .56), rgba(230, 249, 171, .74)); box-shadow: 0 16px 29px rgba(112, 153, 35, .13); font-family: "Sora", sans-serif; font-size: .9rem; font-weight: 800; letter-spacing: -.04em; }
.account-dashboard-signed-out h3,
.account-dashboard-signed-in h3 { max-width: 16ch; margin: 0; color: var(--ink); font-family: "Sora", sans-serif; font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.05em; line-height: 1.15; }
.account-dashboard-signed-out > p:not(.account-panel-kicker) { max-width: 47ch; margin: 8px 0 4px; color: var(--ink-soft); font-size: .91rem; line-height: 1.7; }
.account-trust-list { display: grid; gap: 9px; margin-top: 9px; }
.account-trust-list p { display: flex; gap: 8px; margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.account-trust-list p span { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--lime-deep); background: rgba(197, 239, 98, .35); font-size: .58rem; font-weight: 900; }
.account-dashboard-signed-in { display: flex; flex: 1; flex-direction: column; padding-top: 24px; }
.account-dashboard-identity { grid-template-columns: 76px minmax(0, 1fr) auto; padding: 0 0 24px; }
.account-dashboard-identity .account-identity-copy { min-width: 0; }
.account-dashboard-identity .account-identity-copy h3 { overflow-wrap: anywhere; }
.account-edit-trigger { display: inline-flex; min-height: 37px; align-items: center; gap: 7px; align-self: start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-soft); background: rgba(255, 255, 255, .57); font-size: .74rem; font-weight: 800; transition: transform .2s var(--ease), border-color .2s ease, background .2s ease; }
.account-edit-trigger span { color: var(--lime-deep); font-size: 1rem; line-height: 1; }
.account-edit-trigger:hover { border-color: rgba(112, 153, 35, .28); background: rgba(197, 239, 98, .17); transform: translateY(-1px); }
.account-edit-trigger:focus-visible, .account-tab:focus-visible, .account-data-list button:focus-visible { outline: 3px solid rgba(112, 153, 35, .32); outline-offset: 2px; }
.account-tabs { display: flex; gap: 5px; margin: 23px 0 0; padding: 5px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(237, 241, 234, .68); }
.account-tab { position: relative; min-height: 36px; flex: 1; padding: 7px 11px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: .75rem; font-weight: 800; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.account-tab:hover { color: var(--ink); }
.account-tab.is-active { color: var(--ink); background: rgba(255, 255, 255, .94); box-shadow: 0 5px 13px rgba(31, 42, 56, .08); }
.account-tab.is-active::after { position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--lime-deep); content: ""; transform: translateX(-50%); }
.account-tab-panel { flex: 1; padding-top: 25px; }
.account-tab-panel[hidden] { display: none !important; }
.account-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.account-section-head .account-panel-kicker { margin-bottom: 5px; }
.account-section-head h4 { margin: 0; color: var(--ink); font-family: "Sora", sans-serif; font-size: 1.05rem; letter-spacing: -.04em; line-height: 1.25; }
.account-section-tag, .account-security-score { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 5px 9px; border: 1px solid rgba(56, 130, 92, .18); border-radius: 99px; color: #3f805d; background: rgba(236, 250, 240, .74); font-size: .65rem; font-weight: 800; }
.account-security-score i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(56, 130, 92, .11); }
.account-summary-grid { margin: 0 0 15px; }
.account-summary-grid > div { display: grid; grid-template-columns: 35px minmax(0, 1fr); min-height: 91px; align-content: center; gap: 11px; padding: 13px; }
.account-summary-grid > div::before { display: none; }
.account-fact-icon { display: grid; width: 35px; height: 35px; place-items: center; align-self: start; border-radius: 12px; color: #56771d; background: rgba(197, 239, 98, .42); font-family: "Sora", sans-serif; font-size: .82rem; font-weight: 800; }
.account-fact-icon--blue { color: #367e92; background: rgba(185, 233, 242, .62); }
.account-fact-icon--violet { color: #7565b6; background: rgba(217, 211, 255, .65); }
.account-fact-icon--lime { color: #56771d; background: rgba(197, 239, 98, .42); }
.account-summary-grid dt { padding-top: 1px; }
.account-summary-grid dd { font-size: .76rem; }
.account-dashboard-panel .account-profile-edit { grid-template-columns: minmax(0, 1fr) auto; padding: 13px; }
.account-field { min-width: 0; }
.account-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .7rem; font-weight: 800; }
.account-field small { display: block; margin-top: 6px; color: var(--muted); font-size: .67rem; line-height: 1.45; }
.account-field input { width: 100%; }
.account-dashboard-panel .account-save { align-self: center; }
.account-data-list { display: grid; gap: 8px; margin-top: 16px; }
.account-data-list > div { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 13px; padding: 11px 12px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(255, 255, 255, .43); }
.account-data-list span { display: grid; min-width: 0; gap: 1px; }
.account-data-list small { color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .03em; }
.account-data-list strong { overflow: hidden; color: var(--ink-soft); font-family: "Sora", sans-serif; font-size: .69rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.account-data-list button { min-height: 29px; flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(112, 153, 35, .23); border-radius: 8px; color: var(--lime-deep); background: rgba(197, 239, 98, .14); font-size: .66rem; font-weight: 800; transition: color .2s ease, background .2s ease, transform .2s var(--ease); }
.account-data-list button:hover, .account-data-list button.is-copied { color: #fff; background: var(--lime-deep); transform: translateY(-1px); }
.account-security-list { display: grid; gap: 9px; }
.account-security-list > div { display: grid; grid-template-columns: 37px minmax(0, 1fr) 22px; gap: 11px; align-items: center; padding: 13px; border: 1px solid var(--line-soft); border-radius: 15px; background: rgba(255, 255, 255, .53); transition: transform .22s var(--ease), border-color .22s ease; }
.account-security-list > div:hover { border-color: rgba(112, 153, 35, .2); transform: translateX(3px); }
.account-security-list .account-fact-icon { width: 37px; height: 37px; }
.account-security-list p { display: grid; gap: 2px; min-width: 0; margin: 0; }
.account-security-list strong { color: var(--ink); font-size: .78rem; }
.account-security-list p span { color: var(--muted); font-size: .69rem; line-height: 1.45; }
.account-security-list b { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #43865e; background: rgba(74, 173, 107, .15); font-size: .66rem; }
.account-security-note { margin: 15px 0 0; padding: 11px 12px; border-left: 2px solid var(--lime-deep); border-radius: 0 11px 11px 0; color: var(--muted); background: rgba(197, 239, 98, .1); font-size: .72rem; line-height: 1.55; }
.account-session-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px; border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(255, 255, 255, .54); }
.account-session-action > div { display: flex; min-width: 0; align-items: center; gap: 10px; }
.account-session-action > div > span { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #44798b; background: rgba(185, 233, 242, .55); font-size: .9rem; }
.account-session-action p { display: grid; gap: 1px; margin: 0; }
.account-session-action strong { color: var(--ink); font-size: .77rem; }
.account-session-action small { color: var(--muted); font-size: .66rem; line-height: 1.45; }
.account-session-action .account-signout { flex: 0 0 auto; margin: 0; padding: 7px 0; }
.account-dashboard-panel .account-danger { margin-top: 13px; }
.account-dashboard-panel .account-danger summary { justify-content: space-between; }
.account-dashboard-panel .account-danger summary::after { color: #a75b5b; content: "+"; font-size: 1rem; transition: transform .2s var(--ease); }
.account-dashboard-panel .account-danger[open] summary::after { transform: rotate(45deg); }
.account-danger-content { overflow: hidden; }
.account-danger-content > p { margin-top: 1px; }
html[data-theme="dark"] .account-dashboard-intro .account-intro-note,
html[data-theme="dark"] .account-tabs,
html[data-theme="dark"] .account-data-list > div,
html[data-theme="dark"] .account-security-list > div,
html[data-theme="dark"] .account-session-action { background: rgba(16, 28, 40, .62); }
html[data-theme="dark"] .account-tab.is-active,
html[data-theme="dark"] .account-edit-trigger { background: rgba(255, 255, 255, .08); }
@media (prefers-reduced-motion: no-preference) {
  .account-tab-panel.is-active { animation: account-tab-in .32s var(--ease) both; }
  .account-dashboard-signed-in:not([hidden]) .account-tabs { animation: account-item-in .42s .05s var(--ease) both; }
  .account-dashboard-signed-in:not([hidden]) .account-tab-panel.is-active { animation-delay: .1s; }
}
@keyframes account-tab-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 860px) { .account-dashboard-intro { min-height: 0; padding-top: 0; } .account-dashboard-panel { min-height: 0; } }
@media (max-width: 560px) { .account-dashboard-intro { padding-bottom: 14px; } .account-intro-mark { width: 54px; height: 54px; margin-bottom: 21px; } .account-intro-mark img { width: 39px; height: 39px; } .account-intro-steps { margin-top: 26px; } .account-dashboard-panel .account-panel-head { min-height: 74px; flex-direction: column; gap: 8px; } .account-dashboard-panel .account-auth-status { max-width: 100%; } .account-dashboard-signed-out { min-height: 430px; } .account-dashboard-identity { grid-template-columns: 62px minmax(0, 1fr) auto; } .account-edit-trigger { min-width: 35px; padding: 8px; font-size: 0; } .account-edit-trigger span { font-size: 1rem; } .account-tabs { margin-top: 18px; } .account-tab { padding-inline: 5px; font-size: .7rem; } .account-dashboard-panel .account-profile-edit { grid-template-columns: 1fr; } .account-dashboard-panel .account-save { width: 100%; } .account-section-head { margin-bottom: 14px; } .account-data-list strong { max-width: 150px; } .account-session-action { align-items: flex-start; flex-direction: column; } .account-session-action .account-signout { margin-left: 43px; } }
/* Account sign-out action. */
.account-session-action .account-signout {
  min-height: 44px;
  padding: 8px 13px 8px 9px;
  border: 1px solid rgba(68, 83, 104, .16);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 18px rgba(31, 42, 56, .07);
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .22s var(--ease), color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.account-session-action .account-signout::before {
  width: 27px;
  height: 27px;
  border: 1px solid rgba(112, 153, 35, .2);
  border-radius: 9px;
  color: var(--lime-deep);
  background: rgba(197, 239, 98, .3);
  content: "↪";
  font-size: 1rem;
  line-height: 1;
  transition: color .22s ease, background .22s ease, transform .22s var(--ease);
}
.account-session-action .account-signout:hover:not(:disabled) {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
  box-shadow: 0 13px 25px rgba(31, 42, 56, .18);
  transform: translateY(-2px);
}
.account-session-action .account-signout:hover:not(:disabled)::before {
  color: var(--ink);
  background: var(--lime);
  transform: translateX(2px);
}
.account-session-action .account-signout:active:not(:disabled) { transform: translateY(0); }
.account-session-action .account-signout:disabled { cursor: wait; opacity: .62; }
html[data-theme="dark"] .account-session-action .account-signout { border-color: rgba(255, 255, 255, .14); color: #eaf1ed; background: rgba(255, 255, 255, .07); }
@media (max-width: 560px) { .account-session-action .account-signout { width: 100%; justify-content: center; margin-left: 0; } }
/* Floating, non-disruptive account deletion confirmation. */
.account-dashboard-panel .account-danger {
  position: relative;
  z-index: 3;
  overflow: visible;
  isolation: isolate;
}
.account-dashboard-panel .account-danger summary {
  position: relative;
  z-index: 2;
  min-height: 54px;
  border-radius: 15px;
  background: rgba(255, 250, 250, .72);
  transition: color .24s ease, background .24s ease, border-radius .3s var(--ease), box-shadow .3s var(--ease);
}
.account-dashboard-panel .account-danger[open] summary {
  border-bottom-color: transparent;
  border-radius: 15px;
  color: #963d3d;
  background: #fffafa;
  box-shadow: 0 9px 19px rgba(130, 50, 50, .08);
}
.account-dashboard-panel .account-danger-content {
  position: absolute;
  z-index: 1;
  top: calc(100% + 8px);
  right: -1px;
  left: -1px;
  display: grid;
  max-height: 0;
  gap: 12px;
  padding: 0 16px;
  overflow: hidden;
  visibility: hidden;
  border: 0 solid rgba(185, 60, 60, .22);
  border-radius: 16px;
  opacity: 0;
  color: var(--ink);
  background: rgba(255, 253, 253, .98);
  box-shadow: 0 18px 40px rgba(108, 47, 47, 0);
  transform: translateY(-9px) scale(.985);
  transform-origin: top center;
  transition: max-height .42s var(--ease), padding .34s var(--ease), border-width .28s ease, opacity .24s ease, transform .34s var(--ease), box-shadow .34s ease, visibility 0s linear .42s;
}
.account-dashboard-panel .account-danger:not([open]) .account-danger-content { display: grid; }
.account-dashboard-panel .account-danger[open] .account-danger-content {
  max-height: 510px;
  padding: 17px 16px 16px;
  visibility: visible;
  border-width: 1px;
  opacity: 1;
  box-shadow: 0 18px 40px rgba(108, 47, 47, .14);
  transform: translateY(0) scale(1);
  transition: max-height .42s var(--ease), padding .34s var(--ease), border-width .28s ease, opacity .26s ease, transform .34s var(--ease), box-shadow .34s ease, visibility 0s linear 0s;
}
.account-dashboard-panel .account-danger-content > p,
.account-dashboard-panel .account-danger-content > label { margin: 0; }
.account-dashboard-panel .account-danger-content > p { color: var(--ink-soft); }
.account-dashboard-panel .account-danger-content > label + label { margin-top: -2px; }
.account-dashboard-panel .account-danger-content .account-delete { width: 100%; margin: 2px 0 0; }
.account-dashboard-panel .account-danger[open] .account-danger-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .account-dashboard-panel .account-danger-content { transition-duration: .01ms; }
}
@media (max-width: 560px) {
  .account-dashboard-panel .account-danger-content { right: 0; left: 0; }
  .account-dashboard-panel .account-danger[open] .account-danger-content { max-height: 570px; }
}
/* Keep the deletion popover fully visible without reflowing the page. */
.account-dashboard-panel { overflow: visible; }
.account-dashboard-panel .account-danger[open] .account-danger-content { max-height: 720px; }
@media (max-width: 560px) { .account-dashboard-panel .account-danger[open] .account-danger-content { max-height: 720px; } }
/* Expand the account card itself while the deletion confirmation opens. */
.account-dashboard-panel { overflow: hidden; }
.account-dashboard-panel .account-danger-content {
  position: static;
  display: grid;
  max-height: 0;
  gap: 12px;
  padding: 0 16px;
  overflow: hidden;
  visibility: hidden;
  border: 0 solid rgba(185, 60, 60, .22);
  border-radius: 0 0 16px 16px;
  opacity: 0;
  background: rgba(255, 253, 253, .98);
  box-shadow: none;
  transform: none;
  transition: max-height .46s var(--ease), padding .36s var(--ease), border-width .3s ease, opacity .24s ease, visibility 0s linear .46s;
}
.account-dashboard-panel .account-danger:not([open]) .account-danger-content { display: grid; }
.account-dashboard-panel .account-danger[open] .account-danger-content {
  max-height: 760px;
  padding: 17px 16px 16px;
  visibility: visible;
  border-width: 1px;
  opacity: 1;
  box-shadow: none;
  transition: max-height .46s var(--ease), padding .36s var(--ease), border-width .3s ease, opacity .26s ease, visibility 0s linear 0s;
}
.account-dashboard-panel .account-danger[open] { background: transparent; }
@media (max-width: 560px) { .account-dashboard-panel .account-danger[open] .account-danger-content { max-height: 820px; } }
/* Measured disclosure animation: the account card grows with the real form height. */
.account-dashboard-panel .account-danger-content {
  height: 0;
  max-height: none;
  transition: height .52s var(--ease), padding .36s var(--ease), border-width .3s ease, opacity .24s ease, visibility 0s linear .52s;
}
.account-dashboard-panel .account-danger[open] .account-danger-content {
  height: auto;
  max-height: none;
  transition: height .52s var(--ease), padding .36s var(--ease), border-width .3s ease, opacity .26s ease, visibility 0s linear 0s;
}
@media (prefers-reduced-motion: reduce) {
  .account-dashboard-panel .account-danger-content,
  .account-dashboard-panel .account-danger[open] .account-danger-content { transition-duration: .01ms; }
}
/* Merge the deletion trigger and its open content into one continuous card. */
.account-dashboard-panel .account-danger[open] summary {
  border-radius: 15px 15px 0 0;
  box-shadow: none;
}
.account-dashboard-panel .account-danger[open] .account-danger-content {
  margin-top: -1px;
  border-radius: 0 0 16px 16px;
}
/* One shared outline for the open deletion card. */
.account-dashboard-panel .account-danger[open] {
  overflow: hidden;
  border-color: rgba(185, 60, 60, .28);
  background: #fffafa;
}
.account-dashboard-panel .account-danger[open] summary {
  background: transparent;
}
.account-dashboard-panel .account-danger[open] .account-danger-content {
  margin-top: 0;
  border-width: 1px 0 0;
  border-color: rgba(185, 60, 60, .18);
  border-radius: 0;
  background: transparent;
}
/* Slimmer page scrollbar. */
.scroll-progress { width: 12px !important; }
.scroll-progress::before,
.scroll-progress-track { inset: 0 3px; }
.scroll-progress-thumb {
  left: 2px;
  width: 8px !important;
}
/* Align the profile input and save action on the same control row. */
.account-dashboard-panel .account-profile-edit { display: block; }
.account-dashboard-panel .account-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 7px;
  width: 100%;
}
.account-dashboard-panel .account-field > label,
.account-dashboard-panel .account-field > small { grid-column: 1 / -1; }
.account-dashboard-panel .account-field > input { grid-column: 1; min-width: 0; }
.account-dashboard-panel .account-field > .account-save {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  min-height: 53px;
  margin: 0;
}
@media (max-width: 560px) {
  .account-dashboard-panel .account-field { grid-template-columns: 1fr; }
  .account-dashboard-panel .account-field > input,
  .account-dashboard-panel .account-field > .account-save { grid-column: 1; }
  .account-dashboard-panel .account-field > .account-save { grid-row: auto; width: 100%; }
}
/* Provider-aware password security controls. */
.account-security-actions { display: grid; gap: 12px; margin-top: 14px; }
.account-provider-security,
.account-password-change { border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(255, 255, 255, .54); }
.account-provider-security { display: grid; gap: 14px; padding: 15px; }
.account-provider-security-copy { display: flex; gap: 11px; align-items: flex-start; }
.account-provider-mark { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(66, 133, 244, .16); border-radius: 12px; color: #4285f4; background: #fff; box-shadow: 0 6px 14px rgba(31, 42, 56, .07); font-family: Arial, sans-serif; font-size: 1rem; font-weight: 800; }
.account-provider-security-copy > div { min-width: 0; }
.account-provider-security .account-panel-kicker,
.account-password-change .account-panel-kicker { margin-bottom: 4px; font-size: .58rem; }
.account-provider-security h5,
.account-password-change h5 { margin: 0; color: var(--ink); font-family: "Sora", sans-serif; font-size: .88rem; letter-spacing: -.025em; }
.account-provider-security p:not(.account-panel-kicker),
.account-password-head p:not(.account-panel-kicker) { margin: 4px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.5; }
.account-google-security-link { display: inline-flex; min-height: 39px; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid rgba(66, 133, 244, .18); border-radius: 11px; color: #3574d3; background: rgba(236, 244, 255, .62); font-size: .7rem; font-weight: 800; text-decoration: none; transition: transform .22s var(--ease), border-color .22s ease, background .22s ease; }
.account-google-security-link:hover { border-color: rgba(66, 133, 244, .38); background: rgba(225, 239, 255, .92); transform: translateY(-1px); }
.account-password-change { display: grid; gap: 14px; padding: 15px; }
.account-password-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.account-password-fields label { display: grid; min-width: 0; gap: 6px; color: var(--ink-soft); font-size: .68rem; font-weight: 800; }
.account-password-fields label:last-child { grid-column: 1 / -1; }
.account-password-fields input { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: rgba(255, 255, 255, .8); font: inherit; font-size: .8rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.account-password-fields input:focus { border-color: rgba(112, 153, 35, .48); outline: 0; box-shadow: 0 0 0 3px rgba(197, 239, 98, .25); background: #fff; }
.account-password-fields small { color: var(--muted); font-size: .6rem; font-weight: 600; line-height: 1.35; }
.account-password-save { display: inline-flex; width: fit-content; min-height: 43px; align-items: center; justify-content: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(112, 153, 35, .31); border-radius: 11px; color: #354526; background: linear-gradient(135deg, #c5ef62, #e4f7a8); box-shadow: 0 10px 20px rgba(112, 153, 35, .15); font: inherit; font-size: .73rem; font-weight: 800; transition: transform .22s var(--ease), box-shadow .22s ease, filter .22s ease; }
.account-password-save:hover:not(:disabled) { box-shadow: 0 13px 23px rgba(112, 153, 35, .22); filter: saturate(1.06); transform: translateY(-1px); }
.account-password-save:disabled { cursor: wait; opacity: .62; }
.account-google-security-link:focus-visible,
.account-password-save:focus-visible { outline: 3px solid rgba(112, 153, 35, .32); outline-offset: 3px; }
html[data-theme="dark"] .account-provider-security,
html[data-theme="dark"] .account-password-change { background: rgba(16, 28, 40, .62); }
html[data-theme="dark"] .account-password-fields input { border-color: rgba(255, 255, 255, .14); background: rgba(10, 18, 29, .72); }
@media (max-width: 560px) {
  .account-password-fields { grid-template-columns: 1fr; }
  .account-password-fields label:last-child { grid-column: auto; }
  .account-password-save { width: 100%; }
}
/* Account sections are separate pages. */
.account-tabs .account-tab { text-decoration: none; }

/* Account sections use focused routes. */
[data-account-section="profile"] [data-account-tab-panel]:not([data-account-tab-panel="profile"]),
[data-account-section="security"] [data-account-tab-panel]:not([data-account-tab-panel="security"]),
[data-account-section="danger"] [data-account-tab-panel]:not([data-account-tab-panel="danger"]) { display: none !important; }
/* Stack password controls into one consistent column. */
.account-password-fields { grid-template-columns: minmax(0, 1fr); gap: 11px; }
.account-password-fields label,
.account-password-fields label:last-child { grid-column: 1; width: 100%; }
.account-password-fields input { min-height: 48px; }
.account-password-save { width: 100%; min-height: 48px; }
/* Password reveal controls in account security. */
.account-password-input-wrap { position: relative; display: block; }
.account-password-input-wrap input { padding-right: 48px; }
.account-password-toggle { position: absolute; top: 50%; right: 7px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid rgba(68, 83, 104, .14); border-radius: 10px; color: var(--muted); background: rgba(255, 255, 255, .82); transform: translateY(-50%); transition: transform .2s var(--ease), color .2s ease, border-color .2s ease, background .2s ease; }
.account-password-toggle:hover, .account-password-toggle:focus-visible, .account-password-toggle.is-visible { outline: 0; border-color: rgba(112, 153, 35, .32); color: var(--lime-deep); background: rgba(197, 239, 98, .2); }
.account-password-toggle:hover { transform: translateY(-50%) scale(1.04); }
.account-password-toggle:focus-visible { box-shadow: 0 0 0 3px rgba(197, 239, 98, .28); }
.account-password-eye { grid-area: 1 / 1; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: opacity .18s ease, transform .18s var(--ease); }
.account-password-eye-closed { opacity: 0; transform: scale(.78); }
.account-password-toggle.is-visible .account-password-eye-open { opacity: 0; transform: scale(.78); }
.account-password-toggle.is-visible .account-password-eye-closed { opacity: 1; transform: scale(1); }
html[data-theme="dark"] .account-password-toggle { border-color: rgba(255, 255, 255, .13); background: rgba(10, 18, 29, .68); }
/* Inline password feedback. */
.account-password-status { min-height: 1.35em; margin: -3px 0 0; color: var(--muted); font-size: .68rem; font-weight: 700; line-height: 1.45; }
.account-password-status[data-state="error"] { color: #b14343; }
.account-password-status[data-state="success"] { color: #39805a; }
/* Global slim page scroll control. */
html .scroll-progress { width: 12px !important; }
html .scroll-progress::before,
html .scroll-progress-track { inset: 0 3px; }
html .scroll-progress-thumb { left: 2px; width: 8px !important; }
/* Energy navigation identity. */
.nav-sub-logo--energy { display: grid; place-items: center; border: 1px solid rgba(112, 153, 35, .24); border-radius: 12px; color: var(--lime-deep); background: linear-gradient(145deg, rgba(197, 239, 98, .55), rgba(185, 233, 242, .38)); box-shadow: 0 6px 14px rgba(112, 153, 35, .1); font-family: "Sora", sans-serif; font-size: .64rem; font-weight: 800; letter-spacing: .04em; }
html[data-theme="dark"] .nav-sub-logo--energy { border-color: rgba(197, 239, 98, .2); color: #d9f79b; background: rgba(112, 153, 35, .2); }
/* Mobile energy submenu capacity. */
@media (max-width: 1024px) {
  .site-nav .nav-group.is-open #energy-submenu { max-height: 340px; }
  .site-nav #energy-submenu .nav-sub-link { align-items: center; }
  .site-nav #energy-submenu .nav-sub-link__label { white-space: normal; line-height: 1.3; }
}
/* Align mobile primary navigation labels. */
@media (max-width: 1024px) {
  .site-nav .nav-link,
  .site-nav .nav-summary { justify-content: flex-start; }
  .site-nav .nav-link__label { width: auto; flex: 0 1 auto; text-align: left; }
  .site-nav .nav-summary .nav-link__label,
  .site-nav .nav-summary-icon { margin-left: auto; }
  .site-nav .nav-summary .nav-link__label { margin-left: 0; margin-right: auto; }
}
/* Larger header profile image. */
.profile-avatar { width: 36px; height: 36px; }
/* Photorealistic energy project imagery. */
.ges-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eaf3ee;
}

.ges-hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ges-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgba(238, 248, 244, .4), rgba(22, 39, 48, .32));
  content: "";
}

.ges-quote-card {
  position: relative;
  z-index: 1;
}

.ges-reference-shot {
  isolation: isolate;
  background: #24333b;
}

.ges-reference-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ges-reference-shot::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 36, .2) 0%, rgba(13, 27, 36, .7) 100%);
  content: "";
}

.ges-reference-shot .ges-panel-field,
.ges-reference-shot .ges-inverter-scene,
.ges-reference-shot .ges-battery-stack,
.ges-reference-shot .ges-report-preview,
.ges-reference-shot .ges-ac-lines,
.ges-shot-dc::before {
  display: none;
}

.ges-reference-shot .ges-shot-top span,
.ges-reference-shot .ges-shot-bottom span {
  color: rgba(255, 255, 255, .92);
}

.ges-reference-shot .ges-shot-top strong {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .32);
}

.ges-reference-shot .ges-shot-bottom span {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(18, 32, 40, .46);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

@media (max-width: 720px) {
  .ges-hero-photo {
    object-position: 58% center;
  }
}
/* The fifth small-scale energy solution completes the reference grid without an empty trailing column. */
.energy-reference-grid > .energy-reference-card:nth-child(5) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.energy-reference-grid > .energy-reference-card:nth-child(5) figure {
  padding: 12px;
}

.energy-reference-grid > .energy-reference-card:nth-child(5) figure img {
  height: 100%;
  min-height: 290px;
  aspect-ratio: auto;
}

@media (max-width: 1050px) {
  .energy-reference-grid > .energy-reference-card:nth-child(5) {
    display: block;
    grid-column: auto;
  }

  .energy-reference-grid > .energy-reference-card:nth-child(5) figure img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}