/* ==========================================================================
   Athlenia — Expert Sports Coaching & Athletic Performance Platform
   Design system rebuilt from the reference visual language
   ========================================================================== */

:root {
  --ink: #000000;
  --lime: #CEFF65;
  --surface: #F0F0F0;
  --white: #FFFFFF;
  --text: #565656;
  --text-2: #606060;
  --muted: #808080;
  --line: #DBDBDB;
  --line-2: #D7D7D7;
  --r-xl: 30px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;
  --gutter: 15px;
  --container: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  position: relative;
  margin: 0;
  padding: var(--gutter);
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: var(--lime); color: var(--ink); }

/* --------------------------------------------------------------- typography */

.h1 { font-size: clamp(2.35rem, 4.4vw, 3.75rem); line-height: 1.167; font-weight: 500; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.95rem, 3.3vw, 2.8125rem); line-height: 1.223; font-weight: 500; letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.45rem, 2.3vw, 1.875rem); line-height: 1.331; font-weight: 500; letter-spacing: -0.02em; }
.h4 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.419; font-weight: 500; letter-spacing: -0.015em; }
.h5 { font-size: 1.25rem; line-height: 1.5; font-weight: 500; }
.body-lg { font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.muted { color: var(--text); }
.muted-2 { color: var(--text-2); }
.tiny { font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.eyebrow--muted { color: var(--text-2); }
.strong { font-weight: 600; }

/* ------------------------------------------------------------------ layout */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 960px; }
.section { padding: 88px 0; }
.section--tight { padding: 58px 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head > div:first-child { max-width: 760px; }
.section-head--center { display: block; text-align: center; }
.section-head--center > div:first-child { margin: 0 auto; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2-1 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 9px 9px 26px;
  border-radius: var(--pill);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .28s var(--ease), background-color .28s var(--ease), color .28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform .28s var(--ease);
}
.btn:hover .btn__ico { transform: rotate(45deg); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); padding: 15px 26px; }
.btn--sm { padding: 7px 7px 7px 20px; font-size: 1rem; }
.btn--sm .btn__ico { width: 34px; height: 34px; }

.btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform .28s var(--ease);
}
.btn-circle:hover { transform: translateY(-2px) rotate(45deg); }
.btn-circle--ink { background: var(--ink); color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); }

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 6px 14px;
}
.tag--ink { background: var(--ink); color: var(--white); }
.tag--ghost { background: var(--surface); color: var(--ink); }

/* ------------------------------------------------------------------ header */

.site-header {
  position: absolute;
  top: var(--gutter);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 30px;
  color: var(--white);
}
.brand {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  justify-self: start;
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--pill);
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
  opacity: .92;
  transition: opacity .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover,
.nav-trigger:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.nav-trigger svg { transition: transform .25s var(--ease); }
.nav-item.is-open .nav-trigger svg { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 26px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu,
.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-menu--sm { min-width: 320px; grid-template-columns: 1fr; }
.nav-menu a {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color .18s var(--ease);
}
.nav-menu a:hover { background: var(--surface); }
.nav-menu .nav-menu-label {
  grid-column: 1 / -1;
  padding: 2px 14px 8px;
  font-size: 0.75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-burger {
  justify-self: end;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 6px;
  transition: background-color .2s var(--ease);
}
.nav-burger:hover { background: rgba(255, 255, 255, .14); }
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ------------------------------------------------------------------ drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: drawerFade .3s var(--ease) both; }
@keyframes drawerFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawerSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 92vw);
  background: var(--white);
  color: var(--ink);
  padding: 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  animation: drawerSlide .38s var(--ease) both;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .drawer.is-open .drawer__panel,
  .drawer__scrim { animation: none; }
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__brand { font-size: 1.625rem; font-weight: 500; letter-spacing: -0.03em; }
.drawer__close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 1.375rem;
  line-height: 1;
}
.drawer__close:hover { background: var(--lime); }
.drawer__group-title {
  font-size: 0.75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.drawer__nav { display: grid; gap: 2px; }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
}
.drawer__nav a:hover { background: var(--surface); }
.drawer-card {
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--white);
  padding: 22px;
}
.drawer-card__title { font-size: 1.25rem; font-weight: 500; margin-bottom: 10px; }
.drawer-card p { font-size: 0.9375rem; color: rgba(255, 255, 255, .78); }
.drawer-card a { color: var(--lime); }
.drawer__picks { display: grid; gap: 12px; }
.drawer-pick {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  transition: border-color .2s var(--ease);
}
.drawer-pick:hover { border-color: var(--ink); }
.drawer-pick img { width: 64px; height: 56px; object-fit: cover; border-radius: 8px; }
.drawer-pick span { font-size: 0.9375rem; font-weight: 500; line-height: 1.4; }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0b0b0b;
  color: var(--white);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide { position: absolute; inset: 0; z-index: 1; }
.hero__slide.is-active { z-index: 2; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .34) 42%, rgba(0, 0, 0, .66) 100%);
}
.hero__inner {
  position: relative;
  min-height: 560px;
  padding: 168px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.hero__inner--left {
  align-items: flex-start;
  text-align: left;
  justify-content: flex-end;
  min-height: 700px;
  gap: 22px;
}
.hero--compact .hero__inner { min-height: 460px; padding: 150px 24px 60px; }
.hero--tall .hero__inner { min-height: 620px; }
.hero__sub { max-width: 560px; color: rgba(255, 255, 255, .82); }

.hero-home__content { max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.rating-row { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(255, 255, 255, .9);
  margin-left: -12px;
}
.avatars img:first-child { margin-left: 0; }
.rating-row__text { font-size: 0.9375rem; color: rgba(255, 255, 255, .9); }
.rating-row__text .star { color: var(--lime); }

.hero-preview {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 14px;
  text-align: left;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
  transition: transform .3s var(--ease);
}
.hero-preview:hover { transform: translateY(-3px); }
.hero-preview .btn-circle { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.hero-preview p { grid-column: 2; grid-row: 2; font-size: 0.9375rem; line-height: 1.5; font-weight: 500; }
.hero-preview__index {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}
.hero-preview__sep { opacity: .45; }
.hero-dots { position: absolute; left: 24px; bottom: 26px; display: flex; gap: 8px; }
.hero-dots button {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .38);
  transition: background-color .25s var(--ease), width .25s var(--ease);
}
.hero-dots button.is-active { background: var(--lime); width: 54px; }

/* ------------------------------------------------------------ shared cards */

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
}
.card--surface { background: var(--surface); }
.card--ink { background: var(--ink); color: var(--white); }
.card--border { box-shadow: inset 0 0 0 1px var(--line); }
.panel {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 64px 56px;
}
.panel--ink { background: var(--ink); color: var(--white); }

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.icon-badge--ink { background: var(--ink); color: var(--lime); }
.feature { display: flex; flex-direction: column; gap: 16px; }
.feature h3 { font-size: 1.5rem; }
.feature p { color: var(--text); font-size: 0.9375rem; }

.media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall img { height: 520px; }
.media--wide img { aspect-ratio: 16 / 10; }

/* --------------------------------------------------------------- accordions */

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item.is-open { border-bottom-color: transparent; }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.acc-trigger__ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.acc-panel { display: none; }
.acc-item.is-open .acc-trigger { padding-bottom: 12px; }
.acc-item.is-open .acc-trigger__ico { background: var(--lime); color: var(--ink); box-shadow: none; transform: rotate(180deg); }
.acc-item--ink.is-open { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 6px 26px 26px; margin: 12px 0; border-bottom: 0; }
.acc-item--ink.is-open .acc-panel { display: block; color: rgba(255, 255, 255, .8); font-size: 0.9375rem; line-height: 1.7; }
.acc-item--ink.is-open .acc-trigger { color: var(--white); }
.acc-item.is-open:not(.acc-item--ink) .acc-panel { display: block; padding: 0 4px 26px; color: var(--text); font-size: 0.9375rem; line-height: 1.7; }

/* -------------------------------------------------------------- row lists */

.row-list { display: grid; }
.row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1fr) 28px;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-radius: var(--pill);
  background: var(--white);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  margin-bottom: 10px;
}
.row:hover { background: var(--ink); color: var(--white); box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }
.row:hover .row__desc { color: rgba(255, 255, 255, .72); }
.row:hover .row__ico { color: var(--lime); }
.row__num { font-size: 0.875rem; color: var(--muted); }
.row:hover .row__num { color: var(--lime); }
.row__title { font-size: 1.125rem; font-weight: 500; }
.row__desc { font-size: 0.9375rem; color: var(--text-2); transition: color .25s var(--ease); }
.row__ico { justify-self: end; color: var(--ink); }
.row-list--index .row { grid-template-columns: 62px minmax(0, 1fr) 28px; }

/* ---------------------------------------------------------------- counters */

.metric-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.metric { background: var(--white); border-radius: var(--r-lg); padding: 26px 28px; }
.metric__value { font-size: clamp(2.5rem, 4vw, 3.75rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; }
.metric__label { color: var(--text); font-size: 0.9375rem; margin-top: 6px; }
.metric--ink { background: var(--ink); color: var(--white); }
.metric--ink .metric__label { color: rgba(255, 255, 255, .74); }

/* ----------------------------------------------------------------- pricing */

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
}
.toggle__track {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: var(--pill);
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 0;
  cursor: pointer;
  flex: none;
}
.toggle__knob {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .28s var(--ease);
}
.toggle.is-yearly .toggle__knob { transform: translateX(26px); }
.toggle__label {
  appearance: none;
  background: none;
  border: 0;
  padding: 4px 2px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.toggle__label.is-active { color: var(--ink); }
.toggle__label:focus-visible,
.toggle__track:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.plan { background: var(--white); border-radius: var(--r-lg); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.plan--featured { box-shadow: inset 0 0 0 1px var(--ink); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-size: 1rem; font-weight: 500; }
.plan__price { display: flex; align-items: baseline; gap: 10px; }
.plan__amount { font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.plan__was { color: var(--muted); text-decoration: line-through; font-size: 1.0625rem; }
.plan__period { color: var(--text-2); font-size: 0.9375rem; }
.plan__list { display: grid; gap: 12px; margin: 6px 0 4px; }
.plan__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.9375rem; color: var(--text); }
.plan__list .check { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; margin-top: 2px; }
.plan .btn { justify-content: space-between; width: 100%; margin-top: auto; }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.compare thead th { font-weight: 500; font-size: 1rem; color: var(--ink); }
.compare tbody th { font-weight: 400; color: var(--text); }
.compare td { text-align: center; }
.compare .yes { color: var(--ink); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); }

/* -------------------------------------------------------------------- team */

.team-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.team-card__img { width: 100%; height: 430px; object-fit: cover; object-position: 50% 18%; }
.team-card__body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.team-card__name { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.team-card__role { font-size: 0.875rem; color: var(--text-2); }
.team-card__meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.team-card__meta a { color: var(--ink); opacity: .75; transition: opacity .2s var(--ease); }
.team-card__meta a:hover { opacity: 1; }
.team-card__go { position: absolute; top: -20px; right: 0; }
.team-card--plain .team-card__body { position: static; border-radius: 0; }

/* -------------------------------------------------------------------- blog */

.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card__media { border-radius: var(--r-lg); overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--muted); }
.post-card__title { font-size: 1.375rem; line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 20px;
  border-radius: var(--pill);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); box-shadow: none; }

.article-body { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.article-body p { font-size: 1.0625rem; line-height: 1.75; color: var(--text); }
.article-body h3 { font-size: 1.875rem; margin-top: 12px; }
.article-body ul { display: grid; gap: 12px; }
.article-body li { display: grid; grid-template-columns: 10px 1fr; gap: 14px; font-size: 1.0625rem; color: var(--text); line-height: 1.7; }
.article-body li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: 11px; }
.article-body figure { margin: 6px 0; }
.article-body figure img { width: 100%; border-radius: var(--r-lg); }
.article-body figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
.article-quote { border-left: 3px solid var(--lime); padding-left: 22px; font-size: 1.375rem; line-height: 1.5; font-weight: 500; }

.author-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-md); background: var(--surface); }
.author-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* --------------------------------------------------------------- testimonial */

.review-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.review-score { background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.review-score__value { font-size: 3.75rem; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.stars { display: flex; gap: 5px; color: #F5A623; }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.review-card { scroll-snap-align: start; background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 250px; }
.review-card p { font-size: 1.0625rem; line-height: 1.55; }
.review-card b { font-weight: 600; }

/* ------------------------------------------------------------------ forms */

.form-grid { display: grid; gap: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; padding: 8px 0 14px; }
.field label { font-size: 0.875rem; color: var(--text-2); }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease);
}
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 16px 16px;
  padding: 12px 34px 12px 0;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  appearance: none;
  transition: border-color .2s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field.has-error input, .field.has-error textarea { border-bottom-color: #C0392B; }
.field__error { font-size: 0.8125rem; color: #C0392B; min-height: 18px; }
.notice {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 18px;
}
.notice.is-visible { display: flex; }
.notice--error { background: #FDE8E4; color: #8E2B18; }

.contact-strip { background: var(--ink); color: var(--white); border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
.contact-strip > div { padding: 30px 34px; border-right: 1px solid rgba(255, 255, 255, .14); }
.contact-strip > div:last-child { border-right: 0; }
.contact-strip .label { font-size: 0.8125rem; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.contact-strip .value { font-size: 1.125rem; font-weight: 500; }

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.social-row a:hover { background: var(--lime); box-shadow: none; }

/* -------------------------------------------------------------------- faq */

.faq-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-tabs { display: grid; gap: 10px; }
.faq-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 1rem;
  font-weight: 500;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.faq-tab .faq-tab__ico { display: none; }
.faq-tab.is-active { background: var(--ink); color: var(--white); }
.faq-tab.is-active .faq-tab__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.faq-panel { display: none; }
.faq-panel.is-active { display: block; }

/* -------------------------------------------------------------- style guide */

.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.swatch { border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.swatch__chip { height: 96px; }
.swatch__meta { padding: 14px 16px; font-size: 0.8125rem; color: var(--text-2); }
.swatch__meta b { display: block; color: var(--ink); font-size: 0.9375rem; font-weight: 500; }
.specimen { display: grid; gap: 18px; }
.specimen > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rich-text { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.rich-text p { color: var(--text); }
.rich-text ul { display: grid; gap: 8px; }
.rich-text li { padding-left: 18px; position: relative; color: var(--text); }
.rich-text li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ------------------------------------------------------------------ misc */

.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat-item { padding: 26px 0; border-top: 1px solid var(--line); }
.stat-item__num { font-size: 0.875rem; color: var(--muted); }
.stat-item__title { font-size: 1.125rem; font-weight: 500; margin-top: 6px; }
.badge-circle {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--lime);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  flex: 0 0 auto;
}
.badge-circle b { display: block; font-size: 1.75rem; letter-spacing: -0.02em; }
.badge-circle span { font-size: 0.75rem; }

.lime-banner {
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--pill);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.ink-banner { background: var(--ink); color: var(--white); border-radius: var(--r-xl); padding: 56px; }
.ink-banner .h2 { max-width: 820px; }

.info-card { display: flex; flex-direction: column; gap: 6px; }
.info-card .label { font-size: 0.8125rem; color: var(--muted); }

.skill { display: grid; gap: 8px; }
.skill__row { display: flex; align-items: center; justify-content: space-between; font-size: 0.9375rem; }
.skill__bar { height: 6px; border-radius: 3px; background: var(--surface); overflow: hidden; }
.skill__bar > i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }

.meta-list { display: grid; gap: 14px; }
.meta-list > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.meta-list dt { font-size: 0.8125rem; color: var(--muted); margin-bottom: 4px; }
.meta-list dd { margin: 0; font-size: 1rem; }

.center-card { max-width: 560px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .10), inset 0 0 0 1px var(--line); padding: 40px; }
.lock-badge { width: 62px; height: 62px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; margin: 0 auto 18px; }

.error-code { font-size: clamp(5rem, 16vw, 11rem); line-height: .9; font-weight: 500; letter-spacing: -0.05em; color: var(--lime); }

/* ------------------------------------------------------------------ footer */

.site-footer { margin-top: 40px; }
.footer-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 52px 48px 34px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer-top .h2 { max-width: 720px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, .9fr); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 380px; }
.footer-brand .brand { font-size: 1.875rem; }
.footer-brand p { color: rgba(255, 255, 255, .74); font-size: 0.9375rem; }
.footer-col h4 { font-size: 1rem; font-weight: 500; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 14px; }
.footer-col a { color: rgba(255, 255, 255, .74); font-size: 0.9375rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--lime); }
.footer-col p { color: rgba(255, 255, 255, .74); font-size: 0.9375rem; }
.footer-col .group + .group { margin-top: 22px; }
.footer-social { display: flex; gap: 18px; margin-top: 4px; }
.footer-social a { color: var(--white); opacity: .82; transition: opacity .2s var(--ease); }
.footer-social a:hover { opacity: 1; color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 0.875rem; color: rgba(255, 255, 255, .6); }

.to-top {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform .3s var(--ease);
}
.to-top:hover { transform: translateY(-4px); }

.hero__inner--left .hero-dots { position: static; margin-top: 4px; }
.hero-home__content .h1 { max-width: 800px; }

.plan--ink { background: var(--ink); color: var(--white); box-shadow: none; }
.plan--ink .plan__list li { color: rgba(255, 255, 255, .78); }
.plan--ink .plan__was { color: rgba(255, 255, 255, .5); }
.plan--ink .plan__period { color: rgba(255, 255, 255, .64); }
.plan--ink .plan__list .check { background: var(--lime); color: var(--ink); }
.plan--ink .btn--light .btn__ico { background: var(--lime); }

.row__icon { color: var(--ink); display: flex; }
.row:hover .row__icon { color: var(--lime); }

.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.media-grid .media img { height: 380px; }

.track-controls { display: flex; gap: 10px; }
.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.arrow-btn:hover { background: var(--ink); color: var(--white); box-shadow: none; }

.step-list { display: grid; gap: 22px; }
.step-item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; }
.step-item__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  font-size: 0.875rem;
  font-weight: 500;
}

.program-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.program-panel { display: none; }
.program-panel.is-active { display: grid; }

.category-list { display: grid; gap: 10px; }
.category-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.category-btn.is-active { background: var(--ink); color: var(--white); }
.category-btn.is-active .category-btn__num { color: var(--lime); }
.category-btn__num { font-size: 0.8125rem; color: var(--muted); }
.category-detail { display: grid; gap: 18px; }

.blog-grid-note { font-size: 0.875rem; color: var(--muted); }

.quote-block { border-left: 3px solid var(--lime); padding: 4px 0 4px 24px; font-size: 1.25rem; line-height: 1.55; font-weight: 500; }

/* -------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .site-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .review-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .panel { padding: 44px 32px; }
  .ink-banner { padding: 40px 28px; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .contact-strip > div:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .row { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .row__desc { display: none; }
  .hero__inner--left { min-height: 600px; }
  .hero-preview { position: static; width: 100%; margin-top: 22px; }
  .hero-dots { position: static; margin-top: 18px; }
  .footer-card { padding: 36px 24px 26px; }
  .footer-top { flex-direction: column; }
  .to-top { width: 72px; height: 72px; }
  .faq-tabs { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 640px) {
  :root { --gutter: 10px; --r-xl: 22px; --r-lg: 18px; }
  body { padding: var(--gutter); font-size: 0.9375rem; }
  .wrap { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .site-header { padding: 18px 12px; }
  .brand { font-size: 1.375rem; }
  .nav-burger { width: 40px; height: 40px; }
  .hero__inner { min-height: 460px; padding: 130px 16px 44px; }
  .hero__inner--left { min-height: 560px; }
  .hero--compact .hero__inner { min-height: 380px; padding: 120px 16px 44px; }
  .panel { padding: 28px 18px; }
  .card { padding: 22px; }
  .team-card__img { height: 340px; }
  .metric-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .acc-trigger { font-size: 1.0625rem; padding: 20px 2px; }
  .review-track { grid-auto-columns: minmax(250px, 92%); }
  .article-body h3 { font-size: 1.45rem; }
  .center-card { padding: 26px; }
  .compare th, .compare td { padding: 12px 8px; font-size: 0.8125rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lime-banner { border-radius: var(--r-md); padding: 16px 20px; font-size: 0.9375rem; }
  .drawer__panel { padding: 22px; }
}
