/* warmthread — product page. Own palette + type, distinct from the Axintel corporate page. */
:root {
  --cream: #F6EEDF;
  --paper: #FBF6EC;
  --espresso: #2C1E13;
  --cocoa: #57402C;
  --rust: #A6402A;
  --terra: #C75B39;
  --ember: #E1782F;
  --marigold: #EDA145;
  --butter: #F2C36B;
  --ink: #39281B;
  --mut: #8A7355;
  --line: #E8DCC6;
  --round: 'Quicksand', ui-rounded, 'SF Pro Rounded', 'Varela Round', sans-serif;
  --body: 'Inter', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
b { color: var(--ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 44px; }
section { padding: 88px 0; }

/* ===== Type ===== */
.kicker {
  font-family: var(--round);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 16px;
}
.kicker-dark { color: var(--marigold); }

h2 {
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
h3 { font-family: var(--round); font-weight: 700; margin: 0; }

.wt-prose { max-width: 760px; }
.wt-prose p { font-size: 16.5px; color: #4A3826; margin: 0 0 16px; }
.wt-prose p:last-child { margin-bottom: 0; }

/* ===== Nav ===== */
.wt-nav {
  position: sticky;
  top: 0;
  background: rgba(246, 238, 223, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.wt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.wt-logo { flex-shrink: 0; }
.wt-nav-links { display: flex; gap: 32px; margin-left: auto; }
.wt-nav-links a {
  font-family: var(--round);
  font-weight: 600;
  font-size: 14px;
  color: var(--cocoa);
  text-decoration: none;
  transition: color 0.15s;
}
.wt-nav-links a:hover { color: var(--terra); }
.wt-nav-cta {
  font-family: var(--round);
  font-weight: 700;
  font-size: 14px;
  background: var(--espresso);
  color: var(--butter);
  padding: 10px 18px;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.15s;
}
.wt-nav-cta:hover { background: var(--rust); color: #FFF7E8; }

/* ===== Hero ===== */
.wt-hero { padding: 96px 0 72px; }
.wt-hero-wordmark { width: 520px; max-width: 86%; margin: 6px 0 20px; }
.wt-tagline {
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 27px);
  color: var(--cocoa);
  margin: 0 0 18px;
}
.wt-lede { font-size: 17.5px; color: var(--mut); max-width: 680px; margin: 0 0 32px; }
.wt-lede b { color: var(--cocoa); }

/* ===== Buttons ===== */
.wt-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.wt-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--round);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 99px;
  text-decoration: none;
  line-height: 1;
  transition: all 0.15s ease;
  border: 1.5px solid transparent;
}
.wt-btn-primary { background: var(--terra); color: #FFF7E8; }
.wt-btn-primary:hover { background: var(--rust); transform: translateY(-1px); }
.wt-btn-ghost { color: var(--cocoa); border-color: #D9C9AC; }
.wt-btn-ghost:hover { border-color: var(--cocoa); }

/* ===== Idea ===== */
.wt-idea { padding-top: 40px; }

/* ===== Tiles ===== */
.wt-does { padding-top: 40px; }
.wt-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.tile {
  background: var(--paper);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 1px 0 rgba(57, 40, 27, 0.08), 0 14px 34px -22px rgba(57, 40, 27, 0.28);
}
.tile h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.tile h3 .n { color: var(--terra); margin-right: 10px; }
.tile p { font-size: 14.5px; color: #4A3826; margin: 0; }

/* ===== Built ===== */
.wt-trustrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.wt-trust {
  font-family: var(--round);
  font-weight: 700;
  font-size: 13px;
  color: var(--cocoa);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 18px;
}

/* ===== Commitments (dark panel) ===== */
.wt-commit { padding-top: 20px; }
.wt-dark {
  background: var(--espresso);
  border-radius: 22px;
  color: var(--cream);
  padding: 44px 48px 48px;
}
.wt-dark h2 { color: var(--cream); }
.wt-commit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
  margin-top: 26px;
}
.wt-c h3 { font-size: 17px; color: var(--butter); margin-bottom: 6px; }
.wt-c p { font-size: 14.5px; color: #E9DCC6; margin: 0; }

/* ===== Final CTA + lead form ===== */
.wt-cta { padding-bottom: 110px; }

.wt-form { max-width: 680px; margin-top: 36px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.wt-form-row { margin-bottom: 18px; }
.wt-form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wt-field label {
  display: block;
  font-family: var(--round);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--cocoa);
  margin-bottom: 7px;
}
.wt-field .req { color: var(--terra); }
.wt-field .optional { font-weight: 600; color: var(--mut); font-size: 12px; }
.wt-field input,
.wt-field select,
.wt-field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wt-field input:focus,
.wt-field select:focus,
.wt-field textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.15);
}
.wt-field textarea { resize: vertical; }
.wt-form button[type="submit"] { border: none; cursor: pointer; }
.wt-form-note { font-size: 12.5px; color: var(--mut); margin: 12px 0 0; }
.turnstile-row { min-height: 0; }

.wt-confirm {
  max-width: 680px;
  margin-top: 36px;
  background: var(--paper);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 1px 0 rgba(57, 40, 27, 0.08), 0 14px 34px -22px rgba(57, 40, 27, 0.28);
}
.wt-confirm h3 { font-size: 20px; color: var(--terra); margin-bottom: 8px; }
.wt-confirm p { margin: 0; color: #4A3826; font-size: 15px; }
.wt-form-error {
  max-width: 680px;
  margin-top: 20px;
  background: #F9E3DC;
  border: 1.5px solid var(--terra);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--rust);
}
.wt-more { margin-top: 40px; }
.wt-more a {
  font-family: var(--round);
  font-weight: 700;
  font-size: 14px;
  color: var(--cocoa);
  text-decoration: none;
}
.wt-more a:hover { color: var(--terra); }

/* ===== Footer ===== */
.wt-footer { background: var(--espresso); padding: 48px 0 36px; }
.wt-footer-wordmark { width: 260px; margin-bottom: 22px; }
.wt-footer-bar {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--round);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--butter);
}
.wt-footer-bar a { color: var(--butter); text-decoration: none; }
.wt-footer-bar a:hover { text-decoration: underline; }

/* ===== Motion ===== */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-in.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 840px) {
  .wrap { padding: 0 24px; }
  section { padding: 64px 0; }
  .wt-hero { padding: 64px 0 48px; }
  .wt-nav-links { display: none; }
  .wt-tiles { grid-template-columns: 1fr; }
  .wt-commit-grid { grid-template-columns: 1fr; }
  .wt-form-row.two-col { grid-template-columns: 1fr; }
  .wt-dark { padding: 32px 28px 36px; }
  h2 br { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .wt-cta-row { flex-direction: column; align-items: stretch; }
  .wt-cta-row .wt-btn { justify-content: center; }
}
