/* Ticket Merge marketing site
   Tokens from Figma Website 3 (file skl1hMCLMSh7GpPhNNQs2p).
   No variables were published in the file; values come from get_design_context. */
:root {
  --navy: #2a275c;
  --gold: #fddb70;
  --gold-soft: #fff5d5;
  --mint: #e8f5f1;
  --blue-soft: #f2f7fd;
  --sidebar-bg: #f7fbfa;
  --coral: #fc5d61;
  --coral-soft: #ffebeb;
  --muted: #838195;
  --gray: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --font: "Manrope", system-ui, sans-serif;
  --font-inter: "Inter", system-ui, sans-serif;
  --page: 1506px;
  --gutter: 40px;
  --content: 1262px;
  --h1: 50px;
  --h1-lh: 58.4px;
  --h1-track: -1.5px;
  --body: 18px;
  --body-lh: 26px;
  --btn-h: 37.171px;
  --btn-r: 20px;
  --btn-w: 212.025px;
  --btn-plan-w: 237px;
  --wordmark: 35.446px;
  --wordmark-lh: 20.308px;
  --wordmark-track: -1.7723px;
  --header-pad-top: 34.48px;
  --header-to-hero: 127.77px;
  --logo-w: 101.17px;
  --logo-h: 51.693px;
  --card-r: 10px;
  --shadow-mock: 0 2.791px 11.163px rgba(0, 0, 0, 0.09);
  /* Hover: 10% darker fills, derived from Figma base tokens (no hover variants in the file) */
  --navy-hover: #262353;
  --gold-hover: #e4c564;
  --btn-light-hover: #f4f3f8;
  --btn-ghost-hover: rgba(42, 39, 92, 0.08);
  --link-footer-hover: #e8e7ef;
  --btn-shadow-hover: 0 4px 12px rgba(42, 39, 92, 0.2);
  --motion: 150ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--body);
  line-height: var(--body-lh);
  color: var(--navy);
  background: var(--white);
  min-width: 320px;
}

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
  border-radius: 4px;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-content {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  height: var(--header-to-hero);
  position: relative;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: var(--header-pad-top);
  padding-bottom: 41.6px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: var(--logo-h);
}

.brand img {
  width: var(--logo-w);
  height: var(--logo-h);
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font);
  font-weight: 800;
  font-size: var(--wordmark);
  line-height: 1;
  letter-spacing: var(--wordmark-track);
  color: var(--navy);
  white-space: nowrap;
}

.nav {
  margin-left: auto;
  margin-right: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.nav a[aria-current="page"] { font-weight: 600; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--navy);
  border-radius: 8px;
  width: 40px;
  height: 37px;
  cursor: pointer;
  color: var(--navy);
}

.nav-toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 12px;
  position: relative;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy); /* #2A275C */
  border-radius: 1px;
  transition: transform var(--motion), top var(--motion), bottom var(--motion);
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--btn-h);
  min-width: var(--btn-w);
  padding: 0 20px 0 28px;
  border-radius: var(--btn-r);
  border: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--motion),
    color var(--motion),
    border-color var(--motion),
    box-shadow var(--motion),
    transform var(--motion);
}
.btn:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
}
.btn:active {
  transform: none;
  box-shadow: none;
}
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover {
  background: var(--btn-light-hover);
  color: var(--navy-hover);
}
.btn--light:focus-visible { outline-color: var(--navy); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  min-width: 163px;
  padding: 0 24px;
}
.btn--ghost:hover {
  background: var(--btn-ghost-hover);
  color: var(--navy-hover);
  border-color: var(--navy-hover);
}
.btn--plan { min-width: var(--btn-plan-w); width: var(--btn-plan-w); padding: 0 16px 0 18px; gap: 6px; }
.btn img, .btn .zoho {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header-cta { flex-shrink: 0; }

/* ---------- Links and hover ---------- */
/* Figma Website 3 has no hover/interactive variants; fallback styles below. */
a:not(.btn):not(.brand):not(.skip) {
  text-underline-offset: 3px;
  transition: color var(--motion), text-decoration-color var(--motion);
}
a:not(.btn):not(.brand):not(.skip):hover {
  color: var(--navy-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:not(.btn):not(.brand):not(.skip):focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  color: var(--navy-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--navy-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand {
  transition: opacity var(--motion);
}
.brand:hover { opacity: 0.85; }
.brand:hover .wordmark { color: var(--navy-hover); }
.brand:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Footer/credit links: higher specificity so the general navy hover cannot wash them out. */
.site-footer a:not(.btn):not(.brand):not(.skip),
.site-footer .footer-bottom a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer a:not(.btn):not(.brand):not(.skip):hover,
.site-footer a:not(.btn):not(.brand):not(.skip):focus-visible,
.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:focus-visible {
  color: var(--gold); /* logo yellow #FDDB70 */
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer a:not(.btn):not(.brand):not(.skip):focus-visible,
.site-footer .footer-bottom a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.site-footer .brand:hover { opacity: 1; }
.site-footer .brand:hover .wordmark { color: var(--gold); }
.site-footer .brand:focus-visible { outline-color: var(--gold); }
.site-footer .btn:focus-visible { outline-color: var(--gold); }

/* CTA band is gold; navy link hover stays visible. No text links today; guard anyway. */
.cta-band a:not(.btn):hover,
.cta-band a:not(.btn):focus-visible {
  color: var(--navy-hover);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .btn:hover,
  .btn:active {
    transition: background-color var(--motion), color var(--motion), border-color var(--motion), box-shadow var(--motion);
    transform: none;
  }
  .faq summary::after { transition: none; }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after { transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--mint);
  min-height: 880.079px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  min-height: 880.079px;
}

.hero-diagram {
  position: absolute;
  left: 69.53px;
  top: -181.24px;
  width: 670.104px;
  height: 1300.392px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-diagram img {
  width: 1300.392px;
  height: 670.104px;
  max-width: none;
  transform: rotate(90deg);
  flex-shrink: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  margin-left: calc(50% + 20px);
  width: 585.034px;
  max-width: calc(100% - 48px);
  padding: 210.38px 0 142.85px;
  /* intro top 127.77 + 210.38 = 338.15 matches Figma H1 top */
}

.hero h1 {
  margin: 0;
  font-weight: 500;
  font-size: var(--h1);
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-track);
  color: var(--navy);
  max-width: 585.034px;
}

.hero .lede {
  margin: 25.99px 0 0;
  /* 540.14 - 338.15 - ~176 (3 lines * 58.4) ≈ tight; use measured 540-338-201.99 box, visual gap after 3-line h1 */
  width: 583.293px;
  max-width: 100%;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 36px;
}

/* Headings used site-wide */
h1, h2, .h1 {
  font-weight: 500;
  font-size: var(--h1);
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-track);
  color: var(--navy);
  margin: 0;
}

.h3 {
  font-weight: 700;
  font-size: 25px;
  line-height: 58.4px;
  letter-spacing: -0.75px;
  color: var(--navy);
  margin: 0;
}

/* ---------- How it works ---------- */
.how {
  background: var(--blue-soft);
  padding: 86.75px 0 80px;
}

.section-intro {
  text-align: center;
  max-width: 722.534px;
  margin: 0 auto 40px;
}

.section-intro h2 { text-align: center; }

.section-intro p {
  margin: 12px auto 0;
  max-width: 583.293px;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.mocks-row {
  display: flex;
  justify-content: center;
  gap: 28.6px;
  margin: 60px auto 0;
  max-width: 1262px;
  padding: 0 16px;
}

.mocks-row img.mock {
  width: 410.231px;
  max-width: 100%;
  height: auto;
  border-radius: 6.977px;
  box-shadow: var(--shadow-mock);
}

.feature-block {
  margin: 80px auto 0;
  max-width: var(--page);
  padding: 0 var(--gutter);
}

.feature-block--center { text-align: center; }

.feature-block--center .section-intro { margin-bottom: 36px; }

.mock-wide {
  display: block;
  width: 849px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
}

.split--ai { align-items: flex-start; gap: 32px; }

.split-copy {
  max-width: 360px;
  flex: 0 0 311px;
}

.split-copy h2 { max-width: 360px; }
.split-copy p {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.stack-mocks {
  position: relative;
  width: 484px;
  max-width: 100%;
  min-height: 430px;
  flex-shrink: 0;
}

.stack-mocks img {
  width: 410.231px;
  max-width: 90%;
  height: auto;
  border-radius: 6.977px;
  box-shadow: var(--shadow-mock);
  position: absolute;
}

.stack-mocks img:first-child { left: 0; top: 0; }
.stack-mocks img:last-child { left: 74px; top: 113px; }

.mock-dash {
  width: 484.277px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-mock);
}

.features-3 {
  display: grid;
  grid-template-columns: repeat(3, 364.341px);
  justify-content: center;
  gap: 40.6px;
  margin: 88px auto 0;
  max-width: var(--page);
  padding: 0 16px;
  text-align: center;
}

.feature-card { width: 364.341px; max-width: 100%; }

.feature-card img {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
}

.feature-card h3 {
  font-weight: 700;
  font-size: 25px;
  line-height: 58.4px;
  letter-spacing: -0.75px;
  margin: 0;
}

.feature-card p {
  margin: 0 auto;
  max-width: 301.534px;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

/* ---------- Pricing cards ---------- */
.pricing-section {
  background: var(--white);
  padding: 80px 0 144px;
}

.pricing-section h1,
.pricing-section h2,
.pricing-section .page-title {
  text-align: center;
  margin: 0 auto 24px;
  width: 100%;
  display: block;
}

/* Currency switcher is not in the Figma file. Keep it modest and near the prices. */
.currency-switch {
  display: flex;
  width: max-content;
  margin: 0 auto 28px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
}
.pricing-section h1 + .currency-switch,
.pricing-section h2 + .currency-switch,
.pricing-section .page-title + .currency-switch {
  margin-top: -8px;
}
.currency-switch__btn {
  appearance: none;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  min-width: 56px;
}
.currency-switch__btn.is-active {
  background: var(--navy);
  color: var(--white);
}
.currency-switch__btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 299.96px);
  justify-content: center;
  gap: 21px;
  max-width: var(--content);
  margin: 0 auto;
}

.plan {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--card-r);
  height: 367px;
  padding: 36.22px 30.1px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan--popular { background: var(--gold-soft); }

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.plan h3 {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 999px;
  padding: 3px 8px;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 10px;
  line-height: normal;
  color: var(--navy);
  white-space: nowrap;
  font-style: normal;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
}

.price {
  font-weight: 500;
  font-size: 50px;
  line-height: 1;
  color: var(--navy);
}

.period {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.plan-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 10px;
}

.plan-features li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan .btn { margin-top: auto; }
.plan .compare-link {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.42px;
  color: var(--navy);
  text-decoration: underline;
  text-underline-position: from-font;
}

.billing-note {
  max-width: var(--content);
  margin: 16px auto 28px;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  display: block;
}
.billing-note--lead {
  max-width: 722px;
  margin: 0 auto 40px;
  color: var(--navy);
}
.billing-note--install {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--navy);
}
/* Small-print notes under plan cards: Figma caption-scale 14px, muted #838195 */
.plan-notes {
  max-width: 760px;
  margin: 20px auto 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan-notes .billing-note {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Compare table ---------- */
.compare { padding-top: 0; padding-bottom: 48px; background: var(--white); }
.compare h2 { text-align: center; margin: 0 auto 32px; }

.table-wrap {
  max-width: 1260px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--gold);
  border-radius: 10px;
}

.compare table {
  width: 1260px;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.compare th, .compare td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  width: 20%;
  height: 48px;
}

.compare thead th {
  background: var(--gold-soft);
  font-weight: 600;
  height: 48.7px;
}

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

.table-scroll-hint { display: none; }

.footnotes {
  max-width: 1260px;
  margin: 16px auto 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.42px;
  color: var(--navy);
}
.footnotes p { margin: 0 0 6px; }

.prose-block {
  max-width: 1260px;
  margin: 48px auto 0;
}
.prose-block h2 { text-align: left; margin-bottom: 16px; font-size: 50px; }
.prose-block h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0;
  margin: 28px 0 8px;
}
.prose-block p, .prose-block li {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
}
.prose-block p { margin: 0 0 12px; }
.prose-block a { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { padding-top: 24px; padding-bottom: 64px; background: var(--white); }
.faq h2 { text-align: center; margin: 0 auto 32px; }

.faq-list {
  max-width: 1262px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq details {
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: var(--white);
  padding: 22.5px 23px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::marker { content: ""; }
.faq summary::after {
  content: "";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  /* Figma icon size 24px, navy #2A275C, 1.5px stroke; 18px bar matches the source SVG (x 3–21). */
  background:
    linear-gradient(var(--navy), var(--navy)) center / 18px 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 18px no-repeat;
  transition: background-size var(--motion);
}

.faq details[open] summary::after {
  /* Minus: hide the vertical bar */
  background-size: 18px 1.5px, 1.5px 0;
}

.faq details p {
  margin: 16px 0 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  max-width: 1159px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gold);
  min-height: 456.379px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 83px 24px 80px;
}

.cta-band h2 {
  max-width: 722.534px;
  margin: 0 auto;
}

.cta-band p {
  max-width: 583.293px;
  margin: 24px auto 36px;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  min-height: 249px;
  padding: 31.47px 0 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.site-footer .wordmark { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--page);
  margin: 0 auto;
  padding: 75px var(--gutter) 28px;
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  color: var(--white);
}

.footer-bottom a {
  color: var(--white);
  text-decoration: underline;
  text-underline-position: from-font;
}

.footer-links { display: flex; gap: 22px; }

/* ---------- Document / support / legal ---------- */
.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 { max-width: 986px; }

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 8px var(--gutter) 80px;
}

.doc h1 {
  margin: 0 0 24px;
}

.doc h2 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 40px 0 12px;
}

.doc h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  margin: 28px 0 8px;
}

.doc p, .doc li {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
}

.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 1.25em; }
.doc a { text-decoration: underline; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 16px;
}
.doc th, .doc td {
  border: 1px solid var(--gold);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.doc thead th { background: var(--gold-soft); font-weight: 600; }
.doc .table-wrap {
  border: 0;
  border-radius: 0;
  margin: 16px 0 24px;
  max-width: 100%;
}
.doc .table-wrap table { margin: 0; }

.contact-grid {
  display: grid;
  gap: 8px;
  margin: 16px 0 28px;
  font-size: 16px;
  line-height: 22px;
}

/* ---------- Help & Guides ---------- */
.guides {
  padding-top: 0;
  padding-bottom: 48px;
}

.guides-h1 {
  max-width: var(--content);
  margin: 24px auto 40px;
  padding: 0;
}

.guides-layout {
  display: grid;
  grid-template-columns: 256px 972px;
  gap: 31px;
  justify-content: center;
  max-width: var(--content);
  margin: 0 auto 48px;
  align-items: start;
}

.guides-side {
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guides-side a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
  text-decoration: none;
  color: var(--navy);
}

.guides-side a[aria-current="page"],
.guides-side a.is-active {
  background: var(--coral-soft);
  color: var(--coral);
}

.article { min-width: 0; }

.eyebrow {
  font-weight: 600;
  font-size: 12px;
  line-height: normal;
  color: var(--coral);
  margin: 0 0 14px;
}

.article h1 {
  font-weight: 600;
  font-size: 28px;
  line-height: normal;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.article .lede {
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
  margin: 0 0 16px;
}
.article p.lede { color: var(--gray); font-size: 15px; line-height: 24px; }
.article code {
  font-family: var(--font);
  font-weight: 600;
  font-size: inherit;
}

.article p, .article li {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--navy);
}

.article ol { padding-left: 1.2em; margin: 0 0 16px; }
.article p { margin: 0 0 12px; }

.callout {
  background: var(--coral-soft);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0 0;
}
.callout strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--coral);
}
.callout p { margin: 0; font-weight: 500; font-size: 14px; line-height: 20px; }

/* ---------- Mid (stacked features; desktop Figma layout is unchanged above 1100px) ---------- */
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(260px, 299.96px)); }
  .features-3 { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; }
  .guides-layout { grid-template-columns: 1fr; }
  .split, .split--ai { flex-direction: column; align-items: center; text-align: left; }
  .split-copy { max-width: 583px; flex-basis: auto; order: -1; } /* text first, then image */
  .hero-copy {
    margin-left: auto;
    margin-right: 40px;
    padding-top: 160px;
  }
  .hero-diagram { opacity: 0.9; left: -80px; }
}

/* ---------- Tablet / mobile (<=~900px). Desktop above this stays as in Figma. ---------- */
@media (max-width: 900px) {
  :root { --gutter: 24px; }

  /* Header: smaller logo, hamburger, no overflow */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    flex-shrink: 0;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--gutter) 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(42, 39, 92, 0.08);
    margin: 0;
    z-index: 30;
  }
  .nav.is-open { display: flex; }
  .site-header {
    height: auto;
    min-height: 0;
    position: relative;
  }
  .site-header .wrap {
    padding: 12px var(--gutter);
    min-height: 64px;
  }
  .header-cta { display: none; }
  .site-header .brand { height: 34px; }
  .site-header .brand img {
    width: auto;
    height: 34px;
  }
  .site-header .wordmark {
    font-size: 23px;
    letter-spacing: -1.15px;
  }

  /* One site-wide gutter on every content container.
     Coloured section backgrounds stay full-bleed; padding is on the content box.
     Set padding-left/right (not the padding shorthand) so vertical rhythm is kept. */
  .wrap,
  .wrap-content,
  .hero-inner,
  .how,
  .pricing-section,
  .compare,
  .faq,
  .doc,
  .guides,
  .article,
  .page-hero,
  .cta-band,
  .not-found {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  /* Avoid double padding on inner containers that already use --gutter */
  .how .feature-block,
  .how .mocks-row,
  .how .features-3,
  .hero-copy {
    padding-left: 0;
    padding-right: 0;
  }

  /* Vertical rhythm */
  .how,
  .pricing-section,
  .compare,
  .faq,
  .doc,
  .guides {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .page-hero { padding-top: 56px; padding-bottom: 24px; }
  .feature-block { margin-top: 56px; }
  .split { margin-top: 56px; }
  .features-3 { margin-top: 56px; gap: 32px; }
  .mocks-row { margin-top: 32px; }
  .section-intro { margin: 0 0 32px; }
  .section-intro p,
  .split-copy p,
  .feature-block--center .section-intro p {
    margin-top: 16px;
  }
  .feature-block--center .section-intro { margin-bottom: 32px; }
  .feature-card h3 {
    line-height: 1.3;
    margin-bottom: 16px;
  }

  /* Text alignment: left on mobile/tablet */
  .section-intro,
  .section-intro h2,
  .section-intro p,
  .feature-block--center,
  .features-3,
  .feature-card,
  .feature-card p,
  .pricing-section h1,
  .pricing-section h2,
  .pricing-section .page-title,
  .compare h2,
  .faq h2,
  .cta-band,
  .cta-band h2,
  .cta-band p,
  .billing-note,
  .billing-note--lead,
  .billing-note--install,
  .guides-h1 {
    text-align: left;
  }
  .section-intro p,
  .feature-card p,
  .cta-band h2,
  .cta-band p,
  .billing-note,
  .plan-notes {
    margin-left: 0;
    margin-right: 0;
  }
  .features-3,
  .feature-card { justify-items: start; }
  .features-3 { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .feature-card { width: 100%; max-width: 100%; min-width: 0; }
  .feature-card img { margin-left: 0; margin-right: auto; }
  .cta-band {
    align-items: flex-start;
    text-align: left;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* Hero: single gutter, no extra inset, no diagram */
  .hero, .hero-inner { min-height: 0; }
  .hero-diagram { display: none; }
  .hero-copy {
    margin: 0;
    width: auto;
    max-width: 100%;
    padding-top: 32px;
    padding-bottom: 56px;
  }
  h1, h2, .h1, .hero h1, .cta-band h2, .section-intro h2, .guides-h1, .page-title, .doc h1, .article h1 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -1px;
  }
  .hero .lede { width: auto; }

  /* Images / mockups stay inside the gutter and do not overflow */
  .stack-mocks {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 484 / 543; /* 430 + 113 overlap */
    min-height: 0;
  }
  .stack-mocks img {
    width: 84.75%;
    max-width: none;
  }
  .stack-mocks img:first-child { left: 0; top: 0; }
  .stack-mocks img:last-child { left: 15.289%; top: 20.81%; }
  .mock-wide, .mock-dash, .mocks-row img.mock {
    width: 100%;
    max-width: 100%;
  }
  .mocks-row { flex-direction: column; align-items: stretch; padding: 0; }
  .split, .split--ai { width: 100%; max-width: 100%; }
  .split-copy { max-width: 100%; }

  /* Pricing cards: centre the CTA and Compare link */
  .plan-grid { width: 100%; }
  .plan { width: 100%; max-width: 100%; height: auto; }
  .plan .btn {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .plan .compare-link { text-align: center; }

  /* Tables scroll inside the gutter, not the page */
  .table-wrap,
  .doc,
  .article {
    max-width: 100%;
    min-width: 0;
  }
  .table-scroll-hint {
    display: block;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--muted);
  }
  .table-wrap {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .compare table {
    width: 720px;
    max-width: none;
    border-collapse: separate;
    border-spacing: 0;
  }
  .compare th,
  .compare td {
    width: auto;
    min-width: 7.5rem;
  }
  .compare th:first-child,
  .compare td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 8.5rem;
    background: var(--white);
    box-shadow: 1px 0 0 var(--gold);
  }
  .compare thead th:first-child {
    background: var(--gold-soft);
    z-index: 2;
  }
  .doc .table-wrap table,
  .article .table-wrap table {
    width: max-content;
    max-width: none;
  }
  .doc .table-wrap {
    border: 0;
    border-radius: 0;
  }

  /* Footer uses the same gutter; stack and shrink brand slightly */
  .footer-bottom,
  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .site-footer .brand { height: 34px; }
  .site-footer .brand img { width: auto; height: 34px; }
  .site-footer .wordmark { font-size: 23px; letter-spacing: -1.15px; }
  .price { line-height: 1; }
}

@media (max-width: 800px) {
  .plan-grid { grid-template-columns: 1fr; justify-items: stretch; }
  .plan { max-width: 100%; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
}

