:root {
  --navy: #1B2130;
  --burgundy: #7A2336;
  --blush: #F4EEEC;
  --muted-on-navy: #B8BDC9;
  --muted-on-light: #4F4856;
  --label-on-navy: #9AA3B5;
  --label-on-burgundy: #F0DDE1;
  --hairline-dark: #2F3648;
  --hairline-light: #DCCFCB;
  --white: #FFFFFF;
  --footer-muted: #8F96A6;

  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --max: 1120px;
  --gutter: 32px;
  --label-col: 240px;

  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
  --ease-reveal: cubic-bezier(.25, .1, .25, 1);
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

* { box-sizing: border-box; }
html, body { background: var(--navy); margin: 0; }

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

::selection { background: rgba(255, 255, 255, 0.22); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; margin: 0; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}

/* ---------- header ---------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease-out-quint), border-color .3s var(--ease-out-quint), box-shadow .3s var(--ease-out-quint);
}
.site-header.is-scrolled {
  background-color: rgba(27, 33, 48, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.header-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-decoration: none;
}
.logo-mark {
  display: block;
  height: 23px;
  width: auto;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  padding: 10px 0;
  transition: color .2s var(--ease-out-quint);
}
.site-nav a:hover { color: var(--muted-on-navy); }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a.lang-switch {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  padding: 5px 11px;
}
.site-nav a.lang-switch:hover { border-color: var(--muted-on-navy); color: var(--white); }

/* ---------- section label + content split ---------- */

.band {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}
.band-label {
  flex: 1 1 var(--label-col);
  min-width: 0;
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--label-on-navy);
}
.band-content {
  flex: 2 1 400px;
  min-width: 0;
}

/* ---------- hero ---------- */

.hero {
  background: var(--navy);
}
.hero-inner {
  padding: 96px var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero h1 {
  max-width: 960px;
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero h1 span { display: block; }
.hero p {
  margin: 0;
  max-width: 640px;
  font-size: 20px;
  color: var(--muted-on-navy);
}
.cta {
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--white);
  padding-bottom: 3px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s var(--ease-out-quint), border-color .2s var(--ease-out-quint);
}
.cta:hover { color: var(--muted-on-navy); border-color: var(--muted-on-navy); }
.cta-arrow { transition: transform .25s var(--ease-out-quint); flex-shrink: 0; }
.cta:hover .cta-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .cta:hover .cta-arrow { transform: none; }
}

/* ---------- problem (burgundy) ---------- */

.band-problem {
  background: var(--burgundy);
}
.band-problem .band { padding: 80px var(--gutter); }
.band-problem .band-label { color: var(--label-on-burgundy); }
.band-problem .band-content { display: flex; flex-direction: column; gap: 22px; }
.band-problem .lede {
  margin: 0;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.band-problem .sub {
  margin: 0;
  font-size: 19px;
  color: var(--label-on-burgundy);
}

/* ---------- system / "ka galima sukurti" (light) ---------- */

.band-light {
  background: var(--blush);
  color: var(--navy);
}
.band-light .band { padding: 80px var(--gutter); }
.band-light .band-label { color: var(--burgundy); }
.band-light :focus-visible { outline-color: var(--navy); }
.feature-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 28px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline-light);
}
.feature-row:first-child { padding-top: 0; border-top: 0; }
.feature-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
}
.feature-row h3 {
  flex: 1 1 160px;
  min-width: 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.feature-row p {
  flex: 2 1 280px;
  min-width: 0;
  margin: 0;
  color: var(--muted-on-light);
}

/* ---------- example (navy) ---------- */

.band-example { background: var(--navy); }
.band-example .band { padding: 80px var(--gutter); }
.band-example .band-content { display: flex; flex-direction: column; gap: 20px; }
.band-example .lede {
  margin: 0;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.band-example p.sub { margin: 0; font-size: 19px; color: var(--muted-on-navy); }

.mockup-card {
  margin-top: 8px;
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  background: #1F2635;
  overflow: hidden;
}
.mockup-chrome {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline-dark);
}
.mockup-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline-dark);
}
.mockup-body {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}
.mockup-list {
  flex: 1 1 160px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--hairline-dark);
}
.mockup-row {
  height: 8px;
  border-radius: 4px;
  background: var(--hairline-dark);
  opacity: .8;
}
.mockup-row.short { width: 60%; }
.mockup-panel {
  flex: 2 1 280px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
}
.mockup-chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--burgundy), rgba(122, 35, 54, .35));
  border-radius: 3px 3px 0 0;
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--hairline-dark);
}
@media (max-width: 640px) {
  .mockup-list { border-right: 0; border-bottom: 1px solid var(--hairline-dark); }
}

/* ---------- audience (navy, hairline-topped) ---------- */

.band-audience, .band-process {
  background: var(--navy);
}
.band-audience .wrap, .band-process .wrap {
  padding-bottom: 88px;
}
.band-audience .band, .band-process .band {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 56px;
}
.band-audience .band-content, .band-process .band-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 20px;
  line-height: 1.5;
}
.band-audience p { margin: 0; }

/* ---------- process ---------- */

.process-rail {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.process-rail::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--hairline-dark);
}
.process-step {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
}
.process-num {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline-dark);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--label-on-navy);
}
.process-text { padding-top: 8px; }
.process-title { font-weight: 700; }
.process-copy { color: var(--muted-on-navy); }

/* ---------- faq ---------- */

.band-faq { background: var(--navy); }
.band-faq .wrap { padding-bottom: 88px; }
.band-faq .band { border-top: 1px solid var(--hairline-dark); padding-top: 56px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--hairline-dark);
}
.faq-item:first-child { border-top: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--muted-on-navy); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform .25s var(--ease-out-quint);
}
.faq-icon::before { width: 18px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 18px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item p {
  margin: 0;
  padding: 0 0 24px;
  max-width: 640px;
  color: var(--muted-on-navy);
}
@media (prefers-reduced-motion: reduce) {
  .faq-icon::before, .faq-icon::after { transition: none; }
}

/* ---------- contact (burgundy) ---------- */

.band-contact { background: var(--burgundy); color: var(--white); }
.band-contact .band {
  padding: 96px var(--gutter);
  align-items: flex-end;
  gap: 40px 64px;
}
.band-contact .band-heading {
  flex: 3 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.band-contact h2 {
  font-weight: 600;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.band-contact .sub {
  margin: 0;
  max-width: 540px;
  color: var(--label-on-burgundy);
}
.contact-details {
  flex: 2 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 18px;
}
.contact-field { display: flex; flex-direction: column; gap: 4px; }
.contact-field .field-label {
  font-size: 14px;
  color: var(--label-on-burgundy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.field-icon { flex-shrink: 0; }
.contact-field .field-value { color: var(--white); font-size: 19px; }

.contact-form {
  flex: 1 1 100%;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--label-on-burgundy);
}
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--label-on-burgundy);
}
.form-field input, .form-field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  resize: vertical;
  transition: border-color .2s var(--ease-out-quint), background-color .2s var(--ease-out-quint);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.form-field input:focus, .form-field textarea:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}
.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-submit {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--burgundy);
  background: var(--white);
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background-color .2s var(--ease-out-quint), transform .2s var(--ease-out-quint);
}
.btn-submit:hover { background: var(--label-on-burgundy); }
.btn-submit:active { transform: scale(.97); }
.btn-submit:disabled { opacity: .6; cursor: default; }
.form-status { margin: 0; font-size: 14px; }
.form-status.is-success { color: var(--white); }
.form-status.is-error { color: #FFD9DE; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--footer-muted);
  border-top: 1px solid var(--hairline-dark);
}
.footer-inner {
  padding: 24px var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.footer-brand { font-weight: 700; letter-spacing: 0.14em; color: var(--white); }
.footer-legal {
  padding: 12px var(--gutter) 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--footer-muted);
}

/* ---------- motion: hero entrance ---------- */

.in-down { animation: fadeDown .8s var(--ease-out-quint) var(--d, 0ms) both; }
.in-blur { animation: blurRise 1.05s var(--ease-out-quint) var(--d, 0ms) both; }
.in-fade { animation: fadeRise 1s var(--ease-out-quint) var(--d, 0ms) both; }

@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes blurRise { from { opacity: 0; transform: translateY(24px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fadeRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- motion: scroll reveal (below the fold) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--y, 28px), 0);
  transition: opacity .7s var(--ease-reveal) var(--d, 0s),
              transform .7s var(--ease-reveal) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .in-down, .in-blur, .in-fade { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-inner { padding: 72px var(--gutter) 88px; }
  .band-problem .band, .band-light .band, .band-example .band { padding: 56px var(--gutter); }
  .band-contact .band { padding: 64px var(--gutter); align-items: stretch; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .band { gap: 20px; }
  .band-label { flex-basis: 100%; }
}

/* ---------- footer links ---------- */

.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  color: var(--footer-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s var(--ease-out-quint);
}
.footer-links a:hover { color: var(--white); }

/* ---------- legal page (privacy policy) ---------- */

.legal-hero {
  background: var(--navy);
}
.legal-hero .wrap { padding: 72px var(--gutter) 40px; }
.legal-hero h1 {
  font-weight: 600;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.legal-hero p {
  margin: 12px 0 0;
  color: var(--muted-on-navy);
  font-size: 16px;
}
.legal-content {
  background: var(--navy);
}
.legal-content .wrap {
  padding: 0 var(--gutter) 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}
.legal-content .band-label { padding-top: 4px; }
.legal-body {
  flex: 2 1 400px;
  min-width: 0;
  max-width: 680px;
  color: var(--muted-on-navy);
}
.legal-body h2 {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 640px) {
  .legal-hero .wrap { padding: 56px var(--gutter) 28px; }
  .legal-content .wrap { padding-bottom: 64px; }
}

/* ---------- cookie consent ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy);
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  transform: translateY(0);
  transition: opacity .3s var(--ease-out-quint), transform .3s var(--ease-out-quint);
}
.cookie-banner[hidden] {
  display: flex;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 260px;
  min-width: 0;
  font-size: 14px;
  color: var(--muted-on-navy);
}
.cookie-banner a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.cookie-actions button {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  border: 1px solid var(--hairline-dark);
  background: transparent;
  color: var(--white);
  transition: background-color .2s var(--ease-out-quint), border-color .2s var(--ease-out-quint);
}
.cookie-actions button:hover { border-color: var(--muted-on-navy); }
.cookie-actions .cookie-accept {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.cookie-actions .cookie-accept:hover { background: var(--muted-on-navy); border-color: var(--muted-on-navy); }

@media (max-width: 480px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-actions { flex-basis: 100%; }
  .cookie-actions button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}
