/* Powered by OTM — marketing site
   Plain CSS. Light, single sans, warm copper accent.
   Audience: small-business owners. Voice: plain, short, direct.
   Not a tech site. */

/* -----------------------------------------------------------------------------
   Tokens
   ---------------------------------------------------------------------------- */
:root {
  --bg:            #fbf8f2;     /* warm cream */
  --surface:       #ffffff;
  --surface-2:     #f5efe2;
  --text:          #1c1c1c;
  --text-soft:     #3a3a3a;
  --text-muted:    #6b6b6b;
  --text-dim:      #999999;

  --accent:        #b85e2a;     /* warm copper */
  --accent-deep:   #8c4720;
  --accent-soft:   #f3e2d2;

  --border:        rgba(28, 28, 28, 0.10);
  --border-strong: rgba(28, 28, 28, 0.20);

  --font-sans:     "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm:     4px;
  --radius:        8px;
  --radius-lg:     14px;

  --content-narrow: 680px;
  --content-wide:   1080px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --space-10: 8.5rem;
}

/* -----------------------------------------------------------------------------
   Reset
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; }

/* -----------------------------------------------------------------------------
   Base
   ---------------------------------------------------------------------------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 768px) { body { font-size: 18px; line-height: 1.6; } }

::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: var(--space-5); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin-bottom: var(--space-3); }

p { margin-bottom: var(--space-4); max-width: 56ch; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent-soft);
  transition: color 120ms, text-decoration-color 120ms;
}
a:hover { color: var(--accent-deep); text-decoration-color: var(--accent-deep); }

/* -----------------------------------------------------------------------------
   Utility
   ---------------------------------------------------------------------------- */
.wrap          { width: 100%; max-width: var(--content-wide); margin: 0 auto; padding: 0 var(--space-5); }
.wrap--narrow  { max-width: var(--content-narrow); }

/* -----------------------------------------------------------------------------
   Top bar
   ---------------------------------------------------------------------------- */
.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  max-width: var(--content-wide);
  margin: 0 auto;
}
.brand { text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  gap: var(--space-6);
  align-items: center;
}
.nav a {
  font-size: 1rem;
  text-decoration: none;
  color: var(--text-soft);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
@media (min-width: 760px) { .nav { display: flex; } }

.topbar__cta { display: none; }
@media (min-width: 1000px) { .topbar__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  min-height: 38px;
}
@media (min-width: 760px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: var(--space-3) var(--space-5);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* -----------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  min-height: 46px;
  transition: background 120ms, border-color 120ms, color 120ms;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #ffffff; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); color: var(--text); border-color: var(--text); }
.btn--small { padding: 0.55rem 1rem; font-size: 0.95rem; min-height: 38px; }
.btn__arrow { display: inline-block; transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* -----------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------------- */
.hero {
  padding: var(--space-9) 0 var(--space-8);
}
@media (min-width: 960px) { .hero { padding: var(--space-10) 0 var(--space-9); } }

.hero__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.hero__headline {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  max-width: 18ch;
}
.hero__headline .accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-6);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* -----------------------------------------------------------------------------
   Section
   ---------------------------------------------------------------------------- */
.section {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
}
.section--surface { background: var(--surface-2); border-top-color: transparent; }
.section--last { border-bottom: 1px solid var(--border); }

.section__head {
  margin-bottom: var(--space-7);
  max-width: 60ch;
}
.section__title { letter-spacing: -0.024em; margin-bottom: var(--space-3); }
.section__lede { color: var(--text-muted); font-size: 1.05rem; }

/* -----------------------------------------------------------------------------
   Services (hosting + automation cards)
   ---------------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 800px) { .services { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}
.service h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.018em;
}
.service__price {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.service__pitch {
  color: var(--text-soft);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.service__cta { align-self: flex-start; }

/* -----------------------------------------------------------------------------
   Examples — plain prose, no flow diagrams
   ---------------------------------------------------------------------------- */
.examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 720px) { .examples { grid-template-columns: 1fr 1fr; gap: var(--space-7); } }

.example {
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
}
.example h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.012em;
}
.example p {
  color: var(--text-soft);
  font-size: 1rem;
  margin: 0;
  max-width: none;
}

/* -----------------------------------------------------------------------------
   About snippet
   ---------------------------------------------------------------------------- */
.about-block p {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--text);
  max-width: 60ch;
  margin-bottom: var(--space-5);
}

/* -----------------------------------------------------------------------------
   Contact form (kept for /contact.html — simplified styling)
   ---------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (min-width: 880px) {
  .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-8); }
}
.form-aside { color: var(--text-muted); font-size: 1rem; }
.form-aside h3 { color: var(--text); margin-bottom: var(--space-4); font-size: 1.25rem; }
.form-aside ul li {
  padding: var(--space-2) 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.form-aside ul li b { font-weight: 500; color: var(--text); }
.form-aside ul li:last-child { border-bottom: 0; }

.field { display: flex; flex-direction: column; margin-bottom: var(--space-5); }
.field__label {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.field__label .req { color: var(--accent); margin-left: 0.2rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.field--row { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 600px) { .field--row { grid-template-columns: 1fr 1fr; } }

.honeypot {
  position: absolute !important;
  left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: flex; align-items: center; gap: var(--space-5);
  flex-wrap: wrap; margin-top: var(--space-3);
}
.form-status { font-size: 0.95rem; color: var(--text-muted); }
.form-status.is-error { color: #b03030; }
.form-status.is-success { color: #2e7556; }

.form-success {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  padding: var(--space-6);
  border-radius: var(--radius);
}
.form-success h3 { color: var(--text); margin-bottom: var(--space-3); }

/* -----------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------------- */
.footer {
  margin-top: auto;
  background: var(--surface-2);
  color: var(--text-muted);
  padding: var(--space-7) 0 var(--space-5);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer__brand p { color: var(--text-muted); max-width: 36ch; margin-top: var(--space-3); font-size: 0.95rem; }
.footer__col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-3);
}
.footer__col ul li { margin-bottom: var(--space-2); font-size: 0.95rem; }
.footer__col a { color: var(--text-soft); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* -----------------------------------------------------------------------------
   Page intros (used on supporting pages)
   ---------------------------------------------------------------------------- */
.page-intro {
  padding: var(--space-8) 0 var(--space-7);
  border-bottom: 1px solid var(--border);
}
.page-intro h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: var(--space-5);
  letter-spacing: -0.025em;
}
.page-intro__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 56ch;
}
.page-intro__sub {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-top: calc(var(--space-4) * -1);
}

/* Footer legal links (Terms · Privacy · Refunds) */
.footer__legal a { color: var(--text-dim); }
.footer__legal a:hover { color: var(--text); }

/* -----------------------------------------------------------------------------
   Print
   ---------------------------------------------------------------------------- */
@media print {
  body { background: white; color: black; }
  .topbar, .footer, .menu-toggle, .mobile-nav { display: none; }
  a { color: black; text-decoration: underline; }
}
