:root {
  --bg: #f7f4eb;
  --ink: #111819;
  --muted: #687072;
  --line: #e2d6ba;
  --panel: #ffffff;
  --primary: #07979d;
  --primary-dark: #006f75;
  --gold: #d9bb69;
  --gold-light: #f6e79a;
  --soft: #eaf8f8;
  --good: #087f78;
  --warn: #9b6d13;
  --cream: #fffaf0;
  --night: #071315;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(7, 19, 21, 0.94);
  border-bottom: 1px solid rgba(217, 187, 105, 0.22);
  backdrop-filter: blur(12px);
}

.brand,
.nav,
.hero-actions,
.button-row,
.result-header,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-wordmark {
  width: 154px;
  height: auto;
  object-fit: contain;
}

.nav {
  gap: 24px;
  color: #e8dec0;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.site-header .button.ghost {
  background: rgba(217, 187, 105, 0.12);
  border-color: rgba(217, 187, 105, 0.36);
  color: #f7e79b;
}

.site-header .button.ghost:hover {
  background: rgba(217, 187, 105, 0.2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(38, 31, 61, 0.14);
}

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

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

.button.secondary,
.button.ghost {
  background: var(--cream);
  border-color: var(--line);
  color: var(--ink);
}

.button.small {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: 720px;
  padding: 84px clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 12%, rgba(7, 151, 157, 0.14), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(217, 187, 105, 0.12), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #f7f4eb 100%);
  overflow: hidden;
}

.offer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 151, 157, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 151, 157, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.05), #000 18%, #000 76%, rgba(0, 0, 0, 0.08));
  opacity: 0.56;
  pointer-events: none;
  animation: gridPan 22s linear infinite;
}

.hero-copy,
.draft-board {
  position: relative;
  z-index: 1;
}

.offer-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7.8vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
}

.lead {
  max-width: 660px;
  color: #3e3c48;
  font-size: 21px;
  line-height: 1.55;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.56;
  pointer-events: none;
}

.orb-one {
  right: 13%;
  top: 14%;
  width: 90px;
  height: 90px;
  background: rgba(7, 151, 157, 0.18);
  animation: floatDrift 8s ease-in-out infinite;
}

.orb-two {
  left: 4%;
  bottom: 12%;
  width: 120px;
  height: 120px;
  background: rgba(217, 187, 105, 0.12);
  animation: floatDrift 10s ease-in-out infinite reverse;
}

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

.proof-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #383341;
  font-size: 14px;
  font-weight: 800;
  animation: chipIn 520ms ease both;
}

.proof-row span:nth-child(2) {
  animation-delay: 100ms;
}

.proof-row span:nth-child(3) {
  animation-delay: 200ms;
}

.draft-board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(38, 31, 61, 0.16);
  animation: boardRise 700ms ease both;
}

.draft-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 8%, rgba(7, 151, 157, 0.11) 42%, transparent 64%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-115%);
  animation: scanSheen 6.8s ease-in-out infinite;
}

.motion-target {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  transform: translate3d(var(--shift-x), var(--shift-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 220ms ease;
  will-change: transform;
}

.draft-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--night);
  color: #fff;
}

.draft-board-header span,
.draft-output span {
  color: #c9c3d6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-board-header strong {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(7, 151, 157, 0.24);
  color: #fff;
  font-size: 13px;
}

.template-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  background: #fbf9ff;
  border-bottom: 1px solid var(--line);
}

.template-switcher button {
  min-height: 42px;
  border: 1px solid rgba(7, 151, 157, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

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

.template-switcher button.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7, 151, 157, 0.2);
}

.template-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1.12fr) 24px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 20px;
  background: #fff;
}

.flow-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(38, 31, 61, 0.08);
}

.flow-panel span,
.template-control-note span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
}

.source-panel strong {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(7, 151, 157, 0.16);
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  animation: chipIn 520ms ease both;
}

.source-panel strong:nth-child(3) {
  animation-delay: 70ms;
}

.source-panel strong:nth-child(4) {
  animation-delay: 140ms;
}

.source-panel strong:nth-child(5) {
  animation-delay: 210ms;
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}

.template-panel {
  background: #fbf9ff;
  border-color: rgba(7, 151, 157, 0.18);
}

.template-panel ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.template-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.template-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.document-preview {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.document-preview i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(7, 151, 157, 0.72), rgba(217, 187, 105, 0.45));
  animation: lineGrow 850ms ease both;
}

.document-preview i:nth-child(2) {
  animation-delay: 110ms;
}

.document-preview i:nth-child(3) {
  animation-delay: 220ms;
}

.template-control-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 20px;
  background: #f2efe8;
}

.template-control-note span {
  margin: 0 4px 0 0;
}

.template-control-note strong {
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(38, 31, 61, 0.08);
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #fbf9ff;
  border-bottom: 1px solid var(--line);
}

.source-strip span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-strip strong {
  border: 1px solid rgba(7, 151, 157, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(38, 31, 61, 0.07);
  animation: chipIn 520ms ease both;
}

.source-strip strong:nth-child(3) {
  animation-delay: 70ms;
}

.source-strip strong:nth-child(4) {
  animation-delay: 140ms;
}

.source-strip strong:nth-child(5) {
  animation-delay: 210ms;
}

.source-strip strong:nth-child(6) {
  animation-delay: 280ms;
}

.draft-section {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease;
}

.draft-section:hover {
  transform: translateX(4px);
  background: #fbf9ff;
}

.draft-section.active {
  background: #fbf9ff;
}

.draft-section > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
}

.draft-section h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.draft-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.draft-output {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: #f2efe8;
}

.draft-output strong {
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel,
.app-shell,
.feature-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(38, 31, 61, 0.13);
}

.hero-panel {
  overflow: hidden;
}

.panel-top {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: var(--night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #837b99;
}

.draft-preview {
  padding: 28px;
}

.preview-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.preview-line {
  height: 11px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: #e7e1d7;
}

.preview-line.wide {
  width: 92%;
}

.preview-line.short {
  width: 52%;
}

.status-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.status-row span {
  color: var(--muted);
}

.status-row strong {
  color: var(--good);
}

.section,
.workspace-section {
  padding: 72px clamp(20px, 5vw, 72px);
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--night);
  color: #fff;
}

.trust-strip p {
  margin: 0;
  color: #bdb6cf;
  font-weight: 800;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.trust-items span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  color: #f4f0ff;
  font-size: 14px;
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-section,
.demo-section,
.workflow-section,
.outputs-section,
.fit-section,
.risk-section,
.access-section {
  padding: 72px clamp(20px, 5vw, 72px);
}

.problem-section,
.outputs-section,
.access-section {
  background: var(--cream);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.problem-grid article:hover,
.timeline article:hover,
.output-list div:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 151, 157, 0.35);
  box-shadow: 0 18px 44px rgba(38, 31, 61, 0.12);
}

.problem-grid p,
.outputs-copy p,
.risk-section p,
.access-section p {
  color: var(--muted);
  line-height: 1.6;
}

.workflow-section {
  background: #fff;
}

.demo-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(7, 151, 157, 0.1), transparent 34%),
    var(--night);
  color: #fff;
}

.demo-section .section-heading {
  max-width: 900px;
}

.demo-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: #d8d2e7;
  font-size: 18px;
  line-height: 1.6;
}

.video-shell {
  max-width: 1080px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(7, 151, 157, 0.22), rgba(217, 187, 105, 0.14)),
    #0f0d16;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 2px;
  color: #d8d2e7;
  font-size: 14px;
  font-weight: 800;
}

.video-caption span {
  color: #f5f1ff;
}

.video-caption a {
  color: #fff;
  text-decoration: none;
}

.video-caption a:hover {
  text-decoration: underline;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-line {
  position: absolute;
  top: 45px;
  left: 22px;
  right: 22px;
  z-index: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(7, 151, 157, 0), rgba(7, 151, 157, 0.86), rgba(217, 187, 105, 0.72));
  box-shadow: 0 0 26px rgba(7, 151, 157, 0.22);
  transform: scaleX(var(--line-scale, 0));
  transform-origin: left center;
}

.timeline article {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: var(--cream);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 40px;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
  line-height: 1.55;
}

.outputs-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.outputs-copy {
  position: sticky;
  top: 100px;
}

.output-list {
  display: grid;
  gap: 14px;
}

.output-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.output-list strong {
  color: var(--primary);
  font-size: 18px;
}

.output-list span {
  color: var(--muted);
  line-height: 1.55;
}

.fit-section {
  background: var(--night);
  color: #fff;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fit-grid span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f0ff;
  font-size: 18px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease;
}

.fit-grid span:hover {
  transform: translateY(-4px);
  background: rgba(7, 151, 157, 0.18);
}

.risk-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 44px;
  background: #fff;
}

.access-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.access-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(38, 31, 61, 0.09);
}

.access-card p {
  color: var(--muted);
  line-height: 1.6;
}

.access-card .button {
  width: 100%;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal.reveal-card {
  animation: none;
}

.scroll-reveal.reveal-card:nth-child(2) {
  transition-delay: 80ms;
}

.scroll-reveal.reveal-card:nth-child(3) {
  transition-delay: 160ms;
}

.scroll-reveal.reveal-card:nth-child(4) {
  transition-delay: 240ms;
}

.feature-grid article {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--soft);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.feature-grid p,
.contact-band p,
.fine-print,
.status-text {
  color: var(--muted);
  line-height: 1.55;
}

.workspace-section {
  background: var(--cream);
}

.workspace-section.standalone {
  min-height: calc(100vh - 68px);
}

.access-note {
  border: 1px solid rgba(7, 151, 157, 0.18);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #fbf9ff;
  color: #4b435f;
  font-weight: 700;
  line-height: 1.5;
}

.app-page {
  background: var(--cream);
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  padding: 72px clamp(20px, 5vw, 72px);
  background: var(--night);
  color: #fff;
}

.security-section h2 {
  max-width: 680px;
}

.security-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #e7e2f2;
}

.app-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
  box-shadow: none;
}

.draft-workspace {
  align-items: stretch;
}

.sidebar {
  padding: 24px;
  background: #f1ede6;
  border-right: 1px solid var(--line);
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3e3c48;
  line-height: 1.4;
}

.check-label input {
  width: auto;
  margin-top: 3px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #303a4e;
  font-size: 14px;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d0c9bd;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

.sidebar .button {
  width: 100%;
}

.status-text {
  min-height: 24px;
  margin: 12px 0 20px;
  font-size: 14px;
}

.status-text.good {
  color: var(--good);
  font-weight: 700;
}

.status-text.warn {
  color: var(--warn);
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

.tool-panel {
  min-width: 0;
  padding: 24px;
}

.draft-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.draft-topbar h2 {
  margin-bottom: 0;
}

.draft-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 24px;
}

.draft-progress span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.draft-progress span.complete {
  border-color: rgba(217, 187, 105, 0.24);
  background: rgba(217, 187, 105, 0.1);
  color: var(--good);
}

.draft-steps {
  display: grid;
  gap: 14px;
}

.draft-step,
.draft-editor-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.draft-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.draft-step:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 151, 157, 0.28);
  box-shadow: 0 14px 34px rgba(38, 31, 61, 0.1);
}

.draft-step.complete {
  border-color: rgba(217, 187, 105, 0.24);
}

.draft-step div {
  min-width: 0;
}

.draft-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
}

.draft-step h3 {
  margin-bottom: 6px;
}

.draft-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.draft-step .button {
  flex: 0 0 auto;
}

.draft-editor-card {
  padding: 16px;
}

.draft-editor-card textarea {
  min-height: 150px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
}

.status-error {
  color: #9c1c1c;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.tab {
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 13px 14px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.result-box {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.result-header {
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.result-header h3 {
  margin: 0;
}

pre {
  max-height: 480px;
  margin: 0;
  padding: 18px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--night);
  color: #fff;
}

.contact-band p {
  max-width: 680px;
  color: #d8deeb;
}

.footer {
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.reveal-card {
  animation: revealUp 560ms ease both;
}

.reveal-card:nth-child(2) {
  animation-delay: 90ms;
}

.reveal-card:nth-child(3) {
  animation-delay: 180ms;
}

.reveal-card:nth-child(4) {
  animation-delay: 270ms;
}

@media (max-width: 920px) {
  .hero,
  .app-shell,
  .feature-grid,
  .problem-grid,
  .timeline,
  .outputs-section,
  .risk-section,
  .access-section {
    grid-template-columns: 1fr;
  }

  .security-section {
    grid-template-columns: 1fr;
  }

  .outputs-copy {
    position: static;
  }

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

  .trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-items {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .timeline-line {
    display: none;
  }

  .video-shell {
    border-radius: 20px;
    padding: 10px;
  }

  .draft-topbar,
  .draft-step {
    align-items: stretch;
    flex-direction: column;
  }

  .draft-step .button {
    width: 100%;
  }

  .template-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    min-height: 12px;
    transform: rotate(90deg);
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header .button {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .fit-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }

  .video-caption {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@keyframes boardRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  from {
    opacity: 0;
    transform: scaleX(0.48);
    transform-origin: left center;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes floatDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(14px, -10px, 0) scale(1.06);
  }
}

@keyframes gridPan {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 88px 44px, 88px 44px;
  }
}

@keyframes scanSheen {
  0%,
  42% {
    opacity: 0;
    transform: translateX(-115%);
  }
  52% {
    opacity: 1;
  }
  72%,
  100% {
    opacity: 0;
    transform: translateX(115%);
  }
}
