/* ===== Jastipin landing page ===== */
:root {
  --bg: #faf6ee;
  --surface: #ffffff;
  --tint: #f1ece0;
  --ink: #1b2420;
  --muted: #5d6b63;
  --line: #e6ddcd;

  --brand: #0f5c4a;
  --brand-strong: #0a4537;
  --brand-soft: #e4efe9;
  --accent: #e8762f;
  --accent-strong: #cf6321;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27, 36, 32, .06), 0 2px 8px rgba(27, 36, 32, .05);
  --shadow-md: 0 8px 24px rgba(15, 92, 74, .10), 0 2px 6px rgba(27, 36, 32, .06);

  --wrap: 1140px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; line-height: 1;
  padding: 12px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 118, 47, .28); }
.btn--solid:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand-soft); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--on-dark { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--on-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--lg { padding: 15px 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .82);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.nav.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--brand); color: #fff;
}
.brand--light { color: #fff; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-weight: 500; color: var(--muted); transition: color .15s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; }

.nav__mobile { display: none; }

/* ===== Hero ===== */
.hero { padding: 56px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 800; }
.hero__lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 28px; max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; }
.hero__assure li { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; color: var(--muted); font-weight: 500; }
.hero__assure .ico { color: var(--brand); width: 16px; height: 16px; }
.hero__media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.hero__media img { width: 100%; aspect-ratio: 1408 / 768; object-fit: cover; }

/* ===== Stats ===== */
.stats { padding: 8px 0 8px; }
.stats__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--brand); color: #fff; border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-md);
}
.stat { text-align: center; padding: 6px; }
.stat__num { display: block; font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.stat__sub { font-size: 1rem; opacity: .7; font-weight: 600; }
.stat__label { display: block; font-size: .86rem; opacity: .82; margin-top: 4px; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 56ch; margin: 0 auto 44px; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 800; }
.section__sub { font-size: 1.06rem; color: var(--muted); margin: 0; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative;
}
.step__no { font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.step h3 { font-size: 1.12rem; margin: 12px 0 8px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ===== Bento ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background-image: linear-gradient(180deg, rgba(11,30,24,.05) 30%, rgba(11,30,24,.78) 100%), var(--img);
  background-size: cover; background-position: center; color: #fff;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
  grid-column: span 2;
}
.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile__body { padding: 22px; }
.tile__body h3 { margin: 0 0 4px; font-size: 1.22rem; letter-spacing: -.01em; }
.tile__body p { margin: 0; font-size: .92rem; opacity: .92; max-width: 34ch; }

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .section__title, .split .section__sub { text-align: left; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); flex: none; margin-top: 2px; }
.checklist div { font-size: .98rem; color: var(--muted); }
.checklist strong { color: var(--ink); font-weight: 700; }

/* ===== Fees ===== */
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.fee {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.fee--hi { border-color: var(--brand); box-shadow: var(--shadow-md); }
.fee__tag {
  position: absolute; top: -12px; left: 26px; background: var(--brand); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: var(--radius-pill);
}
.fee__name { font-size: 1.04rem; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.fee__val { font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; color: var(--ink); }
.fee__unit { font-size: .95rem; font-weight: 600; color: var(--muted); }
.fee__desc { margin: 0; color: var(--muted); font-size: .94rem; }
.fees__note { margin: 24px auto 0; max-width: 60ch; text-align: center; color: var(--muted); font-size: .94rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }

/* ===== Quotes ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.ava { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .9rem; flex: none; }
.quote figcaption strong { display: block; font-size: .96rem; }
.quote figcaption small { color: var(--muted); }

/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-sm); }
.acc summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 11px; height: 11px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s ease; flex: none; margin-top: -4px; }
.acc[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.acc p { margin: 0 0 16px; color: var(--muted); font-size: .96rem; }

/* ===== CTA ===== */
.cta { padding: 72px 0; background: linear-gradient(135deg, var(--brand-strong), var(--brand)); color: #fff; }
.cta__inner { text-align: center; max-width: 60ch; }
.cta__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; letter-spacing: -.02em; font-weight: 800; }
.cta__sub { font-size: 1.1rem; opacity: .9; margin: 0 0 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #cdd6d1; padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin: 14px 0 0; max-width: 32ch; font-size: .94rem; color: #9fb0a8; }
.footer__col h4 { color: #fff; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 14px; }
.footer__col a { display: block; color: #b9c5bf; font-size: .96rem; padding: 5px 0; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; color: #8fa099; }
.footer__note { color: #7d8e87; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav__links a, .footer__col a { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { order: -1; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .faq { grid-template-columns: 1fr; gap: 22px; }
  .steps, .fees, .quotes { grid-template-columns: repeat(2, 1fr); }
  .stats__row { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
  .nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__mobile { display: grid; gap: 4px; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav__mobile a { padding: 12px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__mobile a:last-child { border: 0; margin-top: 8px; }
  .nav__mobile .btn { color: #fff; }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .tile, .tile--lg, .tile--wide { grid-column: auto; grid-row: auto; }
  .steps, .fees, .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding: 36px 0 48px; }
}
