/* AgencyOS marketing site. One accent color (AgencyOS gold). */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/IBMPlexSans-latin-variable.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #0f2238;
  --ink-muted: #4a5d73;
  --line: #e3e7ec;
  --accent: #e8b04a;        /* fills (buttons, bars) */
  --accent-strong: #d99e33; /* hover */
  --accent-text: #8a5a08;   /* accent used as text on white (AA contrast) */
  --accent-ink: #1b1406;    /* text on accent fills */
  --max: 1120px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--accent-text); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.login { font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.login:hover { border-color: var(--ink-muted); }
.menu-toggle { display: none; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
  padding: 13px 24px; border-radius: 10px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--accent-strong); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Hero */
.hero { padding: 96px 0 80px; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 18ch; }
.hero p { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-muted); max-width: 40em; margin: 0 0 32px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }

/* Sections */
section { padding: 72px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 16px; }
.card h2, .card h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-muted); }
.closing { background: var(--ink); color: #fff; text-align: center; padding: 72px 0; }
.closing p { font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -0.01em; max-width: 30ch; margin: 0 auto 28px; line-height: 1.3; }
.prose { max-width: 42em; font-size: 19px; color: var(--ink-muted); }

/* Contact form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 720px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form label .opt { font-weight: 400; color: var(--ink-muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid #c9d1db; border-radius: 8px; background: #fff; color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--ink-muted); font-size: 15px; margin-top: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--ink-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Phones and small tablets */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  .site-header .wrap { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .menu-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; cursor: pointer; }
  .login { order: 2; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; margin: 0; }
  .nav.open { display: flex; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
}
