@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Patrick+Hand&display=swap");

:root {
  --paper: #f6f1e8;
  --paper-deep: #eee4d4;
  --cream: #fbf8f2;
  --white: #fffefa;
  --ink: #171714;
  --muted: #68645e;
  --pencil: #aaa195;
  --line: rgba(35, 30, 24, 0.12);
  --warm: #a85e34;
  --warm-soft: #d9b68e;
  --radius-lg: 28px;
  --radius-md: 19px;
  --shadow: 0 20px 60px rgba(62, 44, 25, 0.1);
  --soft-shadow: 0 9px 30px rgba(62, 44, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.38)),
    url("assets/paper-texture.svg"),
    var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-white {
  background:
    linear-gradient(rgba(255,255,255,.86), rgba(255,255,255,.86)),
    url("assets/paper-texture.svg");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0 0;
  pointer-events: none;
}

.nav {
  min-height: 62px;
  padding: 8px 10px 8px 18px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  background: rgba(255, 254, 250, 0.86);
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(48, 38, 27, 0.12);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 25px;
  line-height: 1;
}

.brand-mark {
  color: var(--warm);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: block;
  border-radius: 7px;
  object-fit: cover;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--ink);
  transition: right 180ms ease;
}

.nav-links a:hover::after {
  right: 0;
}

.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav > .button {
  justify-self: end;
}

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

.button-dark {
  color: #fff;
  background: #161713;
  box-shadow:
    0 8px 20px rgba(18, 18, 15, 0.2),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.button-dark:hover {
  box-shadow:
    0 13px 28px rgba(18, 18, 15, 0.24),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.button-light {
  background: rgba(255, 254, 250, 0.84);
  border-color: rgba(23, 23, 20, 0.18);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}

.play {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  line-height: 1;
}

.hero {
  min-height: 720px;
  padding-top: 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(64px, 7vw, 104px);
}

h1 em {
  position: relative;
  font-weight: 400;
}

h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: -5px;
  bottom: -4px;
  height: 7px;
  border-top: 3px solid var(--warm);
  border-radius: 50%;
  transform: rotate(-3deg);
}

h2 {
  margin: 0;
  font-size: clamp(44px, 4.5vw, 69px);
}

.hero-intro {
  max-width: 575px;
  margin: 29px 0 21px;
  color: #3e3a35;
  font-size: 17px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 0 0 27px;
  color: #4d4841;
  font-size: 12px;
  font-weight: 600;
}

.proof-row span::first-letter {
  color: var(--warm);
}

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

.hero-art {
  min-height: 530px;
  position: relative;
}

.lined-sheet,
.brand-brief,
.sticky-note {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 31px,
      rgba(91, 80, 66, .12) 32px
    ),
    #f5ebd9;
  border: 1px solid rgba(91, 73, 52, .13);
  box-shadow: var(--shadow);
}

.back-sheet {
  position: absolute;
  inset: 10% 5% 6% 5%;
  border-radius: 20px;
  transform: rotate(-4deg);
}

.brand-brief {
  position: absolute;
  inset: 0 3% 0 8%;
  padding: 40px 45% 34px 42px;
  border-radius: 22px;
  transform: rotate(1.2deg);
}

.brand-brief h2 {
  margin-bottom: 22px;
  font-family: "Patrick Hand", cursive;
  font-size: 38px;
  letter-spacing: .01em;
}

.brief-list {
  margin: 0;
}

.brief-list div {
  margin-bottom: 14px;
}

.brief-list dt {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.brief-list dd {
  margin: 2px 0 0;
  font-family: "Patrick Hand", cursive;
  font-size: 18px;
  line-height: 1.08;
}

.polaroid {
  position: absolute;
  top: 125px;
  right: 31px;
  width: 39%;
  margin: 0;
  padding: 10px 10px 22px;
  background: #fff;
  box-shadow: 0 18px 30px rgba(58, 43, 28, .18);
  transform: rotate(5deg);
}

.polaroid img {
  width: 100%;
  aspect-ratio: .84;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(.82) contrast(.98);
}

.polaroid figcaption {
  padding-top: 8px;
  font-family: "Patrick Hand", cursive;
  font-size: 22px;
  text-align: center;
}

.paperclip {
  position: absolute;
  width: 19px;
  height: 57px;
  border: 3px solid #8f8981;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px #f5ebd9;
}

.paperclip-large {
  top: -18px;
  right: 42px;
  transform: rotate(-2deg);
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 150px;
  min-height: 154px;
  padding: 27px 21px;
  border-radius: 3px;
  font-family: "Patrick Hand", cursive;
  font-size: 21px;
  line-height: 1.05;
  transform: rotate(-5deg);
}

.hero-note span {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-size: 28px;
}

.pencil {
  position: absolute;
  width: 23px;
  height: 350px;
  right: 5px;
  bottom: -22px;
  background:
    linear-gradient(to right, #d08d32 0 25%, #eca64a 25% 74%, #bc7622 74% 100%);
  border-radius: 8px 8px 2px 2px;
  box-shadow: 0 14px 25px rgba(73, 51, 27, .22);
  transform: rotate(14deg);
}

.pencil::before {
  content: "";
  position: absolute;
  top: -48px;
  left: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 49px solid #e5c7a1;
}

.pencil::after {
  content: "";
  position: absolute;
  top: -49px;
  left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 18px solid #28241f;
}

.problem-grid {
  display: grid;
  grid-template-columns: .8fr 1.7fr;
  gap: 60px;
  align-items: stretch;
}

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

.section-copy p:not(.eyebrow) {
  max-width: 565px;
  margin: 24px 0 0;
  color: var(--muted);
}

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

.feature-card {
  min-height: 310px;
  padding: 29px 27px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(247,243,236,.92), rgba(247,243,236,.92)),
    url("assets/paper-texture.svg");
}

.feature-card h3 {
  margin: auto 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sketch-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 46px;
  display: grid;
  place-items: center;
  font-family: "Patrick Hand", cursive;
  font-size: 36px;
}

.question-icon {
  border: 2px solid var(--warm);
  border-radius: 50%;
  color: var(--warm);
  transform: rotate(-6deg);
}

.scribble-icon {
  position: relative;
}

.scribble-icon::before,
.scribble-icon::after {
  content: "";
  position: absolute;
  inset: 12px 7px;
  border: 2px solid var(--ink);
  border-radius: 47% 53% 45% 55%;
  transform: rotate(35deg);
}

.scribble-icon::after {
  inset: 7px 13px;
  transform: rotate(-42deg);
}

.waves-icon {
  font-size: 48px;
  transform: rotate(90deg);
}

.system-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 50px;
  align-items: start;
}

.compact h2 {
  font-size: clamp(42px, 4vw, 58px);
}

.compact p:not(.eyebrow) {
  font-size: 14px;
}

.steps {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36px;
  border-top: 1px dashed var(--pencil);
}

.steps li {
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 0;
  left: 9px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-deep);
  font-size: 12px;
  font-weight: 700;
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: var(--white);
  font-family: "Patrick Hand", cursive;
  font-size: 39px;
}

.steps h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.credibility {
  padding-top: 34px;
  padding-bottom: 34px;
}

.credibility-panel {
  padding: 36px 38px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  border: 1px solid rgba(100, 78, 51, .13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(247,240,229,.84), rgba(247,240,229,.84)),
    url("assets/paper-texture.svg");
}

.credibility-intro {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.proof-card {
  padding-top: 24px;
}

.proof-icon {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
}

.proof-card h3 {
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.25;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.command-room {
  overflow: hidden;
}

.command-grid {
  position: relative;
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 36px;
  align-items: center;
}

.command-copy h2 {
  font-size: clamp(43px, 4vw, 60px);
}

.desk-photo {
  width: 175px;
  margin: 54px 0 -120px -70px;
  padding: 8px 8px 24px;
  background: white;
  box-shadow: 0 18px 38px rgba(58, 43, 28, .16);
  transform: rotate(9deg);
}

.desk-photo img {
  width: 100%;
  aspect-ratio: .86;
  object-fit: cover;
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 20, .12);
  border-radius: 20px;
  background: rgba(255, 254, 250, .95);
  box-shadow: 0 20px 65px rgba(48, 38, 27, .14);
}

.app-topbar {
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.app-brand {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.app-topbar button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 10px;
}

.app-body {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  min-height: 405px;
}

.conversation {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.message {
  padding: 14px;
  border-radius: 13px;
  font-size: 11px;
}

.message strong {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
}

.message p {
  margin: 0;
  color: #47433d;
}

.message-user {
  background: #f1eee8;
}

.message-agent {
  border: 1px solid var(--line);
  background: white;
}

.message-input {
  height: 41px;
  margin-top: auto;
  padding: 0 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #aaa49a;
  font-size: 10px;
}

.message-input b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
}

.brand-canvas {
  padding: 18px;
}

.brand-canvas h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

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

.canvas-grid article {
  min-height: 105px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #faf7f1;
}

.canvas-grid span {
  font-size: 9px;
  font-weight: 800;
}

.canvas-grid p,
.canvas-grid ul {
  margin: 9px 0 0;
  color: #4a463f;
  font-size: 10px;
  line-height: 1.4;
}

.canvas-grid ul {
  padding-left: 14px;
}

.canvas-grid small {
  display: block;
  margin-top: 9px;
  color: #918a80;
  font-size: 8px;
}

.canvas-wide {
  grid-column: span 2;
}

.agent-strip {
  padding: 11px 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line);
  background: #faf8f4;
}

.agent-strip > span {
  display: grid;
  grid-template-columns: 27px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 7px;
  font-size: 8px;
  font-weight: 700;
}

.agent-strip small {
  color: #989188;
  font-size: 7px;
  font-weight: 400;
}

.agent {
  grid-row: span 2;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-style: normal;
  font-size: 9px;
}

.green { background: #dcebb8; }
.blue { background: #cce4ee; }
.purple { background: #e3d5f1; }
.yellow { background: #f4dfad; }

.strategy-note {
  position: absolute;
  z-index: 3;
  right: -78px;
  top: 115px;
  width: 155px;
  min-height: 190px;
  padding: 30px 22px;
  border-radius: 2px;
  font-family: "Patrick Hand", cursive;
  font-size: 24px;
  line-height: 1.05;
  transform: rotate(7deg);
}

.drawn-arrow {
  display: block;
  margin-top: 11px;
  font-size: 34px;
  text-align: right;
}

.outputs {
  padding: 55px 0;
  background:
    linear-gradient(rgba(248,243,235,.9), rgba(248,243,235,.9)),
    url("assets/paper-texture.svg");
}

.outputs-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 45px;
  align-items: center;
}

.output-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}

.output-list span {
  min-height: 64px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.6);
  text-align: center;
  font-size: 10px;
  font-weight: 600;
}

.campaigns {
  background: #f3eadc;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 220px 1.15fr 1.65fr;
  gap: 25px;
  align-items: center;
}

.campaign-sheet {
  padding: 24px 26px;
  border: 1px solid rgba(91, 73, 52, .15);
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 25px,
      rgba(91, 80, 66, .13) 26px
    ),
    #f5e9d4;
  box-shadow: var(--soft-shadow);
  font-family: "Patrick Hand", cursive;
  transform: rotate(-1.5deg);
}

.campaign-sheet h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 400;
}

.campaign-sheet p,
.campaign-sheet ol {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.22;
}

.campaign-sheet ol {
  padding-left: 18px;
}

.campaign-sheet small {
  display: block;
  margin-top: 12px;
  font-size: 11px;
}

.post-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
}

.post-card {
  position: relative;
  min-height: 275px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 3px;
  box-shadow: 0 15px 26px rgba(60, 44, 28, .15);
}

.post-card::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 20px;
  top: -8px;
  left: 50%;
  background: rgba(232, 209, 167, .75);
  transform: translateX(-50%) rotate(-2deg);
}

.post-card p {
  margin: 0;
  font-size: 25px;
  line-height: 1.18;
}

.post-card small {
  font-size: 8px;
}

.post-dark {
  color: white;
  background: #171714;
}

.post-paper {
  background:
    linear-gradient(rgba(244,238,226,.94), rgba(244,238,226,.94)),
    url("assets/paper-texture.svg");
}

.handwritten {
  font-family: "Patrick Hand", cursive;
}

.ladder {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ladder span {
  width: calc(54% + var(--index, 0) * 8%);
  margin-bottom: 7px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 9px;
  text-align: center;
}

.ladder span:nth-child(1){ width: 100%; }
.ladder span:nth-child(2){ width: 87%; }
.ladder span:nth-child(3){ width: 74%; }
.ladder span:nth-child(4){ width: 62%; }
.ladder span:nth-child(5){ width: 50%; }

.post-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  font-size: 14px;
}

.audience {
  padding: 48px 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 45px;
  align-items: center;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.audience-list span {
  min-height: 100px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 21px;
}

.audience-list span:last-child {
  border-right: 0;
}

.audience-list b {
  font-size: 11px;
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.cta-shell {
  min-height: 380px;
  position: relative;
  display: grid;
  place-items: center;
}

.cta-copy {
  max-width: 700px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-copy h2 {
  font-size: clamp(51px, 5vw, 75px);
}

.cta-copy p {
  max-width: 620px;
  margin: 22px auto 27px;
  color: var(--muted);
}

.centered {
  justify-content: center;
}

.closing-photo {
  position: absolute;
  left: -56px;
  bottom: -74px;
  width: 300px;
  margin: 0;
  transform: rotate(-4deg);
}

.closing-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(.78) contrast(.98);
}

.closing-note {
  position: absolute;
  right: 40px;
  bottom: 12px;
  width: 180px;
  min-height: 170px;
  padding: 30px 24px;
  border-radius: 2px;
  font-family: "Patrick Hand", cursive;
  font-size: 23px;
  line-height: 1.1;
  transform: rotate(4deg);
}

.closing-note span {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-size: 30px;
}

.footer {
  padding: 28px 0 36px;
  background: #171714;
  color: #f6f1e8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
}

.footer p {
  margin: 0;
  color: rgba(246, 241, 232, .65);
  font-size: 12px;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .problem-grid,
  .system-layout,
  .command-grid,
  .outputs-grid,
  .campaign-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    gap: 38px;
  }

  .section-copy p:not(.eyebrow) {
    max-width: 700px;
  }

  .credibility-panel {
    grid-template-columns: 1fr 1fr;
  }

  .proof-card {
    border-top: 1px solid var(--line);
  }

  .command-grid {
    padding-right: 65px;
  }

  .command-copy {
    max-width: 650px;
  }

  .desk-photo {
    display: none;
  }

  .strategy-note {
    right: -15px;
    top: 58px;
  }

  .output-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .campaign-grid {
    gap: 38px;
  }

  .campaign-sheet {
    max-width: 680px;
  }

  .post-stack {
    max-width: 850px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 68px 0;
  }

  .site-header {
    padding-top: 10px;
  }

  .nav {
    min-height: 56px;
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(57px, 14vw, 83px);
  }

  .hero-art {
    min-height: 485px;
  }

  .brand-brief {
    inset: 0 0 0 3%;
    padding-right: 43%;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 230px;
  }

  .sketch-icon {
    margin-bottom: 25px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps::before {
    left: 33px;
    right: auto;
    top: 10px;
    bottom: 10px;
    border-top: 0;
    border-left: 1px dashed var(--pencil);
  }

  .steps li {
    min-height: 142px;
    padding-left: 100px;
    text-align: left;
  }

  .step-number {
    left: 0;
    top: 20px;
  }

  .step-icon {
    position: absolute;
    left: 30px;
    top: 0;
    margin: 0;
  }

  .credibility-panel {
    grid-template-columns: 1fr;
  }

  .credibility-intro {
    margin-top: 0;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

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

  .agent-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .strategy-note {
    display: none;
  }

  .command-grid {
    padding-right: 0;
  }

  .output-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .post-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .audience-list span:nth-child(3) {
    border-right: 0;
  }

  .audience-list span:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .closing-photo,
  .closing-note {
    opacity: .3;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .brand {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .nav {
    padding-left: 14px;
  }

  .nav .button {
    padding-inline: 13px;
  }

  .nav .button span:first-child {
    display: none;
  }

  .brand {
    font-size: 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-art {
    min-height: 520px;
  }

  .brand-brief {
    inset: 10px 0 0;
    padding: 30px 28px 195px;
    transform: rotate(.5deg);
  }

  .brand-brief h2 {
    font-size: 32px;
  }

  .brief-list dd {
    font-size: 16px;
  }

  .polaroid {
    top: auto;
    right: 24px;
    bottom: 20px;
    width: 42%;
  }

  .hero-note {
    left: 5px;
    bottom: 9px;
    width: 128px;
    min-height: 130px;
    padding: 23px 17px;
    font-size: 18px;
  }

  .pencil {
    display: none;
  }

  .feature-cards {
    gap: 10px;
  }

  .credibility-panel {
    padding: 28px 22px;
  }

  .app-body {
    min-height: auto;
  }

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

  .canvas-wide {
    grid-column: auto;
  }

  .agent-strip {
    grid-template-columns: 1fr;
  }

  .output-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-stack {
    gap: 9px;
  }

  .post-card {
    min-height: 225px;
    padding: 19px 14px;
  }

  .post-card p {
    font-size: 21px;
  }

  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-list span {
    border-bottom: 1px solid var(--line);
  }

  .audience-list span:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .audience-list span:nth-child(even) {
    border-right: 0;
  }

  .audience-list span:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .closing-photo {
    width: 240px;
    left: -100px;
  }

  .closing-note {
    width: 150px;
    right: -38px;
  }
}

/* Private-beta home: retains the existing editorial materials, with a shorter,
   more deliberate page and mobile-first spacing. */
.private-beta-page .skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.private-beta-page .skip-link:focus { transform: translateY(0); }
.beta-hero { min-height: min(720px, 100dvh); }
.beta-line { margin: 0 0 28px; color: var(--muted); font-size: 13px; font-weight: 600; }
.beta-line span { color: var(--warm); }
.brief-stamp { width: max-content; margin: 0 0 12px; padding: 4px 7px; color: var(--warm); border: 1px solid currentColor; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-2deg); }
.beta-brief .brief-list div { margin-bottom: 18px; }
.beta-intro { padding-block: 104px; }
.beta-intro-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); gap: clamp(48px, 8vw, 112px); align-items: end; }
.beta-steps { margin: 0; padding: 0; display: grid; gap: 0; list-style: none; border-top: 1px solid var(--line); }
.beta-steps li { display: grid; grid-template-columns: 44px minmax(150px, .8fr) 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.beta-steps span { color: var(--warm); font-family: "Patrick Hand", cursive; font-size: 20px; }
.beta-steps h3 { margin: 0; font-size: 16px; line-height: 1.2; }
.beta-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.beta-cta { padding-top: 62px; }
.beta-cta-shell { align-items: center; }
.beta-cta-shell .cta-copy { padding-block: 32px; }
.beta-availability { margin: 23px 0; color: var(--warm) !important; font-size: 13px; font-weight: 700; }
.private-beta-page .button:focus-visible, .private-beta-page a:focus-visible { outline: 3px solid rgba(168, 94, 52, .45); outline-offset: 3px; }
.beta-nav-links { gap: 24px; }
.thought-leader-roadmap { background: linear-gradient(rgba(239,228,212,.88), rgba(239,228,212,.88)), url("assets/paper-texture.svg"); }
.roadmap-grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 9vw, 132px); align-items: start; }
.roadmap-intro { position: sticky; top: 110px; }
.roadmap-caption { margin-top: 30px !important; color: var(--warm) !important; font-family: "Patrick Hand", cursive; font-size: 22px !important; line-height: 1.1; transform: rotate(-1deg); }
.roadmap-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.roadmap-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.roadmap-no { color: var(--warm); font-family: "Patrick Hand", cursive; font-size: 25px; }
.roadmap-state { margin: 0 0 6px; color: var(--rust); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.roadmap-list h3 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-size: 31px; font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.roadmap-list div > p:last-child { max-width: 470px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.harness-story { overflow: hidden; }
.harness-grid { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.harness-board { overflow: hidden; border: 1px solid rgba(35,30,24,.14); border-radius: 21px; background: #1c1c18; box-shadow: var(--shadow); color: #f8f3ea; transform: rotate(.5deg); }
.harness-board-head { padding: 13px 18px; display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(248,243,234,.62); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.harness-flow { margin: 0; padding: 18px 22px; display: grid; gap: 6px; list-style: none; }
.harness-flow li { padding: 12px 0; display: grid; grid-template-columns: 38px 1fr; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.11); }
.harness-flow li:last-child { border-bottom: 0; }
.harness-flow i { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #e0b283; font-style: normal; font-size: 9px; font-weight: 700; }
.harness-flow h3 { margin: 0; font-size: 14px; }
.harness-flow p { margin: 3px 0 0; color: rgba(248,243,234,.65); font-size: 11px; line-height: 1.45; }
.harness-note { margin: 0; padding: 17px 22px 21px; border-top: 1px solid rgba(255,255,255,.14); color: #e0b283; font-family: "Patrick Hand", cursive; font-size: 18px; line-height: 1.15; }
.use-cases { background: linear-gradient(rgba(246,241,232,.58), rgba(246,241,232,.58)), url("assets/paper-texture.svg"); }
.use-case-heading { max-width: 700px; margin-bottom: 46px; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.use-case-grid article { min-height: 280px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,254,250,.65); box-shadow: 0 10px 30px rgba(62,44,25,.05); }
.use-case-grid span { color: var(--warm); font-family: "Patrick Hand", cursive; font-size: 23px; }
.use-case-grid h3 { margin: auto 0 10px; font-family: "Instrument Serif", Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.03; letter-spacing: -.025em; }
.use-case-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.content-samples { scroll-margin-top: 96px; background: linear-gradient(rgba(246,241,232,.72), rgba(246,241,232,.72)), url("assets/paper-texture.svg"); }
.samples-heading { margin-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: clamp(36px, 8vw, 110px); align-items: end; }
.samples-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.samples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; align-items: start; }
.samples-grid.samples-grid-two { width: min(900px, 100%); margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 44px); }
.samples-grid.samples-grid-three { width: min(1080px, 100%); margin-inline: auto; }
.sample-card { min-width: 0; margin: 0; }
.sample-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #eee5d7; border: 1px solid rgba(35,30,24,.12); border-radius: 4px; box-shadow: 0 16px 36px rgba(62,44,25,.1); transition: transform 220ms ease, box-shadow 220ms ease; }
.sample-card:nth-child(odd) img { transform: rotate(-.45deg); }
.sample-card:nth-child(even) img { transform: rotate(.45deg); }
.sample-card:hover img { transform: translateY(-5px) rotate(0); box-shadow: 0 23px 44px rgba(62,44,25,.14); }
.sample-card figcaption { padding: 12px 3px 0; display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; }
.sample-card figcaption span { color: var(--warm); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sample-card figcaption strong { color: var(--ink); font-weight: 600; text-align: right; }
.sample-card-wide { grid-column: auto; width: auto; margin: 0; }
.sample-card-wide img { aspect-ratio: 4 / 5; object-fit: cover; }
.samples-note { margin: 30px auto 0; color: var(--muted); font-size: 10px; text-align: center; }

@media (max-width: 820px) {
  .beta-nav-links { display: none; }
  .beta-hero { min-height: auto; padding-top: 68px; }
  .beta-intro { padding-block: 74px; }
  .beta-intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .roadmap-grid, .harness-grid { grid-template-columns: 1fr; gap: 44px; }
  .roadmap-intro { position: static; }
  .samples-heading { grid-template-columns: 1fr; gap: 24px; }
  .samples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .samples-grid.samples-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .samples-grid.samples-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .samples-grid-three .sample-card:last-child { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
  .sample-card-wide { grid-column: auto; }
  .use-case-grid { grid-template-columns: 1fr; }
  .use-case-grid article { min-height: 220px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { padding-top: 10px; }
  .nav { min-height: 54px; padding: 7px 8px 7px 14px; gap: 10px; }
  .brand { font-size: 23px; }
  .nav .button-small { min-height: 38px; padding-inline: 12px; font-size: 11px; }
  .beta-hero { padding-top: 48px; padding-bottom: 68px; }
  .hero-intro { margin-top: 22px; font-size: 16px; }
  .hero-art { min-height: 430px; margin-top: 8px; }
  .brand-brief { inset: 0 1% 0 4%; padding: 30px 44% 23px 25px; }
  .brand-brief h2 { margin-bottom: 15px; font-size: 31px; }
  .brief-stamp { font-size: 7px; }
  .brief-list dd { font-size: 15px; }
  .polaroid { top: 110px; right: 18px; width: 42%; padding: 7px 7px 15px; }
  .polaroid figcaption { padding-top: 5px; font-size: 17px; }
  .hero-note { left: -3px; bottom: 14px; width: 122px; min-height: 126px; padding: 19px 16px; font-size: 18px; }
  .pencil { right: 0; height: 268px; }
  .beta-intro { padding-block: 64px; }
  .beta-steps li { grid-template-columns: 34px 1fr; gap: 8px 14px; }
  .beta-steps p { grid-column: 2; }
  .beta-cta { padding-top: 30px; }
  .beta-cta-shell { row-gap: 26px; }
  .beta-cta-shell .cta-copy { grid-row: 1; }
  .beta-cta-shell .closing-photo {
    position: relative;
    grid-row: 2;
    left: auto;
    bottom: auto;
    width: min(240px, 72vw);
    margin: 0 auto -34px;
    opacity: .78;
  }
  .beta-cta-shell .closing-note { display: none; }
  .thought-leader-roadmap, .harness-story, .use-cases { padding-block: 64px; }
  .content-samples { padding-block: 64px; }
  .samples-heading { margin-bottom: 30px; }
  .samples-grid { grid-template-columns: 1fr; gap: 28px; }
  .samples-grid.samples-grid-two { width: min(100%, 500px); grid-template-columns: 1fr; }
  .samples-grid.samples-grid-three { width: min(100%, 500px); grid-template-columns: 1fr; }
  .samples-grid-three .sample-card:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  .sample-card-wide { grid-column: auto; margin-top: 0; }
  .sample-card-wide img { aspect-ratio: 4 / 5; }
  .sample-card figcaption { font-size: 9px; }
  .roadmap-list li { grid-template-columns: 38px 1fr; gap: 12px; padding: 25px 0; }
  .roadmap-list h3 { font-size: 27px; }
  .harness-board { margin-inline: -2px; transform: none; }
  .harness-board-head { font-size: 8px; }
  .harness-flow { padding: 14px 16px; }
  .harness-note { padding: 15px 16px 18px; }
  .use-case-heading { margin-bottom: 28px; }
  .use-case-grid article { min-height: 205px; padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Multi-platform publishing */
.platforms {
  position: relative;
  overflow: hidden;
}

.platforms-shell {
  position: relative;
}

.platforms-intro {
  display: grid;
  grid-template-columns: minmax(0, 720px) 190px;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 44px;
}

.platform-note {
  min-height: 156px;
  padding: 25px 22px;
  align-self: end;
  border: 1px solid rgba(91, 73, 52, .13);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 28px,
      rgba(91, 80, 66, .12) 29px
    ),
    #f2e5cf;
  box-shadow: var(--soft-shadow);
  font-family: "Patrick Hand", cursive;
  font-size: 22px;
  line-height: 1.05;
  transform: rotate(3deg);
}

.platform-note span {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  text-align: right;
}

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

.platform-card {
  min-height: 390px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(rgba(249, 246, 240, .93), rgba(249, 246, 240, .93)),
    url("assets/paper-texture.svg");
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.platform-card:hover {
  transform: translateY(-5px) rotate(-.25deg);
  box-shadow: var(--soft-shadow);
}

.platform-card:nth-child(even):hover {
  transform: translateY(-5px) rotate(.25deg);
}

.platform-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.platform-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 23, 20, .12);
  border-radius: 13px;
  background: var(--white);
}

.platform-icon svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.platform-icon svg rect,
.platform-icon svg circle {
  fill: none;
}

.platform-icon svg .filled {
  fill: currentColor;
  stroke: none;
}

.platform-x-mark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.platform-status {
  position: relative;
  padding-left: 12px;
  color: #6e695f;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.platform-status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d9455;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(125, 148, 85, .14);
}

.platform-card h3 {
  margin: 34px 0 9px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.platform-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.platform-preview {
  min-height: 114px;
  margin-top: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(35, 30, 24, .1);
  border-radius: 12px;
  background: rgba(255, 254, 250, .67);
}

.platform-preview small {
  color: var(--warm);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.platform-preview strong {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.35;
}

.platform-preview span {
  margin-top: auto;
  padding-top: 12px;
  color: #928b81;
  font-size: 9px;
}

.platform-linkedin .platform-icon {
  color: #0a66c2;
}

.platform-instagram .platform-icon {
  color: #a64091;
}

.platform-x .platform-icon {
  color: #171714;
}

.platform-facebook .platform-icon {
  color: #1877f2;
}

.platform-footer {
  margin-top: 23px;
  padding: 25px 27px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(580px, 1.4fr);
  gap: 35px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(rgba(241, 233, 221, .83), rgba(241, 233, 221, .83)),
    url("assets/paper-texture.svg");
}

.platform-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.platform-footer strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

.platform-flow {
  display: grid;
  grid-template-columns: auto 18px auto 18px auto 18px auto;
  align-items: center;
  justify-content: end;
  gap: 7px;
}

.platform-flow span {
  padding: 10px 12px;
  border: 1px solid rgba(35, 30, 24, .11);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.platform-flow b {
  color: var(--warm);
  font-family: "Patrick Hand", cursive;
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 1080px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-card {
    min-height: 350px;
  }

  .platform-footer {
    grid-template-columns: 1fr;
  }

  .platform-flow {
    justify-content: start;
  }
}

@media (max-width: 820px) {
  .platforms-intro {
    grid-template-columns: 1fr;
  }

  .platform-note {
    display: none;
  }

  .platform-flow {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .platform-flow b {
    transform: rotate(90deg);
    justify-self: center;
  }

  .platform-flow span {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 330px;
  }

  .platform-footer {
    padding: 21px 18px;
  }
}


/* Agentic AI operating system */
.agentic-system {
  position: relative;
  background:
    linear-gradient(rgba(242, 233, 219, .9), rgba(242, 233, 219, .9)),
    url("assets/paper-texture.svg");
}

.agentic-shell {
  position: relative;
}

.agentic-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  align-items: end;
  margin-bottom: 46px;
}

.agentic-evidence {
  padding: 28px;
  border: 1px solid rgba(91, 73, 52, .14);
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 29px,
      rgba(91, 80, 66, .1) 30px
    ),
    #f4e8d4;
  box-shadow: var(--soft-shadow);
  transform: rotate(1.3deg);
}

.agentic-evidence strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 57px;
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
}

.agentic-evidence span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.swarm-map {
  padding: 34px;
  display: grid;
  grid-template-columns: 280px 90px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(35, 30, 24, .12);
  border-radius: 25px;
  background:
    linear-gradient(rgba(255, 254, 250, .88), rgba(255, 254, 250, .88)),
    url("assets/paper-texture.svg");
  box-shadow: var(--soft-shadow);
}

.lead-agent-card {
  min-height: 380px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  color: #f8f3ea;
  background: #171714;
  box-shadow: 0 17px 35px rgba(23, 23, 20, .18);
}

.agent-label {
  color: rgba(248, 243, 234, .62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.lead-agent-mark {
  width: 68px;
  height: 68px;
  margin: 44px 0 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 39px;
  background: rgba(255,255,255,.08);
}

.lead-agent-card h3 {
  margin: auto 0 11px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.lead-agent-card p {
  margin: 0;
  color: rgba(248, 243, 234, .68);
  font-size: 12px;
}

.swarm-connector {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.swarm-connector span {
  width: 100%;
  border-top: 1px dashed var(--pencil);
}

.swarm-connector b {
  color: var(--warm);
  font-family: "Patrick Hand", cursive;
  font-size: 16px;
  font-weight: 400;
  transform: rotate(-3deg);
}

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

.specialist-grid article {
  min-height: 180px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(247, 243, 236, .83);
}

.specialist-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(35, 30, 24, .12);
  border-radius: 11px;
  background: var(--white);
  font-family: "Patrick Hand", cursive;
  font-size: 22px;
}

.specialist-grid h3 {
  margin: auto 0 7px;
  font-size: 12px;
}

.specialist-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.agentic-footnote {
  max-width: 900px;
  margin: 20px auto 0;
  color: #827b72;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 1080px) {
  .agentic-heading {
    grid-template-columns: 1fr 260px;
    gap: 40px;
  }

  .swarm-map {
    grid-template-columns: 240px 55px 1fr;
    padding: 25px;
  }

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

@media (max-width: 820px) {
  .agentic-heading {
    grid-template-columns: 1fr;
  }

  .agentic-evidence {
    max-width: 430px;
  }

  .swarm-map {
    grid-template-columns: 1fr;
  }

  .lead-agent-card {
    min-height: 300px;
  }

  .swarm-connector {
    grid-template-columns: 1fr auto 1fr;
  }

  .swarm-connector span {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .agentic-evidence strong {
    font-size: 46px;
  }

  .swarm-map {
    padding: 15px;
  }

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

  .specialist-grid article {
    min-height: 150px;
  }
}

/* Beta Request Interactive Form */
.beta-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

@media (max-width: 640px) {
  .beta-form-grid {
    grid-template-columns: 1fr;
  }
}

.beta-field {
  position: relative;
  width: 100%;
}

.beta-input {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #FFFFFF;
  color: #111111;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.beta-input:focus {
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.beta-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
}

.beta-submit-btn {
  width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.beta-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.beta-status-card {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 6px;
  animation: fadeIn 0.3s ease-out;
}

.beta-status-success {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
}

.beta-status-error {
  background: #FFEBEE;
  color: #B71C1C;
  border: 1px solid #FFCDD2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: #FAF7F2;
  border-radius: 24px;
  padding: 40px 32px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.is-open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
  color: #111111;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  color: #111111;
  margin: 6px 0 8px;
}

.modal-subtitle {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 420px;
}


