:root {
  --navy: #071b78;
  --navy-soft: #102a93;
  --ink: #101a43;
  --sage: #08a9dc;
  --sage-light: #d9f4fc;
  --gold: #57c6e7;
  --ivory: #f5f8fc;
  --white: #ffffff;
  --line: #dce5ef;
  --muted: #66728a;
  --shadow: 0 24px 60px rgba(7, 27, 120, 0.12);
  --radius: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(10, 32, 54, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
}

.brand img {
  display: block;
  width: 124px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--sage);
}

.site-nav .nav-cta {
  padding: 9px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50px;
}

.menu-toggle {
  display: none;
}

.hero {
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 74px 0 76px;
  background:
    radial-gradient(circle at 8% 15%, rgba(8, 169, 220, 0.14), transparent 25%),
    var(--ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--navy);
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 690px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4.3vw, 4.4rem);
}

h1 em,
h2 em {
  color: var(--sage);
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 32px;
  color: #59677f;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 22px;
  gap: 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(7, 27, 120, 0.2);
}

.button-primary:hover {
  background: var(--navy-soft);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
  border-color: rgba(10, 32, 54, 0.2);
}

.button-secondary:hover {
  background: var(--white);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.trust-list span {
  margin-right: 4px;
  color: var(--sage);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.hero-image {
  position: absolute;
  inset: 0 0 34px 36px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(10, 32, 54, 0.04), rgba(10, 32, 54, 0.18)),
    url("assets/accounting-hero.jpg") center / cover,
    linear-gradient(145deg, #dfe8e1 0%, #fff 55%, #c3a86b 100%);
  border-radius: 160px 20px 160px 20px;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: -22px;
  bottom: 4px;
  display: flex;
  min-width: 270px;
  padding: 18px 20px;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(10, 32, 54, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  color: var(--navy);
  font-size: 0.86rem;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.74rem;
}

.status-dot {
  position: relative;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--sage-light);
  animation: status-breathe 2.8s ease-in-out infinite;
}

.status-dot::before,
.status-dot::after {
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 1px solid rgba(8, 169, 220, 0.55);
  border-radius: 50%;
  content: "";
  animation: status-echo 2.8s ease-out infinite;
}

.status-dot::after {
  animation-delay: 1.4s;
}

@keyframes status-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 6px var(--sage-light);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 8px rgba(217, 244, 252, 0.82);
    transform: scale(1.12);
  }
}

@keyframes status-echo {
  0% {
    opacity: 0;
    transform: scale(0.65);
  }
  18% {
    opacity: 0.65;
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(2.25);
  }
}

.hero-monogram {
  position: absolute;
  top: -32px;
  right: -48px;
  color: rgba(10, 32, 54, 0.08);
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  font-style: italic;
}

.section {
  padding: 120px 0;
}

.section-heading {
  margin-bottom: 56px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.split-heading h2 {
  margin-bottom: 0;
}

.about-copy {
  max-width: 520px;
  color: var(--muted);
}

.large-copy {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.value-card {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

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

.value-number,
.steps-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 700;
}

.value-card h3,
.service-card h3,
.steps-grid h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
}

.value-card p,
.service-card p,
.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.services {
  background:
    radial-gradient(circle at 85% 10%, rgba(8, 169, 220, 0.18), transparent 25%),
    var(--navy);
}

.centered-heading {
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading h2 {
  color: var(--white);
}

.centered-heading p:last-child {
  color: #abb9c4;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: 28px;
  flex-direction: column;
  justify-content: space-between;
  background: #0d2785;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover {
  background: #12339e;
  transform: translateY(-4px);
}

.service-card h3 {
  color: var(--white);
}

.service-card p {
  color: #aebac3;
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 40px;
  color: var(--sage-light);
  border: 1px solid rgba(223, 232, 225, 0.35);
  border-radius: 50%;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.card-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  color: rgba(255, 255, 255, 0.28);
}

.accounting-tools {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  margin-top: 60px;
  padding-top: 46px;
  gap: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.tools-intro h3 {
  max-width: 390px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.3;
}

.tools-intro p:last-child {
  max-width: 400px;
  margin: 0;
  color: #aebacb;
  font-size: 0.85rem;
}

.tools-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tool-card {
  display: grid;
  min-height: 130px;
  padding: 22px;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(8, 169, 220, 0.6);
  outline: none;
  transform: translateY(-3px);
}

.tool-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--sage);
  border-radius: 12px;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.domus-mark {
  color: var(--white);
  background: #f4b741;
}

.tool-card strong,
.tool-card small {
  display: block;
}

.tool-card strong {
  color: var(--white);
  font-size: 0.95rem;
}

.tool-card small {
  margin-top: 3px;
  color: #aebacb;
  font-size: 0.68rem;
}

.tool-card b {
  color: var(--sage);
  font-size: 0.9rem;
}

.pricing {
  background: var(--ivory);
}

.pricing-heading > p {
  max-width: 420px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.price-card {
  display: flex;
  min-height: 520px;
  padding: 34px;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card.featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.plan-label {
  display: flex;
  margin-bottom: 56px;
  align-items: center;
  justify-content: space-between;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-label span {
  padding: 5px 8px;
  color: var(--navy);
  background: var(--sage-light);
  border-radius: 40px;
  font-size: 0.58rem;
  letter-spacing: 0;
}

.price-card h3 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 1.1rem;
}

.featured h3 {
  color: var(--white);
}

.price {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.featured .price {
  color: var(--white);
}

.price span,
.price small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
}

.price-card > p:not(.plan-label, .price) {
  min-height: 52px;
  color: var(--muted);
  font-size: 0.86rem;
}

.featured > p:not(.plan-label, .price) {
  color: #b9c3ca;
}

.price-card ul {
  margin: 18px 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.featured ul {
  border-color: rgba(255, 255, 255, 0.15);
}

.price-card li {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.price-card li::before {
  margin-right: 8px;
  color: var(--sage);
  content: "✓";
}

.featured li {
  color: #c7d0d6;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.featured .button-primary {
  color: var(--navy);
  background: var(--white);
}

.pricing-note {
  max-width: 690px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 90px;
}

.info-content,
.partners,
.partner-carousel {
  min-width: 0;
  max-width: 100%;
}

.info-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.info-intro > p:not(.eyebrow) {
  max-width: 330px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  padding-bottom: 4px;
  gap: 30px;
  align-items: center;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 64px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
}

.faq h3 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 1.2rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  padding: 20px 0;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  color: var(--sage);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 630px;
  padding: 0 30px 18px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.partners {
  margin-top: 70px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.partners h3 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 1.2rem;
}

.partner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0 14px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partner-track,
.partner-group {
  display: flex;
  width: max-content;
  gap: 16px;
}

.partner-track {
  animation: partner-scroll 22s linear infinite;
}

.partner-carousel:hover .partner-track,
.partner-carousel:focus-within .partner-track {
  animation-play-state: paused;
}

.partner-card {
  position: relative;
  display: grid;
  width: 260px;
  height: 148px;
  padding: 22px 24px 18px;
  overflow: hidden;
  align-content: space-between;
  background:
    radial-gradient(circle at 90% 10%, rgba(8, 169, 220, 0.24), transparent 34%),
    var(--navy);
  border: 1px solid rgba(7, 27, 120, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(7, 27, 120, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.partner-card.partner-help {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 178, 66, 0.13), transparent 38%),
    #ffffff;
  border-color: #eadfce;
}

.partner-card.partner-help span {
  color: #734916;
}

.partner-card.partner-help b {
  color: #ff9c15;
}

.partner-card.partner-light {
  background:
    radial-gradient(circle at 90% 10%, rgba(8, 169, 220, 0.14), transparent 38%),
    #f7fafc;
  border-color: #d8e2e8;
}

.partner-card.partner-light span {
  color: #263941;
}

.partner-card.partner-light b {
  color: #ec3e3b;
}

.partner-card.partner-airways {
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 159, 83, 0.28), transparent 40%),
    linear-gradient(135deg, #183c31, #254f40);
  border-color: rgba(196, 159, 83, 0.35);
}

.partner-card.partner-airways b {
  color: #c49f53;
}

.partner-card img {
  width: 100%;
  height: 66px;
  object-fit: contain;
  filter: saturate(0.88);
  transition: transform 220ms ease, filter 220ms ease;
}

.partner-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-card b {
  color: var(--sage);
  font-size: 0.9rem;
}

.partner-card:hover,
.partner-card:focus-visible {
  background:
    radial-gradient(circle at 90% 10%, rgba(8, 169, 220, 0.42), transparent 38%),
    var(--navy-soft);
  box-shadow: 0 18px 34px rgba(7, 27, 120, 0.18);
  outline: none;
  transform: translateY(-5px);
}

.partner-card.partner-help:hover,
.partner-card.partner-help:focus-visible {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 178, 66, 0.24), transparent 42%),
    #fffdfa;
}

.partner-card.partner-light:hover,
.partner-card.partner-light:focus-visible {
  background:
    radial-gradient(circle at 90% 10%, rgba(8, 169, 220, 0.2), transparent 42%),
    #ffffff;
}

.partner-card.partner-airways:hover,
.partner-card.partner-airways:focus-visible {
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 159, 83, 0.42), transparent 44%),
    linear-gradient(135deg, #204b3d, #2e624f);
}

.partner-card:hover img,
.partner-card:focus-visible img {
  filter: saturate(1.12);
  transform: scale(1.045);
}

@keyframes partner-scroll {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 90%, rgba(8, 169, 220, 0.32), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(87, 198, 231, 0.16), transparent 24%),
    var(--navy);
}

.contact-inner {
  text-align: center;
}

.contact h2 {
  color: var(--white);
}

.contact-copy {
  margin-inline: auto;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  color: #c5d3ee;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 54px auto 0;
  gap: 16px;
}

.contact-details a,
.contact-details p,
.private-contact {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
}

.private-contact > div > span:not(.revealed-contact) {
  display: block;
  margin-bottom: 2px;
  color: #95a8d5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.private-contact {
  display: flex;
  min-height: 150px;
  padding: 25px;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  transition: background 180ms ease, transform 180ms ease;
}

.private-contact:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-3px);
}

.contact-details .private-contact .contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin: 0;
  color: var(--navy);
  background: var(--sage);
  border-radius: 50%;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.private-contact > div {
  min-width: 0;
}

.reveal-contact {
  padding: 0 0 3px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
}

.reveal-contact:hover,
.reveal-contact:focus-visible,
.revealed-contact:hover {
  color: var(--sage-light);
  border-color: var(--sage-light);
}

.revealed-contact {
  display: inline-block;
  color: var(--white);
  font-size: 0.9rem;
}

.contact-details .contact-location {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
}

.contact-inner > .privacy-note {
  max-width: 650px;
  margin: 24px auto 0;
  color: #95a8d5;
  font-size: 0.7rem;
}

.site-footer {
  color: #aab7d5;
  background:
    radial-gradient(circle at 10% 10%, rgba(8, 169, 220, 0.14), transparent 24%),
    #041044;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
}

.site-footer .brand {
  padding: 6px 10px;
  color: var(--white);
  background: var(--white);
  border-radius: 8px;
}

.site-footer p {
  margin: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  padding: 64px 0 52px;
  gap: 70px;
}

.footer-brand p {
  max-width: 350px;
  margin-top: 22px;
  color: #aab7d5;
  font-size: 0.86rem;
}

.footer-nav,
.footer-legal {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav p,
.footer-legal p {
  margin-bottom: 10px;
  color: var(--sage);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-legal a,
.footer-legal span {
  color: #d6def0;
  font-size: 0.8rem;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  padding: 18px 0 22px;
  align-items: center;
  justify-content: space-between;
  color: #7e8db5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
  color: #b9c6e2;
}

.footer-bottom a:hover {
  color: var(--white);
}

.compact-footer .footer-bottom {
  min-height: 72px;
}

.legal-page {
  background: var(--ivory);
}

.legal-page .site-header {
  position: relative;
}

.legal-back {
  min-height: 42px;
  padding: 8px 18px;
}

.legal-hero {
  padding: 94px 0 88px;
  background:
    radial-gradient(circle at 12% 20%, rgba(8, 169, 220, 0.18), transparent 30%),
    linear-gradient(135deg, #f5f8fc, #ffffff);
  border-bottom: 1px solid var(--line);
}

.privacy-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(8, 169, 220, 0.2), transparent 30%),
    linear-gradient(135deg, #f5f8fc, #ffffff);
}

.legal-heading {
  max-width: var(--container);
}

.legal-heading h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.legal-heading p:last-child {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  padding: 90px 0 120px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 90px;
  align-items: start;
}

.legal-layout aside {
  position: sticky;
  top: 30px;
  display: grid;
  padding: 22px;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.legal-layout aside p,
.legal-layout aside span {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.legal-layout aside strong {
  color: var(--navy);
  font-size: 0.85rem;
}

.legal-sections {
  display: grid;
  gap: 16px;
}

.legal-sections article {
  padding: 34px 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-sections h2 {
  margin-bottom: 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal-sections p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-sections p:last-child {
  margin-bottom: 0;
}

.legal-facts {
  display: grid;
  margin: 0;
  gap: 0;
}

.legal-facts div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) 1.3fr;
  padding: 13px 0;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.legal-facts div:last-child {
  border-bottom: 0;
}

.legal-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.legal-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}

.legal-private-address {
  display: inline-grid;
  margin-top: 12px;
  padding: 15px 17px;
  gap: 3px;
  background: var(--navy);
  border-radius: 10px;
}

.legal-private-address > span:not(.revealed-contact) {
  color: #95a8d5;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-private-address .revealed-contact {
  max-width: 100%;
}

.host-card {
  display: grid;
  padding: 24px;
  grid-template-columns: 150px 1fr auto;
  gap: 25px;
  align-items: center;
  background: #f6fbff;
  border: 1px solid #d9eaf5;
  border-radius: 14px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.host-card:hover,
.host-card:focus-visible {
  border-color: #159ddd;
  box-shadow: 0 14px 28px rgba(21, 157, 221, 0.1);
  outline: none;
  transform: translateY(-3px);
}

.host-card img {
  width: 100%;
  height: 50px;
  object-fit: contain;
}

.host-card span,
.host-card strong,
.host-card small {
  display: block;
}

.host-card strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.host-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.host-card b {
  color: #159ddd;
}

@media (max-width: 980px) {
  .menu-toggle {
    z-index: 102;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 10px;
    gap: 5px;
    background: transparent;
    border: 0;
    place-content: center;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    padding: 100px 28px 40px;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    color: var(--white);
    background: var(--navy);
    font-size: 1.4rem;
    transform: translateX(100%);
    transition: transform 240ms ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav .nav-cta {
    padding: 0;
    color: var(--sage-light);
  }

  .menu-toggle[aria-expanded="true"] span {
    background: var(--white);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-heading,
  .info-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-image {
    left: 0;
  }

  .values-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accounting-tools {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .value-card:nth-child(2) {
    border-right: 0;
  }

  .value-card {
    border-bottom: 1px solid var(--line);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .info-intro {
    position: static;
  }

  .contact-details {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-layout aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding: 54px 0 62px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    gap: 7px;
  }

  .hero-visual {
    min-height: 370px;
  }

  .hero-image {
    inset: 0 0 24px;
    border-radius: 88px 14px 88px 14px;
  }

  .hero-note {
    right: 8px;
    left: 8px;
    min-width: 0;
  }

  .hero-monogram {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .values-grid,
  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .tools-list {
    grid-template-columns: 1fr;
  }

  .values-grid {
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .value-card,
  .value-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-card:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 210px;
  }

  .private-contact {
    min-height: 120px;
  }

  .partner-card {
    width: 220px;
    height: 132px;
    padding: 18px 20px 15px;
  }

  .partner-card img {
    height: 58px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 50px 0 38px;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .legal-hero {
    padding: 70px 0 62px;
  }

  .legal-heading h1 {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .legal-content {
    padding: 58px 0 80px;
  }

  .legal-sections article {
    padding: 26px 22px;
  }

  .legal-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .host-card {
    grid-template-columns: 1fr auto;
  }

  .host-card img {
    width: 130px;
    grid-column: 1 / -1;
  }

  .footer-inner {
    padding: 30px 0;
    flex-direction: column;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .partner-track {
    animation: none;
  }

  .status-dot,
  .status-dot::before,
  .status-dot::after {
    animation: none;
  }

  .partner-carousel {
    overflow-x: auto;
    mask-image: none;
  }
}
