/* ─────────────────────────────────────────────────────────
   WIKO — style.css
   ───────────────────────────────────────────────────────── */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --bg:        #FAF6EC;
  --bg-2:      #F2ECDC;
  --bg-3:      #E8E1CD;
  --dark:      #1a1a1a;
  --yellow:    #FFD23F;
  --white:     #ffffff;
  --text-muted: rgba(26,26,26,.6);

  --font-hand: "Architects Daughter", "Caveat", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --border:    1.5px solid var(--dark);
  --radius:    6px;
  --radius-pill: 999px;
  --shadow:    2px 2px 0 rgba(0,0,0,.08);

  --pad-x:     56px;
  --pad-section: 60px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-hand);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility Components ─────────────────────────────────── */

.box {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.box--dashed { border-style: dashed; box-shadow: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid var(--dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: var(--bg);
  white-space: nowrap;
}

.highlight {
  background: var(--yellow);
  padding: 0 4px;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-hand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--dark);
  transition: opacity .15s;
  white-space: nowrap;
}
.btn:hover { opacity: .75; }
.btn--primary { background: var(--dark); color: var(--bg); }

/* Image placeholder — diagonal stripe */
.img-ph {
  border: var(--border);
  border-radius: var(--radius);
  width: 100%;
  background-image: repeating-linear-gradient(
    45deg, transparent 0 8px, rgba(0,0,0,.07) 8px 9px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dark);
  letter-spacing: .4px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}

.note {
  font-family: var(--font-hand);
  font-size: 12px;
  color: #7a5a00;
  font-style: italic;
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  border-bottom: var(--border);
  background: var(--bg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.nav__links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}
.nav__links a:hover { opacity: .65; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: transparent;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .25s;
}

/* Mobile nav drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 18px;
}
.nav__drawer.open { display: flex; }
.nav__drawer a { font-size: 20px; }
.nav__drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 26px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--font-hand);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  padding: 56px var(--pad-x) 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.hero__copy { display: flex; flex-direction: column; gap: 0; }

.hero__h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  font-weight: 700;
  margin: 18px 0 0;
}

.hero__desc {
  margin-top: 20px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  opacity: .82;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero__trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px;
}

.hero__guarantee {
  margin-top: 26px;
  padding: 14px 18px;
  background: var(--yellow);
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero__guarantee-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.hero__guarantee-title { font-weight: 700; font-size: 14px; }
.hero__guarantee-text { font-size: 12px; margin-top: 3px; }

/* Dashboard mock */
.dashboard {
  overflow: hidden;
  background: var(--white);
  padding: 0;
}

.dashboard__header {
  padding: 10px 14px;
  border-bottom: var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-2);
}

.dashboard__dots {
  display: flex;
  gap: 6px;
}
.dashboard__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark);
  display: block;
}

.dashboard__title {
  font-family: var(--font-mono);
  font-size: 11px;
}

.dashboard__status {
  background: var(--yellow);
}

.dashboard__body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 360px;
}

.dashboard__sidebar {
  border-right: var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
}

.dash-nav-item {
  width: 100%;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  font-family: var(--font-mono);
  cursor: pointer;
  background: transparent;
  color: var(--dark);
  text-align: left;
}
.dash-nav-item:hover,
.dash-nav-item.active {
  background: var(--yellow);
  border-color: var(--dark);
}

.dashboard__content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard__note {
  font-size: 11px;
}

.dashboard-panel {
  min-height: 270px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dashboard-metric {
  padding: 10px;
  background: var(--bg);
}

.dashboard-metric span,
.dashboard-detail span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .3px;
  text-transform: uppercase;
  opacity: .55;
}

.dashboard-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.2;
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-detail {
  padding: 14px;
  background: var(--bg);
}

.dashboard-detail p {
  font-size: 12px;
  line-height: 1.6;
}

.dashboard-detail p + p {
  margin-top: 10px;
}

.flow-row {
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flow-row span:first-child {
  font-size: 11px;
  font-family: var(--font-mono);
}
.flow-row span:last-child { font-size: 10px; }

/* ── TOOLS STRIP ────────────────────────────────────────── */
.trust-systems {
  padding: var(--pad-section) var(--pad-x);
  border-top: var(--border);
  background: var(--bg);
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .65;
}

.trust-systems__intro {
  max-width: 760px;
}

.trust-systems h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.1;
  margin-top: 12px;
}

.trust-systems__intro > p {
  max-width: 680px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  opacity: .8;
}

.trust-systems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.trust-system {
  padding: 18px;
  background: var(--white);
}

.trust-system h3 {
  font-size: 15px;
  line-height: 1.2;
}

.trust-system p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  opacity: .78;
}

.tools {
  padding: 14px var(--pad-x);
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--bg-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tools__label {
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.tools__list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.tools__list span {
  font-size: 13px;
  font-weight: 600;
  opacity: .8;
}

/* ── SERVICES ───────────────────────────────────────────── */
.services {
  padding: var(--pad-section) var(--pad-x);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.1;
  margin-top: 12px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  padding: 16px;
  background: var(--white);
}

.service-card__title {
  font-weight: 700;
  font-size: 16px;
}

.service-card__output {
  margin-top: 12px;
  padding: 12px;
  font-size: 12px;
}

.service-card__output-label {
  font-family: var(--font-mono);
  font-size: 9px;
  opacity: .6;
  margin-bottom: 4px;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.service-card__stack {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: .6;
}

/* ── PROCESS + GUARANTEE ────────────────────────────────── */
.process {
  padding: var(--pad-section) var(--pad-x);
  background: var(--dark);
  color: var(--bg);
}

.process .pill {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}

.process__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 16px;
  align-items: start;
}

.process h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.05;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 32px;
}

.process__step-num {
  font-size: 11px;
  opacity: .6;
  font-family: var(--font-mono);
}
.process__step-bar {
  height: 4px;
  background: var(--yellow);
  margin: 6px 0 8px;
}
.process__step-name {
  font-size: 13px;
  font-weight: 700;
}

.guarantee-box {
  border-color: var(--yellow);
  background: transparent;
  padding: 24px;
}
.guarantee-box .box { border-color: var(--yellow); }

.guarantee-box__icon { font-size: 32px; margin-bottom: 10px; }

.guarantee-box h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.guarantee-box p {
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.6;
  opacity: .85;
}

.guarantee-box__fine {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: .5;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* ── LIVE DEMOS ─────────────────────────────────────────── */
.demos {
  padding: var(--pad-section) var(--pad-x);
}

.demos h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 12px 0 8px;
}

.demos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.demo-card {
  padding: 16px;
  background: var(--white);
}

.demo-card__title {
  font-weight: 700;
  font-size: 15px;
  margin-top: 12px;
}

.demo-card__desc {
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.5;
  opacity: .8;
}

.demo-card__cta { margin-top: 14px; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about {
  padding: var(--pad-section) var(--pad-x);
  background: var(--bg-2);
}

.about__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: start;
  max-width: 880px;
}

.about__photo {
  width: 152px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(0,0,0,.08);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
}

.about__copy { }

.about__copy h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  margin: 14px 0 18px;
}

.about__text {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__text p {
  font-size: 13px;
  line-height: 1.7;
  opacity: .82;
}

.about__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about__lines span {
  height: 6px;
  background: var(--dark);
  opacity: .85;
  border-radius: 3px;
  display: block;
}

.about__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.about__links .pill { cursor: pointer; }
.about__links .pill:hover { background: var(--yellow); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  padding: var(--pad-section) var(--pad-x);
}

.faq h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 12px 0 32px;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1040px;
}

.faq-card {
  padding: 20px;
  background: var(--white);
}

.faq-card__q {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.faq-card__a {
  font-size: 12px;
  line-height: 1.65;
  opacity: .82;
}

/* ── CTA ────────────────────────────────────────────────── */
.cta-section {
  padding: 0 var(--pad-x) var(--pad-section);
}

.cta-box {
  padding: 36px;
  background: var(--yellow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-box h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.1;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: var(--border);
  padding: 18px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-2);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__links a:hover { opacity: .6; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .services__grid,
  .trust-systems__grid,
  .demos__grid {
    grid-template-columns: 1fr 1fr;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process__steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; --pad-section: 44px; }

  .nav__links,
  .nav > .btn { display: none; }
  .nav__hamburger { display: flex; }

  .hero__h1 { font-size: 36px; }

  .services__grid,
  .trust-systems__grid,
  .demos__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .process__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  /* show remaining steps on second row */

  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__photo {
    width: 100%;
    max-width: 220px;
  }

  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-box .btn { justify-self: center; }

  .tools__list { gap: 12px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard__body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .dashboard__sidebar {
    border-right: none;
    border-bottom: var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .dash-nav-item {
    width: auto;
  }
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  .dashboard__dots { display: none; }
}

@media (max-width: 480px) {
  :root { --pad-x: 16px; }
  .hero__h1 { font-size: 30px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .tools { justify-content: flex-start; }
}
