/* Swift website preview brand/copy polish layered over site.css. */

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

/*
 * The brand SVG keeps a generous master canvas for reuse, but the artwork itself
 * occupies roughly y=55..660. Use a tighter header frame so the visible logo has
 * balanced breathing room above and below without changing its rendered width.
 */
.brand {
  position: relative;
  display: block;
  width: 260px;
  min-width: 260px;
  aspect-ratio: 1916 / 605;
  overflow: hidden;
}

.brand-lockup {
  width: 100%;
  height: auto;
  transform: translateY(-6.7%);
}

.xero-mark {
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.xero-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-brand {
  gap: 0;
}

.footer-brand-lockup {
  width: 225px;
  height: auto;
}

.conversion-panel {
  background:
    radial-gradient(circle at 94% 10%, rgba(61, 25, 237, .07), transparent 28%),
    linear-gradient(135deg, #fff, #f4f8ff);
}

/* Privacy / legal page */
.policy-shell {
  width: min(980px, calc(100% - 40px));
  padding-top: 36px;
}

.policy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.policy-brand {
  display: inline-block;
}

.policy-brand img {
  width: 220px;
  height: auto;
}

.policy-header .back-link {
  margin: 0;
}

.policy-card {
  padding: clamp(30px, 5vw, 56px);
}

.policy-card h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(2.65rem, 5.8vw, 4.65rem);
  line-height: .98;
}

.policy-meta {
  margin-bottom: 24px;
  color: #7b879e !important;
  font-size: .88rem;
  font-weight: 700;
}

.policy-status {
  display: grid;
  gap: 3px;
  margin: 0 0 30px;
  padding: 16px 18px;
  border: 1px solid #e7d79e;
  border-radius: 14px;
  background: #fffaf0;
  color: #67541a;
}

.policy-status strong {
  font-size: .92rem;
}

.policy-status span {
  font-size: .84rem;
}

.policy-lede {
  margin-bottom: 34px;
  color: #35435f !important;
  font-size: 1.08rem;
}

.policy-section {
  padding: 30px 0 2px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.policy-section p,
.policy-section li {
  color: #4f5d78;
}

.policy-section ul {
  margin: 0 0 22px;
  padding-left: 1.35rem;
}

.policy-section li + li {
  margin-top: 9px;
}

.policy-section a {
  color: var(--blue-deep);
  font-weight: 750;
}

.policy-contact {
  margin: 28px 0 12px;
  padding: 26px 28px 10px;
  border: 1px solid #d8e1f0;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8faff, #f2f6ff);
}

.policy-contact h2 {
  margin-top: 0;
}

.policy-footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 28px 0 0;
}

.policy-footer-links a {
  color: #52607a;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}

.policy-footer-links a:hover,
.policy-footer-links a:focus-visible {
  color: var(--violet);
}

@media (max-width: 900px) {
  .header-inner {
    min-height: auto;
  }

  .brand {
    width: 225px;
    min-width: 225px;
  }
}

@media (max-width: 640px) {
  .brand {
    width: 178px;
    min-width: 0;
  }

  .footer-brand-lockup {
    width: 195px;
  }

  .policy-shell {
    width: min(100% - 28px, 980px);
    padding-top: 24px;
  }

  .policy-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .policy-brand img {
    width: 185px;
  }

  .policy-card {
    padding: 26px;
  }

  .policy-section {
    padding-top: 25px;
  }

  .policy-contact {
    padding: 22px 20px 7px;
  }

  .policy-footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
