* {
  box-sizing: border-box;
}

:root {
  --ink: #122232;
  --muted: #607386;
  --paper: #ffffff;
  --mist: #eef8fd;
  --line: #c7dde8;
  --blue: #147eaf;
  --blue-dark: #0f5579;
  --orange: #f58220;
  --green: #1f8f51;
  --shadow: rgba(18, 34, 50, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(13, 38, 55, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.nav-actions,
.hero-actions,
.trust-row,
.site-footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(20, 126, 175, 0.28);
}

.site-nav {
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a,
.text-link,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.nav-actions {
  justify-content: flex-end;
  gap: 12px;
}

.text-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.button-link,
.primary-action,
.secondary-action,
.secondary-panel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button-link,
.primary-action {
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 16px 34px rgba(245, 130, 32, 0.24);
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
}

.secondary-panel-action {
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: var(--mist);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(720px, 92vh);
  padding: 108px clamp(20px, 6vw, 76px) 64px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 28, 43, 0.82) 0%, rgba(8, 28, 43, 0.66) 39%, rgba(8, 28, 43, 0.08) 72%),
    linear-gradient(180deg, rgba(8, 28, 43, 0.3), rgba(8, 28, 43, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  max-width: 690px;
  color: #ffffff;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 86px;
  line-height: 0.95;
}

.hero-copy {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.48;
}

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

.homepage-writing-slot {
  min-height: 150px;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-writing-slot {
  max-width: 560px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.intro-band,
.client-access-section {
  display: grid;
}

.intro-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.intro-band div {
  min-height: 150px;
  padding: 28px clamp(20px, 4vw, 46px);
  background: var(--mist);
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 38px;
  font-weight: 900;
}

.intro-band p,
.section-copy p,
.feature-grid p,
.workflow-list p,
.price-panel li,
.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-grid,
.pricing-section,
.client-access-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: 88px clamp(20px, 6vw, 76px);
}

.client-access-section {
  background: #f7fbfd;
}

.section-copy,
.section-heading {
  display: grid;
  gap: 12px;
}

.section-copy h2,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  max-width: 760px;
  font-size: 52px;
  line-height: 1.05;
}

.workflow-list,
.feature-grid,
.faq-list,
.access-grid,
.writing-space-grid {
  display: grid;
  gap: 14px;
}

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

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

.workflow-list article,
.feature-grid article,
.access-grid article,
.price-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px var(--shadow);
}

.workflow-list article,
.feature-grid article,
.access-grid article {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
}

.access-grid article {
  align-content: start;
  min-height: 230px;
}

.workflow-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.workflow-list h3,
.feature-grid h3,
.access-grid h3,
.price-panel h3 {
  margin: 0;
  font-size: 22px;
}

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

.access-grid .primary-action,
.access-grid .secondary-panel-action {
  justify-self: start;
  margin-top: auto;
}

.feature-band,
.homepage-space-section,
.faq-section,
.final-cta {
  padding: 88px clamp(20px, 6vw, 76px);
}

.feature-band,
.homepage-space-section {
  background: #f7fbfd;
}

.homepage-space-section .homepage-writing-slot {
  min-height: 240px;
  border-color: var(--line);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(20, 126, 175, 0.05);
}

.homepage-space-section .homepage-writing-slot.wide {
  grid-column: 1 / -1;
  min-height: 190px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-grid article {
  min-height: 220px;
}

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

.pricing-section .section-copy h2,
.pricing-section .section-copy p {
  color: #ffffff;
}

.pricing-section .section-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.price-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.plan-name {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.price-panel li {
  position: relative;
  padding-left: 28px;
}

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

.price-panel .primary-action {
  justify-self: start;
}

.faq-list {
  max-width: 920px;
  margin-top: 28px;
}

.faq-list details {
  padding: 0;
  box-shadow: none;
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  padding: 0 20px 20px;
}

.final-cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(238, 248, 253, 0.96), rgba(255, 255, 255, 0.96)),
    var(--mist);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 76px);
  color: #ffffff;
  background: #101b25;
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

.site-footer div {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.internal-admin-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(238, 248, 253, 0.94), rgba(255, 255, 255, 0.98)),
    var(--mist);
}

.internal-admin-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.internal-admin-card {
  display: grid;
  gap: 16px;
  width: min(100%, 520px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px var(--shadow);
}

.internal-brand {
  color: var(--ink);
}

.internal-admin-card h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.internal-admin-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.internal-admin-card .primary-action {
  justify-self: start;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .section-grid,
  .pricing-section,
.client-access-section,
  .intro-band,
  .feature-grid,
  .access-grid,
  .writing-space-grid {
    grid-template-columns: 1fr;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    align-items: start;
    color: var(--ink);
    background: var(--paper);
  }

  .text-link {
    color: var(--blue-dark);
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
    padding: 46px 20px 42px;
  }

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

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 28, 43, 0.9), rgba(8, 28, 43, 0.56));
  }

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

  .hero-copy {
    font-size: 18px;
  }

  .section-copy h2,
  .section-heading h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .primary-action,
  .secondary-action,
  .secondary-panel-action,
  .button-link {
    width: 100%;
  }

  .section-grid,
  .pricing-section,
.client-access-section,
  .feature-band,
  .homepage-space-section,
  .faq-section,
  .final-cta {
    padding: 58px 20px;
  }

  .homepage-space-section .homepage-writing-slot.wide {
    grid-column: auto;
  }

  .intro-band div {
    min-height: 126px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer div {
    justify-content: flex-start;
  }

  .internal-admin-card h1 {
    font-size: 34px;
  }

  .internal-admin-card .primary-action {
    justify-self: stretch;
  }
}
