/* Wickd Smart LLC — wickdsmart.com
   Warm-paper theme from the design handoff (colors_and_type.paper.css).
   Static, self-contained: Manrope self-hosted, no external requests. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/Manrope-Variable.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;

  --bg: #f0e9d8;
  --surface: #faf6ee;
  --fg: #1a1612;
  --fg-body: #5a5246;
  --fg-tertiary: #7a7164;
  --fg-dark-body: #312c25;
  --line: #ddd1ba;
  --line-strong: #c9bb9d;

  --accent: #b5532a;
  --accent-hover: #c9703f;
  --accent-press: #9a4220;
  --on-accent: #faf6ee;
  --link: #9a4220;
  --link-hover: #7a3318;
  --link-underline: rgba(154, 66, 32, 0.4);

  --olive: #57652f;
  --olive-soft: rgba(107, 122, 58, 0.12);

  --ring: rgba(201, 112, 63, 0.25);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
  transition: color 200ms var(--ease);
}
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  border-radius: 4px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 48px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 20px;
  text-decoration: none;
}
.wordmark .wm-wickd { font-weight: 700; color: var(--fg); }
.wordmark .wm-smart { font-weight: 300; color: var(--accent); }
.wordmark .wm-llc {
  font-weight: 500;
  font-size: 11px;
  color: var(--fg-tertiary);
  margin-left: 8px;
  letter-spacing: 0.08em;
}
.wordmark:hover .wm-wickd { color: var(--fg); }

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a {
  color: var(--fg-body);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 200ms var(--ease);
}
.site-nav a:hover { color: var(--fg); }
.site-nav a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

/* ---------- Main / shared ---------- */

main { flex: 1; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 48px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 48px;
}

h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-body);
  max-width: 600px;
  margin: 16px 0 0;
  text-wrap: pretty;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-body);
  margin: 10px 0 0;
  text-wrap: pretty;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* ---------- Home ---------- */

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 48px 80px;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.08;
  max-width: 880px;
}
.hero .subline {
  font-size: 20px;
  line-height: 1.65;
  color: var(--fg-body);
  max-width: 640px;
  margin: 28px 0 0;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 120ms var(--ease), transform 120ms var(--ease), border-color 120ms var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  padding: 13px 26px;
}
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-primary:active { background: var(--accent-press); transform: translateY(1px); }
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--fg-dark-body);
  padding: 12px 26px;
}
.btn-secondary:hover { border-color: var(--fg-tertiary); color: var(--fg); }
.btn-secondary:active { transform: translateY(1px); }

.what-we-do { border-top: 1px solid var(--line); }
.what-we-do .container { padding: 64px 48px 80px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--olive);
  margin: 0 0 28px;
}

.what-we-do .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  margin-top: 0;
}

/* ---------- Apps ---------- */

.app-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--olive);
  background: var(--olive-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Privacy ---------- */

.prose-sections {
  display: grid;
  gap: 32px;
  margin-top: 44px;
  font-size: 16px;
  line-height: 1.65;
}
.prose-sections h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.prose-sections p {
  margin: 0;
  color: var(--fg-body);
  text-wrap: pretty;
}
.page-note {
  font-size: 15px;
  color: var(--fg-tertiary);
  margin: 12px 0 0;
}

/* ---------- Contact ---------- */

.details-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  margin-top: 40px;
}
.details-grid {
  display: grid;
  gap: 18px;
  font-size: 15px;
}
.details-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
}
.details-row dt { color: var(--fg-tertiary); margin: 0; }
.details-row dd { margin: 0; color: var(--fg); }
.details-row .strong { font-weight: 600; }

.closing-note {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-body);
  margin: 28px 0 0;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 28px 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-tertiary);
}

/* ---------- Phones ---------- */

@media (max-width: 700px) {
  .site-header { padding: 20px 24px; }
  .site-nav { gap: 20px; }
  .hero { padding: 72px 24px 64px; }
  .container, .container-narrow { padding: 64px 24px; }
  .what-we-do .container { padding: 48px 24px 64px; }
  .site-footer { padding: 28px 24px; }
  h1 { font-size: 40px; }
  .details-row { grid-template-columns: 1fr; gap: 2px; }
}
