:root {
  --ink: #152321;
  --forest: #1f3a3d;
  --green: #376b5f;
  --green-dark: #285249;
  --rust: #b84c2e;
  --rust-dark: #923a24;
  --yellow: #e2b749;
  --blue: #275d86;
  --plum: #7a3f65;
  --paper: #f6f7f4;
  --paper-deep: #edf0eb;
  --white: #ffffff;
  --muted: #5b6662;
  --muted-light: #78827e;
  --line: #d7ddd7;
  --line-dark: #b9c2bb;
  --soft-green: #e5efea;
  --soft-rust: #f4e5df;
  --soft-blue: #e5edf3;
  --soft-yellow: #f6edcf;
  --soft-plum: #eee4eb;
  --shadow-small: 0 8px 24px rgba(21, 35, 33, 0.1);
  --shadow-large: 0 24px 60px rgba(21, 35, 33, 0.16);
  --container: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

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

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--rust);
  transform: translateY(-160%);
}

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  color: var(--ink);
  background: rgba(246, 247, 244, 0.96);
  border-bottom: 1px solid rgba(21, 35, 33, 0.12);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(21, 35, 33, 0.1);
}

.nav-shell {
  width: min(calc(100% - 48px), 1280px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark,
.app-logo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--white);
  background: var(--rust);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.brand-name {
  font-size: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:not(.nav-price)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav .nav-price {
  padding: 9px 13px;
  color: var(--white);
  background: var(--forest);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-icon {
  display: grid;
  gap: 5px;
  width: 23px;
  margin: auto;
}

.menu-icon span {
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  height: calc(100svh - 88px);
  min-height: 540px;
  max-height: 780px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  z-index: -1;
  background: rgba(9, 21, 19, 0.73);
}

.hero-inner {
  width: min(calc(100% - 48px), 1260px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 30px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.price-badge span {
  width: 8px;
  height: 8px;
  background: var(--rust-dark);
  border-radius: 50%;
}

.price-badge.light {
  color: var(--ink);
  background: var(--white);
}

.hero-product,
.eyebrow {
  margin-bottom: 12px;
  color: var(--rust);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-product {
  color: #f1d17d;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 7px;
  color: #f5f7f4;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 600;
}

.hero-promise {
  max-width: 720px;
  margin-bottom: 24px;
  color: #f2d990;
  font-size: 18px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--rust);
  border-color: var(--rust);
}

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

.button-quiet {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.62);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-large {
  min-height: 54px;
  padding: 14px 20px;
  font-size: 16px;
}

.hero-trust {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.proof-band {
  color: var(--white);
  background: var(--forest);
}

.proof-band-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.proof-band p {
  margin: 0;
  font-size: 17px;
}

.proof-band ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-band li {
  position: relative;
  padding-left: 16px;
  color: #dce9e3;
  font-size: 14px;
  font-weight: 700;
}

.proof-band li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.section {
  padding-block: 104px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.section-heading h2,
.video-story-copy h2,
.followup-copy h2,
.documents-copy h2,
.assistant-copy h2,
.privacy-layout h2,
.pricing-copy h2,
.faq-heading h2,
.final-cta h2 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading > p:last-child,
.heading-copy,
.followup-copy > p,
.documents-copy > p,
.assistant-copy > p,
.faq-heading > p {
  color: var(--muted);
  font-size: 18px;
}

.heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 70px;
  align-items: end;
}

.heading-split h2 {
  margin-bottom: 0;
}

.heading-copy p:last-child {
  color: var(--ink);
}

.video-story {
  padding-block: 90px;
  background: var(--white);
}

.video-story-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
  justify-content: center;
}

.founder-video {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
}

.founder-video video {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #000;
  border: 1px solid #101614;
  border-radius: 6px;
  box-shadow: var(--shadow-large);
}

.founder-video video:fullscreen,
.founder-video video:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  background: #000 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.founder-video figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.35;
}

.founder-video figcaption strong {
  color: var(--ink);
}

.founder-video figcaption span {
  color: var(--muted);
  text-align: right;
}

.video-story-copy {
  max-width: 740px;
}

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

.video-story-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.video-story-copy blockquote {
  margin: 28px 0;
  padding: 18px 0 18px 22px;
  color: var(--forest);
  border-left: 5px solid var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 700;
}

.video-story-signature {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  font-size: 14px !important;
}

.video-story-signature strong {
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  color: var(--rust);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.feature-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 24px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.feature-strip span {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.feature-strip span:last-child {
  border-right: 0;
}

.email-studio {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: var(--shadow-large);
}

.app-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
}

.app-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.app-title div {
  display: flex;
  flex-direction: column;
}

.app-title small {
  color: #b9c9c2;
}

.saved-state {
  padding: 5px 8px;
  color: #e6f1ed;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: 12px;
}

.saved-state.is-confirmed {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.email-studio-layout {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  min-height: 680px;
}

.email-controls {
  padding: 26px 24px;
  background: #f1f3f0;
  border-right: 1px solid var(--line);
}

.control-block,
.toggle-row,
.range-row {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.control-block:first-child {
  padding-top: 0;
}

.control-label,
.toggle-row strong,
.range-row strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  overflow: hidden;
}

.segmented-control button {
  min-height: 40px;
  padding: 7px 5px;
  color: var(--muted);
  background: var(--white);
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.segmented-control button:last-child {
  border-right: 0;
}

.segmented-control button.is-active {
  color: var(--white);
  background: var(--forest);
}

.swatch-control {
  display: flex;
  gap: 12px;
}

.swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  background: var(--swatch);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-dark);
  cursor: pointer;
}

.swatch.is-active {
  box-shadow: 0 0 0 3px var(--ink);
}

.toggle-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.toggle-row span {
  display: flex;
  flex-direction: column;
}

.toggle-row strong {
  margin: 0;
}

.toggle-row small {
  color: var(--muted);
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-row i {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
  background: #9aa49f;
  border-radius: 12px;
  transition: background 160ms ease;
}

.toggle-row i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 160ms ease;
}

.toggle-row input:checked + i {
  background: var(--green);
}

.toggle-row input:checked + i::after {
  transform: translateX(20px);
}

.toggle-row input:focus-visible + i {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.range-row > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.range-row output {
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
}

.range-row input {
  width: 100%;
  accent-color: var(--rust);
}

.studio-actions {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.studio-actions button {
  min-height: 42px;
  padding: 9px 12px;
  color: var(--white);
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
}

.studio-actions button.secondary {
  color: var(--forest);
  background: transparent;
  border-color: var(--green);
}

.email-preview-wrap {
  min-width: 0;
  padding: 28px;
  background: #dfe5e1;
}

.preview-toolbar {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-inline: 13px;
  color: var(--muted);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  font-size: 11px;
}

.preview-toolbar div {
  display: flex;
  gap: 5px;
}

.preview-toolbar div span {
  width: 8px;
  height: 8px;
  background: var(--line-dark);
  border-radius: 50%;
}

.preview-toolbar strong {
  color: var(--ink);
}

.preview-toolbar small {
  justify-self: end;
}

.email-preview {
  --email-accent: var(--rust);
  width: min(100%, 620px);
  min-height: 570px;
  margin: 0 auto;
  padding: 38px 56px;
  color: #27312e;
  background: #fffefa;
  border: 1px solid #cbd2cd;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow-small);
}

.email-preview[data-email-theme="clear"] {
  background: var(--white);
}

.email-preview[data-email-theme="direct"] {
  background: #f6f6f4;
}

.email-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}

.email-brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--email-accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.email-pretitle {
  margin-bottom: 7px;
  color: var(--email-accent);
  font-size: 10px;
  font-weight: 900;
}

.email-preview h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
}

.email-picture {
  width: 100%;
  height: 160px;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--paper-deep);
}

.email-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1);
  transition: transform 180ms ease;
}

.email-preview > p:not(.email-pretitle):not(.email-signature) {
  font-size: 14px;
}

.email-preview > a {
  display: inline-block;
  margin: 8px 0 18px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--email-accent);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.email-signature {
  font-size: 12px;
  font-weight: 800;
}

.attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 9px;
  color: var(--muted);
  background: #f0f2ef;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
}

.attachment-chip span {
  color: var(--rust);
  font-weight: 900;
}

.studio-truth {
  max-width: 900px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

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

.workflow-heading {
  max-width: 820px;
}

.workflow-heading .eyebrow {
  color: #efc766;
}

.workflow-heading > p:last-child {
  color: #c4d0cb;
}

.workflow-carousel {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.workflow-viewport {
  min-height: 520px;
}

.workflow-slide {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.4fr);
  gap: 58px;
  align-items: center;
  padding-block: 50px;
}

.workflow-copy {
  position: relative;
}

.workflow-number {
  display: block;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.15);
  font-size: 76px;
  line-height: 0.8;
  font-weight: 900;
}

.step-verb {
  margin-bottom: 8px;
  color: #efc766;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-copy h3 {
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1.15;
}

.workflow-copy > p:not(.step-verb):not(.workflow-note) {
  color: #c9d4cf;
}

.workflow-note {
  margin-top: 24px;
  padding-top: 18px;
  color: #f2d27d;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.workflow-screen {
  min-width: 0;
  min-height: 370px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #70807a;
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.screen-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest);
  font-size: 12px;
}

.screen-bar b {
  color: #f3d57f;
}

.batch-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 320px;
}

.status-filter {
  padding: 20px 16px;
  background: #e8ece8;
  border-right: 1px solid var(--line);
}

.status-filter > small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 900;
}

.status-filter label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 11px;
}

.status-filter input,
.recipient-list input {
  accent-color: var(--green);
}

.status-filter b {
  color: var(--muted);
}

.recipient-list {
  padding: 18px;
}

.recipient-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.recipient-list header span {
  color: var(--muted);
  font-size: 11px;
}

.recipient-list label {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.recipient-list label > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.recipient-list label b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recipient-list label small {
  color: var(--muted);
  font-size: 10px;
}

.contact-initial {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.contact-initial.rust {
  background: var(--rust);
}

.contact-initial.blue {
  background: var(--blue);
}

.contact-initial.muted {
  background: #75817c;
}

.compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(200px, 0.95fr);
  gap: 20px;
  padding: 20px;
}

.compose-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
}

.compose-fields small,
.mini-mail > small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}

.compose-fields strong,
.compose-fields span {
  font-size: 11px;
}

.compose-fields .message-field {
  min-height: 135px;
}

.compose-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.compose-tools span {
  padding: 8px 4px;
  color: var(--forest);
  background: var(--soft-green);
  border: 1px solid #bad0c5;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.mini-mail {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-small);
}

.mini-mail-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 12px 0 14px;
  color: var(--white);
  background: var(--rust);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.mini-mail strong {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.2;
}

.mini-mail i {
  width: 100%;
  height: 6px;
  margin-bottom: 7px;
  background: #d9ddda;
}

.mini-mail i.short {
  width: 65%;
}

.mini-mail b {
  margin-top: 14px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--rust);
  font-size: 9px;
}

.confirm-screen {
  background: #dfe4e0;
}

.confirm-dialog {
  width: min(calc(100% - 40px), 550px);
  margin: 24px auto;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-small);
}

.confirm-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.confirm-heading > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: var(--white);
  background: var(--rust);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}

.confirm-heading div {
  display: flex;
  flex-direction: column;
}

.confirm-heading strong {
  font-size: 12px;
}

.confirm-heading small {
  color: var(--muted);
  font-size: 10px;
}

.confirm-preview {
  padding: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.confirm-preview small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
}

.confirm-preview strong {
  font-size: 11px;
}

.confirm-preview p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.confirm-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 14px;
}

.confirm-buttons span,
.confirm-buttons b {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid var(--line-dark);
  font-size: 9px;
  text-align: center;
}

.confirm-buttons b {
  grid-column: 1 / -1;
  color: var(--white);
  background: var(--rust);
  border-color: var(--rust);
}

.tracking-screen {
  padding-bottom: 12px;
  background: var(--white);
}

.tracking-head,
.tracking-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 100px 100px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.tracking-head {
  color: var(--muted);
  background: #e8ece8;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.tracking-row {
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.tracking-row > b:last-child {
  color: var(--rust);
  text-align: right;
}

.reaction {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
}

.reaction.clicked {
  color: #71321f;
  background: var(--soft-rust);
}

.reaction.replied {
  color: #245345;
  background: var(--soft-green);
}

.reaction.opened {
  color: #274f70;
  background: var(--soft-blue);
}

.reaction.waiting {
  color: #645117;
  background: var(--soft-yellow);
}

.tracking-truth {
  margin: 12px 16px 0;
  color: var(--muted);
  font-size: 9px;
}

.carousel-controls {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.carousel-arrow {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
}

.carousel-arrow.previous::before {
  content: "←";
  margin-right: 7px;
}

.carousel-arrow.next::after {
  content: "→";
  margin-left: 7px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  width: 36px;
  height: 5px;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--yellow);
}

.carousel-count {
  margin: 0;
  color: #aabbb4;
  font-size: 12px;
}

.carousel-count strong {
  color: var(--white);
  font-size: 17px;
}

.followup-band {
  padding-block: 90px;
  background: var(--soft-yellow);
}

.followup-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
  align-items: center;
}

.followup-copy h2 {
  font-size: 42px;
}

.dashboard-mock {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #cbbf96;
  border-radius: 8px;
  box-shadow: var(--shadow-large);
}

.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background: var(--forest);
}

.dashboard-heading div {
  display: flex;
  flex-direction: column;
}

.dashboard-heading small {
  color: #c6d7cf;
}

.dashboard-heading span {
  padding: 4px 7px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.dashboard-metrics div {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

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

.dashboard-metrics strong {
  font-size: 26px;
}

.dashboard-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-actions {
  padding: 8px 18px 14px;
}

.dashboard-actions > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dashboard-actions > div:last-child {
  border-bottom: 0;
}

.dashboard-actions p {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.dashboard-actions p strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-actions p small {
  color: var(--muted);
  font-size: 10px;
}

.dashboard-actions > div > b {
  color: var(--rust);
  font-size: 10px;
}

.documents-section {
  background: var(--white);
}

.documents-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
  align-items: center;
}

.documents-copy h2 {
  font-size: 44px;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.document-mail-note {
  padding: 16px;
  color: var(--forest) !important;
  background: var(--soft-green);
  border-left: 4px solid var(--green);
  font-size: 14px !important;
}

.document-studio {
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: var(--shadow-large);
}

.document-tabs,
.assistant-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
}

.document-tabs button,
.assistant-modes button {
  min-height: 52px;
  padding: 10px;
  color: #b8c7c1;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.document-tabs button:last-child {
  border-right: 0;
}

.document-tabs button.is-active,
.assistant-modes button.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.document-panel {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 1.1fr);
  gap: 22px;
  padding: 24px;
}

.document-form {
  padding: 19px;
  background: var(--white);
  border: 1px solid var(--line);
}

.document-form > p {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.document-form small,
.paper-client small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}

.document-form strong {
  font-size: 13px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.document-form .mock-action {
  width: 100%;
  min-height: 40px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.paper-document {
  min-height: 445px;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid #c8cec9;
  box-shadow: var(--shadow-small);
}

.paper-document header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--green);
}

.paper-document header > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--rust);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.paper-document header div {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.paper-document header strong {
  color: var(--forest);
  font-size: 19px;
}

.paper-document header small {
  color: var(--muted);
  font-size: 9px;
}

.paper-document > p {
  margin: 18px 0;
  color: var(--muted);
  font-size: 10px;
}

.paper-client {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: var(--paper);
}

.paper-client strong {
  color: var(--ink);
  font-size: 11px;
}

.paper-document > div:not(.paper-client) {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.paper-document footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 14px;
  color: var(--forest);
  border-top: 2px solid var(--forest);
}

.paper-document footer strong {
  font-size: 18px;
}

.invoice-paper header {
  border-color: var(--blue);
}

.expense-paper header {
  border-color: var(--plum);
}

.assistant-section {
  color: var(--white);
  background: var(--forest);
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 70px;
  align-items: center;
}

.assistant-copy .eyebrow {
  color: #efc766;
}

.assistant-copy > p {
  color: #cad7d1;
}

.assistant-modes {
  grid-template-columns: 1fr 1fr;
  max-width: 420px;
  margin-top: 26px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.assistant-modes button {
  min-height: 46px;
}

.assistant-mode-panel {
  max-width: 520px;
  padding: 18px 0 5px;
}

.assistant-mode-panel h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 17px;
}

.assistant-mode-panel p {
  color: #cad7d1;
  font-size: 14px;
}

.assistant-guardrail {
  margin: 14px 0 0;
  padding: 13px 15px;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--yellow);
  font-size: 13px !important;
  font-weight: 800;
}

.assistant-mock {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #82958d;
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.assistant-top {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.assistant-top > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assistant-top > span {
  padding: 5px 8px;
  color: #245345;
  background: var(--soft-green);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
}

.assistant-context {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 16px;
  color: var(--muted);
  background: #e7ebe7;
  font-size: 9px;
}

.chat-row {
  display: flex;
  padding: 14px 18px;
}

.chat-row.user {
  justify-content: flex-end;
}

.chat-row.user p {
  max-width: 72%;
  margin: 0;
  padding: 10px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px 6px 0 6px;
  font-size: 12px;
}

.chat-row.bot {
  align-items: flex-start;
  gap: 10px;
}

.chat-row.bot .app-logo {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 9px;
}

.chat-row.bot > div {
  max-width: 76%;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 6px 6px 6px;
}

.chat-row.bot p {
  margin-bottom: 8px;
  font-size: 12px;
}

.chat-row.bot ul {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 11px;
}

.chat-row.bot .mock-action {
  display: inline-block;
  padding: 7px 9px;
  color: var(--white);
  background: var(--rust);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
}

.chat-input {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 18px 18px;
  padding: 9px 11px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  font-size: 11px;
}

.chat-input b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
}

.details-section {
  position: relative;
  background: var(--paper);
}

.details-heading {
  max-width: 820px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
}

.detail-item {
  position: relative;
  border-top: 1px solid var(--line-dark);
}

.detail-item:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line-dark);
}

.detail-trigger {
  width: 100%;
  min-height: 142px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: start;
  padding: 24px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.detail-number {
  color: var(--rust);
  font-size: 14px;
  font-weight: 900;
}

.detail-trigger > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.detail-trigger strong {
  font-size: 18px;
  line-height: 1.25;
}

.detail-trigger small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.detail-trigger > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--forest);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-style: normal;
  font-size: 18px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.detail-item:hover .detail-trigger strong,
.detail-item.is-open .detail-trigger strong {
  color: var(--rust);
}

.detail-item.is-open .detail-trigger > i {
  color: var(--white);
  background: var(--rust);
  border-color: var(--rust);
  transform: rotate(45deg);
}

.detail-popover {
  position: fixed;
  z-index: 20;
  top: 96px;
  left: 28px;
  width: min(480px, calc(100vw - 56px));
  min-height: 230px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  box-shadow: var(--shadow-large);
}

.popover-title {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--forest);
  font-size: 10px;
}

.popover-title b {
  color: #f1d179;
}

.popover-calendar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 18px;
  padding: 14px;
  background: var(--soft-yellow);
}

.popover-calendar strong {
  color: var(--rust);
  font-size: 22px;
}

.popover-calendar span {
  color: var(--muted);
  font-size: 11px;
}

.popover-calendar b {
  color: #6b5412;
  font-size: 10px;
}

.popover-contact,
.popover-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px 18px;
  padding: 10px;
  border: 1px solid var(--line);
}

.popover-contact p,
.popover-profile p {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
}

.popover-contact b,
.popover-profile strong {
  font-size: 11px;
}

.popover-contact small,
.popover-profile small {
  color: var(--muted);
  font-size: 9px;
}

.popover-profile > b {
  padding: 4px 6px;
  color: #5a615e;
  background: #e6e8e6;
  font-size: 9px;
}

.popover-exclusion {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 14px;
  margin: 0 18px 18px;
  color: var(--muted);
  font-size: 10px;
}

.popover-exclusion s {
  color: var(--rust);
  font-weight: 900;
  text-decoration: none;
}

.popover-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}

.popover-columns > div {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.popover-columns small {
  margin-bottom: 16px;
  color: var(--rust);
  font-size: 8px;
  font-weight: 900;
}

.popover-columns strong {
  margin-bottom: 5px;
  font-size: 12px;
}

.popover-columns span {
  color: var(--muted);
  font-size: 9px;
}

.popover-layer {
  position: relative;
  min-height: 200px;
  padding: 18px;
  background: var(--paper-deep);
}

.popover-layer > div {
  width: 65%;
  display: grid;
  gap: 7px;
}

.popover-layer > div span {
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 9px;
}

.popover-layer aside {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: 55%;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--white);
  border-left: 4px solid var(--rust);
  box-shadow: var(--shadow-small);
}

.popover-layer aside > small {
  color: var(--rust);
  font-size: 8px;
  font-weight: 900;
}

.popover-layer aside > strong {
  margin-bottom: 14px;
  font-size: 13px;
}

.popover-layer aside label {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 8px;
}

.popover-layer aside label b,
.popover-layer aside label span {
  color: var(--ink);
  font-size: 10px;
}

.popover-image-process {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 18px;
}

.popover-image-process > div {
  width: 80px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border: 6px solid var(--soft-blue);
  font-size: 9px;
  font-weight: 900;
}

.popover-image-process p {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
}

.popover-image-process p strong {
  font-size: 11px;
}

.popover-image-process p small {
  color: var(--muted);
  font-size: 9px;
}

.popover-image-process p b {
  align-self: flex-start;
  margin-top: 6px;
  padding: 3px 6px;
  color: #245345;
  background: var(--soft-green);
  font-size: 8px;
}

.process-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 20px 18px 18px;
  color: var(--muted);
  font-size: 8px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--green);
}

.popover-sender {
  display: flex;
  flex-direction: column;
  margin: 18px;
}

.popover-sender small {
  margin: 8px 0 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
}

.popover-sender strong,
.popover-sender span {
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 10px;
}

.popover-sender .mock-action {
  align-self: flex-start;
  margin-top: 12px;
  padding: 7px 9px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
}

.popover-doc {
  display: flex;
  gap: 12px;
  margin: 16px auto 8px;
  width: 220px;
  min-height: 145px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-small);
}

.popover-doc > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--white);
  background: var(--rust);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.popover-doc > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.popover-doc small {
  color: var(--green);
  font-size: 8px;
  font-weight: 900;
}

.popover-doc strong {
  margin-bottom: 14px;
  font-size: 9px;
}

.popover-doc i {
  height: 5px;
  margin-bottom: 6px;
  background: var(--line);
}

.popover-doc footer {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 7px;
  border-top: 2px solid var(--green);
  font-size: 8px;
}

.popover-foot {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.popover-guide {
  position: relative;
  min-height: 200px;
  padding: 26px 18px;
  background: #dfe5e1;
}

.guide-target {
  display: inline-block;
  padding: 9px 22px;
  color: var(--white);
  background: var(--forest);
  font-size: 10px;
  font-weight: 900;
}

.popover-guide > div {
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 260px;
  padding: 14px;
  background: var(--white);
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow-small);
}

.popover-guide > div small {
  color: var(--rust);
  font-size: 8px;
  font-weight: 900;
}

.popover-guide > div strong {
  display: block;
  font-size: 12px;
}

.popover-guide > div p {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 9px;
}

.popover-guide footer {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
}

.popover-guide footer b {
  padding: 4px 7px;
  color: var(--white);
  background: var(--rust);
}

.privacy-band {
  padding-block: 86px;
  color: var(--white);
  background: var(--blue);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
}

.privacy-layout .eyebrow {
  color: #f2d378;
}

.privacy-layout h2 {
  margin-bottom: 0;
  font-size: 41px;
}

.privacy-points {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.privacy-points p {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.privacy-points span {
  color: #d9e6ee;
}

.control-line {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.control-line span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 900;
}

.control-line span:last-child {
  border-right: 0;
}

.pricing-section {
  background: var(--white);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 0.75fr);
  gap: 100px;
  align-items: center;
  justify-content: center;
}

.pricing-copy h2 {
  max-width: 650px;
  font-size: 52px;
}

.pricing-copy > p:not(.eyebrow):not(.pricing-quote) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.pricing-quote {
  margin-top: 28px;
  padding: 18px 0 18px 20px;
  color: var(--forest);
  border-left: 5px solid var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
}

.price-panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-top: 8px solid var(--rust);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-large);
}

.price-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.price-heading > span {
  font-size: 19px;
  font-weight: 900;
}

.price-heading p {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0;
}

.price-heading strong {
  color: var(--rust);
  font-size: 46px;
  line-height: 1;
}

.price-heading small {
  color: var(--muted);
}

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

.price-panel li {
  position: relative;
  padding-left: 25px;
  font-weight: 700;
}

.price-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.price-panel .button {
  width: 100%;
}

.price-note,
.api-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.api-note {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

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

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 90px;
}

.faq-heading {
  position: sticky;
  top: 100px;
  align-self: start;
}

.faq-heading h2 {
  font-size: 40px;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  position: relative;
  padding: 21px 48px 21px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--forest);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--white);
  background: var(--rust);
  border-color: var(--rust);
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 50px 22px 0;
  color: var(--muted);
}

.final-cta {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.final-cta > img,
.final-cta-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-cta > img {
  z-index: -2;
  object-fit: cover;
  object-position: center 48%;
}

.final-cta-shade {
  z-index: -1;
  background: rgba(9, 21, 19, 0.78);
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 70px;
  text-align: center;
}

.final-cta h2 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: 58px;
}

.final-cta-inner > p:not(.price-badge):not(.cta-note) {
  max-width: 730px;
  margin-bottom: 26px;
  color: #eef4f0;
  font-size: 19px;
}

.cta-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.site-footer {
  padding-block: 28px;
  color: #dce7e2;
  background: var(--ink);
}

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

.footer-brand .brand-mark {
  background: var(--yellow);
  color: var(--ink);
}

.footer-inner > p {
  margin: 0;
  color: #aebdb7;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-links a {
  font-size: 12px;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 62px;
  }

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

  .feature-strip span:nth-child(3) {
    border-right: 0;
  }

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

  .email-studio-layout {
    grid-template-columns: 310px minmax(0, 1fr);
  }

  .email-preview {
    padding-inline: 34px;
  }

  .workflow-slide {
    gap: 36px;
  }

  .documents-layout,
  .assistant-layout,
  .followup-layout {
    gap: 42px;
  }

  .pricing-layout {
    gap: 58px;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 64px;
  }

  .nav-shell {
    width: min(calc(100% - 32px), 1280px);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    color: var(--ink);
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 200ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .main-nav a:not(.nav-price)::after {
    display: none;
  }

  .main-nav .nav-price {
    margin-top: 18px;
    padding: 14px;
    text-align: center;
  }

  .hero {
    height: calc(100svh - 84px);
    min-height: 520px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-lead {
    max-width: 650px;
    font-size: 19px;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading h2,
  .video-story-copy h2,
  .followup-copy h2,
  .documents-copy h2,
  .assistant-copy h2,
  .privacy-layout h2,
  .pricing-copy h2,
  .final-cta h2 {
    font-size: 40px;
  }

  .video-story-layout {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 48px;
  }

  .founder-video {
    max-width: 285px;
  }

  .founder-video video {
    max-height: 510px;
  }

  .heading-split {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .email-studio-layout {
    grid-template-columns: 1fr;
  }

  .email-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .control-block:first-child {
    padding-top: 16px;
  }

  .studio-actions {
    align-self: end;
  }

  .workflow-slide {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .workflow-copy {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 20px;
  }

  .workflow-number {
    grid-row: 1 / 6;
    margin: 0;
    font-size: 58px;
  }

  .workflow-copy .step-verb,
  .workflow-copy h3,
  .workflow-copy > p {
    grid-column: 2;
  }

  .workflow-copy h3 {
    font-size: 28px;
  }

  .workflow-note {
    margin-top: 10px;
  }

  .followup-layout,
  .documents-layout,
  .assistant-layout,
  .privacy-layout,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .privacy-layout,
  .pricing-layout {
    gap: 44px;
  }

  .documents-copy,
  .assistant-copy,
  .pricing-copy {
    max-width: 760px;
  }

  .detail-grid {
    column-gap: 38px;
  }

  .detail-trigger {
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    gap: 11px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero-inner {
    width: min(calc(100% - 32px), 1260px);
  }

  .hero {
    height: calc(100svh - 76px);
    min-height: 540px;
    max-height: 700px;
  }

  .hero-image {
    object-position: 59% center;
  }

  .hero-shade {
    background: rgba(9, 21, 19, 0.78);
  }

  .price-badge {
    font-size: 11px;
  }

  .hero-product {
    font-size: 11px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 42px;
    line-height: 1;
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .hero-actions {
    width: 100%;
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    font-size: 11px;
  }

  .proof-band-inner {
    min-height: 126px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-block: 18px;
  }

  .proof-band ul {
    justify-content: flex-start;
  }

  .section,
  .video-story,
  .followup-band,
  .privacy-band {
    padding-block: 66px;
  }

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

  .section-heading h2,
  .video-story-copy h2,
  .followup-copy h2,
  .documents-copy h2,
  .assistant-copy h2,
  .privacy-layout h2,
  .pricing-copy h2,
  .faq-heading h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .section-heading > p:last-child,
  .heading-copy,
  .followup-copy > p,
  .documents-copy > p,
  .assistant-copy > p,
  .faq-heading > p {
    font-size: 16px;
  }

  .video-story-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .founder-video {
    max-width: 290px;
  }

  .founder-video video {
    max-height: 516px;
  }

  .video-story-copy {
    order: -1;
  }

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

  .feature-strip span,
  .feature-strip span:nth-child(3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .feature-strip span:nth-child(even) {
    border-right: 0;
  }

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

  .app-topbar {
    align-items: flex-start;
  }

  .saved-state {
    max-width: 150px;
    text-align: right;
  }

  .email-controls {
    grid-template-columns: 1fr;
  }

  .email-preview-wrap {
    padding: 14px;
  }

  .email-preview {
    min-height: 540px;
    padding: 28px 24px;
  }

  .email-preview h3 {
    font-size: 25px;
  }

  .workflow-viewport,
  .workflow-slide {
    min-height: auto;
  }

  .workflow-slide {
    padding-block: 36px;
  }

  .workflow-copy {
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
  }

  .workflow-number {
    font-size: 40px;
  }

  .workflow-copy h3 {
    font-size: 25px;
  }

  .workflow-screen {
    min-height: 360px;
  }

  .batch-layout,
  .compose-layout {
    grid-template-columns: 1fr;
  }

  .status-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-filter > small {
    grid-column: 1 / -1;
  }

  .compose-fields .message-field {
    min-height: 100px;
  }

  .mini-mail {
    min-height: 230px;
  }

  .tracking-head,
  .tracking-row {
    grid-template-columns: minmax(95px, 1fr) 66px 62px;
    gap: 7px;
    padding-inline: 10px;
  }

  .carousel-controls {
    grid-template-columns: 1fr auto 1fr;
    gap: 9px;
  }

  .carousel-arrow {
    min-width: 0;
    padding-inline: 8px;
    font-size: 0;
  }

  .carousel-arrow::before,
  .carousel-arrow::after {
    margin: 0 !important;
    font-size: 20px;
  }

  .carousel-dots {
    grid-column: 2;
    grid-row: 1;
  }

  .carousel-count {
    display: none;
  }

  .carousel-arrow.previous {
    grid-column: 1;
    grid-row: 1;
  }

  .carousel-arrow.next {
    grid-column: 3;
    grid-row: 1;
  }

  .dashboard-metrics div {
    min-height: 76px;
    padding: 10px;
  }

  .dashboard-actions > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dashboard-actions > div > b {
    grid-column: 2;
  }

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

  .paper-document {
    min-height: 400px;
  }

  .assistant-context {
    flex-direction: column;
    gap: 2px;
  }

  .chat-row.bot > div {
    max-width: calc(100% - 38px);
  }

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

  .detail-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .detail-item:last-child {
    border-bottom: 1px solid var(--line-dark);
  }

  .detail-trigger {
    min-height: 132px;
  }

  .detail-popover,
  .detail-item:nth-child(even) .detail-popover {
    position: fixed;
    z-index: 200;
    top: auto !important;
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-height: calc(100svh - 90px);
    overflow-y: auto;
  }

  .privacy-points p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .control-line {
    grid-template-columns: 1fr 1fr;
  }

  .control-line span:nth-child(2) {
    border-right: 0;
  }

  .control-line span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .pricing-layout {
    gap: 38px;
  }

  .price-panel {
    padding: 24px 18px;
  }

  .price-heading strong {
    font-size: 40px;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .final-cta {
    min-height: 620px;
  }

  .final-cta h2 {
    font-size: 40px;
  }

  .final-cta-inner > p:not(.price-badge):not(.cta-note) {
    font-size: 17px;
  }

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

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

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

@media (max-width: 420px) {
  .hero {
    min-height: 548px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .hero-promise {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .button {
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .section-heading h2,
  .video-story-copy h2,
  .followup-copy h2,
  .documents-copy h2,
  .assistant-copy h2,
  .privacy-layout h2,
  .pricing-copy h2,
  .faq-heading h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .founder-video {
    max-width: 260px;
  }

  .founder-video video {
    max-height: 462px;
  }

  .app-topbar {
    flex-direction: column;
  }

  .saved-state {
    max-width: none;
    text-align: left;
  }

  .email-preview {
    padding-inline: 18px;
  }

  .compose-tools {
    grid-template-columns: 1fr 1fr;
  }

  .tracking-head,
  .tracking-row {
    grid-template-columns: minmax(80px, 1fr) 60px 48px;
    font-size: 9px;
  }

  .tracking-row > b:last-child {
    font-size: 9px;
  }

  .document-tabs button {
    min-height: 58px;
    font-size: 11px;
  }

  .document-panel {
    padding: 14px;
  }

  .assistant-top {
    align-items: flex-start;
  }

  .assistant-top > span {
    max-width: 95px;
    text-align: right;
  }

  .detail-trigger {
    grid-template-columns: 30px minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .detail-trigger strong {
    font-size: 16px;
  }

  .detail-trigger small {
    font-size: 13px;
  }

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

  .popover-columns > div {
    min-height: 90px;
  }

  .popover-guide > div {
    right: 12px;
    width: calc(100% - 24px);
  }

  .price-heading {
    flex-direction: column;
  }

  .price-heading p {
    align-self: flex-end;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .founder-video {
    max-width: 275px;
  }

  .founder-video video {
    max-height: 488px;
  }
}

@media (max-width: 680px) and (max-height: 700px) {
  .founder-video {
    max-width: 245px;
  }

  .founder-video video {
    max-height: 436px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
