.brand-site {
  --paper: #f7f6f2;
  --ink: #29302e;
  --muted: #6a706b;
  --line: #dedfd8;
  --blue: #39465d;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

.brand-header {
  padding-inline: clamp(20px, 5vw, 68px);
}

.brand-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3.3vw, 36px);
  min-height: clamp(62px, 10vh, 84px);
  color: var(--muted);
}

.brand-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  text-underline-offset: .35em;
}

.brand-nav a:first-child { margin-inline-end: auto; }
.brand-nav a:hover,
.brand-nav a[aria-current="page"] { color: var(--ink); }
.brand-nav a:not([href="/"]):is(:hover, [aria-current="page"]) { text-decoration: underline; }

.brand-footer {
  display: flex;
  justify-content: center;
  margin-block-start: auto;
  padding: 12px 20px 25px;
}

.design-signature { position: relative; }

.design-signature summary {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: 12px;
  cursor: pointer;
  font: italic 400 1rem/1 var(--serif);
  color: var(--muted);
  list-style: none;
}

.design-signature summary::-webkit-details-marker { display: none; }
.design-signature summary:hover { color: var(--ink); }

.design-signature > span {
  position: absolute;
  inset-block-start: calc(100% - 7px);
  inset-inline-start: 50%;
  translate: -50% 0;
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .025em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .design-signature[open] > span { animation: signature-reveal 180ms ease-out; }
}

@keyframes signature-reveal {
  from { opacity: 0; transform: translateY(-3px); }
}

.brand-site .opening {
  min-height: 0;
  padding: clamp(52px, 10vh, 116px) 22px clamp(65px, 12vh, 140px);
}

.brand-site .opening h1,
.brand-site .pricing-heading h1,
.brand-site .onboarding-main h1,
.features-page h1 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
}

.brand-site .opening h1 { font-size: clamp(2.75rem, 8.2vw, 7rem); }
.brand-site .opening h1 span,
.features-page h1 span { display: block; }
.brand-site .opening h1 span + span,
.features-page h1 span,
.brand-site .pricing-heading h1 em,
.brand-site .onboarding-main h1 em { color: var(--blue); font-style: italic; }

.brand-site .opening .intro {
  max-width: 42ch;
  margin: clamp(20px, 4vh, 30px) auto 0;
  font-size: clamp(1rem, 2.1vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.brand-site .opening .button { margin-top: 28px; }
.brand-site .pricing-heading h1 { font-size: clamp(2.25rem, 6vw, 4.35rem); }
.brand-site .plan-price > span:first-child { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.35rem); }
.brand-site .onboarding-main h1 { font-size: clamp(2.05rem, 6vw, 3.6rem); }

.features-page {
  width: min(58rem, 100% - 48px);
  margin-inline: auto;
  padding-block: clamp(34px, 8vh, 86px) clamp(60px, 10vh, 106px);
}

.features-page h1 { font-size: clamp(2rem, 6.8vw, 5rem); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 6vw, 78px);
  margin-block: clamp(26px, 5vw, 48px) 22px;
}

.features-grid section {
  border-top: 1px solid var(--line);
  padding-block: 18px 23px;
}

.features-grid h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.features-grid p {
  margin-block-start: 7px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .features-grid section { padding-block: 15px 19px; }
}
