:root {
  color-scheme: light;
  --ink: #172022;
  --muted: #586668;
  --line: #dde5e3;
  --panel: #f4f8f7;
  --paper: #ffffff;
  --accent: #0f7f6e;
  --accent-strong: #075c52;
  --warm: #f2b84b;
  --coral: #e46f5d;
  --shadow: 0 18px 48px rgba(18, 32, 34, 0.12);
  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: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 229, 227, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-pages {
  display: none;
}

.site-nav a {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--panel);
  color: var(--accent-strong);
}

.lang-picker {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--panel);
  color: var(--accent-strong);
}

.lang-chevron {
  transition: transform 0.18s ease;
}

.lang-picker[data-open] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow);
  z-index: 200;
}

.lang-picker[data-open] .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  display: block;
  padding: 7px 12px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.lang-dropdown a:hover {
  background: var(--panel);
}

.lang-dropdown .lang-current {
  color: var(--accent);
  font-weight: 650;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.breadcrumb {
  padding: 10px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb ol li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--muted);
}
.breadcrumb ol a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb ol a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px) clamp(42px, 7vw, 84px);
  background:
    linear-gradient(115deg, rgba(15, 127, 110, 0.12), rgba(242, 184, 75, 0.13) 44%, rgba(228, 111, 93, 0.11)),
    var(--paper);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: #2d3a3c;
  font-size: clamp(19px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.button.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 24px rgba(23, 32, 34, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 34px 0 0;
}

.stats div {
  min-width: 0;
  border: 1px solid rgba(221, 229, 227, 0.88);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 850;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img,
.screen-row img {
  width: min(100%, 330px);
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.band,
.split,
.screens,
.faq,
.refs,
.from-blog,
.cta {
  padding: clamp(52px, 7vw, 94px) clamp(20px, 5vw, 72px);
}

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

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head p:not(.eyebrow),
.split p {
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.feature-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  background: #142224;
  color: white;
}

.split .eyebrow {
  color: var(--warm);
}

.split p {
  color: rgba(255, 255, 255, 0.74);
}

.split p.related {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

.split p.related a {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.use-list li {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 750;
}

.longform {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(52px, 7vw, 94px) clamp(20px, 5vw, 72px);
}

.longform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.longform-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--panel);
}

.longform-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--ink);
}

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

@media (max-width: 720px) {
  .longform-grid {
    grid-template-columns: 1fr;
  }
}

.screens {
  background: var(--panel);
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
}

.screen-row img {
  width: 100%;
  max-width: 270px;
  justify-self: center;
}

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

details {
  max-width: 980px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

details p {
  max-width: 760px;
  color: var(--muted);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(115deg, #edf7f5, #fff6e3);
}

.cta h2 {
  max-width: 780px;
}

footer {
  padding: 48px clamp(20px, 5vw, 72px) 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

.footer-inner {
  display: flex;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand {
  flex: 0 0 180px;
}

.footer-brand > p {
  margin-top: 10px;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  flex: 1;
  min-width: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col-head {
  font-weight: 650;
  color: var(--ink);
  margin: 0 0 6px;
  font-size: 14px;
}

.footer-col a {
  text-decoration: none;
  color: var(--muted);
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-legal {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav.is-open .nav-pages {
    display: contents;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-content: flex-start;
  }

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

  .screens {
    padding-left: 0;
    padding-right: 0;
  }

  .screens .section-head {
    padding-left: clamp(20px, 5vw, 72px);
    padding-right: clamp(20px, 5vw, 72px);
  }

  .screen-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-left: clamp(20px, 5vw, 72px);
    padding-right: clamp(20px, 5vw, 72px);
    scroll-padding-left: clamp(20px, 5vw, 72px);
    scrollbar-width: none;
    align-items: start;
  }

  .screen-row::-webkit-scrollbar {
    display: none;
  }

  .screen-row img {
    flex: 0 0 auto;
    width: clamp(180px, 52vw, 260px);
    max-width: none;
    scroll-snap-align: start;
    justify-self: unset;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 190px;
    white-space: normal;
    line-height: 1.1;
  }

  .site-nav.is-open,
  .feature-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(40px, 15vw, 58px);
  }

  .hero-actions,
  .cta {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-brand {
    flex: none;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .button {
    width: 100%;
  }

}

/* Comparison tables */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

.compare th,
.compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  vertical-align: top;
}

.compare th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--warm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

/* References */
.refs .ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.refs .ref-list li {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.refs .ref-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

/* From the blog (SEO page -> blog post links) */
.from-blog .from-blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.from-blog .from-blog-list li {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.from-blog .from-blog-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.from-blog .from-blog-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Blog */
.post {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0;
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.post-head h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 6px 0 14px;
}

.post-excerpt {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.post-body {
  display: grid;
  gap: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.post-body h2 {
  margin: 24px 0 4px;
  font-size: 1.5rem;
  color: var(--warm);
}

.post-body h3 {
  margin: 16px 0 2px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.94);
}

.post-body ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.post-body p.related {
  margin-top: 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.post-body p.related a {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-list {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.post-card {
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.post-card h2 {
  margin: 8px 0 10px;
  font-size: 1.4rem;
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--warm);
}

.post-card .read-more {
  color: var(--warm);
  text-decoration: none;
  font-weight: 600;
}
