/* =========================================================
   Parachute landing page
   Desktop reference: 1440px mockup ("Landing page v2")
   ========================================================= */

@font-face {
  font-family: "Dela Gothic One";
  src: url("../assets/fonts/dela-gothic-one-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "Dela Gothic One";
  src: url("../assets/fonts/dela-gothic-one-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "SN Pro";
  src: url("../assets/fonts/sn-pro-latin.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  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: "SN Pro";
  src: url("../assets/fonts/sn-pro-latin-ext.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  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;
}

:root {
  --pink: #F93BB2;
  --pink-dark: #E01F98;
  --green: #146600;
  --lime: #B5FF53;
  --lime-cloud: #CDFF51;
  --electric: #39FF52;
  --ink: #17222A;
  --white: #FFFFFF;
  --cream: #F9F3E7;

  --font-head: "Dela Gothic One", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "SN Pro", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --page-max: 1280px;
  --gutter: clamp(16px, 5.5vw, 80px);
  --radius: clamp(28px, 3.5vw, 50px);
  --section-gap: clamp(48px, 7vw, 104px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- background: always visible, stretched across the whole page ---------- */
html { background-color: var(--lime); }
body {
  min-height: 100vh;
  background: var(--lime) url("../assets/img/background.jpg") center top / 100% 100% no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
/* Narrower screens make the page much taller than wide: scale the artwork to the page
   height (keeping its proportions) instead of squeezing it, and centre it. */
@media (max-width: 1099.98px) {
  body { background-size: auto 100%; }
}
@media (max-width: 700px) {
  body { background-image: url("../assets/img/background-sm.jpg"); }
}

.container { width: min(var(--page-max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--green); padding: 10px 16px; border-radius: 12px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- content surfaces: 100% white or 10% white ---------- */
.card { position: relative; border-radius: var(--radius); }
.card--solid { background: var(--white); box-shadow: 0 30px 60px -30px rgba(20, 102, 0, .25); }
.card--glass {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

/* ---------- headings ---------- */
.hero__title, .intro__title, .slide__title, .support__title, .get-app__title {
  font-family: var(--font-head); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 62px; padding: 0 36px; border-radius: 999px;
  font-family: var(--font-body); font-size: 22px; font-weight: 700; line-height: 1;
  color: var(--pink); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; background: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { flex: none; transition: transform .2s ease; }
.btn--primary {
  background: linear-gradient(170deg, #FFFFFF 0%, #F6FFE0 45%, #E2FF97 100%);
  box-shadow: 0 14px 30px -10px rgba(106, 150, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(106, 150, 0, .55); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--outline { border-color: var(--pink); }
.btn--outline:hover { background: var(--pink); color: var(--white); }
.btn:active { transform: translateY(0) scale(.98); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: clamp(20px, 5.5vw, 79px);
  position: relative; z-index: 20;
}
.site-header__logo { display: block; width: clamp(104px, 15vw, 216px); flex: none; }
.site-header__logo img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3.4vw, 48px); }
.site-nav__link, .lang__toggle {
  font-size: 15px; font-weight: 700; line-height: 24px; color: var(--green); text-decoration: none;
}
.site-nav__link:hover { color: var(--pink); }
.lang { position: relative; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px; border: 0; background: none; color: var(--green);
}
.lang__toggle:hover { color: var(--pink); }
.lang__flag svg { width: 20px; height: 10px; border-radius: 1px; }
.lang__chevron { transition: transform .2s ease; }
.lang__toggle[aria-expanded="true"] .lang__chevron { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px;
  background: var(--white); border-radius: 18px; padding: 8px;
  box-shadow: 0 20px 40px -16px rgba(20, 102, 0, .35);
}
.lang__menu a, .lang__soon { display: block; padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; }
.lang__menu a { color: var(--green); }
.lang__menu a:hover { background: var(--cream); }
.lang__soon { color: #7A8590; font-weight: 500; }

/* =========================================================
   HERO
   ========================================================= */
.hero { margin-top: clamp(24px, 2.4vw, 32px); }
.hero__card {
  text-align: center;
  padding: clamp(30px, 2.6vw, 38px) clamp(20px, 4vw, 48px) clamp(34px, 3vw, 44px);
}
.hero__title { font-size: clamp(38px, 5.4vw, 78px); color: var(--green); }
.hero__subtitle {
  margin-top: clamp(10px, 1.2vw, 18px);
  font-size: clamp(18px, 2vw, 29px); line-height: 1.3; font-weight: 500; color: var(--green);
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px;
  margin-top: clamp(24px, 3vw, 42px);
}

/* =========================================================
   INTRO CARD
   ========================================================= */
#intro { margin-top: clamp(40px, 5vw, 72px); }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(36px, 6vw, 84px) clamp(20px, 5vw, 64px) 0;
}
.intro__clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.intro__cloud { position: absolute; max-width: none; }
.intro__head { position: relative; text-align: center; }
.intro__title { font-size: clamp(30px, 3.7vw, 53px); color: var(--pink); }
.intro__subtitle { margin-top: clamp(10px, 1.6vw, 22px); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; font-weight: 500; color: var(--pink); }

.intro__body { position: relative; z-index: 2; }
.checklist { display: grid; gap: clamp(22px, 2.2vw, 31px); }
.checklist li { display: grid; grid-template-columns: 37px 1fr; gap: 24px; align-items: start; font-size: 18px; line-height: 30px; }
.checklist img { margin-top: -6px; }

.get-app { margin-top: clamp(36px, 3.6vw, 52px); }
.get-app__title { font-size: 22px; color: var(--green); letter-spacing: 0; }
.get-app__badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.store-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 130px; height: 44px; border-radius: 9px; background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: -.01em;
  transition: transform .2s ease, background-color .2s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #000; }
.get-app__legal { margin-top: 16px; font-size: 10px; line-height: 15px; color: #9AA3A8; }

.intro__visual { position: relative; z-index: 1; }
.intro__phones { width: 100%; filter: drop-shadow(0 30px 30px rgba(60, 120, 0, .22)); }
.intro__arrow { position: absolute; width: 104px; pointer-events: none; z-index: 3; }

/* =========================================================
   FEATURE CAROUSEL
   ========================================================= */
#features { margin-top: var(--section-gap); }
.features {
  min-height: 412px;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.features__track { display: grid; }
.slide {
  grid-area: 1 / 1;
  display: grid;
  visibility: hidden; opacity: 0;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .5s ease, visibility 0s; }
.features.is-static .slide, .features.is-static .slide * { transition: none !important; }
.slide__visual { position: relative; }
.slide__phone {
  transform: translateY(14px) rotate(-1.5deg);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(0 36px 26px rgba(20, 102, 0, .28));
  -webkit-user-drag: none;
}
.slide.is-active .slide__phone { transform: none; }
.slide__text > * { transition: transform .6s cubic-bezier(.2, .8, .2, 1); transform: translateX(24px); }
.slide.is-active .slide__text > * { transform: none; }
.slide__title { font-size: clamp(30px, 3.2vw, 46px); color: var(--green); }
.slide__body { margin-top: clamp(14px, 1.6vw, 22px); font-size: 18px; line-height: 30px; color: var(--ink); }

.features__arrow {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--green);
  transition: background-color .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.features__arrow:hover { background: rgba(255, 255, 255, .45); }
.features__arrow--prev:active { transform: translateX(-3px); }
.features__arrow--next:active { transform: translateX(3px); }
.features__dots { display: flex; gap: 10px; }
.features__dot {
  position: relative; width: 36px; height: 7px; padding: 0; border: 0; border-radius: 99px;
  background: var(--white); transition: background-color .3s ease, width .3s ease;
}
.features__dot::after { content: ""; position: absolute; inset: -14px -4px; }
.features__dot[aria-current="true"] { background: var(--green); }
.features__dot:hover:not([aria-current="true"]) { background: rgba(20, 102, 0, .35); }

/* =========================================================
   SUPPORT CARD
   ========================================================= */
#support { margin-top: var(--section-gap); }
.support {
  display: grid; grid-template-columns: minmax(0, 1fr);
  padding: clamp(36px, 6vw, 84px) clamp(20px, 5vw, 80px);
}
.support__title { font-size: clamp(32px, 3.2vw, 46px); color: var(--pink); max-width: 13ch; }
.support__subtitle { margin-top: clamp(20px, 2.2vw, 32px); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; font-weight: 600; color: var(--ink); }
.support__body { margin-top: 18px; font-size: 18px; line-height: 30px; max-width: 34em; }
.support__body p + p { margin-top: 12px; }

.signup { margin-top: clamp(24px, 2.6vw, 36px); }
.signup__row { display: flex; flex-wrap: wrap; gap: 14px; }
.signup__input {
  flex: 1 1 260px; max-width: 355px; min-width: 0; height: 62px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 999px; background: var(--cream);
  font-size: 18px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.signup__input::placeholder { color: #9B9284; opacity: 1; }
.signup__input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(249, 59, 178, .15); }
.signup__input[aria-invalid="true"] { border-color: #E0245E; }
.signup__btn { flex: 0 0 160px; padding: 0 24px; }
.signup__btn[disabled] { opacity: .6; cursor: progress; }
.signup__msg { min-height: 24px; margin-top: 8px; padding-left: 24px; font-size: 15px; font-weight: 600; color: #D0105F; }
.signup-success {
  display: flex; align-items: center; gap: 16px; margin-top: clamp(24px, 2.6vw, 36px); max-width: 520px;
  padding: 18px 24px; border-radius: 24px; background: var(--cream); font-size: 17px; line-height: 1.5;
  animation: pop .45s cubic-bezier(.2, .9, .3, 1.3);
}
.signup-success img { flex: none; }
.signup-success strong { color: var(--green); }
.signup-success:focus { outline: none; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.support__visual { position: relative; }
.totes { position: relative; aspect-ratio: 439 / 536; }
.totes__rear { position: absolute; left: 0; top: 0; width: 64.5%; }
.totes__front { position: absolute; right: 0; bottom: 0; width: 69%; }
.totes__shadow {
  position: absolute; left: 6%; right: -4%; bottom: -3%; height: 14%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 140, 30, .38), rgba(60, 140, 30, 0));
}
.support__badge { position: absolute; z-index: 3; filter: drop-shadow(0 12px 22px rgba(249, 59, 178, .3)); animation: wobble 6s ease-in-out infinite; }
.support__arrow { position: absolute; z-index: 3; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
@media (prefers-reduced-motion: reduce) {
  .support__badge { animation: none; }
  .slide, .slide__phone, .slide__text > * { transition: none !important; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px;
  margin-top: clamp(56px, 7.5vw, 108px);
  padding-bottom: calc(clamp(40px, 9vw, 130px) + env(safe-area-inset-bottom, 0px));
}
.site-footer__logo { display: block; width: 107px; flex: none; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 3.2vw, 46px); }
.site-footer__links a { font-size: 15px; font-weight: 700; line-height: 24px; color: var(--green); text-decoration: none; }
.site-footer__links a:hover { color: var(--pink); }

/* =========================================================
   DESKTOP  (≥ 1100px) — mirrors the 1440 mockup, fluid down to 1100
   ========================================================= */
@media (min-width: 1100px) {
  .checklist li, .slide__body, .support__body { font-size: 19px; }
  /* Intro: text left, phone showcase right, cloud bottom-right */
  .intro {
    grid-template-columns: 34.5% 1fr;
    grid-template-rows: auto 1fr;
    min-height: 885px;
    padding: 84px 0 0 8.9%;
    align-content: start;
  }
  .intro__head { grid-column: 1 / -1; margin-left: -12.6%; } /* centre on the card */
  .intro__body { grid-column: 1; margin-top: 44px; padding-bottom: 80px; }
  .checklist li span { max-width: 318px; }
  .intro__cloud { left: 22.7%; top: 21%; width: 102.6%; }
  .intro__visual { position: absolute; left: max(36.6%, calc(8.9% + 390px)); right: -3.4%; top: 14%; }
  .intro__arrow { left: -3.8%; top: 70%; width: 8.1%; }

  /* Features: phone left (overflowing), text right, arrows on the sides */
  .features { padding: 0 6.9%; }
  .slide { grid-template-columns: 37% 1fr; min-height: 412px; }
  .slide__visual { align-self: stretch; }
  .slide__phone {
    position: absolute; left: 13%; top: -42px; width: 88%; max-width: none;
  }
  .slide__phone[src*="phone-rooms"], .slide__phone[src*="phone-chat"] { width: 72%; left: 21%; top: -30px; }
  .slide__text { align-self: center; padding: 96px 0 56px 5%; max-width: 640px; }
  .features__dots { position: absolute; top: 76px; left: 43.1%; }
  .features__arrow { position: absolute; top: 50%; margin-top: -24px; }
  .features__arrow--prev { left: 2.5%; }
  .features__arrow--next { right: 2.5%; }

  /* Support: text left, totes right */
  .support { grid-template-columns: 50% 1fr; min-height: 521px; padding: 84px 80px 64px; }
  .support__visual { position: absolute; inset: 0; pointer-events: none; }
  .totes { position: absolute; left: 58.6%; top: 66px; width: 34.3%; }
  .support__badge { left: 82%; top: -42px; width: 14.4%; }
  .support__arrow { left: 82.6%; top: 122px; width: 7.4%; }
}

/* =========================================================
   TABLET & MOBILE  (< 1100px) — stacked layouts
   ========================================================= */
@media (max-width: 1099.98px) {
  .intro { gap: 36px; }
  .intro__body { max-width: 520px; margin-inline: auto; width: 100%; }
  .intro__cloud { left: -8%; bottom: -2%; width: 116%; }
  .intro__visual { margin: 0 -2% 0; padding-bottom: 8px; }
  .intro__arrow { display: none; }

  .features { padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 56px) 24px; }
  .slide { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 28px; }
  .slide__visual { display: flex; justify-content: center; height: clamp(320px, 52vw, 460px); width: 100%; }
  .slide__phone { height: 100%; width: auto; }
  .slide__text { max-width: 600px; }
  .slide__text > * { transform: translateY(14px); }
  .features__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }

  .support { gap: 40px; text-align: left; }
  .support__visual { width: min(360px, 82%); margin: 8px auto -64px; }
  .support__badge { right: -16%; top: -8%; width: 40%; }
  .support__arrow { display: none; }
}

@media (min-width: 700px) and (max-width: 1099.98px) {
  .intro__body { max-width: 640px; }
  .support { grid-template-columns: 1.2fr .8fr; align-items: center; }
  .support__visual { width: 100%; margin: 0 0 -96px; }
  .support__badge { right: -4%; top: -14%; width: 42%; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header { align-items: flex-start; }
  .site-nav { padding-top: 8px; gap: 14px; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .btn { font-size: 19px; min-height: 56px; padding: 0 28px; }
  .checklist li { grid-template-columns: 32px 1fr; gap: 14px; font-size: 17px; line-height: 27px; }
  .checklist img { width: 32px; height: 32px; margin-top: -3px; }
  .slide__body, .support__body { font-size: 17px; line-height: 28px; }
  .signup__row { flex-direction: column; }
  .signup__input { max-width: none; flex: none; width: 100%; height: 56px; }
  .signup__btn { flex: none; width: 100%; }
  .signup__msg { padding-left: 4px; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; }
  .site-footer__links { justify-content: center; }
}

@media (max-width: 360px) {
  .site-nav__link, .lang__toggle { font-size: 14px; }
  .lang__flag { display: none; }
}

@media (min-width: 1100px) and (max-width: 1279.98px) {
  .intro__visual { top: 19%; }
}
