/*Fargolia Panel — MODX theme stylesheet.*/

/*── Base, documentation and shared chrome ────────────────────────────*/

/*Fargolia Panel — MODX theme stylesheet.*/

:root {
  --ink: #040a10;
  --panel: #09131d;
  --line: rgba(137,190,255,.16);
  --lime: #43e56d;
  --muted: #8fa0ad;
  --white: #f4f8fb;
  --font-geist: 'Fargolia Geist';
  --font-mono: 'Fargolia Geist Mono';
  --blue: #298cff;
  --gold: #ffb914;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-geist),Arial,sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.shell {
  width: min(1180px,calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  height: 84px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: .13em;
}

.nav-links {
  display: flex;
  gap: 38px;
  color: #aeb8ba;
  font-size: 13px;
}

.nav-links a,.footer a {
  transition: color .2s;
}

.nav-links a:hover,.footer a:hover {
  color: var(--lime);
}

.nav-download {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.nav-download:hover {
  color: var(--lime);
}

.menu-button {
  display: none;
  justify-self: end;
  color: white;
  background: none;
  border: 0;
}

.eyebrow,.kicker {
  color: var(--lime);
  font: 650 11px/1 var(--font-mono),monospace;
  letter-spacing: .18em;
}

.cta .kicker {
  color: #47630e;
}

.footer {
  padding: 46px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 40px;
}

.footer p,.footer small {
  color: #657276;
  font-size: 11px;
}

.footer div div {
  display: flex;
  gap: 25px;
  font-size: 11px;
}

@media (max-width:900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav-links,.nav-download {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner p {
    grid-column: 1/-1;
    order: 3;
  }
}

@media (max-width:600px) {
  .shell {
    width: min(100% - 30px,1180px);
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-inner p {
    order: initial;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-actions .nav-download {
  justify-self: auto;
}

.language-menu {
  position: relative;
}

.language-menu summary {
  height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aeb8ba;
  border: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
  font: 700 10px var(--font-mono),monospace;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu[open] summary {
  color: var(--lime);
  border-color: rgba(182,242,56,.35);
}

.language-popover {
  position: absolute;
  z-index: 20;
  top: 44px;
  right: 0;
  width: 190px;
  padding: 7px;
  background: #0b1317;
  border: 1px solid rgba(211,255,232,.16);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.language-popover button {
  width: 100%;
  height: 35px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  color: #9eaaac;
  font-size: 11px;
  cursor: pointer;
}

.language-popover button:hover,.language-popover button.active {
  background: rgba(182,242,56,.08);
  color: var(--white);
}

.language-popover button>span {
  color: var(--lime);
  font: 700 9px var(--font-mono),monospace;
}

@media (max-width:900px) {
  .nav-actions {
    display: none;
  }
}

/*Self-hosted typography and Lucide icon rendering for MODX.*/

.icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.14em;
}

.button .icon-svg,.nav-download .icon-svg {
  font-size: 18px;
}

.mode-icon .icon-svg,.product-icon .icon-svg,.feature>.icon-svg,.core>.icon-svg,.float-chip>.icon-svg,.language-symbol .icon-svg {
  width: 22px;
  height: 22px;
}

.side-icons .icon-svg {
  width: 18px;
  height: 18px;
}

.docs-content {
  color: #b7c1c2;
  line-height: 1.75;
}

.docs-content h1,.docs-content h2,.docs-content h3 {
  color: var(--white);
  letter-spacing: -.03em;
}

.docs-content a {
  color: var(--lime);
}

.docs-content pre {
  padding: 18px;
  overflow: auto;
  background: #071014;
  border: 1px solid var(--line);
}

.docs-content code {
  font-family: var(--font-mono),monospace;
}

.language-popover a {
  width: 100%;
  height: 35px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  color: #9eaaac;
  font-size: 11px;
}

.language-popover a:hover {
  background: rgba(182,242,56,.08);
  color: var(--white);
}

.language-popover a>span {
  color: var(--lime);
  font: 700 9px var(--font-mono),monospace;
}

/*── Раздел документации ───────────────────────────────────────────────*/

.docs-root {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.docs-topnav .nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.docs-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  padding: 48px 0 90px;
  align-items: start;
}

.docs-side {
  position: sticky;
  top: 34px;
}

.docs-side-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
  font: 650 10px/1 var(--font-mono),monospace;
  letter-spacing: .18em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.docs-nav {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.docs-nav a {
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #a9b4b6;
  border-left: 2px solid transparent;
  transition: color .15s,background .15s,border-color .15s;
}

.docs-nav i {
  font: 9px var(--font-mono),monospace;
  font-style: normal;
  color: #54646a;
}

.docs-nav a:hover {
  color: var(--white);
  background: rgba(182,242,56,.05);
}

.docs-nav a.current {
  color: var(--lime);
  border-left-color: var(--lime);
  background: rgba(182,242,56,.07);
}

.docs-nav a.current i {
  color: var(--lime);
}

.docs-main {
  min-width: 0;
}

.doc-page {
  max-width: 760px;
}

.doc-page .kicker a {
  color: inherit;
}

.doc-page .kicker a:hover {
  color: var(--white);
}

.doc-body,.doc-page>h1 {
  color: #d7dedb;
}

.doc-page h1,.doc-body h1 {
  margin: 18px 0 26px;
  font-size: clamp(38px,4.6vw,58px);
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--white);
  font-weight: 860;
}

@media (max-width:900px) {
  .docs-shell {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px 0 60px;
  }
  .docs-side {
    position: static;
    padding-bottom: 6px;
  }
  .docs-nav {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
}

@media (max-width:600px) {
  .docs-nav {
    grid-template-columns: 1fr;
  }
}

@font-face {
  font-family: 'Fargolia Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: 'Fargolia Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: 'Fargolia Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Fargolia Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Fargolia Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-mono-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: 'Fargolia Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: 'Fargolia Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Fargolia Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*Higher contrast over the light feature section.*/

.features-section .kicker {
  color: #1d4d78;
}

.footer .coffee-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
  white-space: nowrap;
}

.footer .coffee-link:hover {
  color: #d9ff77;
}

.nav-coffee {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
  font: 700 10px/1 var(--font-mono),monospace;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: color .2s;
}

.nav-coffee:hover {
  color: #d9ff77;
}

/*Fargolia brand refresh*/

.brand-image {
  gap: 9px;
}

.brand-image img {
  width: 128px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.35));
}

.brand-image>span {
  padding: 5px 7px;
  border: 1px solid rgba(67,229,109,.38);
  color: #bfffd0;
  font: 800 8px var(--font-mono);
  letter-spacing: .14em;
}

.footer-brand img {
  width: 116px;
  height: 38px;
}

/*── Home page: family concept ────────────────────────────────────────*/

.family-site {
  --green: #51e174;
  --green-soft: #bdf7c8;
  --blue: #4b9cff;
  --gold: #ffc34d;
  --ink: #061018;
  background: var(--ink);
  color: #f4f8fb;
}

.family-shell {
  width: min(1180px,calc(100% - 48px));
  margin-inline: auto;
}

.family-hero {
  position: relative;
  min-height: 860px;
  height: 100svh;
  max-height: 1000px;
  overflow: hidden;
  border-bottom: 1px solid rgba(139,194,225,.13);
}

.family-world {
  position: absolute;
  inset: 0;
  background: url('../images/fargolia-logo.png') 76% 42%/min(1000px,68vw) auto no-repeat,url('../images/hero-world.png') 56% 50%/cover no-repeat;
  filter: saturate(1.08);
}

.family-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#040a10 0%,rgba(4,10,16,.97) 31%,rgba(4,10,16,.57) 66%,rgba(4,10,16,.24)),linear-gradient(0deg,#040a10 0%,transparent 38%);
}

.family-nav {
  height: 86px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(139,194,225,.15);
}

.family-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.family-brand img {
  width: 126px;
  height: 42px;
  object-fit: cover;
}

.family-brand span {
  padding: 5px 8px;
  border: 1px solid rgba(81,225,116,.35);
  color: var(--green-soft);
  font: 800 8px var(--font-mono),monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.family-links {
  display: flex;
  gap: 32px;
  color: #b5c3cc;
  font-size: 13px;
}

.family-links a {
  transition: .2s;
}

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

.family-nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.family-coffee {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
}

.family-nav-download {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.family-language {
  position: relative;
}

.family-language summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.14);
}

.family-language summary::-webkit-details-marker {
  display: none;
}

.family-language>div {
  position: absolute;
  top: 42px;
  right: 0;
  width: 92px;
  padding: 5px;
  background: #0c1820;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 40px #0008;
}

.family-language button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border: 0;
  background: none;
  color: #9eacb4;
  text-align: left;
}

.family-language button.active {
  color: var(--green);
}

.family-menu {
  display: none;
  background: none;
  border: 0;
  color: white;
}

.family-hero-content {
  position: relative;
  z-index: 2;
  height: calc(100% - 86px);
  display: grid;
  grid-template-columns: minmax(0,620px);
  align-items: center;
  gap: 90px;
  padding-bottom: 30px;
}

.family-hero-copy {
  padding-top: 20px;
}

.family-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font: 700 11px var(--font-mono),monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.family-hero h1 {
  max-width: 760px;
  margin: 24px 0 25px;
  font-size: clamp(60px,6.4vw,94px);
  line-height: .9;
  letter-spacing: -.065em;
}

.family-hero h1 em {
  display: block;
  margin-top: 8px;
  color: #dce9f1;
  font-style: normal;
  font-weight: 480;
  font-size: .61em;
  letter-spacing: -.045em;
  -webkit-text-stroke: 0;
}

.family-hero-copy>p {
  max-width: 650px;
  margin: 0;
  color: #b4c1c8;
  font-size: 18px;
  line-height: 1.65;
}

.family-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.family-button {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  text-transform: uppercase;
  font: 750 11px var(--font-mono),monospace;
  letter-spacing: .05em;
  transition: transform .2s,background .2s;
}

.family-button:hover {
  transform: translateY(-2px);
}

.family-primary {
  background: var(--green);
  color: #06150b;
  box-shadow: 0 12px 35px rgba(81,225,116,.15);
}

.family-primary:hover {
  background: #76ee91;
}

.family-secondary {
  border-color: rgba(255,255,255,.25);
  background: rgba(6,16,24,.55);
  backdrop-filter: blur(9px);
}

.family-secondary:hover {
  border-color: var(--green);
}

.family-trust {
  display: flex;
  gap: 24px;
  margin-top: 26px;
  color: #93a4ad;
  font-size: 12px;
}

.family-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.family-trust svg {
  color: var(--green);
}

.family-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718791;
  font: 650 9px var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.family-how {
  padding: 130px 0 145px;
}

.family-heading {
  display: grid;
  grid-template-columns: 1.15fr .72fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 68px;
}

.family-heading h2 {
  margin: 18px 0 0;
  font-size: clamp(48px,5.5vw,76px);
  line-height: .96;
  letter-spacing: -.06em;
}

.family-heading>p {
  margin: 0 0 8px;
  color: #91a1aa;
  font-size: 16px;
  line-height: 1.75;
}

.family-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(139,194,225,.17);
}

.family-steps article {
  position: relative;
  padding: 48px 42px 10px 0;
  border-right: 1px solid rgba(139,194,225,.17);
}

.family-steps article+article {
  padding-left: 42px;
}

.family-steps article:last-child {
  border-right: 0;
}

.family-step-number {
  position: absolute;
  right: 28px;
  top: 24px;
  color: #435662;
  font: 700 10px var(--font-mono);
}

.family-step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: rgba(81,225,116,.08);
  border: 1px solid rgba(81,225,116,.2);
}

.family-steps h3 {
  margin: 30px 0 14px;
  font-size: 25px;
  letter-spacing: -.035em;
}

.family-steps p {
  margin: 0;
  color: #8fa0aa;
  font-size: 14px;
  line-height: 1.75;
}

.family-together {
  padding: 130px 0 140px;
  background: #edf3f5;
  color: #0c1921;
}

.family-heading.light .family-kicker {
  color: #207541;
}

.family-heading.light>p {
  color: #5e717c;
}

.family-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.family-product {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cedae0;
  background: #f8fbfc;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 10px;
}

.family-product-copy {
  padding: 44px 10px 44px 44px;
}

.family-product-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #227545;
  font: 700 10px var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.family-product h3 {
  margin: 24px 0 13px;
  font-size: 42px;
  letter-spacing: -.05em;
}

.family-product p {
  max-width: 470px;
  color: #5e707a;
  line-height: 1.7;
}

.family-product ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.family-product li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.family-product li svg {
  color: #259b50;
}

.family-mini-ui {
  margin: 0 44px 0 0;
  box-shadow: 0 25px 55px rgba(25,53,68,.18);
}

.mini-ui-bar {
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #13212b;
  color: #758994;
  font-size: 8px;
}

.mini-ui-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #40525d;
}

.mini-ui-bar span {
  margin-left: auto;
}

.mini-ui-body {
  min-height: 245px;
  display: grid;
  grid-template-columns: 44px 1fr;
  background: #08131a;
  color: white;
}

.mini-ui-body aside {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  background: #0d1b24;
}

.mini-ui-body aside b {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #09200f;
  font-size: 10px;
}

.mini-ui-body aside span {
  width: 13px;
  height: 13px;
  border: 1px solid #4a5f6b;
}

.mini-ui-body>div {
  padding: 27px;
}

.mini-status {
  color: var(--green);
  font: 700 8px var(--font-mono);
  letter-spacing: .12em;
}

.mini-ui-body h4 {
  margin: 13px 0 20px;
  font-size: 20px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
}

.mini-stats span {
  padding: 11px;
  border: 1px solid #20313b;
}

.mini-stats small,.mini-stats b {
  display: block;
}

.mini-stats small {
  color: #637680;
  font: 7px var(--font-mono);
}

.mini-stats b {
  margin-top: 7px;
  font-size: 11px;
}

.mini-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 13px;
}

.mini-rules span {
  padding: 10px;
  background: #101f28;
  color: #99abb4;
  font-size: 8px;
}

.mini-rules i {
  float: right;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.family-everyday {
  padding: 140px 0;
}

.family-everyday-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(139,194,225,.16);
}

.family-everyday-grid article {
  min-height: 270px;
  padding: 32px;
  position: relative;
  border-right: 1px solid rgba(139,194,225,.16);
  transition: .2s;
}

.family-everyday-grid article:last-child {
  border: 0;
}

.family-everyday-grid article:hover {
  background: #0a1720;
}

.family-everyday-grid article>svg:first-child {
  color: var(--green);
}

.family-everyday-grid h3 {
  margin: 50px 0 13px;
  font-size: 20px;
}

.family-everyday-grid p {
  margin: 0;
  color: #899ba5;
  font-size: 13px;
  line-height: 1.7;
}

.family-everyday-grid article>svg:last-child {
  position: absolute;
  left: 32px;
  bottom: 28px;
  color: #526772;
}

.family-advanced {
  margin-top: 20px;
  padding: 35px 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  background: linear-gradient(110deg,#0c1d28,#0b171f);
  border: 1px solid rgba(81,225,116,.18);
}

.family-advanced-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(81,225,116,.1);
  color: var(--green);
}

.family-advanced h3 {
  margin: 8px 0;
  font-size: 22px;
}

.family-advanced p {
  max-width: 720px;
  margin: 0;
  color: #8ea0a9;
  font-size: 13px;
  line-height: 1.6;
}

.family-advanced>a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.family-cta {
  padding: 110px 0;
  background: linear-gradient(105deg,#3ed967,#5bea79 60%,#ffd05c 140%);
  color: #07140b;
}

.family-cta .family-kicker {
  color: #174e26;
}

.family-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
}

.family-cta h2 {
  margin: 15px 0 14px;
  font-size: clamp(50px,6vw,82px);
  line-height: .91;
  letter-spacing: -.065em;
}

.family-cta p {
  margin: 0;
  color: #285638;
  font-size: 16px;
}

.family-cta .family-primary {
  background: #07140b;
  color: white;
}

.family-cta-inner>div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.family-cta small {
  color: #285638;
  font-size: 11px;
}

.family-footer {
  padding: 42px 0;
  background: #040b10;
}

.family-footer>div {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 34px;
}

.family-footer p {
  color: #758891;
  font-size: 12px;
}

.family-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #a5b3ba;
  font-size: 12px;
}

.family-footer nav a:last-child {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--green);
}

.family-footer>div>small {
  color: #53656e;
  font-size: 10px;
}

@media (max-width:1050px) {
  .family-links {
    display: none;
  }
  .family-nav {
    grid-template-columns: 1fr auto;
  }
  .family-hero-content {
    grid-template-columns: minmax(0,540px);
    gap: 40px;
  }
  .family-hero h1 {
    font-size: clamp(56px,7vw,78px);
  }
  .family-everyday-grid {
    grid-template-columns: 1fr 1fr;
  }
  .family-everyday-grid article:nth-child(2) {
    border-right: 0;
  }
  .family-everyday-grid article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(139,194,225,.16);
  }
  .family-footer>div {
    grid-template-columns: auto 1fr auto;
  }
  .family-footer nav {
    grid-column: 1/-1;
  }
  .family-footer>div>small {
    grid-column: 3;
  }
}

@media (max-width:760px) {
  .family-shell {
    width: min(100% - 30px,1180px);
  }
  .family-hero {
    height: auto;
    min-height: 920px;
  }
  .family-nav-actions {
    display: none;
  }
  .family-menu {
    display: block;
    justify-self: end;
  }
  .family-hero-content {
    height: auto;
    display: block;
    padding-top: 82px;
  }
  .family-hero h1 {
    font-size: clamp(52px,14vw,76px);
  }
  .family-world {
    background-position: 66% 50%;
    opacity: .58;
  }
  .family-glow {
    background: linear-gradient(90deg,#040a10 0%,rgba(4,10,16,.93) 62%,rgba(4,10,16,.45)),linear-gradient(0deg,#040a10 0%,transparent 40%);
  }
  .family-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .family-trust {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .family-scroll {
    display: none;
  }
  .family-how,.family-everyday {
    padding: 90px 0;
  }
  .family-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 45px;
  }
  .family-steps,.family-product-grid {
    grid-template-columns: 1fr;
  }
  .family-steps article,.family-steps article+article {
    padding: 35px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(139,194,225,.17);
  }
  .family-steps article:last-child {
    border-bottom: 0;
  }
  .family-step-number {
    right: 10px;
  }
  .family-together {
    padding: 90px 0;
  }
  .family-product-copy {
    padding: 28px;
  }
  .family-mini-ui {
    margin-inline: 20px;
    margin: 0 20px 28px;
  }
  .family-everyday-grid {
    grid-template-columns: 1fr;
  }
  .family-everyday-grid article,.family-everyday-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(139,194,225,.16);
  }
  .family-everyday-grid article:last-child {
    border-bottom: 0;
  }
  .family-advanced {
    grid-template-columns: auto 1fr;
    padding: 28px;
  }
  .family-advanced>a {
    grid-column: 2;
  }
  .family-cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .family-cta-inner>div:last-child {
    align-items: stretch;
  }
  .family-footer>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .family-footer nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
