/* praisepad.app — the marketing site. Tungsten tokens (SPEC §16), one layout that reflows. */
:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --sidebar: #ecece7;
  --line: #e0e0da;
  --line-strong: #c9c9c2;
  --ink: #121418;
  --muted: #5f636c;
  --accent: #f2a93b;
  --accent-text: #8a5300;
  --accent-text-dark: #f2b758;
  --on-accent: #1a1206;
  --dark-bg: #0c0d10;
  --dark-surface: #16181d;
  --dark-line: #2a2e37;
  --dark-ink: #eceae4;
  --dark-muted: #8b909b;
  --ok: #166534;
  --ok-dark: #86efac;
  --no: #b42318;
  --no-wash: #fde3df;
  --focus: #f2a93b;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 96px);
}
@font-face {
  font-family: Geist;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Geist;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Geist-Medium.woff2") format("woff2");
}
@font-face {
  font-family: Geist;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Geist-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: Geist;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Geist-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/GeistMono-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/GeistMono-SemiBold.woff2") format("woff2");
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Geist,
    -apple-system,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--accent-text);
}
a:hover {
  color: #5f3a00;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 6px;
}
.dark :focus-visible {
  outline-color: var(--focus);
}
.dark .form-card :focus-visible {
  outline-color: var(--ink);
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: 0;
  right: 0;
  top: -100px;
  z-index: 100;
  text-align: center;
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.mono {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.dark .mono,
.mono.on-dark {
  color: var(--accent-text-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #2a2d34;
  color: #fff;
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: #fafaf7;
  color: var(--ink);
}
.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-accent:hover {
  background: #f5b755;
  color: var(--on-accent);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.btn-ghost-dark:hover {
  background: var(--dark-surface);
  color: var(--dark-ink);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
}
.btn-sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .container {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
  min-height: 44px;
}
.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.site-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .signin {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
}
@media (max-width: 960px) {
  .site-nav {
    display: none;
  }
}
@media (max-width: 520px) {
  .header-actions .btn {
    display: none;
  }
  .brand span {
    font-size: 17px;
  }
}

/* Hero */
.hero {
  padding: clamp(40px, 7vw, 88px) 0 var(--section);
}
.hero .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.hero .lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 520px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .note {
  font-size: 14px;
  color: var(--muted);
}
.shot-dark {
  border-radius: 20px;
  border: 1px solid var(--dark-line);
  background: var(--dark-bg);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(18, 20, 24, 0.18);
}
.shot-dark img {
  border-radius: 12px;
}
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

/* Facts strip */
.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.facts .container {
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
}
@media (max-width: 900px) {
  .facts .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Feature sections */
.feature {
  padding: var(--section) 0;
}
.feature.tint {
  background: var(--sidebar);
}
.feature .container {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature.flip .container {
  grid-template-columns: 7fr 5fr;
}
.feature.flip .copy {
  order: 2;
}
.copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.copy h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checks svg {
  flex: none;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}
.shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(18, 20, 24, 0.12);
}
@media (max-width: 900px) {
  .feature .container,
  .feature.flip .container {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature.flip .copy {
    order: 0;
  }
}

/* Stage (dark) */
.dark {
  background: var(--dark-bg);
  color: var(--dark-ink);
}
.dark .copy h2 {
  color: var(--dark-ink);
}
.dark .copy p {
  color: var(--dark-muted);
}
.stage-section {
  padding: var(--section) 0;
}
.stage-section .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.stage-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 5vw, 56px);
  align-items: end;
}
.stage-shots {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 24px;
  align-items: start;
}
.stage-shots img {
  border-radius: var(--radius);
  border: 1px solid var(--dark-line);
}
@media (max-width: 900px) {
  .stage-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage-shots {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage-shots .phone-shot {
    display: none;
  }
}
@media (max-width: 600px) {
  .stage-shots .tablet-shot {
    display: none;
  }
  .stage-shots .phone-shot {
    display: block;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Cards */
.cards {
  padding: var(--section) 0 40px;
}
.cards .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cards h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
}
.card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}
@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ */
.faq {
  padding: 32px 0 var(--section);
}
.faq .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 56px;
}
.faq-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-grid h3 {
  font-size: 17px;
  font-weight: 600;
}
.faq-grid p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
@media (max-width: 760px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/* The invitation form */
.invite {
  padding: var(--section) 0;
}
.invite .container {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.invite .copy {
  padding-top: 8px;
}
.invite .checks {
  color: var(--dark-ink);
  margin-top: 8px;
}
.form-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.field label small {
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #8c9099;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 96px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F636C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.field [aria-invalid="true"] {
  border-color: var(--no);
}
.field-error {
  font-size: 14px;
  color: var(--no);
}
.field-error:empty {
  display: none;
}
.form-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.form-alert {
  border-radius: 12px;
  background: var(--no-wash);
  color: var(--no);
  padding: 12px 14px;
  font-size: 15px;
}
.form-alert:empty {
  padding: 0;
}
.form-done {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-done h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.form-done p {
  font-size: 16px;
  color: var(--muted);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .invite .container {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .form-card .btn {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
}
.site-footer .container {
  padding-top: 28px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .brand {
  font-size: 15px;
}
.site-footer .brand svg {
  width: 20px;
  height: 20px;
}
.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer nav a:hover {
  color: var(--ink);
}

@media (min-width: 901px) {
  .stage-shots .phone-shot {
    max-width: 270px;
    margin-left: auto;
  }
}
