/* Formware Designs — draft public site. Review only; do not deploy until Tony approves. */
:root {
  --paper: #f4f1ea;
  --ink: #1c2a24;
  --muted: #4d5c55;
  --line: #d5cfc4;
  --accent: #1e4a3a;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(42rem, calc(100% - 3rem));
  margin-inline: auto;
}

header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
footer .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.wordmark {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

nav a[aria-current="page"] {
  text-decoration: underline;
}

main {
  flex: 1;
  padding: 3.25rem 0 4rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.lead,
.stack p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.actions {
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #f7f4ee;
  text-decoration: none;
}

.button:hover {
  background: #16382c;
}

address {
  margin: 1.25rem 0;
  font-style: normal;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .header-inner,
  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  main {
    padding-top: 2.25rem;
  }
}
