:root {
  color-scheme: light;
  --ink: #10252a;
  --ink-2: #314247;
  --muted: #6b787b;
  --paper: #f8f5ed;
  --paper-2: #eef3ec;
  --paper-3: #fffdf7;
  --blue: #104555;
  --blue-2: #072d39;
  --amber: #e6a92f;
  --coral: #df6d4c;
  --green: #247b67;
  --line: rgba(19, 32, 38, 0.16);
  --line-dark: rgba(255, 250, 240, 0.2);
  --shadow: 0 26px 70px rgba(22, 47, 50, 0.16);
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 69, 85, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(16, 69, 85, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 82px 82px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background:
    radial-gradient(circle at 8% 12%, rgba(230, 169, 47, 0.22), transparent 23rem),
    radial-gradient(circle at 88% 6%, rgba(36, 123, 103, 0.18), transparent 25rem),
    radial-gradient(circle at 70% 78%, rgba(223, 109, 76, 0.12), transparent 26rem);
}

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

a {
  color: inherit;
}

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

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.25rem, 6.7vw, 6.2rem);
}

h2 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h3 {
  font-size: 1.1rem;
  line-height: 1.15;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(16, 69, 85, 0.15);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 16px 46px rgba(19, 32, 38, 0.1);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateX(-50%);
}

.brand,
.main-nav,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  color: var(--blue-2);
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 35px;
  height: 28px;
  place-items: end center;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px 0 2px;
  border: 3px solid var(--blue);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.brand-mark span {
  width: 3px;
  height: 14px;
  background: var(--amber);
  border-radius: 999px;
}

.brand-mark span:nth-child(1) {
  position: absolute;
  left: 8px;
  bottom: 0;
}

.brand-mark span:nth-child(2) {
  height: 20px;
}

.brand-mark span:nth-child(3) {
  position: absolute;
  right: 8px;
  bottom: 0;
}

.main-nav {
  justify-content: center;
  gap: 9px;
}

.main-nav a,
.header-cta {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-2);
}

.main-nav a:hover {
  background: rgba(19, 59, 75, 0.08);
}

.header-cta {
  background: var(--blue);
  color: var(--paper-3);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 52px;
  min-height: 92svh;
  align-items: center;
  padding: 126px max(22px, calc((100vw - var(--max)) / 2)) 54px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  z-index: -1;
  width: min(620px, 48vw);
  height: 62%;
  border: 1px solid rgba(16, 69, 85, 0.12);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.5);
}

.hero-content {
  align-self: center;
  max-width: 760px;
  color: var(--ink);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero-copy {
  max-width: 620px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  min-height: 52px;
  justify-content: center;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--amber);
  color: #111a1f;
  box-shadow: 0 18px 34px rgba(216, 155, 52, 0.32);
}

.button.ghost {
  border-color: rgba(16, 69, 85, 0.22);
  color: var(--blue-2);
  background: rgba(255, 253, 247, 0.56);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.photo-tile {
  position: absolute;
  top: 12px;
  right: 0;
  width: 74%;
  overflow: hidden;
  border: 10px solid var(--paper-3);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.3deg);
}

.photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.workflow-board {
  position: absolute;
  left: 0;
  bottom: 32px;
  width: min(470px, 86%);
  padding: 20px;
  border: 1px solid rgba(16, 69, 85, 0.16);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 24px 70px rgba(16, 37, 42, 0.18);
}

.board-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--blue-2);
  font-weight: 800;
}

.board-header strong {
  color: var(--green);
  font-size: 1.1rem;
}

.flow-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.95fr) minmax(36px, 0.35fr) minmax(130px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.flow-row .source {
  color: var(--muted);
}

.flow-row b {
  color: var(--ink);
}

.connector {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--green));
}

.mini-card {
  position: absolute;
  display: grid;
  gap: 5px;
  min-width: 152px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 69, 85, 0.12);
  border-radius: 14px;
  background: var(--blue-2);
  color: var(--paper-3);
  box-shadow: 0 18px 50px rgba(16, 37, 42, 0.2);
}

.mini-card span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-a {
  top: 80px;
  left: 28px;
}

.card-b {
  right: 34px;
  bottom: 6px;
  background: var(--green);
}

.ticker {
  display: flex;
  gap: 10px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  overflow-x: auto;
  background: var(--blue-2);
  color: var(--paper-3);
  scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker span {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

section:not(.hero):not(.ticker) {
  padding: 94px max(22px, calc((100vw - var(--max)) / 2));
}

.intro-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  background: var(--paper);
}

.section-label {
  width: fit-content;
  height: fit-content;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intro-copy {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 46px;
  align-items: start;
}

.intro-copy p,
.section-heading + p {
  color: var(--ink-2);
  font-size: 1.1rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.center .kicker {
  justify-content: center;
}

.checkup {
  background: var(--paper-2);
}

.checkup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.checkup-grid article {
  min-height: 340px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.52);
}

.checkup-grid span {
  display: block;
  margin-bottom: 72px;
  color: var(--coral);
  font-weight: 800;
}

.checkup-grid h3 {
  max-width: 12ch;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.checkup-grid p,
.note p,
.pricing-grid p,
.faq p,
.book-copy p,
footer p {
  color: var(--muted);
}

.field-notes {
  background: var(--blue);
  color: var(--paper-3);
}

.field-notes .section-heading h2 {
  color: var(--paper-3);
}

.notes-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}

.note {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.065);
}

.note.featured {
  grid-row: span 2;
  min-height: 514px;
  background:
    linear-gradient(145deg, rgba(216, 155, 52, 0.22), rgba(255, 250, 240, 0.07)),
    rgba(255, 250, 240, 0.08);
}

.note-tag {
  margin-bottom: 70px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note h3 {
  margin-bottom: 16px;
  color: var(--paper-3);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 400;
}

.note:not(.featured) h3 {
  font-size: 2.1rem;
}

.note p:not(.note-tag) {
  color: rgba(255, 250, 240, 0.72);
}

.bridge-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: center;
}

.board {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  gap: 16px;
  align-items: stretch;
}

.board-column {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.7);
}

.board-column h3 {
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.board-column span {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-3);
  color: var(--ink-2);
  font-weight: 700;
}

.board-path {
  position: relative;
  display: grid;
  place-items: center;
}

.board-path::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: var(--amber);
  transform: translateY(-50%);
}

.board-path span {
  position: relative;
  display: block;
  width: 18px;
  height: 58px;
  border-radius: 999px;
  background: var(--green);
}

.pricing {
  background: var(--paper-2);
}

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

.pricing-grid article {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-3);
}

.pricing-grid article.highlight {
  background: var(--blue-2);
  color: var(--paper-3);
  transform: translateY(-18px);
}

.plan-step {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-grid .highlight .plan-step {
  color: var(--amber);
}

.pricing-grid h3 {
  margin-top: 18px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 400;
}

.price {
  margin: 22px 0;
  color: var(--ink);
  font-size: 2.1rem;
  font-weight: 800;
}

.pricing-grid .highlight .price {
  color: var(--paper-3);
}

.pricing-grid article > p:not(.plan-step):not(.price) {
  flex: 1;
}

.pricing-grid a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-2);
  font-weight: 800;
  text-decoration: none;
}

.pricing-grid .highlight a {
  border-color: transparent;
  background: var(--amber);
  color: #111a1f;
}

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

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.68);
}

summary {
  cursor: pointer;
  padding: 22px;
  color: var(--blue-2);
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 22px 22px;
}

.book {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 520px);
  gap: 48px;
  align-items: start;
  background: var(--blue-2);
  color: var(--paper-3);
}

.book h2 {
  margin-bottom: 22px;
  color: var(--paper-3);
}

.book-copy p {
  max-width: 560px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 1.1rem;
}

.book-copy a {
  display: inline-block;
  margin-top: 30px;
  color: var(--amber);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
}

form {
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.08);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(216, 155, 52, 0.18);
}

input.is-invalid {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(204, 102, 69, 0.18);
}

form .button {
  width: 100%;
  margin-top: 4px;
}

.fine-print {
  margin-top: 12px;
  color: rgba(255, 250, 240, 0.58);
  text-align: center;
  font-size: 0.86rem;
}

.success {
  display: none;
  padding: 42px 12px;
  text-align: center;
}

.success.is-visible {
  display: block;
}

.success span {
  display: inline-grid;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--blue-2);
  font-size: 2rem;
  font-weight: 800;
}

.success h3 {
  margin-bottom: 8px;
  color: var(--paper-3);
  font-size: 1.4rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  background: #081c24;
  color: rgba(255, 250, 240, 0.74);
}

footer strong {
  color: var(--paper-3);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

footer a {
  color: rgba(255, 250, 240, 0.74);
  text-decoration: none;
}

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

  .main-nav {
    display: none;
  }

  h1 {
    max-width: 12ch;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-top: 118px;
  }

  .hero::before {
    display: none;
  }

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

  .intro-section,
  .intro-copy,
  .bridge-board,
  .book {
    grid-template-columns: 1fr;
  }

  .checkup-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid article.highlight {
    transform: none;
  }

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

  .note.featured {
    grid-row: auto;
    grid-column: span 2;
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 12px;
    padding-left: 14px;
  }

  .header-cta {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14.5vw, 4rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero {
    gap: 26px;
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 38px;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

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

  .hero-visual {
    display: none;
  }

  section:not(.hero):not(.ticker) {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .checkup-grid article {
    min-height: auto;
  }

  .checkup-grid span {
    margin-bottom: 34px;
  }

  .notes-grid,
  .note.featured,
  .board {
    grid-template-columns: 1fr;
  }

  .note.featured {
    grid-column: auto;
    min-height: auto;
  }

  .note-tag {
    margin-bottom: 42px;
  }

  .board-path {
    height: 74px;
  }

  .board-path::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 4px;
    height: auto;
    transform: translateX(-50%);
  }

  .board-path span {
    width: 54px;
    height: 14px;
  }

  footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
