:root {
  --ink: #121816;
  --ink-soft: #33413c;
  --paper: #fbfaf6;
  --white: #ffffff;
  --mist: #e7ece7;
  --line: #d9ded7;
  --green: #0e3b35;
  --green-soft: #dfe9e4;
  --gold: #b5924d;
  --gold-soft: #eadfc8;
  --shadow: 0 24px 70px rgba(18, 24, 22, 0.12);
  --radius: 8px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

#top {
  scroll-margin-top: 0;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.inline-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: linear-gradient(180deg, rgba(18, 24, 22, 0.82), rgba(18, 24, 22, 0));
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  animation: headerDrop 720ms var(--ease) both;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 12px 34px rgba(18, 24, 22, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 238px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}

.brand:hover {
  border-color: rgba(255, 255, 255, 0.46);
}

.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(18, 24, 22, 0.16);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 220ms var(--ease);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  transition: transform 280ms var(--ease);
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.brand:hover .brand-mark svg {
  transform: scale(1.05) rotate(-4deg);
}

.mark-outer,
.mark-fold {
  fill: none;
  stroke: currentColor;
}

.mark-outer {
  stroke-width: 1.45;
}

.mark-fold {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark,
.footer-brand .brand-mark {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.site-header.is-scrolled .brand,
.site-header.is-open .brand,
.footer-brand {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.brand-name,
.brand-line {
  display: block;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1;
}

.brand-line {
  margin-top: 5px;
  color: currentColor;
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 6px;
  opacity: 0.88;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.13);
}

.site-nav .nav-cta {
  color: var(--green);
  background: var(--white);
  opacity: 1;
  font-weight: 800;
}

.site-header.is-scrolled .site-nav,
.site-header.is-open .site-nav {
  border-color: var(--line);
  background: rgba(14, 59, 53, 0.05);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: var(--white);
}

.site-header.is-scrolled .site-nav .nav-cta,
.site-header.is-open .site-nav .nav-cta {
  color: var(--white);
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-salaasat.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
  animation: heroImageSettle 1600ms var(--ease) both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 16, 14, 0.84), rgba(10, 16, 14, 0.5) 43%, rgba(10, 16, 14, 0.18)),
    linear-gradient(180deg, rgba(10, 16, 14, 0.1), rgba(10, 16, 14, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-top: 74px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroTextRise 820ms var(--ease) forwards;
}

.hero-content > :nth-child(1) {
  animation-delay: 160ms;
}

.hero-content > :nth-child(2) {
  animation-delay: 260ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 360ms;
}

.hero-content > :nth-child(4) {
  animation-delay: 460ms;
}

.hero-content > :nth-child(5) {
  animation-delay: 560ms;
}

.hero-content > :nth-child(6) {
  animation-delay: 660ms;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 5.4rem;
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.3;
}

p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-actions,
.batch-details,
.hero-points {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms var(--ease), border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 24, 22, 0.14);
}

.button-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.68);
}

.hero-points {
  margin-top: 28px;
}

.hero-points span,
.batch-details span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.signal-band div {
  min-height: 120px;
  padding: 30px 44px;
  border-right: 1px solid var(--line);
}

.signal-band div:last-child {
  border-right: 0;
}

.signal-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.signal-band p {
  max-width: 260px;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.section {
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.section-copy {
  max-width: 660px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.principle-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms ease;
}

.principle-card:hover,
.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(181, 146, 77, 0.5);
  box-shadow: 0 18px 46px rgba(18, 24, 22, 0.1);
}

.principle-card {
  min-height: 210px;
  padding: 26px;
}

.principle-card p,
.step-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.process-section {
  background: var(--mist);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head p {
  margin-bottom: 4px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step-card {
  min-height: 260px;
  padding: 24px;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 800;
}

.fit-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  background: var(--white);
}

.fit-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 700ms var(--ease);
}

.fit-image:hover img {
  transform: scale(1.025);
}

.fit-content {
  max-width: 650px;
}

.fit-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-weight: 600;
}

.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.founder-batch {
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--green);
}

.batch-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.founder-batch h2 {
  margin-bottom: 0;
  color: var(--white);
}

.founder-batch p {
  color: rgba(255, 255, 255, 0.82);
}

.batch-details {
  margin: 28px 0 30px;
}

.measurement-section {
  background: var(--paper);
}

.lead-form,
.creator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 132px;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 59, 53, 0.12);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease),
    filter 720ms var(--ease);
  transition-delay: var(--delay, 0ms);
  filter: blur(2px);
}

.reveal[data-reveal="left"] {
  transform: translate3d(-28px, 0, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(28px, 0, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageSettle {
  from {
    opacity: 0;
    transform: scale(1.07);
  }

  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes heroTextRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wide-field {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #9d2d25;
}

.creator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 72px;
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.creator-section .eyebrow {
  color: var(--gold-soft);
}

.creator-section h2 {
  color: var(--white);
}

.creator-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.creator-email {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.creator-form {
  grid-template-columns: 1fr;
  align-self: start;
}

.creator-form label {
  color: var(--white);
}

.creator-form .form-status {
  color: var(--gold-soft);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 34px 44px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer > a {
  color: var(--green);
  font-weight: 800;
}

.footer-contacts {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-contacts a {
  color: var(--ink-soft);
}

.footer-contacts a:hover {
  color: var(--green);
}

@media (max-width: 1080px) {
  .principles-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card {
    min-height: 220px;
  }

  .site-nav {
    gap: 4px;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 76px;
    padding: 10px 20px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.98);
    box-shadow: 0 18px 40px rgba(18, 24, 22, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 12px;
    border-bottom: 0;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-media {
    background-position: center right 36%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 16, 14, 0.88), rgba(10, 16, 14, 0.52)),
      linear-gradient(180deg, rgba(10, 16, 14, 0.12), rgba(10, 16, 14, 0.5));
  }

  .hero-content {
    width: min(680px, calc(100% - 40px));
    margin-left: 20px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .signal-band,
  .split,
  .section-head,
  .fit-section,
  .batch-inner,
  .creator-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-band div:last-child {
    border-bottom: 0;
  }

  .section,
  .founder-batch,
  .creator-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .split,
  .section-head,
  .fit-section,
  .batch-inner,
  .creator-section {
    gap: 34px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
    padding: 5px 8px 5px 5px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark svg {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-line {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points span,
  .batch-details span {
    width: 100%;
    justify-content: center;
  }

  .signal-band div {
    min-height: auto;
    padding: 24px;
  }

  .principles-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .principle-card,
  .step-card {
    min-height: auto;
  }

  .site-footer {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-content > *,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
