:root {
  --bg: #ffffff;
  --ink: #071b3a;
  --ink-soft: #334760;
  --muted: #63758d;
  --line: #dce6ef;
  --sky: #eaf7ff;
  --sky-strong: #d9efff;
  --navy: #031f3f;
  --navy-2: #062b52;
  --green: #f97316;
  --green-dark: #c2410c;
  --green-soft: #fff3e8;
  --coral: #fb923c;
  --coral-dark: #ea580c;
  --gold: #f59e0b;
  --surface: #f7fbfe;
  --shadow: 0 24px 70px rgba(7, 27, 58, 0.14);
  --shadow-soft: 0 12px 34px rgba(7, 27, 58, 0.09);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
  letter-spacing: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 72px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(220, 230, 239, 0.7);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.brand-mark path + path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 26px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-link {
  font-size: 14px;
  font-weight: 800;
  padding: 10px 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 14px 26px rgba(7, 139, 82, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
}

.button-coral {
  color: #ffffff;
  background: var(--coral);
  box-shadow: 0 14px 24px rgba(255, 107, 85, 0.22);
}

.button-coral:hover,
.button-coral:focus-visible {
  background: var(--coral-dark);
}

.button-outline {
  color: var(--green-dark);
  background: #ffffff;
  border-color: var(--green);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--green-soft);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.section-band {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 96px 0 76px;
  background:
    linear-gradient(178deg, transparent 0 76%, var(--sky) 76% 100%),
    #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -70px;
  height: 180px;
  background: var(--sky-strong);
  clip-path: ellipse(52% 44% at 42% 42%);
  opacity: 0.75;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.78fr) minmax(650px, 1.22fr);
  align-items: center;
  gap: clamp(56px, 5vw, 104px);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-statement {
  margin: 0;
  max-width: 640px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
}

.hero-lede {
  max-width: 640px;
  margin: 26px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.trust-points {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.trust-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-points svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-product {
  position: relative;
  min-height: 560px;
  padding: 14px 12px 82px 0;
}

.app-preview {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  min-height: 478px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.preview-sidebar {
  padding: 22px 16px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.preview-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.preview-logo span {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--green);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.preview-sidebar a {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  margin-bottom: 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.preview-sidebar a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.preview-main {
  padding: 22px;
}

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

.preview-topbar strong,
.preview-topbar span {
  display: block;
}

.preview-topbar strong {
  font-size: 16px;
}

.preview-topbar span,
.preview-topbar time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.preview-topbar time {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  white-space: nowrap;
}

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

.metric-grid article,
.report-metrics article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.metric-grid span,
.report-metrics span,
.grant-body span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.metric-grid strong,
.report-metrics strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.metric-grid small,
.report-metrics small {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.preview-content {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 14px;
}

.grant-card,
.activity-list,
.report-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.grant-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 15px;
  padding: 14px;
}

.grant-icon {
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 1;
  background: var(--sky);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.grant-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grant-body h2 {
  margin: 5px 0 6px;
  font-size: 17px;
  line-height: 1.2;
}

.grant-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.progress-line {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dceee7;
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}

.progress-meta strong {
  color: var(--ink);
}

.activity-list {
  padding: 16px;
}

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

.list-head strong {
  font-size: 14px;
}

.list-head a {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.activity-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #edf2f7;
  color: var(--ink-soft);
  font-size: 12px;
}

.activity-list strong {
  color: var(--ink);
}

.activity-list time {
  color: var(--muted);
}

.writer-preview {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 164px;
  padding: 10px 10px 14px;
  border: 6px solid #0a1323;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(7, 27, 58, 0.26);
}

.writer-preview > span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 10px;
  font-weight: 900;
}

.writer-preview h2 {
  margin: 12px 0 5px;
  font-size: 14px;
  line-height: 1.15;
}

.writer-preview p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.writer-preview button {
  width: 100%;
  min-height: 32px;
  margin: 12px 0 8px;
  color: #ffffff;
  border: 0;
  border-radius: 7px;
  background: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.writer-preview small {
  display: block;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}

.audience-strip {
  padding: 36px 0 52px;
  background: #ffffff;
}

.audience-strip p {
  margin: 0 0 26px;
  color: var(--ink);
  text-align: center;
  font-weight: 800;
}

.audience-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.audience-logos span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.section-pad {
  padding: 74px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.workspace-copy h2,
.faq-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p,
.workspace-copy p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.workflow {
  position: relative;
  background: #ffffff;
}

.workflow .container {
  position: relative;
}

.step-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 206px;
  height: 1px;
  border-top: 1px dashed #b7c7d6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.steps-grid-six {
  grid-template-columns: repeat(6, 1fr);
}

.step-item {
  position: relative;
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--green);
  font-weight: 900;
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  color: var(--navy);
}

.step-icon svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-item h3 {
  margin: 0 0 11px;
  font-size: 17px;
}

.step-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.workspace {
  background: #ffffff;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.workspace-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sky);
}

.reporting-panel {
  background: #fff7ed;
}

.workspace-copy {
  max-width: 360px;
}

.ai-writer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.writer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.writer-card-head strong {
  font-size: 14px;
}

.writer-card-head span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.writer-card-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 290px;
}

.writer-card-body nav {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: #fbfdff;
}

.writer-card-body nav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
}

.writer-card-body nav a.is-active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.ai-draft {
  padding: 16px;
}

.prompt-label {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.ai-draft > p:not(.prompt-label) {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.ai-suggestion {
  padding: 14px;
  border-radius: 7px;
  background: var(--green-soft);
}

.ai-suggestion strong {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
}

.ai-suggestion p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.ai-suggestion div {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ai-suggestion button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green-dark);
  background: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 30px 0 34px;
  list-style: none;
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.report-preview {
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

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

.report-head strong {
  font-size: 16px;
}

.report-head time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.report-charts {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
  margin-top: 10px;
}

.line-chart,
.donut-chart {
  min-height: 200px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.line-chart {
  padding: 12px;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.line-chart .grid {
  fill: none;
  stroke: #e9eff5;
  stroke-width: 1;
}

.line-chart .area {
  fill: rgba(7, 139, 82, 0.12);
}

.line-chart .line {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donut-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px;
}

.donut-chart span {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 46%, transparent 47%),
    conic-gradient(var(--green) 0 72%, #299de0 72% 90%, var(--gold) 90% 100%);
}

.donut-chart ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 12px;
  font-weight: 800;
}

.donut-chart li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.donut-chart b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.source-one {
  background: var(--green);
}

.source-two {
  background: #299de0;
}

.source-three {
  background: var(--gold);
}

.pricing {
  background: #ffffff;
}

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

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 27, 58, 0.04);
}

.price-card-featured {
  border-color: rgba(7, 139, 82, 0.35);
  box-shadow: var(--shadow-soft);
}

.plan-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius) var(--radius) 0 0;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card-featured h3 {
  margin-top: 28px;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.price-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 22px;
}

.price strong {
  font-size: 38px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 14px;
}

.price-card ul {
  display: grid;
  gap: 13px;
  min-height: 132px;
  padding: 0;
  margin: 0 0 28px;
  color: var(--ink-soft);
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

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

.faq {
  background: #ffffff;
}

.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.faq-head a {
  color: var(--green-dark);
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  border-top: 1px solid var(--line);
}

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

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-item button span {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 8px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.faq-item button span::after {
  transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] span::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  color: var(--ink-soft);
}

.faq-item button[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 22px;
}

.voices {
  padding-top: 34px;
  background: #ffffff;
}

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

.voices figure {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  row-gap: 12px;
  margin: 0;
}

.avatar {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  font-weight: 900;
}

.voices blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.voices figcaption {
  grid-column: 2;
  display: grid;
  gap: 3px;
  font-size: 14px;
}

.voices figcaption span {
  color: var(--muted);
}

.site-footer {
  color: #dbe7f3;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr 0.9fr 1.2fr;
  gap: 54px;
  padding: 56px 0 40px;
}

.brand-footer {
  color: #ffffff;
}

.site-footer p {
  margin: 18px 0 0;
  color: #b9c9d8;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.site-footer nav,
.footer-subscribe {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 15px;
}

.site-footer nav a {
  color: #c6d5e2;
  font-size: 14px;
}

.footer-subscribe form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-subscribe input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-subscribe input::placeholder {
  color: #b9c9d8;
}

.footer-subscribe .button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .header-actions .button-coral,
  .login-link {
    display: none;
  }

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

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

  .hero-product {
    min-height: 536px;
  }

  .step-line {
    display: none;
  }

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

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

  .workspace-copy {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-subscribe {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .container {
    width: 100%;
    padding-inline: 14px;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
    border-radius: 6px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--green-soft);
  }

  .hero {
    min-height: auto;
    padding: 58px 0 58px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-statement {
    font-size: 28px;
  }

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

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

  .preview-sidebar {
    display: none;
  }

  .hero-product {
    min-height: 500px;
    padding-right: 0;
  }

  .metric-grid,
  .report-metrics,
  .pricing-grid,
  .faq-grid,
  .voices-grid {
    grid-template-columns: 1fr;
  }

  .preview-content,
  .report-charts {
    grid-template-columns: 1fr;
  }

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

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

  .workspace-panel {
    padding: 32px 22px;
  }

  .faq-grid {
    column-gap: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .brand {
    font-size: 18px;
  }

  .header-actions .button-outline {
    display: none;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-statement {
    font-size: 24px;
  }

  .hero-actions,
  .trust-points,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-product {
    min-height: auto;
    padding-bottom: 0;
  }

  .preview-main {
    padding: 14px;
  }

  .preview-topbar,
  .report-head,
  .faq-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .grant-card {
    grid-template-columns: 1fr;
  }

  .grant-icon {
    aspect-ratio: 16 / 9;
  }

  .writer-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(220px, 80%);
    margin: 22px auto 0;
  }

  .audience-logos,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 56px 0;
  }

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

  .section-heading h2,
  .workspace-copy h2,
  .faq-head h2 {
    font-size: 28px;
  }

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

  .writer-card-body nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-grid {
    gap: 18px;
  }

  .price-card {
    padding: 24px;
  }

  .voices figure {
    grid-template-columns: 1fr;
  }

  .voices figcaption {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-subscribe form {
    flex-direction: column;
  }
}

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