@font-face {
  font-family: "GT Pressura";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/GTPressura-Light.woff2") format("woff2");
}

@font-face {
  font-family: "GT Pressura";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/GTPressura-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Founders Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/FoundersGrotesk-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Founders Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/FoundersGrotesk-Bold.woff2") format("woff2");
}

:root {
  --navy: #16202d;
  --navy-soft: #475364;
  --paper: #f3f5f5;
  --paper-light: #ffffff;
  --blue: #3288e6;
  --blue-deep: #196fcc;
  --line: #1b2636;
  --muted: #5e6978;
  --offset-shadow: -7px 7px 0 #1b2636;
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Founders Grotesk", "Archivo", sans-serif;
  color: var(--navy);
  background: var(--paper-light);
  line-height: 1.5;
  padding-top: 0;
}

.noise {
  display: none;
}

.page-shell {
  width: 95%;
  margin: 2.2rem auto 1.25rem;
  min-height: 90%;
  background: var(--paper);
  border-radius: 30px;
  border: 0;
  box-shadow: 0 14px 34px rgba(27, 38, 54, 0.08);
  overflow: visible;
}

body {
  padding-top: 2.2rem;
}

.site-header,
.section,
.site-footer {
  width: 100%;
  margin: 0;
  padding-left: clamp(1rem, 2.4vw, 2.8rem);
  padding-right: clamp(1rem, 2.4vw, 2.8rem);
}

.site-header {
  padding-top: 0.65rem;
  padding-bottom: 0.2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 122px;
  overflow: visible;
}

.brand {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translate(-50%, -28%);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 180;
}

.brand-logo {
  width: 504px;
  height: auto;
  display: block;
  position: static;
  top: auto;
  left: auto;
  transform: none;
  z-index: 220;
}

.main-nav {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  margin-top: -30px;
}

.main-nav-left {
  margin-right: auto;
}

.main-nav-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

.lang-toggle {
  margin-left: 1.05rem;
  margin-top: -30px;
  min-width: 3rem;
  border: 3px solid var(--line);
  background: var(--paper-light);
  color: var(--navy);
  box-shadow: var(--offset-shadow);
  border-radius: var(--radius);
  padding: 0.32rem 0.58rem;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
}

.lang-toggle:hover {
  color: var(--blue);
}

.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a[aria-current="page"] {
  color: var(--blue);
}

.main-nav a:hover {
  color: var(--blue);
}

.section-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--blue);
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-link:hover {
  color: var(--navy);
}

.btn {
  border: 3px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
}

.btn-primary {
  background: var(--blue);
  color: var(--paper-light);
  box-shadow: var(--offset-shadow);
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  background: var(--paper-light);
  color: var(--navy);
  box-shadow: var(--offset-shadow);
}

.section {
  margin-top: 5.8rem;
}

.section.mockup-section {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.section.cta-section {
  margin-top: 0;
}

.section.cta-section .hero-cta {
  margin-top: 0;
}

.hero {
  text-align: center;
  margin-top: 5.8rem;
  margin-bottom: 0;
}

.eyebrow,
.hero-eyebrow {
  margin: 0;
  color: var(--navy-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.74rem;
}

.hero-title {
  margin: 0.6rem auto 0;
  max-width: none;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.hero-subtitle {
  margin: 0.95rem auto 0;
  max-width: 700px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.hero-copy {
  margin: 1.1rem auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 1.7rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.after-hero-layout {
  max-width: 1220px;
  margin: 0 auto;
  padding-left: clamp(0.55rem, 1.2vw, 0.95rem);
  padding-right: clamp(0.55rem, 1.2vw, 0.95rem);
}

.after-hero-layout .section {
  padding-left: 0;
  padding-right: 0;
  margin-top: 4.1rem;
}

.pillars {
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 332px));
  justify-content: center;
  gap: 1.35rem;
}

.pillar-card {
  border: 4px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  overflow: hidden;
  max-width: 332px;
  margin: 0 auto;
}

.pillar-image {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: contain;
  padding: 0.55rem 0.75rem;
  background: #eef3f8;
  border-bottom: 4px solid var(--line);
}

.pillar-icon {
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
  padding: 0.65rem 0.85rem;
}

.pillar-card h3 {
  margin: 0;
  padding: 0.8rem 0.85rem 0;
  text-align: center;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  line-height: 0.95;
}

.pillar-card p {
  margin: 0;
  padding: 0.72rem 0.85rem 1.05rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.section-head {
  text-align: center;
}

.section-head h2 {
  margin: 0.8rem auto 0;
  max-width: 760px;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 0.95;
}

.feature-grid {
  margin: 1.15rem auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, minmax(265px, 438px));
  justify-content: center;
  gap: 1.15rem;
}

.feature-card {
  border: 3px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 0.85rem 0.9rem;
}

.feature-tag {
  margin: 0;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

.feature-card h3 {
  margin: 0.55rem 0 0;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 0.95;
}

.feature-card p {
  margin: 0.95rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.integrations-grid {
  margin: 1.15rem auto 0;
  max-width: 1060px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.integration-panel {
  border: 3px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 0.88rem;
}

.integration-panel h3 {
  margin: 0;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 0.95;
}

.chip-list {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-list span {
  border: 2px solid var(--line);
  background: #edf3f8;
  padding: 0.35rem 0.6rem;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.steps-panel ol {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 1.04rem;
  display: grid;
  gap: 0.6rem;
}

.billing-toggle {
  margin: 1.2rem auto 0;
  display: flex;
  width: fit-content;
  gap: 0.9rem;
}

.billing-btn {
  border: 3px solid var(--line);
  background: var(--paper-light);
  color: var(--navy);
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 0.5rem 1rem;
  cursor: pointer;
  box-shadow: var(--offset-shadow);
}

.billing-btn.is-active {
  background: var(--blue);
  color: var(--paper-light);
}

.pricing-grid {
  margin: 1.15rem auto 0;
  max-width: 1140px;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison-wrap {
  margin: 1.1rem auto 0;
  max-width: 1140px;
  border: 3px solid var(--line);
  box-shadow: var(--offset-shadow);
  background: var(--paper-light);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 2px solid #d8e4f3;
  padding: 0.8rem 0.9rem;
  text-align: center;
  color: var(--navy);
}

.comparison-table th {
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: 1;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  text-align: left;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.cmp-price {
  font-family: "Founders Grotesk", "Archivo", sans-serif;
  font-size: 1.1rem;
  text-transform: none;
}

.group-row td {
  background: #edf3ff;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-card {
  border: 3px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.price-card.featured {
  background: #eaf3fd;
}

.popular-badge {
  margin: 0;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border: 2px solid var(--line);
  background: var(--paper-light);
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 700;
}

.plan-name {
  margin: 0;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.7rem;
  line-height: 0.95;
}

.plan-price {
  margin: 0;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  font-size: 3rem;
  line-height: 0.85;
}

.plan-period {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.price-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.faq-list {
  margin: 1.15rem auto 0;
  max-width: 980px;
  display: grid;
  gap: 1.1rem;
}

.faq-list details {
  border: 3px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 0.8rem 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.35rem;
  font-weight: 700;
}

.faq-list p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-block {
  border: 4px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 1.35rem;
  text-align: center;
}

.cta-block h2 {
  margin: 0;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 0.95;
}

.cta-block p {
  margin: 0.7rem auto 0;
  max-width: 700px;
  color: var(--muted);
}

.site-footer {
  margin-top: 3.6rem;
  margin-bottom: 1.3rem;
  border: 4px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-legal a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.powered strong {
  color: var(--navy);
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.legal-meta {
  margin: 1.15rem auto 0;
  max-width: 780px;
  text-align: center;
  color: var(--muted);
}

.legal-toc {
  margin: 1.6rem auto 0;
  max-width: 780px;
  border: 3px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 0.9rem 1.1rem;
}

.legal-toc p {
  margin: 0 0 0.55rem;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
}

.legal-toc a {
  color: var(--muted);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

.legal-article {
  margin: 1.6rem auto 0;
  max-width: 780px;
  border: 3px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--offset-shadow);
  padding: 1.3rem 1.5rem 1.6rem;
}

.legal-article section + section {
  margin-top: 1.9rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line);
}

.legal-article h2 {
  margin: 0;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.05;
  color: var(--blue-deep);
}

.legal-article h3 {
  margin: 1.1rem 0 0.4rem;
  font-family: "GT Pressura", "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.legal-article p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-article ul,
.legal-article ol {
  margin: 0.7rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
  display: grid;
  gap: 0.35rem;
}

.legal-article strong {
  color: var(--navy);
}

.legal-article a {
  color: var(--blue-deep);
}

@media (max-width: 1040px) {
  .page-shell {
    width: 95%;
    margin: 0 auto 0.9rem;
    border-radius: 24px;
  }

  body {
    padding-top: 1.6rem;
  }

  .site-header {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    column-gap: clamp(0.55rem, 1.8vw, 1.1rem);
    text-align: center;
    gap: 0.25rem;
    justify-items: center;
    min-height: 0;
    padding-top: 2.2rem;
    padding-bottom: 0.1rem;
  }

  .brand {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, -26%);
    z-index: 220;
  }

  .main-nav-left,
  .main-nav-right {
    display: contents;
  }

  .main-nav a,
  .lang-toggle {
    margin-top: calc(1.35rem + 40px);
    justify-self: center;
    align-self: center;
  }

  .main-nav-left a:nth-child(1) {
    grid-column: 1;
  }

  .main-nav-left a:nth-child(2) {
    grid-column: 2;
  }

  .main-nav-right a:nth-child(1) {
    grid-column: 3;
  }

  .main-nav-right a:nth-child(2) {
    grid-column: 4;
  }

  .lang-toggle {
    grid-column: 5;
    min-width: 2.9rem;
    margin-left: 0;
    padding: 0.25rem 0.5rem;
    font-size: 0.92rem;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
  }

  .brand-logo {
    width: 362px;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
  }

  .main-nav {
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 0;
  }

  .main-nav a {
    font-size: clamp(0.98rem, 1.42vw, 1.2rem);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero-title {
    font-size: clamp(2.05rem, 4.9vw, 3.3rem);
    white-space: normal;
    margin-top: 0.45rem;
  }

  .pillars,
  .feature-grid,
  .integrations-grid,
  .pricing-grid,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .after-hero-layout {
    max-width: 740px;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .pillars,
  .feature-grid,
  .integrations-grid,
  .pricing-grid,
  .faq-list {
    gap: 1rem;
  }

  .after-hero-layout .section {
    margin-top: 3.4rem;
  }

}

@media (max-width: 640px) {
  .page-shell {
    width: 95%;
    margin: 0 auto 0.7rem;
    border-radius: 20px;
  }

  .legal-article {
    padding: 1rem 1.05rem 1.3rem;
  }

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

  body {
    padding-top: 1.1rem;
  }

  .site-header {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    column-gap: clamp(0.35rem, 2.3vw, 0.7rem);
    text-align: center;
    padding-top: 1.9rem;
    gap: 0.15rem;
    justify-items: center;
  }

  .brand {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, -24%);
    z-index: 220;
  }

  .brand-logo {
    width: 283px;
    height: auto;
    position: static;
    top: auto;
    left: auto;
    transform: none;
  }

  .main-nav-left,
  .main-nav-right {
    display: contents;
  }

  .main-nav a,
  .lang-toggle {
    margin-top: calc(0.95rem + 40px);
    justify-self: center;
    align-self: center;
  }

  .main-nav-left a:nth-child(1) {
    grid-column: 1;
  }

  .main-nav-left a:nth-child(2) {
    grid-column: 2;
  }

  .main-nav-right a:nth-child(1) {
    grid-column: 3;
  }

  .main-nav-right a:nth-child(2) {
    grid-column: 4;
  }

  .lang-toggle {
    grid-column: 5;
    min-width: 2.6rem;
    margin-left: 0;
    padding: 0.24rem 0.45rem;
    font-size: 0.9rem;
    box-shadow: 5px 5px 0 var(--line);
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
  }

  .main-nav {
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 0;
  }

  .main-nav a {
    font-size: clamp(0.94rem, 3.7vw, 1.08rem);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.2vw, 2.05rem);
    line-height: 0.93;
    white-space: normal;
    margin-top: 0.3rem;
  }

  .after-hero-layout {
    max-width: 96%;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .pillars,
  .feature-grid,
  .integrations-grid,
  .pricing-grid,
  .faq-list {
    gap: 0.85rem;
  }

  .section {
    margin-top: 4.6rem;
  }

  .hero {
    margin-top: 1.8rem;
  }

  .after-hero-layout .section {
    margin-top: 3rem;
  }

  .hero-wordmark {
    width: min(380px, 90%);
    margin: 0.35rem auto 0;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: clamp(0.2rem, 1.2vw, 0.45rem);
  }

  .main-nav a,
  .lang-toggle {
    margin-top: calc(0.95rem + 40px);
  }

  .main-nav a {
    font-size: clamp(0.72rem, 2.9vw, 0.88rem);
    letter-spacing: -0.005em;
    line-height: 1;
    text-align: center;
  }

  .lang-toggle {
    min-width: 2.15rem;
    padding: 0.18rem 0.32rem;
    font-size: 0.78rem;
  }
}
