/* Hussh Personal Business Agent — customer web app.
   Apple-aligned chrome: system type, monochrome interface, one accent,
   generous whitespace, iPhone-first single column. This is a money /
   agent-action surface, so the Norman gate governs the action elements:
   every action is visible and labeled, feedback is text (never color
   alone), and targets are at least 44px. */

:root {
  --ink: #1d1d1f;
  --secondary: #6e6e73;
  --hairline: #d2d2d7;
  --surface: #f5f5f7;
  --accent: #0066cc;
  --accent-ink: #ffffff;
  --danger: #b42318;
  --ok-border: #1a7f37;
  --error-bg: #fff4f2;
  --ok-bg: #f0faf2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.site-header, .site-footer, main {
  max-width: 680px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header { padding-top: 20px; }
.wordmark {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--secondary); margin: 0;
}
.site-footer {
  padding-top: 32px; padding-bottom: 40px;
  color: var(--secondary); font-size: 14px;
}
main { padding-top: 24px; padding-bottom: 24px; }

h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 12px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
.lede { font-size: 17px; color: var(--ink); margin: 0 0 16px; }
.note, .help { color: var(--secondary); font-size: 14px; }
.help { margin: 4px 0 14px; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.button {
  display: inline-block; min-height: 44px; line-height: 44px;
  padding: 0 22px; border: 0; border-radius: 980px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 17px; text-decoration: none; cursor: pointer;
  text-align: center;
}
.button[disabled] { background: var(--hairline); color: var(--secondary); cursor: not-allowed; }
.button-danger { background: var(--danger); }
button:not(.button) {
  min-height: 44px; padding: 0 18px; border-radius: 980px;
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 15px; cursor: pointer;
}
.primary-action { margin: 24px 0 8px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 8px 10px 0; vertical-align: top; }
tbody tr, thead tr { border-bottom: 1px solid var(--hairline); }
.prices th { font-weight: 400; }
.prices td { font-weight: 600; white-space: nowrap; text-align: right; }

fieldset { border: 0; padding: 0; margin: 28px 0 0; }
fieldset.inner { margin-top: 16px; }
legend { font-size: 21px; font-weight: 600; padding: 0; margin-bottom: 8px; }
fieldset.inner legend { font-size: 17px; }
.section-note { color: var(--secondary); margin: 0 0 8px; }

label { display: block; font-weight: 600; font-size: 15px; margin: 16px 0 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="password"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; font-size: 17px;
  border: 1px solid var(--hairline); border-radius: 10px; background: #fff;
  color: var(--ink);
}

.feedback { border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.feedback h2 { margin-top: 0; font-size: 17px; }
.demo-notice { background: #fef3c7; border: 2px solid #b45309; border-radius: 8px; padding: 0.9rem 1.1rem; margin: 0 0 1.1rem; text-align: center; }
.demo-notice p { margin: 0; color: #78350f; font-size: 1.05rem; line-height: 1.45; }
.feedback-error { background: var(--error-bg); border: 1px solid var(--danger); }
.feedback-ok { background: var(--ok-bg); border: 1px solid var(--ok-border); }
.field-error { color: var(--danger); font-size: 14px; margin: 4px 0 0; }

.ssn-step { background: var(--surface); border-radius: 12px; padding: 16px; }
.feedforward { background: var(--surface); border-radius: 12px; padding: 4px 16px 16px; }
.point-of-no-return { font-size: 17px; }

.artifact { border-top: 1px solid var(--hairline); padding-top: 8px; margin-top: 24px; }
.artifact-body { white-space: pre-wrap; font-size: 15px; }
.hash { color: var(--secondary); font-size: 12px; word-break: break-all; }

.staging-banner {
  background: var(--error-bg); border: 1px solid var(--danger);
  border-radius: 12px; padding: 4px 16px; margin: 16px 0;
}

.paths { display: grid; gap: 16px; }
@media (min-width: 560px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { background: var(--surface); border-radius: 12px; padding: 4px 16px 12px; }

dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; }
dt { font-weight: 600; }
dd { margin: 0; }

.steps li { margin-bottom: 10px; }

.audit-list { list-style: none; margin: 0; padding: 0; }
.audit-list li {
  display: flex; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.audit-when {
  flex: none; width: 128px; color: var(--secondary); font-size: 14px;
  font-variant-numeric: tabular-nums; padding-top: 1px;
}
.audit-what { font-size: 15px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7; --secondary: #a1a1a6; --hairline: #424245;
    --surface: #1c1c1e; --accent: #2997ff;
  }
  body { background: #000000; }
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="date"], input[type="password"], select, textarea {
    background: #1c1c1e; color: var(--ink);
  }
  button:not(.button) { background: transparent; color: var(--ink); border-color: var(--ink); }
  .feedback-error { background: #2a1210; }
  .feedback-ok { background: #0f2416; }
  .staging-banner { background: #2a1210; }
}
