/* ==========================================================================
   delebiler.nu – styles
   Tokens come from the Figma file "delebiler.nu — launch".
   Desktop is designed at 1440px, mobile at 440px.
   ========================================================================== */

:root {
  /* colour */
  --green: #02be76;
  --green-dark: #018c57;
  --green-deep: #014028;
  --green-mint: #5dd3a6;
  --green-tint: rgba(2, 190, 118, 0.2);
  --green-deco: rgba(2, 190, 118, 0.3);
  --ink: #13272f;
  --text: #323232;
  --text-muted: #656b7c;
  --charcoal: #323232;
  --white: #fff;
  --border: #a9beb6;
  --border-light: #cbd0d9;
  --video: #b3bdba;
  --sage-bg: #e7f1d5;
  --sage: #c7d0b7;
  --sage-border: #c7cfb6;
  --rose-bg: #f1ded5;
  --rose: #ddc7bd;
  --rose-border: #bba59b;
  --start-media: rgba(165, 211, 194, 0.2);

  /* type */
  --font-headline: 'Stack Sans Headline', 'Stack Sans Text', system-ui, sans-serif;
  --font-text: 'Stack Sans Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-alt: 'Zalando Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: 38px;
  --fs-h1: 36px;
  --fs-h2: 28px;
  --fs-body: 16px;

  /* layout */
  --container: 1280px;
  --container-narrow: 1200px;
  --gutter: 24px;
  --header-h: 80px;
  --radius: 8px;
  --shadow-header: 0 4px 188px 15px rgba(31, 78, 52, 0.15);
}

@media (max-width: 960px) {
  :root {
    --fs-display: 26px;
    --fs-h1: 28px;
    --fs-h2: 24px;
    --header-h: 68px;
  }
}

@media (max-width: 600px) {
  :root {
    --fs-display: 20px;
    --fs-h1: 22px;
    --fs-h2: 20px;
    --fs-body: 15px;
    --gutter: 20px;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip; /* decorative shapes bleed past the viewport edges */
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.text-brand {
  color: var(--green);
}

.section-title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.25;
  color: #000;
}

.claim {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--fs-display);
  line-height: 1.25;
  color: var(--green-deep);
  text-align: center;
  max-width: 1088px;
  margin-inline: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.26;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-dark);
}

.btn--outline {
  border-color: #000;
  color: var(--ink);
  min-width: 140px;
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--light {
  min-width: 200px;
  background: var(--white);
  color: var(--green-dark);
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 17px;
}

.btn--light:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn--dark {
  background: var(--charcoal);
  color: var(--green);
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 17px;
}

.btn--dark:hover {
  background: #000;
}

.btn--lg {
  min-height: 66px;
  min-width: 235px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- placeholders (swap for real images later) ---------- */

.media-placeholder {
  background: var(--green-tint);
}

.media-placeholder--light {
  background: rgba(255, 255, 255, 0.2);
}

.media-placeholder--green {
  background: var(--green);
}

.media-placeholder--mint {
  background: var(--white);
}

.media-placeholder--sage {
  background: var(--start-media);
}

.video-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: var(--video);
  overflow: hidden;
}

.video-placeholder__play {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 0;
  background: none;
}

.video-placeholder__play img {
  width: 73px;
  height: 73px;
}

@media (max-width: 600px) {
  .video-placeholder {
    border-radius: 6px;
  }

  .video-placeholder__play,
  .video-placeholder__play img {
    width: 36px;
    height: 36px;
  }
}

/* decorative rotated squares */
.deco-square {
  position: absolute;
  z-index: 0;
  background: var(--green-deco);
  transform: rotate(-12.75deg);
  pointer-events: none;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(11px);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding-inline: 58px;
}

.site-header__logo img {
  width: 186px;
  height: 28px;
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 20px;
}

.site-nav__links {
  display: flex;
  gap: 28px;
  margin-inline: auto;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  line-height: 1.26;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current='page'],
.site-nav__login:hover {
  color: var(--green-dark);
}

.site-nav__links a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__demo {
  min-width: 140px;
}

@media (max-width: 1180px) {
  .site-header__inner {
    padding-inline: 24px;
  }

  .site-nav__links {
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    gap: 12px;
    padding-inline: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .site-header__logo img {
    width: 120px;
    height: auto;
  }

  .site-header__end {
    margin-left: auto;
    gap: 16px;
  }

  .site-header__demo {
    min-width: 108px;
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    box-shadow: 0 24px 40px rgba(31, 78, 52, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__links {
    flex-direction: column;
    gap: 0;
    margin: 0;
  }

  .site-nav__links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e6ebe9;
    font-size: 18px;
  }

  .site-nav__actions {
    justify-content: space-between;
    padding-top: 20px;
  }
}

/* ---------- language switch ---------- */

.lang-switch {
  position: relative;
  font-family: var(--font-alt);
}

.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  list-style: none;
  cursor: pointer;
  line-height: 1.26;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch__chevron {
  width: 5px;
  height: 8px;
  transform: rotate(-90deg);
  transition: transform 0.15s;
}

.lang-switch[open] .lang-switch__chevron {
  transform: rotate(90deg);
}

.lang-switch__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 140px;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(1, 64, 40, 0.18);
}

.lang-switch__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.lang-switch__menu a:hover {
  background: var(--sage-bg);
}

.lang-switch__menu a[aria-current='true'] {
  font-weight: 600;
  color: var(--green-dark);
}

/* header variant: short label, dark icons */
.site-header .lang-switch {
  color: #131a3a;
  font-size: 14px;
}

.site-header .lang-switch__name,
.site-header .lang-switch__icon--light {
  display: none;
}

.site-header .lang-switch__menu {
  left: auto;
  right: 0;
}

@media (max-width: 960px) {
  .site-header .lang-switch {
    font-size: 12px;
  }
}

/* footer variant: full name, light icons */
.site-footer .lang-switch {
  color: var(--white);
  font-size: 16px;
}

.site-footer .lang-switch__short,
.site-footer .lang-switch__icon--dark {
  display: none;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: var(--white);
  font-family: var(--font-alt);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 52px 100px 40px;
}

.site-footer__logo {
  display: inline-block;
  margin-top: 8px;
}

.site-footer__logo img {
  width: 179px;
  height: 27px;
}

.site-footer__tagline {
  max-width: 300px;
  margin-top: 16px;
  font-size: 15px;
  opacity: 0.75;
}

.site-footer__heading {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.6;
}

.site-footer__col ul {
  display: grid;
  gap: 8px;
  font-size: 18px;
}

.site-footer__col a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__col a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 20px 100px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.site-footer__social {
  display: flex;
  gap: 9px;
}

.site-footer__social img {
  width: 27px;
  height: 27px;
}

.site-footer__social a {
  display: block;
  border-radius: 4px;
  transition: opacity 0.15s;
}

.site-footer__social a:hover {
  opacity: 0.75;
}

@media (max-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 40px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    padding-inline: 40px;
  }
}

@media (max-width: 600px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 32px 28px 24px;
  }

  .site-footer__col ul {
    font-size: 15px;
  }

  .site-footer__logo img {
    width: 105px;
    height: auto;
  }

  .site-footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 16px 28px 24px;
    font-size: 12px;
  }
}

/* ---------- icon tiles (car / parking / building) ---------- */

.icon-tiles {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  gap: 18px;
}

.icon-tiles__tile {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  background: var(--white);
}

.icon-tiles__tile--car {
  transform: scaleY(-1) rotate(15deg);
}

.icon-tiles__tile--car img {
  transform: scaleY(-1) rotate(15deg);
}

.icon-tiles__tile--parking {
  transform: scaleY(-1) rotate(-12.75deg);
}

.icon-tiles__tile--parking img {
  transform: scaleY(-1) rotate(-12.75deg);
}

.icon-tiles__building {
  width: 103px;
  height: 103px;
  margin-left: -14px;
}

@media (max-width: 600px) {
  .icon-tiles {
    height: 58px;
    gap: 10px;
  }

  .icon-tiles__tile {
    width: 42px;
    height: 42px;
  }

  .icon-tiles__tile img {
    width: 18px;
    height: 18px;
  }

  .icon-tiles__building {
    width: 57px;
    height: 57px;
    margin-left: -8px;
  }
}

/* ==========================================================================
   Home
   ========================================================================== */

.home-hero {
  padding: 75px 0 103px;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 528px) minmax(0, 600px);
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  width: min(100% - 2 * var(--gutter), var(--container-narrow));
}

.home-hero__text {
  padding-top: 14px;
}

.home-hero__title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.25;
  color: #000;
}

.home-hero__lead {
  max-width: 505px;
  margin: 16px 0 32px;
  color: #000;
}

.home-hero__secondary {
  display: none;
}

.home-hero__media {
  height: 355px;
  border-radius: 28px 28px 8px 8px;
}

@media (max-width: 960px) {
  .home-hero {
    padding: 40px 0 48px;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }

  .home-hero__media {
    height: 260px;
  }
}

@media (max-width: 600px) {
  .home-hero {
    position: relative;
    padding: 28px 0 32px;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
  }

  .home-hero__text {
    position: relative;
    z-index: 1;
    max-width: 62%;
    padding-top: 0;
  }

  .home-hero__lead {
    margin: 12px 0 24px;
    font-size: 13px;
  }

  .home-hero__media {
    position: absolute;
    top: 28px;
    right: calc(-1 * var(--gutter) - 70px);
    width: 205px;
    height: 241px;
  }

  .home-hero .btn-row {
    width: calc(100vw - 2 * var(--gutter) - 24px);
    flex-wrap: nowrap;
  }

  .home-hero .btn-row .btn {
    flex: 1;
    min-width: 0;
    min-height: 38px;
    font-size: 13px;
  }

  .home-hero__secondary {
    display: inline-flex;
  }
}

/* "Hvad er muligt" – dark section with tabs */

.possible {
  padding: 88px 0 274px;
  border-radius: 44px;
  background: var(--charcoal);
  color: var(--white);
}

.possible .container {
  width: min(100% - 2 * var(--gutter), var(--container-narrow));
}

.possible__header {
  max-width: 1013px;
  margin: 0 auto 34px;
  text-align: center;
}

.possible__header .section-title {
  margin-bottom: 16px;
  color: var(--white);
}

.tabs {
  border-radius: 20px;
  background: var(--green-dark);
  overflow: hidden;
}

.tabs__list {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}

.tabs__tab {
  min-height: 78px;
  padding: 12px 16px;
  border: 0;
  background: rgba(93, 211, 166, 0.2);
  color: var(--green-mint);
  font-size: 18px;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.tabs__tab + .tabs__tab {
  border-left: 1px solid var(--green-dark);
}

.tabs__tab:hover {
  background: rgba(93, 211, 166, 0.35);
  color: var(--white);
}

.tabs__tab[aria-selected='true'] {
  background: var(--green);
  color: var(--white);
  font-weight: 500;
}

.tabs__tab:focus-visible {
  outline-color: var(--white);
  outline-offset: -4px;
}

.tabs__panel {
  display: grid;
  grid-template-columns: minmax(0, 528px) minmax(0, 464px);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 78px 78px 78px 72px;
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__title {
  margin-bottom: 20px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.25;
}

.tabs__copy p {
  max-width: 505px;
}

.tabs__media {
  height: 446px;
  border-radius: 28px;
}

@media (max-width: 960px) {
  .possible {
    padding: 56px 0 200px;
    border-radius: 28px;
  }

  .tabs__panel {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }

  .tabs__media {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .possible {
    padding: 48px 0 220px;
  }

  .possible__header {
    margin-bottom: 32px;
    font-size: 13px;
  }

  .possible__header .section-title {
    font-size: 20px;
  }

  .tabs {
    border-radius: 6px;
  }

  .tabs__list {
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .tabs__list::-webkit-scrollbar {
    display: none;
  }

  .tabs__tab {
    min-height: 40px;
    font-size: 12px;
    scroll-snap-align: start;
  }

  .tabs__panel {
    grid-template-columns: minmax(0, 1fr) 40%;
    gap: 16px;
    padding: 32px 20px;
  }

  .tabs__title {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .tabs__copy p {
    font-size: 13px;
  }

  .tabs__media {
    height: 136px;
    border-radius: 8px;
  }
}

/* benefit cards overlapping the dark section */

.benefits {
  position: relative;
  margin-top: -145px;
}

.benefits .container {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--gutter), 1324px);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 33px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  min-height: 548px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

.benefit-card__media {
  height: 412px;
  border-bottom: 1px solid var(--border);
}

.benefit-card__text {
  padding: 23px 23px 28px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: #000;
}

.deco-square--benefits-left {
  top: 500px;
  left: -60px;
  width: 106px;
  height: 106px;
}

.deco-square--benefits-right {
  top: 1015px;
  right: -40px;
  width: 161px;
  height: 161px;
}

@media (max-width: 960px) {
  .benefits {
    margin-top: -120px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .benefit-card {
    min-height: 0;
  }

  .benefit-card__media {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .benefits {
    margin-top: -170px;
  }

  .benefits .container {
    width: 100%;
  }

  /* horizontal carousel, as in the mobile design */
  .benefits__grid {
    display: flex;
    gap: 16px;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .benefits__grid::-webkit-scrollbar {
    display: none;
  }

  .benefit-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    border-radius: 14px;
  }

  .benefit-card__media {
    height: 290px;
  }

  .benefit-card__text {
    padding: 20px;
    font-size: 16px;
  }

  .deco-square--benefits-left {
    top: auto;
    bottom: -120px;
    left: -70px;
  }

  .deco-square--benefits-right {
    top: auto;
    bottom: -200px;
    right: -60px;
    width: 106px;
    height: 106px;
  }
}

/* green zone: video, tilted green square, CTA and "get started" card */

.green-zone {
  position: relative;
  isolation: isolate;
  padding-bottom: 95px;
}

.community {
  padding-top: 118px;
}

.community__title {
  max-width: 528px;
  margin: 0 auto 40px;
  text-align: center;
}

.cta-band {
  position: relative;
  padding: 132px 0 116px;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: calc(50% + 110px);
  left: 50%;
  width: 1404px;
  height: 1404px;
  background: var(--green);
  transform: translate(-50%, -50%) rotate(-12.75deg);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-band__title {
  max-width: 900px;
  margin-top: 36px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--fs-display);
  line-height: 1.25;
  color: var(--green-deep);
}

.cta-band__text {
  max-width: 640px;
  margin-top: -8px;
  color: var(--green-deep);
  font-size: 18px;
}

.start {
  position: relative;
  z-index: 1;
}

.start__card {
  max-width: 1240px;
  margin-inline: auto;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

.start__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.start__role {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 76px 0;
}

.start__role + .start__role {
  border-left: 1px solid var(--border-light);
}

.start__heading {
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: #000;
}

.start__num {
  color: var(--green-dark);
}

.start__text {
  font-family: var(--font-alt);
  font-size: 18px;
  color: var(--text-muted);
}

.start__media {
  width: min(100%, 387px);
  height: 471px;
  margin: 32px auto 0;
  border-radius: 22px 22px 0 0;
}

.start__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-light);
}

.start__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 256px;
  padding: 40px 28px;
}

.start__step + .start__step {
  border-left: 1px solid var(--border-light);
}

@media (max-width: 960px) {
  .community {
    padding-top: 72px;
  }

  .cta-band {
    padding: 80px 0;
  }

  .cta-band::before {
    width: 900px;
    height: 900px;
    top: calc(50% + 60px);
  }

  .start__role {
    padding: 32px 32px 0;
  }

  .start__media {
    height: 280px;
  }

  .start__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start__step {
    min-height: 0;
    padding: 28px;
  }

  .start__step:nth-child(3) {
    border-left: 0;
  }

  .start__step:nth-child(n + 3) {
    border-top: 1px solid var(--border-light);
  }
}

@media (max-width: 600px) {
  .green-zone {
    padding-bottom: 48px;
  }

  .community {
    padding-top: 120px;
  }

  .community__title {
    margin-bottom: 20px;
  }

  .cta-band {
    padding: 36px 0 40px;
  }

  .cta-band::before {
    width: 515px;
    height: 515px;
    top: calc(50% + 40px);
  }

  .cta-band__inner {
    gap: 16px;
  }

  .cta-band__title {
    max-width: 305px;
    margin-top: 12px;
  }

  .cta-band__text {
    font-size: 14px;
  }

  .cta-band .btn--light {
    min-width: 0;
    min-height: 36px;
    font-size: 14px;
  }

  .start__card {
    border-radius: 14px;
  }

  .start__roles,
  .start__steps {
    grid-template-columns: 1fr;
  }

  .start__role {
    padding: 24px 24px 0;
  }

  .start__role + .start__role {
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }

  .start__heading {
    font-size: 20px;
  }

  .start__text {
    font-size: 14px;
  }

  .start__media {
    height: 180px;
    margin-top: 20px;
  }

  .start__step {
    padding: 20px 24px;
  }

  .start__step + .start__step {
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }
}

/* ==========================================================================
   About
   ========================================================================== */

.about-hero {
  position: relative;
  isolation: isolate;
  padding: 122px 0 98px;
}

.about-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -460px;
  left: calc(50% - 3px);
  width: 1143px;
  height: 1143px;
  background: var(--green);
  transform: translateX(-50%) rotate(-12.75deg);
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.about-hero__inner .icon-tiles {
  margin-bottom: 67px;
}

.about-hero .claim {
  max-width: 1061px;
}

.deco-square--hero-1 {
  top: 0;
  right: -50px;
  width: 133px;
  height: 133px;
}

.deco-square--hero-2 {
  top: 195px;
  right: 16px;
  width: 63px;
  height: 63px;
}

.deco-square--hero-3 {
  top: 254px;
  left: 0;
  width: 101px;
  height: 101px;
}

.deco-square--hero-4 {
  top: 366px;
  left: 88px;
  width: 69px;
  height: 69px;
}

.deco-square--hero-5 {
  top: 469px;
  left: 45px;
  width: 41px;
  height: 41px;
}

.about-video .container {
  position: relative;
  z-index: 1;
}

.split {
  padding-top: 126px;
}

.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 549px) minmax(0, 673px);
  justify-content: space-between;
  align-items: center;
  gap: 58px;
}

.split__copy {
  display: grid;
  gap: 11px;
}

.split__copy p {
  color: var(--text);
}

.split__media {
  height: 362px;
  border-radius: 20px;
}

.split--reverse {
  padding-top: 116px;
}

.split--reverse .split__inner {
  grid-template-columns: minmax(0, 600px) minmax(0, 600px);
  align-items: start;
}

.split--reverse .split__copy {
  gap: 16px;
}

.split__media--tall {
  height: 427px;
  margin-top: 7px;
}

.team {
  padding-top: 48px;
}

.team__title {
  margin-bottom: 48px;
  text-align: center;
}

.team__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.team-card {
  width: 470px;
  max-width: 100%;
  padding: 30px 26px 35px;
  border-radius: 22px;
  background: var(--charcoal);
}

.team-card__photo {
  aspect-ratio: 418 / 391;
  border-radius: 20px;
  background: var(--white);
}

.team-card__name {
  margin-top: 28px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  color: var(--white);
}

.team-card__role {
  margin-top: 8px;
  font-family: var(--font-alt);
  font-size: 18px;
  color: var(--green);
}

@media (max-width: 960px) {
  .about-hero {
    padding: 72px 0 80px;
  }

  .about-hero::before {
    width: 900px;
    height: 900px;
    top: -420px;
  }

  .about-hero__inner .icon-tiles {
    margin-bottom: 24px;
  }

  .split,
  .split--reverse {
    padding-top: 72px;
  }

  .split__inner,
  .split--reverse .split__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split--reverse .split__media {
    order: -1;
  }

  .split__media,
  .split__media--tall {
    height: 260px;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .about-hero {
    padding: 48px 0 64px;
  }

  .about-hero::before {
    width: 560px;
    height: 560px;
    top: -260px;
  }

  .about-hero__inner {
    gap: 20px;
  }

  .about-hero__inner .icon-tiles {
    margin-bottom: 8px;
  }

  .about-hero .btn--light {
    min-width: 0;
    min-height: 36px;
    font-size: 14px;
  }

  .deco-square--hero-1,
  .deco-square--hero-2 {
    display: none;
  }

  .deco-square--hero-3 {
    top: 300px;
    width: 60px;
    height: 60px;
  }

  .deco-square--hero-4,
  .deco-square--hero-5 {
    display: none;
  }

  .split,
  .split--reverse {
    padding-top: 48px;
  }

  .split__media,
  .split__media--tall {
    height: 200px;
    border-radius: 12px;
  }

  .team {
    padding-top: 48px;
  }

  .team__title {
    margin-bottom: 24px;
  }

  .team-card {
    padding: 16px 16px 20px;
    border-radius: 16px;
  }

  .team-card__name {
    margin-top: 16px;
    font-size: 20px;
  }

  .team-card__role {
    font-size: 15px;
  }
}

/* CTA box (About + Features) */

.cta-box {
  padding: 123px 0 72px;
}

.cta-box__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 1273px;
  margin-inline: auto;
  padding: 61px 24px 60px;
  border-radius: 34px;
  background: var(--green);
  text-align: center;
}

.cta-box__title {
  margin-top: 30px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--fs-display);
  line-height: 1.25;
  color: var(--green-deep);
}

@media (max-width: 960px) {
  .cta-box {
    padding: 80px 0 56px;
  }
}

@media (max-width: 600px) {
  .cta-box {
    padding: 56px 0 40px;
  }

  .cta-box__inner {
    padding: 36px 20px;
    border-radius: 16px;
  }

  .cta-box__title {
    margin-top: 12px;
  }

  .cta-box .btn--lg {
    min-width: 0;
    min-height: 44px;
    font-size: 15px;
  }
}

/* ==========================================================================
   Features
   ========================================================================== */

.features-hero {
  position: relative;
  padding: 50px 0 80px;
  border-radius: 0 0 80px 80px;
  background: var(--green);
}

.features-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-hero__media {
  width: min(100%, 695px);
  aspect-ratio: 695 / 365;
  border-radius: 20px;
  background: linear-gradient(180deg, #f6f6f6 0%, var(--white) 30%);
}

.features-hero__dots {
  width: 38px;
  height: 6px;
  margin: 16px 0 28px;
}

.feature-list {
  display: grid;
  gap: 48px;
  padding-top: 68px;
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 559px) minmax(0, 1fr);
  gap: 48px;
  min-height: 475px;
  padding: 68px 0 68px 102px;
  border-radius: 52px;
  background: var(--sage-bg);
  overflow: hidden;
  --chip-border: var(--sage-border);
  --shape-back: var(--sage);
}

.feature:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 559px);
  padding: 68px 81px 68px 0;
  background: var(--rose-bg);
  --chip-border: var(--rose-border);
  --shape-back: var(--rose);
}

.feature:nth-child(even) .feature__copy {
  order: 2;
  align-self: center;
}

.feature__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 527px;
}

.feature__copy p {
  margin-top: 11px;
}

.feature__title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.25;
  color: #000;
}

.feature__subtitle {
  margin-top: 24px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}

.feature__subtitle + p {
  margin-top: 4px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 8px;
}

.chip {
  padding: 6px 8px;
  border: 1px solid var(--chip-border);
  border-radius: var(--radius);
  white-space: nowrap;
}

.feature__visual {
  position: relative;
  min-height: 340px;
}

.feature__shape {
  position: absolute;
  border-radius: 20px;
}

.feature__shape--front {
  top: 40px;
  left: 50%;
  width: 468px;
  height: 365px;
  background: var(--white);
  transform: translateX(-42%) rotate(-9.51deg);
}

.feature__shape--back {
  z-index: 1;
  top: 16px;
  left: 50%;
  width: 215px;
  height: 168px;
  background: var(--shape-back);
  transform: translateX(-120%);
}

.feature:nth-child(even) .feature__shape--front {
  top: 80px;
  transform: translateX(-50%) rotate(2.18deg);
}

.feature:nth-child(even) .feature__shape--back {
  top: 16px;
  transform: translateX(-90%);
}

.feature:nth-child(3) .feature__shape--back {
  top: -60px;
  transform: translateX(-110%) rotate(15.07deg);
}

@media (max-width: 1100px) {
  .feature,
  .feature:nth-child(even) {
    padding-left: 56px;
    padding-right: 32px;
  }

  .feature:nth-child(even) {
    padding-left: 32px;
    padding-right: 56px;
  }
}

@media (max-width: 960px) {
  .features-hero {
    padding: 32px 0 56px;
    border-radius: 0 0 48px 48px;
  }

  .feature-list {
    gap: 28px;
    padding-top: 48px;
  }

  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 40px 32px 0;
    border-radius: 32px;
  }

  .feature:nth-child(even) .feature__copy {
    order: 0;
  }

  .feature__visual {
    min-height: 240px;
    margin-top: 32px;
  }

  .feature__shape--front,
  .feature:nth-child(even) .feature__shape--front {
    top: 40px;
    width: min(80%, 468px);
    height: 300px;
  }

  .feature__shape--back,
  .feature:nth-child(even) .feature__shape--back,
  .feature:nth-child(3) .feature__shape--back {
    top: 0;
    width: 160px;
    height: 125px;
  }
}

@media (max-width: 600px) {
  .features-hero {
    padding: 24px 0 40px;
    border-radius: 0 0 32px 32px;
  }

  .features-hero__media {
    border-radius: 12px;
  }

  .features-hero__dots {
    margin: 12px 0 20px;
  }

  .feature,
  .feature:nth-child(even) {
    padding: 28px 20px 0;
    border-radius: 24px;
  }

  .feature__copy p {
    font-size: 14px;
  }

  .feature__subtitle {
    margin-top: 20px;
    font-size: 16px;
  }

  .chip {
    font-size: 13px;
    white-space: normal;
  }

  .feature__visual {
    min-height: 170px;
    margin-top: 24px;
  }

  .feature__shape--front,
  .feature:nth-child(even) .feature__shape--front {
    top: 36px;
    height: 200px;
  }

  .feature__shape--back,
  .feature:nth-child(even) .feature__shape--back,
  .feature:nth-child(3) .feature__shape--back {
    width: 110px;
    height: 86px;
  }
}
