/* App-surdly Good brochure. Navy chrome, champagne page, gold accent. Matches the AG mark. */

:root {
  --navy: #212b3e;
  --navy-deep: #161d2b;
  --gold: #c8ab77;
  --gold-deep: #a78b5c;
  --ink: #1a2230;
  --ink-soft: #2c3548;
  --muted: #5a6478;
  --page: #e8e2d4;
  --page-mid: #f0ebe0;
  --card: #f7f3ea;
  --line: #c4b59a;
  --shadow: #161d2b;
  --wordmark: #e8e0dc;
  --wordmark-dim: #cfc6bc;
  --live-soft: #e6d3a8;
  --live-ink: #1a2230;
  --status-soft: #e7d7b8;
  --status-ink: #212b3e;
  --todo: #efe4c8;
  --max: 72rem;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", sans-serif;
  --radius: 16px;
}

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

html {
  color-scheme: light;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--page-mid) 0, var(--page) 18rem);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.35rem, 6vw, 4.15rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--gold-deep);
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--navy);
  color: var(--wordmark);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

main {
  flex: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2.4rem 0 4.5rem;
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.site-header {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: 4.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--wordmark);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--wordmark);
  border-radius: 12px;
  background: transparent;
  color: var(--wordmark);
  padding: 0;
}

.nav-toggle-bars {
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px currentColor, 0 -6px currentColor;
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

#site-nav a {
  color: var(--wordmark);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

#site-nav a:hover {
  background: rgba(232, 224, 220, 0.12);
}

#site-nav a[aria-current="page"] {
  background: var(--gold);
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lede {
  font-size: 1.2rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.button {
  background: var(--navy);
  color: var(--wordmark);
}

.button:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--ink);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--navy);
  color: var(--wordmark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.hero-panel {
  background: var(--card);
  border: 2px solid var(--navy);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--gold-deep);
  padding: 1.1rem 1.15rem 0.7rem;
}

.stamp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stamp-list li + li {
  border-top: 1px solid var(--line);
}

.stamp-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.72rem 0.15rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.stamp-list a:hover .stamp-name {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.stamp-status {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.section-head a {
  font-weight: 700;
  white-space: nowrap;
}

.feature-list,
.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li,
.card {
  background: var(--card);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 1rem 1.1rem 1.05rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.25rem;
  align-items: start;
}

.feature-list h3 a,
.card h2 a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.feature-list p,
.card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.status {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.7rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--status-soft);
  color: var(--status-ink);
}

.status-live {
  background: var(--live-soft);
  color: var(--live-ink);
}

.feature-list .status {
  margin: 0.15rem 0 0;
  white-space: nowrap;
}

.note {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 46rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.crumbs a {
  color: var(--navy);
  font-weight: 600;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.draft-banner {
  max-width: 68ch;
  background: var(--page-mid);
  border: 2px solid var(--gold-deep);
  border-radius: var(--radius);
  padding: 0.95rem 1rem 0.2rem;
  margin-bottom: 1.5rem;
}

.draft-banner .draft-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

.todo {
  background: var(--todo);
  font-weight: 700;
  padding: 0 0.25rem;
}

.contact-form {
  max-width: 40rem;
  margin-top: 1.4rem;
}

.form-row {
  margin: 0 0 1rem;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #8a3d12;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--navy);
}

.check span {
  font-weight: 600;
}

.contact-form button {
  font: inherit;
  cursor: pointer;
}

.aside {
  color: var(--muted);
  margin-top: 1.2rem;
}

.app-shell {
  min-height: 46vh;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 2px dashed var(--muted);
  border-radius: var(--radius);
  background: var(--card);
}

.app-shell p:last-child {
  margin-bottom: 0;
}

.closer {
  margin-top: 3rem;
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: 20px;
  background: var(--navy);
  color: var(--wordmark);
  box-shadow: 6px 6px 0 var(--gold-deep);
}

.closer h2,
.closer p {
  color: var(--wordmark);
}

.closer .button {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.closer .button:hover {
  background: var(--wordmark);
  border-color: var(--wordmark);
  color: var(--ink);
}

.site-footer {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  color: var(--wordmark-dim);
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wordmark);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--wordmark-dim);
  text-decoration: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.quiet-footer {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 1.4rem 0 1.8rem;
}

.quiet-footer a {
  color: var(--wordmark-dim);
}

.legal-name {
  margin: 0 0 0.8rem;
  color: var(--wordmark);
  font-weight: 700;
}

.site-footer .aside {
  color: var(--wordmark-dim);
}

@media (max-width: 860px) {
  .hero,
  .footer-grid,
  .catalog {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: none;
  }

  html:not(.no-js) .nav-toggle {
    display: inline-flex;
  }

  html:not(.no-js) #site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 0.85rem;
  }

  html:not(.no-js) #site-nav.is-open {
    display: flex;
  }

  #site-nav a {
    border-radius: 12px;
  }

  .feature-list li {
    grid-template-columns: 1fr;
  }

  .feature-list .status {
    justify-self: start;
  }
}

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