/* Creatozen — creatozen.com marketing site
   One stylesheet. Poppins throughout, warm paper, a single forest-green
   accent, hairline rules, wide editorial layout. */

:root {
  --paper:      #FBFAF5;
  --paper-2:    #F3F0E7;
  --ink:        #1A1712;
  --ink-soft:   #423C33;
  --muted:      #6C665B;
  --rule:       #E4DECF;
  --rule-soft:  #EDE8DB;
  --accent:     #1F4C39;
  --accent-deep:#143024;
  --clay:       #A0491F;
  --max:        1320px;
  --pad:        clamp(20px, 5vw, 72px);
  --measure:    80ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.033em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); letter-spacing: -0.028em; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0 0 1.15em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong { font-weight: 600; color: var(--ink); }
small { font-size: 0.82rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
::selection { background: #D9E4DC; }

img, svg { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.94rem; font-weight: 500;
  padding: 0.74em 1.3em;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink); background: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost { border-color: var(--rule); color: var(--ink-soft); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 24px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 1.24rem; font-weight: 600; letter-spacing: -0.03em;
  color: var(--ink);
}
.wordmark:hover { text-decoration: none; }
.wordmark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--ink-soft); font-size: 0.92rem; font-weight: 400; }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 28px; }

/* ---------- hero ---------- */
.hero { padding: clamp(60px, 9vw, 128px) 0 clamp(44px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero h1 { margin-top: 0.35em; }
.hero .lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.9em; }
.hero-note { margin-top: 1.7em; font-size: 0.85rem; color: var(--muted); max-width: 44ch; }

/* transcript specimen — honest stand-in for a screenshot */
.specimen {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 var(--rule-soft), 0 24px 48px -34px rgba(26,23,18,0.28);
  overflow: hidden;
}
.specimen-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--rule-soft);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.specimen-bar .tick { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.specimen-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.msg { font-size: 0.9rem; line-height: 1.5; max-width: 84%; padding: 10px 14px; border-radius: 13px; }
.msg--in  { align-self: flex-start; background: var(--paper-2); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--accent); color: #F3F1E9; border-bottom-right-radius: 4px; }
.specimen-foot {
  border-top: 1px solid var(--rule-soft); padding: 13px 22px;
  font-size: 0.76rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px;
}
.specimen-foot b { color: var(--accent); font-weight: 600; }

/* ---------- generic section ---------- */
.section { padding: clamp(56px, 8vw, 108px) 0; border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head .num { font-size: 0.9rem; color: var(--clay); font-weight: 500; letter-spacing: 0.02em; }
.section-head h2 { margin: 0; }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.cap { padding: 34px 40px 34px 0; border-top: 1px solid var(--rule); }
.cap:nth-child(-n+2) { border-top: 0; }
.cap:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 48px; }
.cap:nth-child(even) { padding-left: 48px; }
.cap h3 { margin-bottom: 0.45em; }
.cap p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 52px); }
.step .n { font-size: 2.3rem; font-weight: 300; color: var(--accent); line-height: 1; display: block; margin-bottom: 0.35em; letter-spacing: -0.04em; }
.step h3 { margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* trust */
.trust { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust .wrap { padding-block: clamp(50px, 7vw, 92px); }
.trust p { max-width: var(--measure); color: var(--ink-soft); }
.trust .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.trust .grid h4 { margin-bottom: 0.3em; }
.trust .grid p { margin: 0; font-size: 0.89rem; }

/* cta band */
.cta { background: var(--accent); color: #F1EFE6; }
.cta .wrap { padding-block: clamp(56px, 8vw, 100px); display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { color: #F6F4EC; margin: 0; max-width: 22ch; }
.cta .btn { border-color: #F1EFE6; color: #F1EFE6; }
.cta .btn:hover { background: #F1EFE6; color: var(--accent-deep); }

/* ---------- footer ---------- */
.site-foot { background: var(--paper); border-top: 1px solid var(--rule); padding: clamp(52px, 7vw, 84px) 0 40px; font-size: 0.89rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.foot-grid h5 { margin: 0 0 1em; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55em; }
.foot-grid a { color: var(--ink-soft); }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { color: var(--muted); max-width: 38ch; margin: 0.8em 0 0; font-size: 0.85rem; }
.foot-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.8rem; }

/* ---------- legal / prose pages ---------- */
.doc { padding: clamp(52px, 7vw, 96px) 0 clamp(60px, 8vw, 112px); }
.doc-head { border-bottom: 1px solid var(--rule); padding-bottom: 30px; margin-bottom: 44px; }
.doc-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 0.25em 0 0.3em; }
.doc-head .updated { color: var(--muted); font-size: 0.87rem; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.42rem; margin: 2em 0 0.6em; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.05rem; margin: 1.6em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--clay); }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: 0.91rem; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border: 1px solid var(--rule); vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 600; }
.prose .callout { border-left: 3px solid var(--accent); background: var(--paper-2); padding: 15px 20px; margin: 1.4em 0; border-radius: 0 4px 4px 0; font-size: 0.93rem; }
.backlink { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.87rem; font-weight: 500; }

/* ---------- 404 ---------- */
.oops { min-height: 62vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.oops .num { font-size: clamp(4rem, 14vw, 9rem); font-weight: 300; color: var(--accent); line-height: 0.9; letter-spacing: -0.05em; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .specimen { order: 2; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .trust .grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .caps { grid-template-columns: 1fr; }
  .cap, .cap:nth-child(odd), .cap:nth-child(even) { padding: 26px 0; border-right: 0; }
  .cap:nth-child(2) { border-top: 1px solid var(--rule); }
  .foot-grid { grid-template-columns: 1fr; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
