/* =====================
   Base
===================== */

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, img, figure, figcaption {
  margin: 0;
  padding: 0;
}

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

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  color: #17212f;
  background: #f4f7f8;
}

body, button, input, textarea, select {
  font-family: inherit;
}

body {
  min-width: 320px;
  color: #17212f;
  background:
    linear-gradient(180deg, #eef7f7 0%, #f7faf8 38%, #f4f7f8 100%);
  line-height: 1.6;
}

a {
  color: #0f6f6f;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0b4f4f;
}

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

ul, ol {
  list-style: none;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page > header,
.page > main,
.page > footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

main {
  flex: 1 0 auto;
  padding: 3.6rem 0 4.8rem;
}

main h1,
main h2,
main h3 {
  color: #122032;
  line-height: 1.08;
  letter-spacing: 0;
}

main h1 {
  font-size: clamp(2.25rem, 6vw, 4.6rem);
  max-width: 10.5em;
}

main h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
}

main h3 {
  font-size: 1.05rem;
}

main p {
  color: #3e4b5b;
}

/* =====================
   Header
===================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: #142033;
  font-weight: 750;
  text-decoration: none;
}

.site-brand-mark {
  position: relative;
  display: inline-block;
  width: 2.35rem;
  height: 1.9rem;
  flex: 0 0 auto;
}

.brand-mark-sky,
.brand-mark-line,
.brand-mark-ground {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.brand-mark-sky {
  top: 0;
  left: 0.18rem;
  width: 1.45rem;
  height: 1.45rem;
  background: #9fd4df;
}

.brand-mark-line {
  top: 0.72rem;
  right: 0;
  width: 1.45rem;
  height: 0.42rem;
  background: #176b87;
}

.brand-mark-ground {
  bottom: 0.1rem;
  left: 0;
  width: 2.2rem;
  height: 0.38rem;
  background: #153246;
}

.site-brand-copy {
  display: grid;
  gap: 0.04rem;
}

.site-brand-text {
  color: #122032;
  font-size: 1.12rem;
  line-height: 1;
}

.site-brand-subtext {
  color: #697586;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.42rem 0.7rem;
  border-radius: 8px;
  color: #536071;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: #12303a;
  background: rgba(23, 107, 135, 0.08);
}

.site-nav .nav-cta {
  margin-left: 0.25rem;
  color: #fff;
  background: #176b87;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  color: #fff;
  background: #11536a;
}

/* =====================
   Buttons
===================== */

.button,
.signup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.68rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary,
.signup-cta {
  color: #fff !important;
  background: #176b87;
  box-shadow: 0 10px 24px rgba(23, 107, 135, 0.18);
}

.button-primary:hover,
.signup-cta:hover {
  color: #fff !important;
  background: #11536a;
}

.button-secondary {
  color: #153246;
  background: #fff;
  border-color: #cfdde1;
}

.button-secondary:hover {
  color: #0f2634;
  border-color: #9ebac2;
}

/* =====================
   Home
===================== */

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  align-items: center;
  gap: clamp(2.6rem, 6vw, 5.2rem);
  padding: 1.7rem 0 2.2rem;
}

.landing-hero-copy {
  display: grid;
  gap: 1.05rem;
}

.landing-hero-copy h1 {
  font-size: clamp(2.25rem, 5.35vw, 4.2rem);
  line-height: 1.08;
}

.eyebrow {
  color: #176b87;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 36rem;
  color: #334253;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.2rem;
}

.trial-note,
.homepage-cta-note {
  color: #697586;
  font-size: 0.88rem;
}

.landing-hero-image {
  justify-self: end;
  width: min(100%, 780px);
  aspect-ratio: 1672 / 941;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(21, 46, 58, 0.18);
}

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

.section-band {
  display: grid;
  gap: 1.8rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid #dce7e9;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  max-width: 42rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  display: grid;
  gap: 0.6rem;
  padding: 1.15rem;
  border: 1px solid #dce7e9;
  border-radius: 10px;
  background: #fff;
}

.feature-card p {
  font-size: 0.95rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.split-section > div:first-child {
  display: grid;
  gap: 0.65rem;
}

.text-stack {
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
}

.proof-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d9e4e7;
  border-bottom: 1px solid #d9e4e7;
}

.proof-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
}

.proof-item + .proof-item {
  border-left: 1px solid #d9e4e7;
}

.proof-item strong {
  color: #122032;
  font-size: 0.96rem;
}

.proof-item span {
  color: #566474;
  font-size: 0.9rem;
}

.final-cta {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border-radius: 16px;
  color: #fff;
  background: #12303a;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta p {
  max-width: 42rem;
  opacity: 0.86;
}

/* =====================
   Standard Content Pages
===================== */

.main-body {
  display: grid;
  max-width: 760px;
  gap: 1.15rem;
}

.main-body h1,
.main-body h2 {
  margin-bottom: 0.2rem;
}

.main-body a {
  color: #0f6f6f;
}

.company-details {
  padding-top: 0.65rem;
  color: #697586;
  font-size: 0.9rem;
  line-height: 1.55;
}

.blog-body {
  max-width: 720px;
  gap: 1rem;
}

.blog-body h1 {
  max-width: 9em;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}

.blog-intro {
  max-width: 42rem;
  color: #536071;
  font-size: 1.04rem;
  line-height: 1.55;
}

.article-body {
  display: grid;
  max-width: 760px;
  gap: 1.1rem;
}

.article-body h1 {
  max-width: 12em;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-meta {
  color: #697586;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
}

.article-body .main-body {
  padding-top: 0.65rem;
}

.back-link {
  color: #176b87;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link::before {
  content: "← ";
}

.back-link:hover {
  color: #12303a;
  text-decoration: underline;
}

.post-date {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: #697586;
  font-size: 0.88rem;
}

.post-list {
  display: grid;
  gap: 0.95rem;
  padding-top: 0.5rem;
}

.post-card {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem 3.1rem 1.25rem 1.35rem;
  border: 1px solid #cfe0e4;
  border-radius: 8px;
  color: #153246 !important;
  background:
    linear-gradient(180deg, rgba(23, 107, 135, 0.08), rgba(23, 107, 135, 0) 3.6rem),
    #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(21, 46, 58, 0.06);
}

.post-card::after {
  content: "→";
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  color: #176b87;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.post-card:hover {
  color: #0f2634;
  border-color: #b9cfd4;
  transform: translateY(-1px);
}

.post-kicker {
  display: block;
  color: #176b87;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.post-title {
  display: block;
  color: #176b87;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.post-meta {
  display: block;
  color: #697586;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
}

.post-summary {
  display: block;
  max-width: 40rem;
  color: #536071;
  font-size: 0.94rem;
  line-height: 1.5;
}

/* =====================
   Signup
===================== */

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: start;
}

.signup-copy {
  display: grid;
  gap: 1.25rem;
}

.signup-copy h1 {
  max-width: 9em;
}

.signup-action {
  grid-column: 1;
}

.signup-panel {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 1.2rem;
  padding: 1.35rem;
  border: 1px solid #d7e3e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(21, 46, 58, 0.11);
}

.signup-panel h2 {
  font-size: 1.25rem;
}

.detail-list {
  display: grid;
  gap: 1rem;
}

.detail-list p {
  display: grid;
  gap: 0.2rem;
}

.detail-list strong {
  color: #122032;
}

.detail-list span {
  color: #566474;
  font-size: 0.92rem;
}

/* =====================
   Features
===================== */

.features-main {
  display: grid;
  gap: 4rem;
}

.features-hero {
  padding-top: 0.7rem;
}

.feature-showcase {
  display: grid;
  gap: 3.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #d9e4e7;
}

.feature-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.feature-row-reverse {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 0.95fr);
}

.feature-row-reverse .feature-row-copy {
  order: 2;
}

.feature-row-reverse .feature-image {
  order: 1;
}

.feature-row-copy {
  display: grid;
  gap: 0.8rem;
}

.feature-row-copy p:not(.eyebrow) {
  font-size: 1rem;
}

.feature-image {
  justify-self: end;
  width: min(100%, 520px);
  aspect-ratio: 2940 / 1674;
  overflow: hidden;
  border: 1px solid #d7e3e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(21, 46, 58, 0.12);
}

.feature-row-reverse .feature-image {
  justify-self: start;
}

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

/* =====================
   Footer
===================== */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid #dce7e9;
  color: #697586;
  font-size: 0.82rem;
}

footer a {
  color: #697586;
}

.preload-screenshot {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =====================
   Responsive
===================== */

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

  .site-nav {
    justify-content: flex-start;
    width: auto;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .landing-hero,
  .split-section,
  .signup-layout,
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
  }

  .feature-row-reverse .feature-row-copy,
  .feature-row-reverse .feature-image {
    order: initial;
  }

  .landing-hero {
    padding-top: 0.8rem;
  }

  .feature-grid,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .proof-item + .proof-item {
    border-left: none;
    border-top: 1px solid #d9e4e7;
  }

  .signup-panel,
  .signup-action {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .page > header,
  .page > main,
  .page > footer {
    width: min(100% - 32px, 1120px);
  }

  main {
    padding: 1.35rem 0 2.6rem;
  }

  main h1 {
    font-size: 1.95rem;
    line-height: 1.12;
  }

  main h2 {
    font-size: 1.28rem;
    line-height: 1.18;
  }

  .features-main {
    gap: 2.2rem;
  }

  .landing-hero {
    padding: 0 0 1.7rem;
    border-bottom: 1px solid #d9e4e7;
  }

  .site-header {
    gap: 0.9rem;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.82rem;
    overflow-x: visible;
  }

  .site-nav a {
    min-height: 2.1rem;
    padding: 0.35rem 0.55rem;
  }

  .landing-hero-copy,
  .signup-copy {
    gap: 0.82rem;
  }

  .hero-lede {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: row;
    gap: 0.55rem;
  }

  .button,
  .signup-cta {
    width: auto;
    min-height: 2.55rem;
    padding: 0.62rem 0.82rem;
    font-size: 0.88rem;
  }

  .signup-action .button {
    width: 100%;
  }

  .landing-hero-image,
  .feature-image {
    width: min(100%, 460px);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(21, 46, 58, 0.11);
  }

  .section-band,
  .final-cta,
  .signup-panel {
    padding: 1.1rem;
  }

  .section-band,
  .final-cta,
  .signup-panel {
    border-radius: 12px;
  }

  .feature-grid {
    gap: 0.7rem;
  }

  .feature-card {
    padding: 0.95rem;
  }

  .split-section,
  .feature-showcase {
    gap: 1.7rem;
  }

  .feature-row {
    gap: 0.8rem;
    padding-bottom: 1.7rem;
  }

  .feature-row-copy {
    gap: 0.5rem;
  }

  .feature-row-copy p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .feature-row .feature-image,
  .feature-row-reverse .feature-image {
    order: initial;
    justify-self: start;
  }

  .proof-item {
    padding: 0.9rem 0;
  }

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