:root {
  --bg: #f4eee4;
  --paper: #fffdf8;
  --paper-warm: #fbf5ec;
  --ink: #12100e;
  --ink-soft: #24201c;
  --muted: #685f55;
  --muted-strong: #4d453e;
  --line: #e0d4c6;
  --line-strong: #cdbba8;
  --red: #c92431;
  --red-dark: #8f141b;
  --red-ink: #5d0c12;
  --green: #0e7b69;
  --teal: #0f8374;
  --gold: #e7b84a;
  --blue: #182947;
  --shadow: 0 18px 42px rgba(18, 16, 14, 0.12);
  --soft-shadow: 0 10px 24px rgba(18, 16, 14, 0.08);
  --radius: 8px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 46%, #eadfce 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(205, 187, 168, 0.7);
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(18, 16, 14, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 820;
}

.site-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.site-menu a:hover {
  color: var(--ink);
}

.site-menu a[aria-current="page"] {
  color: var(--red-dark);
}

.nav-cta {
  padding: 0 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(201, 36, 49, 0.22);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  padding: 68px 0 78px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf2 0%, #f7efe3 100%);
  background-size: 44px 44px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 11px;
  background:
    linear-gradient(135deg, transparent 8px, var(--bg) 0) 0 0 / 18px 18px,
    linear-gradient(225deg, transparent 8px, var(--bg) 0) 9px 0 / 18px 18px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(201, 36, 49, 0.22);
  border-radius: 999px;
  background: rgba(201, 36, 49, 0.08);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.inverse {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffe08a;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.13;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions,
.repeat-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 920;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 32px rgba(201, 36, 49, 0.25);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
}

.button.link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button.light {
  background: #fff;
  color: var(--red-dark);
}

.button.outline-light {
  border-color: rgba(255,255,255,0.34);
  color: #fff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 820;
}

.hero-proof span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
}

.hero-device {
  justify-self: end;
}

.phone-shell {
  width: min(390px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 28px 64px rgba(18, 16, 14, 0.28);
  transform: rotate(1.5deg);
}

.phone-screen {
  height: 710px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  background: #fffaf4;
}

.app-topbar {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: linear-gradient(135deg, #15110f, #681116);
  color: #fff;
}

.app-topbar span {
  opacity: 0.78;
  font-size: 12px;
  font-weight: 920;
  text-transform: uppercase;
}

.app-topbar strong {
  max-width: 300px;
  font-size: 30px;
  line-height: 1.02;
}

.app-search {
  margin: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.app-tabs {
  display: flex;
  gap: 6px;
  padding: 0 14px 2px;
}

.app-tabs span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #eee6dd;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 860;
}

.app-tabs .active {
  background: rgba(14, 123, 105, 0.12);
  color: var(--green);
}

.app-receipt,
.mini-pack {
  margin: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.receipt-status {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.receipt-status.confirmed {
  color: var(--green);
  background: rgba(14, 123, 105, 0.12);
}

.receipt-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.app-receipt-title {
  display: block;
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.06;
}

.app-receipt p,
.mini-pack span {
  color: var(--muted);
  line-height: 1.45;
}

.receipt-breakdown {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.receipt-breakdown div {
  padding: 10px;
  border: 1px solid #eadfd3;
  border-radius: 8px;
  background: #fbf5ec;
}

.receipt-breakdown span {
  display: block;
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.receipt-breakdown strong {
  font-size: 14px;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.app-actions span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 860;
}

.mini-pack {
  display: grid;
  gap: 4px;
  border-left: 5px solid var(--green);
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 36px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-track span::before {
  content: "•";
  margin-right: 18px;
  color: var(--gold);
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  margin-inline: auto;
}

.section-heading p:not(.eyebrow),
.copy-stack p,
.home-record-copy p,
.download-grid p,
.repeat-card p {
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.58;
}

.home-record-section {
  padding: 58px 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px, auto;
}

.home-record-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 32px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 36, 49, 0.08), transparent 42%),
    var(--paper-warm);
  box-shadow: var(--soft-shadow);
}

.home-record-copy h2 {
  max-width: 780px;
}

.home-record-copy p {
  max-width: 760px;
  margin-bottom: 0;
}

.home-record-side {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.home-record-stats {
  width: 100%;
  display: grid;
  gap: 10px;
  margin: 0;
}

.home-record-stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(205, 187, 168, 0.75);
}

.home-record-stats div:first-child {
  border-top: 1px solid rgba(205, 187, 168, 0.75);
}

.home-record-stats dt {
  color: var(--muted-strong);
  font-weight: 860;
}

.home-record-stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.download-band {
  padding: 44px 0;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.download-grid h2,
.download-grid p {
  color: #fff;
}

.download-grid p {
  max-width: 720px;
  margin-bottom: 0;
  opacity: 0.86;
}

.split-grid,
.auditor-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.urgent-section {
  background: var(--paper);
}

.copy-stack {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(201, 36, 49, 0.08) 1px, transparent 1px),
    var(--paper-warm);
  background-size: 22px 22px, auto;
}

.pullquote {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  color: var(--ink) !important;
  font-size: 27px !important;
  font-weight: 950;
  line-height: 1.15 !important;
}

.seconds-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.seconds-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: #231f1b;
  color: #fff;
}

.seconds-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.seconds-grid p {
  color: rgba(255,255,255,0.72);
  line-height: 1.48;
}

.format-section {
  background: linear-gradient(180deg, #f8f0e4 0%, #efe2d0 100%);
}

.format-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.format-flow article {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.format-flow article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 20px;
  right: -14px;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.format-flow span {
  display: block;
  margin-bottom: 14px;
  color: var(--red-dark);
  font-weight: 950;
  text-transform: uppercase;
}

.format-flow p {
  margin-bottom: 0;
  color: var(--muted-strong);
  line-height: 1.5;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.people-grid article,
.standards-grid article,
.faq-list details,
.repeat-card,
.auditor-ways article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,248,0.88);
  box-shadow: var(--soft-shadow);
}

.people-grid article,
.standards-grid article,
.auditor-ways article {
  min-height: 190px;
  padding: 24px;
}

.people-grid p,
.standards-grid p,
.auditor-ways p,
.faq-list p {
  color: var(--muted-strong);
  line-height: 1.55;
}

.auditor-section {
  background: var(--paper);
}

.red-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), transparent),
    linear-gradient(135deg, var(--red), var(--red-ink));
  color: #fff;
  box-shadow: 0 20px 48px rgba(143, 20, 27, 0.24);
}

.red-panel p {
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  line-height: 1.58;
}

.auditor-ways {
  display: grid;
  gap: 14px;
}

.auditor-ways span {
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 950;
}

.auditor-ways h3 {
  margin-bottom: 8px;
}

.standards-section {
  background: linear-gradient(180deg, #f5eadb, #f4eee4);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.standards-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.download-repeat {
  padding-top: 32px;
}

.repeat-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(90deg, transparent 0 92%, rgba(201, 36, 49, 0.12) 92% 93%, transparent 93%),
    var(--paper);
}

.repeat-card p {
  margin-bottom: 0;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 920;
}

.faq-list p {
  margin: 12px 0 0;
}

.record-hero {
  position: relative;
  padding: 44px 0 38px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf2 0%, #f2e7d8 100%);
  background-size: 44px 44px, auto;
}

.record-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background:
    linear-gradient(135deg, transparent 7px, var(--ink) 0) 0 0 / 16px 16px,
    linear-gradient(225deg, transparent 7px, var(--ink) 0) 8px 0 / 16px 16px;
}

.record-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 32px;
  align-items: center;
}

.record-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1;
}

.record-hero-copy .lead {
  max-width: 860px;
  color: var(--muted-strong);
  font-size: 19px;
}

.record-source-card {
  padding: 24px;
  border: 1px solid rgba(18, 16, 14, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 0 93%, rgba(201, 36, 49, 0.16) 93% 94%, transparent 94%),
    var(--paper);
  box-shadow: var(--shadow);
}

.record-source-card span,
.record-source-card p {
  color: var(--muted-strong);
}

.record-source-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.record-source-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 38px;
  line-height: 0.98;
}

.record-source-card .button {
  width: fit-content;
  margin-top: 14px;
}

.record-strip {
  padding: 16px 0;
  background: var(--ink);
}

.record-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.record-stats article {
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #211d19;
  color: #fff;
}

.record-stats span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.record-stats strong {
  font-size: 32px;
  line-height: 1;
}

.record-section {
  padding-top: 56px;
  background: var(--paper);
}

.record-section .section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.record-section h2 {
  max-width: 820px;
  font-size: 42px;
}

.record-control-panel {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.record-controls {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(170px, 0.32fr) minmax(210px, 0.34fr);
  gap: 10px;
  align-items: end;
}

.record-control {
  display: grid;
  gap: 7px;
}

.record-control span {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 900;
}

.record-control input,
.record-control select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.record-control input:focus,
.record-control select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(201, 36, 49, 0.12);
}

.record-evidence-note {
  padding: 13px 14px;
  border: 1px solid rgba(201, 36, 49, 0.22);
  border-radius: var(--radius);
  background: rgba(201, 36, 49, 0.06);
}

.record-evidence-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.record-evidence-note p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.42;
}

.record-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.record-meta-row p {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 860;
}

.record-meta-row a,
.record-table a,
.source-list a {
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.record-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--soft-shadow);
}

.record-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  table-layout: fixed;
}

.record-table th,
.record-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.record-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.record-table th:nth-child(1),
.record-table th:nth-child(2),
.record-table th:nth-child(3) {
  width: 18%;
}

.record-table th:nth-child(4),
.record-table th:nth-child(5) {
  width: 15%;
}

.record-table th:nth-child(6) {
  width: 16%;
}

.record-table tbody tr:nth-child(even) {
  background: rgba(247, 239, 227, 0.5);
}

.record-table td strong,
.record-table td small {
  display: block;
}

.record-table td strong {
  font-size: 15px;
  line-height: 1.25;
}

.record-table td small {
  margin-top: 5px;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.35;
}

.record-table a {
  display: inline-block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.record-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.record-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 900;
}

.record-badge.verified {
  border-color: rgba(14, 123, 105, 0.24);
  background: rgba(14, 123, 105, 0.1);
  color: var(--green);
}

.record-badge.warning {
  border-color: rgba(201, 36, 49, 0.24);
  background: rgba(201, 36, 49, 0.09);
  color: var(--red-dark);
}

.record-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.record-empty {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-warm);
  color: var(--muted-strong);
  font-weight: 860;
}

.record-sources-section {
  background: linear-gradient(180deg, #f5eadb, #eee1d0);
}

.record-sources-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--soft-shadow);
}

.source-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.source-list a,
.source-list p {
  overflow-wrap: anywhere;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.source-note {
  border-color: rgba(201, 36, 49, 0.24) !important;
  background: rgba(201, 36, 49, 0.08) !important;
}

.footer-meta a {
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: #eee3d3;
  color: var(--muted-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-grid p {
  max-width: 570px;
  margin-bottom: 0;
  line-height: 1.55;
}

.footer-meta {
  margin-top: 14px !important;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 860;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1050px) {
  .hero-grid,
  .home-record-card,
  .record-hero-grid,
  .download-grid,
  .split-grid,
  .auditor-grid,
  .faq-grid,
  .record-sources-grid,
  .repeat-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-device {
    justify-self: center;
  }

  .phone-shell {
    transform: none;
  }

  .download-actions,
  .repeat-actions,
  .footer-links {
    justify-content: flex-start;
  }

  .seconds-grid,
  .format-flow,
  .people-grid,
  .standards-grid,
  .record-stats {
    grid-template-columns: 1fr 1fr;
  }

  .record-hero h1 {
    font-size: 50px;
  }

  .record-control-panel,
  .record-controls {
    grid-template-columns: 1fr;
  }

  .format-flow article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 72px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .menu-button {
    display: block;
  }

  .site-menu {
    position: absolute;
    inset: 72px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,253,248,0.98);
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: flex;
  }

  .site-menu a {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 8px;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero {
    padding: 54px 0 60px;
  }

  .record-hero {
    padding: 40px 0 42px;
  }

  .section {
    padding: 62px 0;
  }

  h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  h3 {
    font-size: 21px;
  }

  .lead,
  .section-heading p:not(.eyebrow),
  .copy-stack p,
  .home-record-copy p,
  .download-grid p,
  .repeat-card p {
    font-size: 17px;
  }

  .hero-actions .button,
  .home-record-side .button,
  .download-actions .button,
  .repeat-actions .button {
    width: 100%;
  }

  .button.link {
    width: auto;
    justify-content: flex-start;
  }

  .hero-proof {
    gap: 8px;
  }

  .record-source-card {
    padding: 24px;
  }

  .record-hero h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  .record-source-card strong {
    font-size: 34px;
  }

  .record-control-panel {
    position: static;
    padding: 12px;
  }

  .record-controls,
  .record-stats {
    grid-template-columns: 1fr;
  }

  .record-control input,
  .record-control select {
    min-height: 52px;
  }

  .record-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .record-table,
  .record-table tbody,
  .record-table tr,
  .record-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .record-table thead {
    display: none;
  }

  .record-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.92);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
  }

  .record-table tbody tr:nth-child(even) {
    background: rgba(255, 253, 248, 0.92);
  }

  .record-table td {
    display: block;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
  }

  .record-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .record-table td:last-child {
    border-bottom: 0;
  }

  .record-badges {
    margin-bottom: 6px;
  }

  .phone-shell {
    width: 100%;
    padding: 10px;
    border-radius: 24px;
  }

  .phone-screen {
    height: auto;
    border-radius: 18px;
  }

  .app-topbar strong {
    font-size: 24px;
  }

  .app-receipt-title {
    font-size: 22px;
  }

  .seconds-grid,
  .format-flow,
  .people-grid,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .seconds-grid {
    padding: 10px;
  }

  .seconds-grid article {
    min-height: 168px;
  }

  .red-panel,
  .repeat-card,
  .copy-stack {
    padding: 24px;
  }

  .footer-links {
    display: grid;
    gap: 10px;
  }
}
