/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg:           #0B1220;
  --text:         #F6F7F9;
  --muted:        #A9B8CD;
  --accent:       #2CA170;
  --border:       #2E3441;

  --font:         'Mulish', system-ui, sans-serif;

  --pad-x:        10.12%;
  --container:    1440px;
  --radius-pill:  54px;
  --radius-card:  13px;

  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}


/* ─── Utilities ──────────────────────────────────────────────────────────── */
.t-accent { color: var(--accent); }

.problem,
.obsessed,
.beliefs,
.request,
.site-footer,
.obsessed-card,
.belief-item {
  mix-blend-mode: lighten;
}


/* ─── Base ───────────────────────────────────────────────────────────────── */
html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

body {
  position: relative;
  overflow-x: clip;
}


/* ─── Grid background ────────────────────────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: lighten;
}


.grid-bg__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.grid-bg__line:nth-child(1) { left: 10.12%; }
.grid-bg__line:nth-child(2) { left: 30.06%; }
.grid-bg__line:nth-child(3) { left: 58.38%; }


/* ─── Decorative vectors ─────────────────────────────────────────────────── */
.grid-vectors {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: lighten;
}

.gv {
  position: absolute;
}

.gv svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.gv-1 { left: 58.38%; top: -1.5%;  width: 28.48%; }
.gv-2 { left: 10.12%; top: 1%;     width: 48.33%; }
.gv-3 { left: 10.12%; top: 25%;    width: 20%; }
.gv-4 { left: 58.38%; top: 25%;    width: 28.48%; transform: scaleY(0.89); transform-origin: top center; }
.gv-5 { left: 30.06%; top: 39.74%; width: 1px; }
.gv-6 { left: 10.12%; top: 58.5%;  width: 48.33%; }
.gv-7 { left: 58.38%; top: 80.1%;    width: 28.48%; }
.gv-8 { left: 30.06%; top: 75.33%; width: 1px; }

.grid-vectors-mob {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: lighten;
  display: none;
}


/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

@media (min-width: 1440px) {
  .container { padding-left: 0; }
}

/* ─── Tablet (768–1439px) ────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1439px) {
  /* Clip to fixed 24px margins on both sides (desktop right margin is too wide here) */
  :root { --pad-x: 24px; }

  /* Scale down hero title from 106px — too large for ~800–1000px screens */
  .hero__title {
    font-size: clamp(48px, 8vw, 80px);
    line-height: clamp(56px, 9vw, 90px);
    letter-spacing: -2px;
  }

  .hero__body    { max-width: 80%; }

  /* Scale section headings */
  .problem__title,
  .obsessed__title,
  .request__title {
    font-size: clamp(36px, 5vw, 52px);
    line-height: clamp(44px, 6vw, 60px);
    max-width: 80%;
  }

  .problem__body { max-width: 80%; }
  .request__body { max-width: 80%; }
  .request-form  { max-width: 80%; }
  .request-success { max-width: 80%; }
}


/* ─── Eyebrow ────────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
}


/* ─── Button ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text);
  transition: opacity 200ms var(--ease), transform 150ms var(--ease);
  position: relative;
}

.btn--green {
  background: var(--accent);
}

.btn--green:hover {
  opacity: 0.88;
}

.btn--green:active {
  transform: translateY(1px);
}

.btn--full {
  width: 100%;
  font-size: 17px;
  line-height: 22px;
  padding: 20px 26px;
  border-radius: var(--radius-pill);
}

.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn__label { display: flex; align-items: center; gap: 6px; }

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(246, 247, 249, 0.4);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

.btn.is-loading .btn__label { display: none; }
.btn.is-loading .btn__spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
}


/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 1;
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo__icon {
  width: 46px;
  height: 56px;
  flex-shrink: 0;
  color: var(--text);
}

.logo__text {
  font-size: 26px;
  font-weight: 500;
  line-height: 33px;
  color: var(--text);
}


/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding-top: 125px;
  padding-bottom: 14vw;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero .eyebrow {
  margin-bottom: 73px;
}

.hero__title {
  font-size: 106px;
  font-weight: 500;
  line-height: 114px;
  letter-spacing: -3.26px;
  color: var(--text);
  max-width: 93.6%;
  margin-bottom: 52px;
}

.hero__body {
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  color: var(--muted);
  max-width: 56.84%;
  margin-bottom: 44px;
}

.hero__cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 29px;
}

.hero__cta-note {
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 1.09px;
  text-transform: uppercase;
  color: var(--text);
}


/* ─── Problem ────────────────────────────────────────────────────────────── */
.problem {
  padding-top: 90px;
  padding-bottom: 15vw;
  border-top: 1px solid var(--border);
}

.problem .eyebrow {
  margin-top: -115px;
  margin-bottom: 15px;
}

.problem__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 67px;
  letter-spacing: -1.09px;
  color: var(--text);
  max-width: 54.42%;
  margin-bottom: 88px;
  padding-top: 22px;
}

.problem__body {
  font-size: 22px;
  font-weight: 400;
  line-height: 33px;
  color: var(--muted);
  max-width: 56.82%;
}


/* ─── Obsessed ───────────────────────────────────────────────────────────── */
.obsessed {
  padding-top: 90px;
  padding-bottom: 14vw;
  border-top: 1px solid var(--border);
}

.obsessed .eyebrow {
  margin-top: -115px;
  margin-bottom: 15px;
}

.obsessed__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 67px;
  letter-spacing: -1.09px;
  color: var(--text);
  max-width: 56.82%;
  margin-bottom: 92px;
}

.obsessed__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.obsessed-card {
  padding: 44px 6.72% 44px 6.72%;
}

.obsessed-card__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 1.09px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 35px;
}

.obsessed-card__text {
  font-size: 34px;
  font-weight: 500;
  line-height: 41px;
  color: var(--text);
}

.obsessed-card--tl {
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-card) 0 0 0;
}

.obsessed-card--tr {
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0 var(--radius-card) 0 0;
}

.obsessed-card--bl {
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 0 var(--radius-card);
}

.obsessed-card--br {
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-card) 0;
}


/* ─── Beliefs ────────────────────────────────────────────────────────────── */
.beliefs {
  padding-top: 90px;
  padding-bottom: 15vw;
  border-top: 1px solid var(--border);
}

.beliefs .eyebrow {
  margin-top: -115px;
  margin-bottom: 15px;
}

.belief-list {
  display: flex;
  flex-direction: column;
}

.belief-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  padding-block: 38px;
  border-top: 1px solid var(--border);
}

.belief-item:last-child {
  border-bottom: 1px solid var(--border);
}

.belief-item:nth-child(2),
.belief-item:nth-child(4) {
  padding-bottom: 4px;
}

.belief-item__num {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  width: 8.05%;
}

.belief-item__text {
  font-size: 30px;
  font-weight: 500;
  line-height: 39px;
  color: var(--text);
}


/* ─── Request ────────────────────────────────────────────────────────────── */
.request {
  padding-top: 90px;
  padding-bottom: 140px;
  border-top: 1px solid var(--border);
}

.request .eyebrow {
  margin-top: -156px;
  margin-bottom: 15px;
}

.request__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 67px;
  color: var(--text);
  max-width: 60.19%;
  margin-bottom: 30px;
}

.request__body {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--muted);
  max-width: 48.54%;
  margin-bottom: 40px;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 48.59%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.form-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 1.09px;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 22px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44, 161, 112, 0.15);
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: #e05252;
}

.form-input { height: 67px; }
.form-textarea { height: 112px; }

.form-error {
  font-size: 12px;
  color: #e05252;
  min-height: 1em;
}

.form-note {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--muted);
  margin-top: 20px;
}

.request-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 48.59%;
  animation: fadeUp 320ms var(--ease) both;
}

.request-success h3 {
  font-size: 30px;
  font-weight: 500;
  line-height: 39px;
  color: var(--accent);
}

.request-success p {
  font-size: 18px;
  color: var(--muted);
  line-height: 27px;
}


/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 52px;
  padding-inline: 0;
}

.site-footer__copy {
  flex: 0 0 63%;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--text);
}

.site-footer__tagline {
  flex: 1;
  text-align: left;
  padding-right: 0;
  font-weight: 400;
  line-height: 18px;
  color: var(--text);
}


/* ─── Toast ──────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--accent);
  color: var(--text);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .grid-vectors { display: none; }
  .grid-vectors-mob { display: block; }

  .grid-bg__line { width: 0.5px; opacity: 0.25; }

  :root {
    --pad-x: 24px;
  }

  /* Header */
  .site-header { padding-top: 50px; }
  .site-header .container { height: 64px; }

  /* Vectors */
  .grid-vectors-mob .gv-1 { transform: scaleY(1.15); transform-origin: top center; left: 50%; }
  .grid-vectors-mob .gv-2 { top: 4.7%; left: 5%; }
  .grid-vectors-mob .gv-3 { top: 26%; left: 5%; transform: scaleY(0.87); transform-origin: top center; }
  .grid-vectors-mob .gv-4 { top: 26%; left: 50%; transform: scaleY(0.96); transform-origin: top center; }
  .grid-vectors-mob .gv-5 { top: 42%; }
  .grid-vectors-mob .gv-6 { left: 8%; }
  .grid-vectors-mob .gv-7 { top: 77.3%; }
  .logo__icon { width: 44px; height: 54px; }
  .logo__text { font-size: 26px; }

  /* Hero */
  .hero {
    padding-top: 50px;
    padding-bottom: 130px;
  }

  .hero .eyebrow { margin-bottom: 40px; }

  .hero__title {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -3.26px;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero__body {
    font-size: 20px;
    line-height: 25px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* Problem */
  .problem { padding-top: 60px; padding-bottom: 160px; border-top: none; position: relative; }
  .problem::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 230px;
    height: 1px;
    background: var(--border);
  }
  .problem .eyebrow { margin-bottom: 20px; }

  .problem__title {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -3.26px;
    max-width: 100%;
    padding-top: 0;
    margin-bottom: 20px;
  }

  .problem__body {
    font-size: 20px;
    line-height: 25px;
    max-width: 100%;
  }

  /* Obsessed */
  .obsessed { padding-top: 60px; padding-bottom: 140px; border-top: none; position: relative; }
  .obsessed::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 285px;
    height: 1px;
    background: var(--border);
  }
  .obsessed .eyebrow { margin-bottom: 40px; }

  .obsessed__title {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -3.26px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .obsessed__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .obsessed-card {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 0;
  }

  .obsessed-card__label { margin-bottom: 0; }

  .obsessed-card__text {
    font-size: 24px;
    line-height: 30px;
  }

  .obsessed-card--tl,
  .obsessed-card--tr,
  .obsessed-card--bl {
    border: none;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-radius: var(--radius-card) 0 0 0;
  }

  .obsessed-card--br {
    border: none;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-radius: var(--radius-card) 0 0 0;
  }

  /* Beliefs */
  .beliefs { padding-top: 60px; padding-bottom: 200px; border-top: none; position: relative; }
  .beliefs::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 135px;
    height: 1px;
    background: var(--border);
  }
  .beliefs .eyebrow { margin-bottom: 40px; }

  .belief-item {
    align-items: flex-start;
    gap: 17px;
    padding-top: 8px;
    padding-bottom: 0;
    border-left: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-card) 0 0 0;
    margin-bottom: 40px;
  }

  .belief-item:last-child {
    border-bottom: none;
    border-radius: var(--radius-card) 0 0 0;
    margin-bottom: 0;
  }

  .belief-item__num { width: auto; }

  .belief-item__text {
    font-size: 24px;
    line-height: 30px;
  }

  /* Request */
  .request { padding-top: 60px; padding-bottom: 80px; border-top: none; position: relative; }
  .request::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 30px;
    height: 1px;
    background: var(--border);
  }
  .request .eyebrow { margin-bottom: 40px; }

  .request__title {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -3.26px;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .request__body {
    font-size: 20px;
    line-height: 25px;
    max-width: 100%;
  }

  .request-form {
    max-width: 100%;
  }

  .request-success { max-width: 100%; }

  .toast {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  /* Footer */
  .site-footer { position: relative; z-index: 1; }

  .site-footer .container {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    padding-inline: var(--pad-x);
    padding-block: 16px;
    gap: 20px;
  }

  .site-footer__copy {
    flex: none;
    font-size: 14px;
    padding-left: 0;
  }

  .site-footer__tagline {
    flex: none;
    font-size: 14px;
    text-align: left;
    padding-right: 0;
  }
}
