@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,650;1,6..72,500&display=swap");

:root {
  --ab-text: #1c221b;
  --ab-text-soft: #3a453c;
  --ab-quiet: #627066;
  --ab-bg: #f4efe4;
  --ab-card: #fffaf2;
  --ab-rule: #d4c9b4;
  --ab-forest: #2c4638;
  --ab-forest-deep: #142018;
  --ab-copper: #8e4e2a;
  --ab-copper-wash: #ead9c8;
  --ab-radius: 2px;
  --ab-max: 960px;
  --ab-read: 40.5rem;
  --ab-sans: "Figtree", "Segoe UI", sans-serif;
  --ab-serif: "Newsreader", "Palatino Linotype", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ab-sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ab-text);
  background: var(--ab-bg);
}

body.is-site {
  border-left: 6px solid var(--ab-forest);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ab-forest);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--ab-copper);
}

.shell {
  width: min(100% - 2rem, var(--ab-max));
  margin-inline: auto;
}

.measure {
  width: min(100% - 2rem, var(--ab-read));
  margin-inline: auto;
}

.topbar {
  background: var(--ab-card);
  border-bottom: 1px solid var(--ab-rule);
}

.brandbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem 0 0.95rem;
}

.mark {
  text-decoration: none;
  color: var(--ab-forest);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.mark-title {
  font-family: var(--ab-serif);
  font-weight: 650;
  font-size: 1.42rem;
}

.mark-line {
  font-size: 0.7rem;
  color: var(--ab-quiet);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.18rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: var(--ab-text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-right: 1px solid var(--ab-rule);
}

.menu a:last-child {
  border-right: 0;
  padding-right: 0;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--ab-copper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ab-rule);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle i {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--ab-forest);
}

.intro {
  padding: 3.4rem 0 2.4rem;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ab-copper);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

h1,
h2,
h3 {
  font-family: var(--ab-serif);
  line-height: 1.22;
  color: var(--ab-text);
  font-weight: 650;
}

h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  margin: 0 0 0.9rem;
}

h2 {
  font-size: 1.48rem;
  margin: 2rem 0 0.7rem;
}

h3 {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--ab-text-soft);
  max-width: 38rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  margin: 1.6rem 0 0;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 1.6rem 0 2rem;
}

.panel {
  background: var(--ab-card);
  border: 1px solid var(--ab-rule);
  border-top: 3px solid var(--ab-copper);
  border-radius: var(--ab-radius);
  padding: 1.15rem 1.2rem;
}

.panel p {
  margin: 0.35rem 0 0;
  color: var(--ab-quiet);
  font-size: 0.96rem;
}

.block {
  padding: 0 0 3rem;
}

.callout {
  background: var(--ab-copper-wash);
  border-left: 3px solid var(--ab-copper);
  padding: 0.95rem 1.1rem;
  color: var(--ab-text-soft);
}

.action {
  display: inline-flex;
  align-items: center;
  background: var(--ab-forest);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.78rem 1.15rem;
  border-radius: var(--ab-radius);
  letter-spacing: 0.02em;
}

.action:hover {
  background: var(--ab-copper);
  color: #fff;
}

.action-outline {
  background: transparent;
  color: var(--ab-forest);
  border: 1px solid var(--ab-forest);
}

.sample {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--ab-card);
  border: 1px solid var(--ab-rule);
  padding: 1.2rem 1.3rem;
}

.stamp {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ab-copper-wash);
  color: var(--ab-copper);
  padding: 0.16rem 0.42rem;
}

.examples {
  display: grid;
  gap: 0.7rem;
  margin: 1.1rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.examples.wide {
  grid-template-columns: 1fr 1fr;
}

.examples a {
  display: block;
  background: var(--ab-card);
  border: 1px solid var(--ab-rule);
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--ab-text);
}

.examples a:hover {
  border-color: var(--ab-copper);
  color: var(--ab-text);
}

.examples .stamp {
  margin-bottom: 0.4rem;
}

.examples strong {
  display: block;
  font-family: var(--ab-serif);
  font-size: 1.05rem;
  font-weight: 650;
}

.examples small {
  display: block;
  color: var(--ab-quiet);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.colophon {
  background: var(--ab-forest-deep);
  color: #d2dbd3;
  padding: 2rem 0 1.4rem;
  margin-top: 2rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.legal-links a {
  color: #d2dbd3;
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: #fff;
}

.notice {
  font-size: 0.84rem;
  color: #93a197;
  border-top: 1px solid #2b3c31;
  padding-top: 0.9rem;
  margin: 0;
}

.notice + .notice {
  border-top: 0;
  padding-top: 0.4rem;
  margin-top: 0.35rem;
}

.prose {
  padding: 2.6rem 0 3.4rem;
}

.prose h1 {
  font-size: 2rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--ab-rule);
}

.prose p,
.prose li,
.prose address {
  color: var(--ab-text-soft);
}

.prose address {
  font-style: normal;
  margin: 0 0 1rem;
}

.addr {
  margin: 0 0 1.4rem;
}

.addr dt {
  font-weight: 700;
  color: var(--ab-text);
  margin-top: 0.7rem;
}

.addr dd {
  margin: 0.15rem 0 0;
}

.ribbon {
  background: var(--ab-copper-wash);
  color: var(--ab-copper);
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-bottom: 1px solid var(--ab-rule);
}

.story-head {
  text-align: left;
  padding: 1rem 0 0.4rem;
}

.story-head .mark {
  width: min(100% - 2rem, var(--ab-read));
  margin-inline: auto;
}

.story {
  padding-bottom: 2.8rem;
}

.story-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 1rem 0 0.6rem;
}

.lede {
  font-size: 1.08rem;
  color: var(--ab-text-soft);
  font-style: italic;
  font-family: var(--ab-serif);
}

.meta-line {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 0 1.1rem;
  border-bottom: 1px solid var(--ab-rule);
  margin-bottom: 1.3rem;
  font-size: 0.88rem;
  color: var(--ab-quiet);
}

.initials {
  width: 38px;
  height: 38px;
  border-radius: var(--ab-radius);
  background: var(--ab-forest);
  color: var(--ab-bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--ab-serif);
}

.by {
  color: var(--ab-text);
  font-weight: 650;
}

.photo {
  margin: 0 0 1.4rem;
}

.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--ab-radius);
  background: var(--ab-card);
  border: 1px solid var(--ab-rule);
}

.photo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--ab-quiet);
  line-height: 1.4;
}

.copy p {
  margin: 0 0 1rem;
}

.copy ul,
.copy ol:not(.sequence) {
  margin: 0 0 1.05rem;
  padding-left: 1.15rem;
}

.story table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.94rem;
}

.story th,
.story td {
  border: 1px solid var(--ab-rule);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.story th {
  background: var(--ab-copper-wash);
}

.sequence {
  counter-reset: ab-step;
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
}

.sequence li {
  list-style: none;
  background: var(--ab-card);
  border: 1px solid var(--ab-rule);
  border-radius: var(--ab-radius);
  padding: 0.9rem 1rem 0.9rem 3.15rem;
  position: relative;
}

.sequence li::before {
  counter-increment: ab-step;
  content: counter(ab-step);
  position: absolute;
  left: 0.75rem;
  top: 0.9rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--ab-radius);
  background: var(--ab-forest);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.offer {
  background: var(--ab-card);
  border: 1px solid var(--ab-rule);
  border-left: 4px solid var(--ab-copper);
  border-radius: var(--ab-radius);
  padding: 1.2rem;
  margin: 1.4rem 0;
}

.offer .action {
  margin-top: 0.65rem;
}

.fineprint {
  font-size: 0.86rem;
  color: var(--ab-quiet);
  margin: 0.5rem 0 0;
}

.caveats {
  background: #efe6d6;
  border-radius: var(--ab-radius);
  padding: 0.95rem 1.15rem;
}

.legal-note {
  font-size: 0.82rem;
  color: var(--ab-quiet);
  border-top: 1px solid var(--ab-rule);
  padding-top: 1.2rem;
  margin-top: 2rem;
}

.faqs details {
  border-bottom: 1px solid var(--ab-rule);
  padding: 0.6rem 0;
}

.faqs summary {
  cursor: pointer;
  font-weight: 650;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1rem 0 1.3rem;
}

.metric {
  background: var(--ab-card);
  border: 1px solid var(--ab-rule);
  border-radius: var(--ab-radius);
  padding: 0.85rem 0.8rem;
  text-align: center;
}

.metric b {
  display: block;
  font-family: var(--ab-serif);
  font-size: 1.28rem;
  color: var(--ab-forest);
}

.metric span {
  font-size: 0.8rem;
  color: var(--ab-quiet);
}

@media (max-width: 820px) {
  body.is-site {
    border-left: 0;
  }

  .trio,
  .sample,
  .metrics,
  .split,
  .examples.wide {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    right: 1rem;
    top: 4.4rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--ab-card);
    border: 1px solid var(--ab-rule);
    padding: 0.7rem 0.4rem;
    min-width: 190px;
    z-index: 30;
  }

  .menu a {
    border-right: 0;
    padding: 0.45rem 0.8rem;
  }

  .menu.is-open {
    display: flex;
  }

  .topbar {
    position: relative;
  }
}
