/* ATHRTY Marketing OS: public site stylesheet.
   Shared by index.html, marketing.html, about.html, and walkthrough.html.
   Extended from the live marketing-public.css. One header, one brand
   lockup, one button system, one card family, one footer. */

:root {
  color-scheme: light;
  --ink: #161c1d;
  --muted: #586263;
  --line: #dfe4e3;
  --paper: #f7f8f6;
  --surface: #ffffff;
  --accent: #1f4137;
  --accent-soft: #ebf0ec;
  --preview-bg: #e8eeea;
  --focus: #367d69;
  font: 16px/1.5 system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
label.option-card:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(28px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 740;
}

h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
  max-width: 67ch;
}

small,
.note {
  font-size: 13px;
  color: var(--muted);
}

/* Header and brand lockup (identical on every page) */
.top .brand .athrty-header-mark {
  background: transparent;
  border: 0;
  border-radius: 0;
  flex: none;
  overflow: visible;
  box-shadow: none;
}
.top .brand .athrty-header-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.top .brand .athrty-header-mark .athrty-logo-ink { display: none; }
:root[data-theme="light"] .top .brand .athrty-header-mark .athrty-logo-ivory,
.top .brand .athrty-header-mark-light .athrty-logo-ivory { display: none; }
:root[data-theme="light"] .top .brand .athrty-header-mark .athrty-logo-ink,
.top .brand .athrty-header-mark-light .athrty-logo-ink { display: block; }

.top,
footer {
  max-width: 1440px;
  margin: auto;
  padding: 20px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.brand small {
  font-weight: 500;
  letter-spacing: 0;
}

.mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
}

.top nav,
footer > div {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top nav a,
footer a {
  font-size: 14px;
}

/* Buttons (one system) */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 650;
  max-width: 100%;
  text-align: center;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.button.quiet {
  background: #ffffff;
}

.button[disabled],
.button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Layout sections */

.hero,
.intro,
.section {
  max-width: 1440px;
  margin: auto;
  padding: clamp(40px, 7vw, 100px) clamp(18px, 4vw, 64px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}

.hero > div:first-child,
.intro,
.band {
  display: grid;
  gap: 24px;
  align-content: center;
}

.hero p,
.intro p {
  font-size: clamp(16px, 2vw, 21px);
}

.hero .note {
  font-size: 12px;
}

.section {
  display: grid;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.band {
  background: var(--accent-soft);
}

.band > a,
.band > .actions {
  justify-self: start;
}

/* Product preview card (text and module preview, not a screenshot) */

.preview {
  background: var(--preview-bg);
  border: 1px solid #d9e1dc;
  border-radius: 20px;
  padding: clamp(14px, 2vw, 28px);
  display: grid;
  gap: 18px;
  min-width: 0;
  box-shadow: 0 24px 55px rgba(22, 42, 31, 0.07);
}

.preview-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-top span {
  font-size: 12px;
  color: var(--muted);
}

.preview-days {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.preview-days article {
  display: grid;
  gap: 8px;
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.preview-days article strong {
  font-size: 14px;
}

.preview-days article > span:last-child {
  font-size: 11px;
  color: var(--muted);
}

.art {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 5px;
  background: #a9bab0;
}

.art-one {
  background: #4c655b;
}

.art-two {
  background: #cbbfa5;
}

.art-three {
  background: #244338;
}

/* Cards (one family) */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cards article {
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}

.cards article .screen-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* Footer */

footer {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

/* Skip link */

.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: #ffffff;
  padding: 12px;
  z-index: 10;
}

.skip:focus {
  top: 10px;
}

/* Walk-through */

.walkthrough {
  max-width: 880px;
  margin: auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 48px);
  display: grid;
  gap: 24px;
}

.walkthrough .progress {
  font-size: 14px;
  font-weight: 650;
  color: var(--accent);
}

.wt-step {
  display: grid;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 36px);
}

.wt-step[hidden] {
  display: none;
}

.wt-step h1,
.wt-step h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.option-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
}

.option-card strong {
  font-size: 17px;
}

.option-card span {
  font-size: 14px;
  color: var(--muted);
}

.option-card[aria-pressed="true"],
.option-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.drop-area {
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
  padding: 28px 18px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
}

.drop-area img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 10px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 650;
  font-size: 14px;
}

.field input {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #ffffff;
  color: var(--ink);
  width: 100%;
}

.field-error {
  font-size: 13px;
  color: #8a2f23;
}

.summary-box {
  display: grid;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.summary-box p {
  color: var(--ink);
  font-size: 15px;
}

.wt-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.confirmation {
  display: grid;
  gap: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.confirmation[hidden] {
  display: none;
}

.confirmation p {
  color: var(--ink);
}

/* Tablet: two-column grids, deliberately */

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop: full width, hero in two columns */

@media (min-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 520px;
  }
}

@media (min-width: 1024px) {

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phone header */

@media (max-width: 580px) {
  .top {
    flex-wrap: wrap;
  }

  .top nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .top .brand small {
    display: none;
  }

  .top .button {
    min-height: 44px;
    padding: 9px 13px;
  }

  .hero,
  .intro,
  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  footer > div {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Interactive demo layout */ .product-demo{display:grid;grid-template-columns:112px minmax(0,1fr);background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 22px 50px #172d261a}.demo-side{display:grid;align-content:start;gap:6px;background:#edf1ed;padding:15px 9px;border-right:1px solid var(--line);font-size:12px}.demo-side strong{padding:6px;margin-bottom:12px}.demo-main{display:grid;gap:14px;padding:clamp(12px,2vw,24px);min-width:0}.demo-review{display:grid;gap:4px;border-top:1px solid var(--line);padding-top:12px}@media(max-width:580px){.product-demo{grid-template-columns:1fr}.demo-side{border-right:0;border-bottom:1px solid var(--line);padding:10px}.demo-main{gap:10px}}