/* ——— Toolbelt Apps — landing page ——— */

:root {
  --bg: #FDF9F3;
  --bg-2: #F5EDE0;
  --ink: #1A1613;
  --ink-2: #4A4340;
  --ink-3: #8A817B;
  --line: #1A1613;
  --paper: #FFFFFF;

  --accent: #F56600;
  --accent-deep: #D44F00;
  --accent-soft: #FFE8D6;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 44px;

  --shadow-1: 0 2px 0 0 var(--line);
  --shadow-2: 0 6px 0 0 var(--line);
  --shadow-3: 0 10px 0 0 var(--line);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* accent variants */
html[data-accent="blue"] {
  --accent: #2D5CFF;
  --accent-deep: #1E3FB8;
  --accent-soft: #DCE4FF;
}
html[data-accent="mint"] {
  --accent: #00B87A;
  --accent-deep: #008A5A;
  --accent-soft: #C9F2E1;
}

/* dark mode */
html[data-dark="true"] {
  --bg: #141110;
  --bg-2: #1F1A17;
  --ink: #FDF9F3;
  --ink-2: #D8CFC5;
  --ink-3: #8F857C;
  --line: #FDF9F3;
  --paper: #1F1A17;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; }
h1 { font-weight: 800; line-height: 0.92; }
h2 { font-weight: 700; line-height: 0.96; }
h3 { font-weight: 700; line-height: 1.05; }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Layout */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 10%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.nav-links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  border-radius: 999px;
  border: 2px solid var(--line);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-2); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 0 8px 0 0 var(--line); }
.btn-primary:active { transform: translate(0, 2px); box-shadow: var(--shadow-1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn .arrow { transition: transform .2s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* —— HERO —— */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  box-shadow: var(--shadow-1);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  margin: 22px 0 24px;
}
.hero h1 .ink { color: var(--ink); }
.hero h1 .accent { color: var(--accent); position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 6%;
  height: 14%;
  background: var(--accent-soft);
  z-index: -1;
  transform: skewX(-6deg);
}
.hero p.lede {
  font-size: 20px;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 48px;
  font-size: 14px; color: var(--ink-2);
}
.hero-meta .item { display: flex; align-items: center; gap: 8px; }
.hero-meta .check { width: 18px; height: 18px; border-radius: 999px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; }

/* Hero visual — floating app panel */
.hero-vis {
  position: relative;
  height: 540px;
}
@media (max-width: 960px) { .hero-vis { height: 420px; } }

.float { position: absolute; transition: transform .1s linear; }

.app-card {
  position: absolute;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 0 0 var(--line);
  overflow: hidden;
}
.app-card .topbar {
  display: flex; gap: 6px;
  padding: 14px 18px;
  border-bottom: 1.5px solid color-mix(in srgb, var(--line) 15%, transparent);
  background: var(--bg-2);
}
.app-card .dot { width: 11px; height: 11px; border-radius: 999px; background: color-mix(in srgb, var(--line) 25%, transparent); }
.app-card .body { padding: 18px; }

/* Card 1 — CRM */
.card-crm {
  width: 360px; top: 20px; right: 40px;
  transform: rotate(3deg);
  z-index: 3;
}
.crm-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.crm-row + .crm-row { border-top: 1px dashed color-mix(in srgb, var(--line) 18%, transparent); border-radius: 0; }
.crm-avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent-deep); font-size: 13px; border: 1.5px solid var(--line); }
.crm-avatar.v2 { background: #D5E8FF; color: #1E3FB8; }
.crm-avatar.v3 { background: #E4F7D9; color: #3F7A1F; }
.crm-meta { flex: 1; }
.crm-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.crm-sub { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }
.crm-pill { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; border: 1.5px solid var(--line); text-transform: uppercase; letter-spacing: .05em; }
.crm-pill.gray { background: var(--bg-2); color: var(--ink-2); }

/* Card 2 — Analytics */
.card-analytics {
  width: 280px; bottom: 40px; left: 0;
  transform: rotate(-4deg);
  z-index: 2;
}
.an-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.an-big { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--ink); }
.an-delta { font-size: 12px; color: #00844A; font-weight: 600; margin-top: 4px; }
html[data-accent="mint"] .an-delta { color: var(--accent-deep); }
.an-bars { display: flex; align-items: end; gap: 6px; margin-top: 16px; height: 60px; }
.an-bar { flex: 1; background: var(--accent); border-radius: 4px 4px 0 0; border: 1.5px solid var(--line); border-bottom: 0; }

/* Card 3 — Booking */
.card-booking {
  width: 220px; top: 220px; left: 60%;
  transform: rotate(-6deg);
  z-index: 1;
  padding: 18px;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 0 0 var(--line);
}
.card-booking .bk-date { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; opacity: .85; }
.card-booking .bk-head { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; margin: 6px 0 12px; }
.bk-slot { font-size: 12px; padding: 6px 10px; background: rgba(255,255,255,.2); border-radius: 8px; display: inline-block; margin: 2px 2px 0 0; border: 1.5px solid rgba(255,255,255,.3); }
.bk-slot.active { background: #fff; color: var(--accent-deep); border-color: #fff; font-weight: 700; }

/* Confetti blobs */
.blob {
  position: absolute;
  border: 2px solid var(--line);
  background: var(--accent);
}
.blob.b1 { width: 58px; height: 58px; border-radius: 999px; top: 0; left: 20%; background: var(--accent-soft); }
.blob.b2 { width: 36px; height: 36px; border-radius: 8px; bottom: 0; right: 10%; transform: rotate(15deg); }
.blob.b3 {
  width: 80px; height: 80px; top: 40%; right: -20px;
  background: transparent;
  border-radius: 50%;
  border: 3px dashed var(--accent);
}

/* —— MARQUEE STRIP —— */
.strip {
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: var(--font-display); font-weight: 700; font-size: 28px;
  letter-spacing: -0.01em;
}
.strip-track span { display: inline-flex; align-items: center; gap: 48px; }
.strip-track .sep { color: var(--accent); font-size: 32px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— SERVICES —— */
.services { padding: 120px 0; position: relative; }
.section-label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 48px; }
.section-label .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.section-label .lbl { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.section-label .line { flex: 1; height: 2px; background: color-mix(in srgb, var(--line) 15%, transparent); }

.services h2 {
  font-size: clamp(44px, 6vw, 84px);
  max-width: 900px;
  margin-bottom: 64px;
}
.services h2 em { font-style: normal; color: var(--accent); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translate(-3px, -3px); box-shadow: 0 10px 0 0 var(--line); }
.svc-card .svc-glyph {
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
  color: #fff;
}
.svc-card.b .svc-glyph { background: var(--accent-soft); color: var(--accent-deep); }
.svc-card.c .svc-glyph { background: var(--ink); color: var(--bg); }
.svc-card h3 { font-size: 28px; margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); font-size: 15px; margin: 0 0 auto; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; padding-top: 20px; border-top: 1.5px dashed color-mix(in srgb, var(--line) 20%, transparent); }
.svc-tag { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--line) 30%, transparent); color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }

/* —— PROCESS —— */
.process {
  position: relative;
  padding: 120px 0 140px;
  background: var(--bg-2);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.process h2 {
  font-size: clamp(44px, 6vw, 84px);
  max-width: 900px;
  margin-bottom: 20px;
}
.process .sub { color: var(--ink-2); font-size: 20px; max-width: 620px; margin-bottom: 64px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 28px 24px 32px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  transition: transform .3s ease;
}
.step:hover { transform: translateY(-6px); }
.step-num {
  position: absolute; top: -22px; left: 20px;
  width: 44px; height: 44px;
  background: var(--accent); color: #fff;
  border: 2px solid var(--line); border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-1);
}
.step h3 { font-size: 22px; margin: 22px 0 8px; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; }
.step .dur { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--accent-deep); padding: 4px 10px; background: var(--accent-soft); border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
html[data-dark="true"] .step .dur { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }

/* —— CONTACT —— */
.contact {
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact h2 {
  font-size: clamp(44px, 6vw, 84px);
  margin-bottom: 24px;
}
.contact h2 em { font-style: normal; color: var(--accent); }
.contact p.sub { font-size: 19px; color: var(--ink-2); max-width: 500px; margin-bottom: 32px; }

.contact-card {
  padding: 18px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow-1);
}
.contact-card .cc-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-deep);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.contact-card .cc-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.contact-card .cc-val { font-weight: 600; font-size: 16px; }

/* Form */
.form {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-3);
}
.form h3 { font-size: 22px; margin-bottom: 6px; }
.form .helper { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body); font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  border: 2px solid color-mix(in srgb, var(--line) 25%, transparent);
  border-radius: var(--radius-sm);
  transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--line);
  box-shadow: var(--shadow-1);
  transform: translate(-1px, -1px);
}
.field textarea { min-height: 110px; resize: vertical; font-family: var(--font-body); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 8px 14px;
  border: 2px solid color-mix(in srgb, var(--line) 25%, transparent);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font-body);
}
.chip:hover { border-color: var(--line); }
.chip.active { background: var(--accent); color: #fff; border-color: var(--line); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form .btn { width: 100%; justify-content: center; margin-top: 12px; }

.success {
  padding: 40px 20px;
  text-align: center;
}
.success .big {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: var(--accent); color: #fff;
  border: 2px solid var(--line); border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900;
  box-shadow: var(--shadow-2);
  animation: bounce .6s ease;
}
@keyframes bounce {
  0% { transform: scale(0) rotate(-180deg); }
  70% { transform: scale(1.1) rotate(0); }
  100% { transform: scale(1) rotate(0); }
}
.success h3 { font-size: 28px; margin-bottom: 8px; }
.success p { color: var(--ink-2); }

/* —— FOOTER —— */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 40px;
  border-top: 2px solid var(--line);
}
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 60px; }
.footer h3 {
  font-size: clamp(32px, 5vw, 64px);
  max-width: 580px;
}
.footer h3 em { font-style: normal; color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent); font-size: 13px; color: color-mix(in srgb, var(--bg) 60%, transparent); flex-wrap: wrap; gap: 16px; }
.footer-bottom .mono { color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* —— TWEAKS PANEL —— */
.tweak-panel {
  position: fixed; bottom: 24px; right: 24px;
  width: 280px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-3);
  z-index: 200;
  font-family: var(--font-body);
  font-size: 14px;
}
.tweak-panel h4 { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; }
.tweak-panel h4 .mono { font-size: 10px; color: var(--ink-3); }
.tweak-group { margin-bottom: 16px; }
.tweak-group:last-child { margin-bottom: 0; }
.tweak-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 8px; }
.tweak-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-btn {
  padding: 8px 12px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid color-mix(in srgb, var(--line) 30%, transparent);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
  flex: 1;
  min-width: 0;
  transition: all .12s;
  font-family: var(--font-body);
}
.tweak-btn.active { background: var(--accent); color: #fff; border-color: var(--line); }
.tweak-swatch { width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid var(--line); display: inline-block; margin-right: 6px; vertical-align: middle; }

/* Animations on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
