:root {
  --paper: #f4faf7;
  --paper-strong: #ffffff;
  --ink: #10202d;
  --ink-soft: #536474;
  --line: rgba(16, 32, 45, 0.12);
  --teal: #0f9f6e;
  --teal-soft: rgba(15, 159, 110, 0.12);
  --rust: #2376ba;
  --rust-soft: rgba(35, 118, 186, 0.12);
  --gold: #d3b44e;
  --gold-soft: rgba(211, 180, 78, 0.16);
  --navy: #183a61;
  --shadow: 0 20px 50px rgba(16, 32, 45, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(15, 159, 110, 0.1), transparent 26rem),
    radial-gradient(circle at right 20%, rgba(35, 118, 186, 0.08), transparent 24rem),
    linear-gradient(180deg, #fbfefd 0%, var(--paper) 42%, #edf7f3 100%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  min-height: 100vh;
}

.utility-bar {
  border-bottom: 1px solid rgba(16, 32, 45, 0.08);
  background: rgba(16, 32, 45, 0.04);
}

.utility-inner {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.utility-inner strong {
  color: var(--ink);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(16, 32, 45, 0.08);
  box-shadow: 0 6px 22px rgba(16, 32, 45, 0.04);
}

.topbar-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(16, 32, 45, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  padding: 4.25rem 0 3rem;
}

.hero.hero-dense {
  padding: 2.2rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.policy-card,
.detail-card,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.25rem;
  background: linear-gradient(140deg, rgba(15, 159, 110, 0.08), rgba(255, 255, 255, 0.96) 42%, rgba(24, 58, 97, 0.06));
}

.hero-copy.hero-copy-strong {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 32, 45, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(227, 240, 251, 0.95);
  color: #1b4f7c;
}

.page-hero[data-accent="xero"] .eyebrow {
  background: rgba(223, 246, 238, 0.96);
  border-color: rgba(15, 106, 74, 0.14);
  color: #0f6a4a;
}

.page-hero[data-accent="mailauth"] .eyebrow {
  background: rgba(227, 240, 251, 0.98);
  border-color: rgba(27, 79, 124, 0.14);
  color: #1b4f7c;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.policy-card h2,
.detail-card h3,
.card h3,
.notice h2,
.footer-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1,
.page-hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.hero-copy-strong h1,
.page-hero-strong h1 {
  margin-top: 0.4rem;
  font-size: clamp(2.9rem, 6vw, 5.1rem);
}

.hero p,
.page-hero p {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

.cta-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.mini-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.mini-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 32, 45, 0.06);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 26px rgba(15, 159, 110, 0.18);
}

.button-ghost {
  background: rgba(16, 32, 45, 0.08);
  color: var(--ink);
}

.button:hover,
.button-ghost:hover,
.button:focus-visible,
.button-ghost:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 33, 43, 0.14);
}

.hero-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.84);
}

.hero-panel-stack {
  align-content: stretch;
}

.hero-product-stack {
  display: grid;
  gap: 0.9rem;
}

.hero-product-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-product-link:hover,
.hero-product-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(16, 32, 45, 0.08);
  border-color: rgba(16, 32, 45, 0.18);
}

.hero-product-copy {
  display: grid;
  gap: 0.2rem;
}

.hero-product-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-product-copy span {
  color: var(--ink-soft);
}

.hero-visual,
.card-visual,
.page-hero-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 1.4rem;
}

.hero-visual::before,
.hero-visual::after,
.card-visual::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-visual::before {
  width: 15rem;
  height: 15rem;
  right: -4rem;
  top: -5rem;
  background: rgba(15, 159, 110, 0.18);
}

.hero-visual::after {
  width: 13rem;
  height: 13rem;
  left: -4rem;
  bottom: -5rem;
  background: rgba(35, 118, 186, 0.16);
}

.hero-visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 16rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 32, 45, 0.06), rgba(255, 255, 255, 0.9));
}

.hero-art img {
  width: min(100%, 24rem);
  height: auto;
  object-fit: contain;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-stat {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(16, 32, 45, 0.05);
}

.hero-stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.hero-stat span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  display: flex;
  gap: 0.7rem;
  align-items: start;
  color: var(--ink-soft);
}

.hero-list li::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--rust));
  flex: 0 0 auto;
}

.hero-panel ul,
.policy-list,
.detail-list,
.plain-list {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-panel li,
.policy-list li,
.detail-list li,
.plain-list li {
  margin: 0.45rem 0;
}

.section {
  padding: 1rem 0 3rem;
}

.section-tight {
  padding-top: 1.25rem;
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 48rem;
}

.card-grid,
.detail-grid,
.policy-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

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

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.card,
.policy-card,
.detail-card,
.notice {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
}

.feature-card,
.proof-card,
.compare-card,
.faq-card {
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.feature-card,
.compare-card,
.faq-card,
.support-panel {
  border-top: 3px solid rgba(15, 159, 110, 0.22);
}

.feature-card h3,
.proof-card h3,
.compare-card h3,
.faq-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.feature-card p,
.proof-card p,
.compare-card p,
.faq-card p {
  color: var(--ink-soft);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(35, 118, 186, 0.16);
  border-radius: 999px;
  margin-bottom: 0.8rem;
  background: rgba(227, 240, 251, 0.96);
  color: #1b4f7c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.icon-chip {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: rgba(16, 32, 45, 0.06);
  font-weight: 700;
  color: var(--ink);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.proof-band .proof-card {
  padding: 1.1rem 1.2rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.proof-band .proof-card:last-child {
  border-right: 0;
}

.proof-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.proof-card span,
.support-strip p {
  color: var(--ink-soft);
}

.support-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}

.support-panel {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 32, 45, 0.04), rgba(255, 255, 255, 0.98));
  box-shadow: none;
}

.support-panel.media-panel {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.showcase-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(16, 32, 45, 0.12);
  box-shadow: 0 22px 44px rgba(16, 32, 45, 0.12);
}

.feature-bullet-stack {
  display: grid;
  gap: 0.9rem;
}

.feature-bullet {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
}

.feature-bullet strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.feature-bullet span {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink-soft);
}

.inline-feature-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  object-fit: contain;
}

.support-panel h2,
.support-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.support-panel h2 {
  font-size: 2rem;
}

.support-panel h3 {
  font-size: 1.35rem;
}

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

.compare-card ul,
.faq-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

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

.page-hero.page-hero-strong {
  display: grid;
  gap: 1rem;
}

.card[data-accent="mailauth"],
.page-hero[data-accent="mailauth"],
.policy-card[data-accent="mailauth"] {
  background:
    linear-gradient(135deg, rgba(15, 159, 110, 0.12), rgba(255, 255, 255, 0.96) 44%, rgba(16, 32, 45, 0.05));
}

.card[data-accent="xero"],
.page-hero[data-accent="xero"],
.policy-card[data-accent="xero"] {
  background:
    linear-gradient(135deg, rgba(35, 118, 186, 0.12), rgba(255, 255, 255, 0.96) 44%, rgba(211, 180, 78, 0.08));
}

.card h3,
.detail-card h3,
.policy-card h2,
.notice h2 {
  font-size: 1.5rem;
}

.card-visual {
  position: relative;
  overflow: hidden;
  min-height: 13rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.card-visual::before {
  width: 10rem;
  height: 10rem;
  right: -2rem;
  top: -2rem;
  background: rgba(15, 159, 110, 0.1);
}

.landing-product-card {
  box-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.92));
}

.landing-product-card .card-visual {
  border: 0;
  background: linear-gradient(135deg, rgba(15, 159, 110, 0.08), rgba(255, 255, 255, 0.95) 54%, rgba(35, 118, 186, 0.08));
  box-shadow: none;
}

.card-visual-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 100%;
}

.product-icon-wrap {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(20, 33, 43, 0.1);
}

.product-icon-wrap img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.card-visual-copy {
  display: grid;
  gap: 0.35rem;
}

.card-visual-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.card-visual-copy span {
  color: var(--ink-soft);
}

.card p,
.detail-card p,
.policy-card p,
.notice p {
  color: var(--ink-soft);
}

.meta-row,
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.fact,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.fact {
  background: rgba(16, 32, 45, 0.08);
  color: var(--ink-soft);
}

.tag-mailauth {
  background: rgba(227, 240, 251, 0.98);
  border: 1px solid rgba(27, 79, 124, 0.14);
  color: #1b4f7c;
}

.tag-xero {
  background: rgba(223, 246, 238, 0.96);
  border: 1px solid rgba(15, 106, 74, 0.14);
  color: #0f6a4a;
}

.tag-neutral {
  background: rgba(16, 32, 45, 0.06);
  border: 1px solid rgba(16, 32, 45, 0.08);
  color: var(--ink-soft);
}

.card-links,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.card-links a,
.inline-links a,
.text-link {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.page-hero {
  margin-top: 1.8rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page-hero-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(17rem, 32vw, 24rem);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 26, 38, 0.94), rgba(29, 79, 95, 0.92));
}

.page-hero-banner::before,
.page-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-hero-banner::before {
  background-image: var(--hero-image);
  background-position: var(--hero-image-position, center center);
  background-repeat: no-repeat;
  background-size: var(--hero-image-size, cover);
  opacity: var(--hero-image-opacity, 1);
}

.hero-mailauth-brand {
  --hero-image: url("/assets/product-media/mailauth-brand.png");
  --hero-image-size: min(30rem, 72%) auto;
  --hero-image-opacity: 0.92;
}

.hero-xero-overview {
  --hero-image: url("/assets/product-media/xero-overview-hero-poster.jpg");
}

.hero-xero-help {
  --hero-image: url("/assets/product-media/xero-help-hero.svg");
}

.hero-xero-privacy {
  --hero-image: url("/assets/product-media/xero-privacy-hero.svg");
}

.hero-xero-terms {
  --hero-image: url("/assets/product-media/xero-terms-hero.svg");
}

.page-hero-banner::after {
  background:
    linear-gradient(180deg, rgba(8, 16, 24, 0.18), rgba(8, 16, 24, 0.6));
}

.page-hero-banner > * {
  position: relative;
  z-index: 1;
}

.page-hero-banner .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.page-hero-banner h1,
.page-hero-banner p {
  margin-inline: auto;
  max-width: 46rem;
  color: #fff;
}

.page-hero-banner p {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
  gap: 1rem;
  padding: 1.2rem;
  margin-top: 1.4rem;
}

.page-hero-art {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 1rem;
  border-radius: var(--radius-md);
}

.page-hero-art img {
  max-height: 18rem;
  width: auto;
}

.page-hero-poster {
  width: 100%;
  max-width: 36rem;
  height: auto;
  max-height: none;
  border-radius: 22px;
  border: 1px solid rgba(16, 32, 45, 0.12);
  box-shadow: 0 26px 52px rgba(16, 32, 45, 0.12);
}

.page-hero-panel {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(16, 32, 45, 0.05);
}

.page-hero-panel strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.page-hero-panel span {
  color: var(--ink-soft);
}

.site-home .hero.hero-dense,
.product-xero .hero.hero-dense,
.product-mailauth .hero.hero-dense {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 0 4.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 249, 245, 0.9) 48%, rgba(235, 246, 240, 0.78));
}

.site-home .hero.hero-dense::before,
.site-home .hero.hero-dense::after,
.product-xero .hero.hero-dense::before,
.product-xero .hero.hero-dense::after,
.product-mailauth .hero.hero-dense::before,
.product-mailauth .hero.hero-dense::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.site-home .hero.hero-dense::before,
.product-xero .hero.hero-dense::before,
.product-mailauth .hero.hero-dense::before {
  width: 34rem;
  height: 34rem;
  top: -18rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(15, 159, 110, 0.22), rgba(15, 159, 110, 0));
}

.site-home .hero.hero-dense::after,
.product-xero .hero.hero-dense::after,
.product-mailauth .hero.hero-dense::after {
  width: 38rem;
  height: 38rem;
  right: -10rem;
  top: -14rem;
  background: radial-gradient(circle, rgba(35, 118, 186, 0.18), rgba(35, 118, 186, 0));
}

.site-home .hero.hero-dense > .section-inner,
.product-xero .hero.hero-dense > .section-inner,
.product-mailauth .hero.hero-dense > .section-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1240px);
}

.site-home .hero-grid {
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
}

.site-home .hero-copy,
.product-xero .page-hero,
.product-mailauth .page-hero {
  padding-inline: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.site-home .hero-panel,
.product-xero .page-hero-grid,
.product-mailauth .page-hero-grid {
  border: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
}

.site-home .hero-panel {
  padding: 1.85rem;
  background: rgba(255, 255, 255, 0.72);
}

.site-home .hero-product-link,
.product-xero .page-hero-panel,
.product-mailauth .page-hero-panel {
  border: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.86);
}

.site-home .proof-band,
.product-xero .proof-band,
.product-mailauth .proof-band {
  gap: 1rem;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.site-home .proof-band .proof-card,
.product-xero .proof-band .proof-card,
.product-mailauth .proof-band .proof-card {
  padding: 1.25rem 1.35rem;
  border: 0;
  border-right: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.site-home .card,
.site-home .landing-product-card,
.site-home .feature-card,
.site-home .support-panel,
.product-xero .feature-card,
.product-xero .compare-card,
.product-xero .faq-card,
.product-xero .support-panel,
.product-mailauth .feature-card,
.product-mailauth .compare-card,
.product-mailauth .faq-card,
.product-mailauth .support-panel {
  border: 0;
  border-top: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.72);
}

.site-home .landing-product-card,
.product-xero .compare-card,
.product-xero .faq-card,
.product-mailauth .compare-card,
.product-mailauth .faq-card {
  background: rgba(255, 255, 255, 0.66);
}

.site-home .card-visual,
.site-home .landing-product-card .card-visual,
.product-xero .support-panel.media-panel,
.product-mailauth .support-panel.media-panel {
  border: 0;
  box-shadow: none;
}

.site-home .support-strip,
.product-xero .support-strip,
.product-mailauth .support-strip,
.product-xero .comparison-grid,
.product-mailauth .comparison-grid {
  gap: 1.4rem;
}

.site-home .section,
.product-xero .section,
.product-mailauth .section {
  padding: 1.4rem 0 3.4rem;
}

.site-home .section-tight,
.product-xero .section-tight,
.product-mailauth .section-tight {
  padding-top: 0.25rem;
}

.site-home .support-panel h2,
.product-xero .support-panel h2,
.product-mailauth .support-panel h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.site-home .hero.hero-dense {
  padding: 3.1rem 0 5rem;
}

.site-home .hero.hero-dense > .section-inner {
  width: min(calc(100% - 2rem), 1320px);
}

.site-home .hero-copy.hero-copy-strong {
  max-width: 46rem;
}

.site-home .hero-copy.hero-copy-strong h1 {
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.site-home .card-grid {
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.site-home .landing-product-card {
  display: grid;
  grid-template-columns: minmax(17rem, 0.88fr) minmax(0, 1.12fr);
  column-gap: 2.1rem;
  row-gap: 0.7rem;
  align-items: center;
  padding: 0;
  border-radius: 0;
}

.site-home .landing-product-card > .card-visual {
  grid-column: 1;
  grid-row: 1 / span 4;
  margin-bottom: 0;
  min-height: 15.5rem;
  border-radius: 28px;
}

.site-home .landing-product-card > .meta-row,
.site-home .landing-product-card > h3,
.site-home .landing-product-card > p,
.site-home .landing-product-card > .card-links {
  grid-column: 2;
}

.site-home .landing-product-card > h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.site-home .landing-product-card > p {
  margin: 0;
}

.site-home .three-grid {
  gap: 2.25rem;
}

.site-home .feature-card,
.product-xero .feature-card,
.product-mailauth .feature-card {
  padding: 0;
  background: transparent;
}

.site-home .feature-card h3,
.product-xero .feature-card h3,
.product-mailauth .feature-card h3,
.product-xero .compare-card h3,
.product-mailauth .compare-card h3,
.product-xero .faq-card h3,
.product-mailauth .faq-card h3 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.site-home .support-strip,
.product-xero .support-strip,
.product-mailauth .support-strip {
  align-items: center;
}

.site-home .support-panel,
.product-xero .support-panel,
.product-mailauth .support-panel {
  padding: 0;
  background: transparent;
}

.site-home .support-panel.media-panel,
.product-xero .support-panel.media-panel,
.product-mailauth .support-panel.media-panel {
  padding: 0;
  background: transparent;
}

.site-home .support-panel.media-panel .video-placeholder,
.product-mailauth .page-hero-art .video-placeholder,
.product-mailauth .support-panel.media-panel .feature-bullet-stack,
.product-xero .support-panel.media-panel .showcase-image,
.site-home .support-panel.media-panel .showcase-image {
  box-shadow: none;
}

.product-xero .three-grid,
.product-mailauth .three-grid {
  gap: 2.2rem;
}

.product-xero .comparison-grid,
.product-mailauth .comparison-grid,
.product-xero .faq-grid,
.product-mailauth .faq-grid {
  gap: 2rem 2.2rem;
}

.product-xero .compare-card,
.product-mailauth .compare-card,
.product-xero .faq-card,
.product-mailauth .faq-card {
  padding: 0;
  background: transparent;
}

.product-xero .page-hero-panel,
.product-mailauth .page-hero-panel {
  padding: 1.2rem 0 1.2rem 0.8rem;
  border-left: 3px solid rgba(16, 32, 45, 0.08);
  border-radius: 0;
  background: transparent;
}

.product-xero .page-hero-grid,
.product-mailauth .page-hero-grid {
  padding: 1.5rem 0 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.product-xero .showcase-image,
.product-mailauth .feature-bullet-stack {
  max-width: 36rem;
}

.product-mailauth .feature-bullet {
  padding: 0.2rem 0 0.8rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.product-mailauth .feature-bullet + .feature-bullet {
  border-top: 1px solid rgba(16, 32, 45, 0.08);
  padding-top: 1rem;
}

.video-placeholder {
  display: grid;
  gap: 0.9rem;
  align-content: center;
  min-height: 18rem;
  padding: 1.35rem;
  border: 1px dashed rgba(16, 32, 45, 0.2);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(15, 159, 110, 0.08), rgba(255, 255, 255, 0.96) 50%, rgba(35, 118, 186, 0.08));
}

.video-placeholder.video-placeholder-compact {
  min-height: 14rem;
}

.video-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 118, 186, 0.18);
  background: rgba(227, 240, 251, 0.98);
  color: #1b4f7c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-play {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(15, 159, 110, 0.22);
}

.video-play::before {
  content: "";
  display: block;
  margin-left: 0.22rem;
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.12rem solid #fff;
}

.video-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.video-placeholder p {
  margin: 0;
  color: var(--ink-soft);
}

.screenshot-placeholder {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 16rem;
  padding: 1.15rem;
  border: 1px dashed rgba(16, 32, 45, 0.2);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 244, 0.96));
}

.screenshot-placeholder.screenshot-compact {
  min-height: 12rem;
}

.screenshot-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 118, 186, 0.14);
  background: rgba(232, 243, 252, 0.98);
  color: #1b4f7c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.screenshot-frame {
  position: relative;
  min-height: 9rem;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 45, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 32, 45, 0.06), rgba(255, 255, 255, 0.96) 18%);
  overflow: hidden;
}

.screenshot-frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2rem;
  background: rgba(16, 32, 45, 0.08);
}

.screenshot-frame::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.68rem;
  width: 4rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(16, 32, 45, 0.15);
  box-shadow: 4.8rem 0 0 rgba(16, 32, 45, 0.1), 9.6rem 0 0 rgba(16, 32, 45, 0.08);
}

.screenshot-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 45, 0.12);
  box-shadow: 0 18px 36px rgba(16, 32, 45, 0.1);
}

.screenshot-lightbox-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.screenshot-lightbox-trigger:focus-visible {
  outline: 3px solid rgba(35, 118, 186, 0.35);
  outline-offset: 6px;
  border-radius: 22px;
}

.screenshot-lightbox-trigger .screenshot-image {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screenshot-lightbox-trigger:hover .screenshot-image,
.screenshot-lightbox-trigger:focus-visible .screenshot-image {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(16, 32, 45, 0.14);
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 16, 22, 0.84);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-dialog {
  position: relative;
  width: min(96vw, 1120px);
  max-height: 92vh;
  padding: 3.25rem 1rem 1rem;
  border-radius: 24px;
  background: rgba(244, 248, 245, 0.98);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

.image-lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 32, 45, 0.08);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: rgba(16, 32, 45, 0.14);
}

.image-lightbox-close:focus-visible {
  outline: 3px solid rgba(35, 118, 186, 0.3);
  outline-offset: 2px;
}

.image-lightbox-figure {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.image-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 7rem);
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(16, 32, 45, 0.1);
  background: #fff;
}

.image-lightbox figcaption {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.screenshot-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.screenshot-placeholder p {
  margin: 0;
  color: var(--ink-soft);
}

.breadcrumbs {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  text-decoration: underline;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.72fr);
  gap: 1rem;
}

.metric-block {
  display: grid;
  gap: 1rem;
}

.metric {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(16, 32, 45, 0.05);
}

.metric strong {
  display: block;
  font-size: 1.9rem;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--ink-soft);
}

.policy-card h2 + p,
.detail-card h3 + p,
.card h3 + p {
  margin-top: 0.6rem;
}

.callout {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--ink);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(16, 32, 45, 0.05);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  border-top: 1px solid rgba(20, 33, 43, 0.08);
  padding-top: 1.6rem;
}

.footer-stack {
  display: grid;
  gap: 0.95rem;
}

.footer-title {
  font-size: 1.75rem;
}

.footer-copy {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  max-width: 38rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-meta {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.footer-meta strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].reveal-delay-1 {
  transition-delay: 70ms;
}

[data-reveal].reveal-delay-2 {
  transition-delay: 140ms;
}

[data-reveal].reveal-delay-3 {
  transition-delay: 210ms;
}

[data-reveal].reveal-delay-4 {
  transition-delay: 260ms;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .hero-grid,
  .split-grid,
  .footer-grid,
  .card-grid,
  .detail-grid,
  .policy-grid,
  .page-hero-grid,
  .three-grid,
  .four-grid,
  .proof-band,
  .support-strip,
  .comparison-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    align-items: start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-copy,
  .page-hero,
  .card,
  .detail-card,
  .policy-card,
  .notice {
    padding: 1.3rem;
  }

  .card-visual-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-home .landing-product-card {
    grid-template-columns: 1fr;
    row-gap: 0.9rem;
  }

  .site-home .landing-product-card > .card-visual,
  .site-home .landing-product-card > .meta-row,
  .site-home .landing-product-card > h3,
  .site-home .landing-product-card > p,
  .site-home .landing-product-card > .card-links {
    grid-column: 1;
    grid-row: auto;
  }

  .site-home .landing-product-card > .card-visual {
    min-height: 13rem;
  }

  .site-home .hero.hero-dense,
  .product-xero .hero.hero-dense,
  .product-mailauth .hero.hero-dense {
    padding-bottom: 3.2rem;
  }

  .product-xero .page-hero-panel,
  .product-mailauth .page-hero-panel {
    padding-left: 0;
    border-left: 0;
  }

  .product-icon-wrap {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
