/* Amplify Web Design — "Signal layout + Broadcast brand" (Combined concept).
   All theming lives in :root. Type: Unbounded (logo + headlines), Manrope
   (body), DM Mono (labels + nav). */

:root {
  --ink: #14130F;
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --line: #DDD8CE;
  --graphite: #55524A;
  --body: #3D3A33;
  --signal: #FF5A2C;        /* accent fills (text on it is --ink) */
  --signal-text: #C2340E;   /* accent as text on paper: 4.5:1+ */
  --field-border: #8A867C;
  --wave-2: #8A867C;
  --wave-3: #4A4740;

  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --container: 1240px;
  --gutter: 24px;
  --section-pad: 96px;
  --radius-card: 20px;
  --radius-panel: 24px;
  --radius-field: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  /* Footer at the bottom even on a short page (404). */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

a { color: var(--ink); }
a:hover { color: var(--signal-text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
input, textarea, select, button { font: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }

.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { flex-shrink: 0; color: var(--ink); }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 5px;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav__links a { text-decoration: none; }
.nav__links a:not(.nav__cta) { display: inline-flex; align-items: center; min-height: 44px; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-text);
}

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); display: flex; flex-direction: column; gap: 48px; }
.section__head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__intro { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
}
.section__aside { max-width: 420px; color: var(--graphite); }
#pricing .section__aside { max-width: 560px; }

.band--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--rule { border-top: 1px solid var(--line); }
.band--signal { background: var(--signal); }

/* ---------- Buttons ---------- */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
}
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { color: var(--ink); background: #FF7A52; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); border: 0; }
.btn--ink:hover { background: #2E2C26; }
.btn--block { width: 100%; min-height: 48px; }
.btn[disabled] { cursor: default; opacity: 0.85; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 96px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__lede { max-width: 560px; font-size: 20px; color: var(--body); }
.hero__visual {
  flex: 1 1 320px;
  min-width: 0;
  height: 380px;
  border-radius: 28px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__mark {
  max-width: 80%;
  height: auto;
  --mark-stroke: 2.6;
  --mark-wave-1: var(--paper);
  --mark-wave-2: var(--wave-2);
  --mark-wave-3: var(--wave-3);
}

/* ---------- Services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
}
.service-card p { color: var(--body); }
.service-card__num { font-family: var(--font-mono); font-size: 14px; color: var(--graphite); }
.service-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.3; }

/* ---------- Process ---------- */
.steps {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 20px; }
.step p { color: var(--body); }
.step__num { font-family: var(--font-mono); font-size: 16px; color: var(--signal-text); }
.step__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.3; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-card__tier { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--graphite); }
.price-card__price { font-family: var(--font-display); font-size: 32px; font-weight: 800; line-height: 1.2; }
.price-card__per { font-family: var(--font-body); font-size: 17px; font-weight: 400; color: var(--graphite); }
.price-card__list { padding-left: 20px; color: var(--body); display: flex; flex-direction: column; gap: 6px; }
.price-card .btn { margin-top: auto; }

.price-card--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-card--featured .price-card__tier,
.price-card--featured .price-card__list { color: var(--line); }

.badge {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
}

/* Unfinished copy stays visible until it's filled in (build-site rule). */
.placeholder {
  background: #FFE58A;
  color: var(--ink);
  padding: 0 0.2em;
  border-radius: 4px;
  font-size: 0.75em;
}

/* ---------- Contact ---------- */
.contact { flex-direction: row; flex-wrap: wrap; gap: 56px; }
.contact__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  text-transform: uppercase;
}
.contact__lede { font-size: 19px; max-width: 440px; }

.contact-form {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--paper);
  border-radius: var(--radius-panel);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  min-height: 48px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-field);
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.form-group select { padding: 0 12px; }
.form-group textarea { padding: 12px 14px; resize: vertical; }
.form-group input[aria-invalid="true"] { border-color: var(--signal-text); }

/* Honeypot: off-screen, never seen or tabbed to by people. */
.form-group--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.6em; font-size: 15px; }
.form-status:empty { min-height: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--line); }
.site-footer__inner {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand--footer { color: var(--paper); }
.brand--footer:hover { color: var(--paper); }
.brand--footer .brand__mark { color: var(--paper); }
.brand--footer .brand__name { font-size: 18px; }
.site-footer__legal {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- 404 ---------- */
.not-found { padding-top: 120px; padding-bottom: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.not-found__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
}
.not-found p:not(.eyebrow) { color: var(--body); max-width: 520px; font-size: 19px; }

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
  :root { --section-pad: 64px; --gutter: 20px; }
  /* Two rows: logo + "Start a project", then the section links. */
  .nav { justify-content: flex-start; gap: 4px 12px; padding-top: 14px; padding-bottom: 10px; }
  .nav::after { content: ''; flex-basis: 100%; height: 0; order: 2; }
  .brand { margin-right: auto; }
  .nav__links { display: contents; font-size: 13px; }
  .nav__cta { order: 1; padding: 0 14px; letter-spacing: 0.03em; }
  .nav__links a:not(.nav__cta) { order: 3; margin-right: 8px; }
  .hero { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .hero__lede { font-size: 18px; }
  .hero__visual { height: 260px; }
  .contact { gap: 32px; }
  .contact-form, .price-card { padding: 24px; }
}
