/* Shared base for landing-page design explorations. Values come from docs/brand/tokens.css. */
@import url('tokens.css');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wp-chalk);
  color: var(--wp-graphite);
  font: 400 17px/1.55 var(--wp-font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--wp-sky-deep); text-decoration: none; }
a:hover { color: var(--wp-graphite); }
:focus-visible { outline: 2px solid var(--wp-sky-deep); outline-offset: 2px; }
img, svg { display: block; }

.wrap { max-width: var(--wp-max-width); margin: 0 auto; padding: 0 var(--wp-gutter); }
.label {
  font: 600 13px/1.2 var(--wp-font-mono);
  letter-spacing: var(--wp-tracking-label);
  text-transform: uppercase;
  color: var(--wp-slate);
}
.display {
  font-family: var(--wp-font-display);
  font-weight: 700;
  letter-spacing: var(--wp-tracking-display);
  line-height: .95;
  margin: 0;
  text-wrap: balance;
}
.h2 { font: 700 clamp(28px, 3.4vw, 42px)/1.05 var(--wp-font-display); letter-spacing: var(--wp-tracking-display); margin: 0; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--wp-slate); margin: 0; max-width: 34ch; text-wrap: pretty; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--wp-graphite); }
.logo:hover { color: var(--wp-graphite); }
.logo .mark { position: relative; width: 55px; height: 20px; flex: none; }
.logo .mark i { position: absolute; }
.logo .mark .bar { left: 8px; right: 10px; top: 8px; height: 4px; background: currentColor; }
.logo .mark .you { left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid currentColor; background: var(--logo-ground, var(--wp-chalk)); }
.logo .mark .them { right: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--wp-sky); }
.logo b { font: 700 19px var(--wp-font-display); letter-spacing: var(--wp-tracking-display); }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.site-header nav a:not(.btn) { color: inherit; }
@media (max-width: 720px) { .site-header nav .optional { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: var(--wp-radius-pill);
  font: 700 16px var(--wp-font-body); border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-sky { background: var(--wp-sky); color: var(--wp-graphite); }
.btn-sky:hover { background: var(--wp-sky-hover); color: var(--wp-graphite); }
.btn-dark { background: var(--wp-graphite); color: var(--wp-white); }
.btn-dark:hover { background: #000; color: var(--wp-white); }
.btn-line { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* Hero email capture */
.capture { display: flex; gap: 8px; max-width: 480px; padding: 6px; background: var(--wp-white); border: 1px solid var(--wp-mist); border-radius: var(--wp-radius-pill); box-shadow: var(--wp-shadow-card); }
.capture input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: 400 17px var(--wp-font-body); color: var(--wp-graphite); border-radius: var(--wp-radius-pill); }
.capture input:focus { outline: none; }
.capture:focus-within { box-shadow: var(--wp-shadow-card), 0 0 0 2px var(--wp-sky-deep); }
.capture-note { margin: 12px 0 0; font-size: 14px; color: var(--wp-slate); }
.capture-error { margin: 12px 0 0; font-size: 14px; color: var(--wp-error); }
.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; }
@media (max-width: 480px) {
  .capture { flex-direction: column; border-radius: 20px; }
  .capture input { height: 48px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--wp-mist); }
.faq details { border-bottom: 1px solid var(--wp-mist); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 700 19px var(--wp-font-body); letter-spacing: var(--wp-tracking-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--wp-font-mono); color: var(--wp-sky-deep); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 22px; color: var(--wp-slate); max-width: 62ch; }

/* Footer */
.site-footer { background: var(--wp-graphite); color: var(--wp-chalk); --logo-ground: var(--wp-graphite); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--wp-fog); }
.site-footer .logo { color: var(--wp-chalk); }
.site-footer a { color: var(--wp-chalk); }
.site-footer .links { display: flex; gap: 24px; margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 12px; }
  .site-header .btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
  .logo b { font-size: 17px; }
}
