:root {
  --ink: #17211f;
  --muted: #5c6863;
  --line: #d9dfd9;
  --paper: #f7f6f0;
  --white: #ffffff;
  --sage: #8ea990;
  --moss: #324c3f;
  --clay: #b86f48;
  --gold: #d7b46a;
  --blue: #244b63;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 246, 240, 0.88);
  border-bottom: 1px solid rgba(217, 223, 217, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--moss);
  border-radius: 8px;
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--moss);
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(36px, 6vw, 80px);
  min-height: calc(88vh - 72px);
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 56px) 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, rgba(216, 180, 106, 0.28), transparent 28%),
    linear-gradient(135deg, #f7f6f0 0%, #edf1ea 56%, #f3ece4 100%);
}

.hero-copy {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
}

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

h1 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 8vw, 8.7rem);
  font-weight: 700;
  line-height: 0.91;
}

.hero-lede {
  max-width: 650px;
  margin-top: 28px;
  color: #33423d;
  font-size: clamp(1.24rem, 2vw, 1.72rem);
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-btn {
  padding: 0 24px;
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 14px 32px rgba(184, 111, 72, 0.22);
}

.primary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  padding: 0 22px;
  color: var(--moss);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.proof-line {
  max-width: 680px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.55;
}

.ops-panel {
  align-self: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ops-top,
.approval-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ops-title,
.ops-subtitle,
.card-label {
  display: block;
}

.ops-title {
  font-weight: 900;
}

.ops-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot {
  padding: 7px 10px;
  color: var(--moss);
  background: #e1ecdf;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.priority-card {
  margin-top: 22px;
  padding: 20px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 75, 99, 0.92), rgba(50, 76, 63, 0.96)),
    var(--blue);
  border-radius: 8px;
}

.priority-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.priority-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.48;
}

.card-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.desk-grid div {
  min-height: 112px;
  padding: 16px;
  background: #f2f3ec;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.desk-grid span,
.desk-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.desk-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
}

.approval-row {
  margin-top: 14px;
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.approval-row button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--white);
  background: var(--moss);
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 8vw, 104px) 0;
}

.contrast {
  background: var(--ink);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split h2,
.section-heading h2,
.cta-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.split p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

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

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

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

.roles-grid article,
.pricing-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.role-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--clay);
  font-weight: 950;
}

.roles-grid h3,
.timeline h3,
.pricing-grid h3 {
  font-size: 1.12rem;
}

.roles-grid p,
.timeline p,
.pricing-grid p,
.faq-list p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.56;
}

.process-band,
.faq-band,
.seo-section,
.resources-band,
.founder-section,
.review-band {
  background: #ecefe8;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.founder-photo-wrap {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.founder-photo-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% 28%;
}

.founder-copy span {
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.founder-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.founder-copy p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  line-height: 1.6;
}

.seo-section .section-inner {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

.seo-section p + p {
  margin-top: 16px;
}

.seo-section p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.6;
}

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

.resource-grid a {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-grid span {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
}

.resource-grid strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.subpage-hero {
  display: grid;
  min-height: 68vh;
  align-items: center;
  padding: clamp(62px, 9vw, 120px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 180, 106, 0.24), transparent 30%),
    linear-gradient(135deg, #f7f6f0 0%, #edf1ea 58%, #f3ece4 100%);
}

.subpage-hero > div {
  max-width: 980px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
}

.detail-layout article,
.detail-layout aside {
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-layout h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.detail-layout article p,
.detail-layout li {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.62;
}

.detail-layout article p {
  margin-top: 18px;
}

.detail-layout ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.timeline div {
  min-height: 240px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--white);
  background: var(--moss);
  border-radius: 8px;
  font-weight: 900;
}

.pricing-grid article {
  display: flex;
  min-height: 420px;
  flex-direction: column;
}

.pricing-grid .featured {
  color: var(--white);
  background: var(--moss);
  border-color: var(--moss);
  box-shadow: var(--shadow);
}

.pricing-grid strong {
  display: block;
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3.4vw, 3rem);
  line-height: 1;
}

.pricing-grid .featured p,
.pricing-grid .featured li {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-grid ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
}

.pricing-grid li {
  color: var(--muted);
}

.pricing-grid li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--clay);
  border-radius: 999px;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.review-cta-card,
.review-proof-grid article {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.review-cta-card span,
.review-proof-grid span {
  display: block;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.review-cta-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.review-cta-card p,
.review-proof-grid p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.review-proof-grid {
  display: grid;
  gap: 14px;
}

.google-review-link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.72;
}

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

details {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

.cta-section {
  display: flex;
  width: min(1160px, calc(100% - 36px));
  margin: clamp(70px, 8vw, 112px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 33, 31, 0.9), rgba(36, 75, 99, 0.82)),
    var(--ink);
  border-radius: 8px;
}

.cta-section p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.primary-btn.dark {
  flex: 0 0 auto;
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
}

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

  .nav {
    display: none;
  }

  .hero,
  .split,
  .review-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .ops-panel {
    width: min(100%, 620px);
  }

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

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

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

  .timeline div:nth-child(2) {
    border-right: 0;
  }

  .timeline div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand span:last-child {
    max-width: 220px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: clamp(3.05rem, 15vw, 4.25rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .hero-actions,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .desk-grid,
  .roles-grid,
  .pricing-grid,
  .resource-grid,
  .detail-layout,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline div,
  .timeline div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline div:last-child {
    border-bottom: 0;
  }

  .approval-row {
    align-items: stretch;
    flex-direction: column;
  }

footer {
    flex-direction: column;
  }
}

.agent-body {
  min-height: 100vh;
  background: #f7f6f0;
}

.agent-shell {
  min-height: 100vh;
  padding: clamp(16px, 3vw, 32px);
}

.agent-app {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1040px);
  height: calc(100vh - clamp(32px, 6vw, 64px));
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 3vw, 28px);
  color: var(--white);
  background: #17211f;
}

.agent-header h1 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.1;
}

.agent-header p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.agent-clear {
  min-height: 40px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.agent-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: clamp(16px, 3vw, 28px);
  overflow-y: auto;
  background: var(--paper);
}

.agent-message {
  width: min(100%, 780px);
  padding: 16px;
  border-radius: 8px;
  line-height: 1.55;
}

.agent-message.user {
  align-self: flex-end;
  color: var(--white);
  background: var(--moss);
}

.agent-message.assistant {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
}

.agent-message h2,
.agent-message h3 {
  margin: 14px 0 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.2;
}

.agent-message h2 {
  font-size: 1.15rem;
}

.agent-message h3 {
  font-size: 1rem;
}

.agent-message p + p {
  margin-top: 10px;
}

.agent-message li {
  margin: 6px 0 6px 18px;
}

.agent-hint {
  color: var(--muted);
  font-size: 0.93rem;
}

.agent-compose {
  padding: 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.agent-compose textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 14px;
  color: var(--ink);
  background: #fbfbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  line-height: 1.45;
}

.agent-compose textarea:focus {
  outline: 3px solid rgba(184, 111, 72, 0.22);
  border-color: var(--clay);
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.agent-compose.is-busy textarea,
.agent-compose.is-busy button {
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 640px) {
  .agent-shell {
    padding: 0;
  }

  .agent-app {
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .agent-header {
    align-items: flex-start;
  }

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

  .agent-actions .primary-btn,
  .agent-actions .secondary-btn {
    width: 100%;
  }
}
