:root {
  --ink: #20142a;
  --muted: #675a71;
  --paper: #ffffff;
  --soft: #f4eef8;
  --soft-2: #eee5f4;
  --brand: #5d3675;
  --brand-dark: #281235;
  --brand-mid: #754993;
  --line: rgba(40, 18, 53, 0.14);
  --shadow: 0 22px 50px rgba(40, 18, 53, 0.18);
  --radius: 22px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}

.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(40, 18, 53, 0.16);
}

.brand-text { display: grid; line-height: 1.1; }
.brand-text small { color: var(--muted); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 86px;
  color: white;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.15), transparent 30%),
    linear-gradient(180deg, #7f559c 0%, #5a3473 52%, #281235 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.14), transparent 55%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(40,18,53,0.72), rgba(40,18,53,0.42)),
    url("assets/church-building.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.46;
  filter: saturate(0.9);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero .eyebrow,
.cta-section .eyebrow { color: rgba(255, 255, 255, 0.82); }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  max-width: 900px;
}

h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; }

p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero p { color: rgba(255, 255, 255, 0.9); }

.hero-lead {
  font-size: 1.25rem;
  max-width: 680px;
  margin: 24px 0 0;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

#watch .button-row { margin-top: 24px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.button.primary {
  background: white;
  color: var(--brand-dark);
}

.button.primary:hover { background: #f2e9f8; }

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.button.purple {
  background: var(--brand);
  color: white;
}

.button.purple:hover { background: var(--brand-dark); }

.button.outline-purple {
  background: transparent;
  color: var(--brand);
  border-color: var(--line);
}

.button.outline-purple:hover { background: white; }

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-details li {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-details strong { color: white; }

.hero-card,
.image-card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.image-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card-content { padding: 28px; }
.image-card p { color: var(--muted); }

.card-tag,
.pill {
  display: inline-flex;
  background: var(--brand);
  color: white;
  font-weight: 850;
  padding: 7px 12px;
  border-radius: 999px;
}

.card-tag { margin-bottom: 18px; }
.pill { margin-bottom: 16px; font-size: 0.82rem; }

.section { padding: 82px 0; }
.section-tint { background: var(--soft); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.intro-copy p {
  max-width: 760px;
}

.quick-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.quick-list div {
  color: var(--muted);
  font-size: 1.02rem;
}

.quick-list strong {
  color: var(--ink);
}

.elim-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.12), transparent 32%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.elim-panel img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.25);
}

.elim-panel p,
.elim-panel .eyebrow {
  color: rgba(255,255,255,0.84);
}

.elim-panel h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.elim-panel h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.beliefs-box {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.22);
}

.beliefs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.beliefs-list li {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
  font-weight: 750;
}

.elim-panel .text-link {
  color: white;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.three.compact { margin-top: 28px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }

.info-card,
.contact-form,
.cta,
.map-card,
.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.info-card p { margin-bottom: 0; }

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
}

.photo-stack {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 16px;
  align-items: end;
}

.photo-stack img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid white;
}

.photo-stack img:first-child { aspect-ratio: 4 / 3; }
.photo-stack img:last-child { aspect-ratio: 4 / 3; transform: translateY(32px); }

.video-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.video-card,
.map-card {
  padding: 0;
  overflow: hidden;
}

.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 310px;
  border: 0;
}

.cta-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.14), transparent 28%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
}

.cta-section p,
.cta-section .eyebrow { color: rgba(255, 255, 255, 0.82); }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.cta .button.primary {
  background: white;
  color: var(--brand);
  flex: 0 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-details p { margin: 0 0 18px; }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-row a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.social-row a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-weight: 800;
}

.social-row svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.map-and-form {
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfbfb;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(93, 54, 117, 0.2);
  border-color: var(--brand);
}

.form-note {
  font-size: 0.9rem;
  margin: 0;
}

.hidden-field {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.site-footer {
  padding: 40px 0;
  background: #180d20;
  color: white;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.footer-main {
  max-width: 760px;
}

.charity-text {
  font-size: 0.86rem;
  line-height: 1.55;
  max-width: 840px;
}

.footer-side {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: white;
}

.footer-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover { color: white; }

@media (max-width: 1100px) {
  .cards.three.compact { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .cards.four { grid-template-columns: 1fr 1fr; }
  .split-feature { grid-template-columns: 1fr; }
  .photo-stack img:last-child { transform: none; }
  .intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .cards.three { grid-template-columns: 1fr 1fr; }

  .site-nav {
    position: absolute;
    inset: 76px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px;
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; }
  .nav-toggle { display: block; }

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

  .footer-side {
    justify-items: start;
  }

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

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

  .hero { padding: 64px 0 54px; }
  .section { padding: 58px 0; }

  .cards.three,
  .cards.four,
  .photo-stack {
    grid-template-columns: 1fr;
  }

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

  .button { width: 100%; }
}


.giving-section {
  background: white;
}

.giving-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 95% 10%, rgba(93, 54, 117, 0.1), transparent 30%),
    var(--soft);
}

.giving-card p {
  max-width: 720px;
}

.giving-card .button {
  flex: 0 0 auto;
}

@media (max-width: 700px) {
  .giving-card {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Version 7 giving section with Givt QR */
.giving-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 34px;
}

.giving-copy .button {
  margin-top: 10px;
}

.givt-qr {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(40, 18, 53, 0.12);
}

.givt-qr img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.givt-qr p {
  margin: 12px 0 0;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .giving-card {
    grid-template-columns: 1fr;
  }

  .givt-qr {
    max-width: 320px;
  }
}


/* Version 8 bank transfer details */
.bank-details {
  margin: 26px 0 20px;
  padding: 22px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}

.bank-details h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.bank-details dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.bank-details dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(40, 18, 53, 0.1);
}

.bank-details dl div:first-child {
  border-top: 0;
}

.bank-details dt {
  color: var(--muted);
  font-weight: 700;
}

.bank-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 540px) {
  .bank-details dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}


/* Version 9 embedded iKnow mailing list form */
.form-embed-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.embedded-form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.embedded-form-card iframe {
  display: block;
  width: 100%;
  border: 0;
  background: white;
}

@media (max-width: 900px) {
  .form-embed-grid {
    grid-template-columns: 1fr;
  }
}


/* Version 10: Plan your visit and safeguarding */
.plan-section {
  background: white;
}

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

.plan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.plan-card.highlight {
  background:
    radial-gradient(circle at 95% 10%, rgba(255,255,255,0.14), transparent 30%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
}

.plan-card.highlight p,
.plan-card.highlight .pill {
  color: rgba(255,255,255,0.86);
}

.plan-card.highlight .pill {
  background: rgba(255,255,255,0.16);
}

.plan-card p {
  margin-bottom: 0;
}

.safeguarding-section {
  background: white;
}

.safeguarding-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 95% 10%, rgba(93, 54, 117, 0.1), transparent 30%),
    var(--soft);
}

.safeguarding-card p {
  max-width: 780px;
}

.safeguarding-card .button {
  flex: 0 0 auto;
}

.bank-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .safeguarding-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}


/* Version 11 page reorder, larger Sunday images, and Plan your visit with map */
.photo-stack.large-photos {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.photo-stack.large-photos img {
  min-height: 360px;
}

.photo-stack.large-photos img:last-child {
  transform: none;
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.visit-content {
  display: grid;
  gap: 18px;
}

.visit-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.visit-panel.highlight {
  background:
    radial-gradient(circle at 95% 10%, rgba(255,255,255,0.14), transparent 30%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
}

.visit-panel.highlight p,
.visit-panel.highlight .pill {
  color: rgba(255,255,255,0.86);
}

.visit-panel.highlight .pill {
  background: rgba(255,255,255,0.16);
}

.visit-panel p:last-child {
  margin-bottom: 0;
}

.visit-map {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.visit-map .map-card iframe {
  min-height: 450px;
}

.contact-form-wrap {
  display: grid;
  gap: 18px;
}

@media (min-width: 1200px) {
  .split-feature {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .photo-stack.large-photos img {
    min-height: 430px;
  }
}

@media (max-width: 1000px) {
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .visit-map {
    position: static;
  }
}

@media (max-width: 700px) {
  .photo-stack.large-photos {
    grid-template-columns: 1fr;
  }

  .photo-stack.large-photos img {
    min-height: 260px;
  }
}


/* Version 12: top giving button and full Sunday images */
.button.giving-top {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  border-color: rgba(255, 255, 255, 0.5);
}

.button.giving-top:hover {
  background: white;
}

.sunday-image-gallery {
  display: grid;
  gap: 22px;
}

.sunday-image-gallery figure {
  margin: 0;
  background: white;
  border: 6px solid white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sunday-image-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 1200px) {
  .split-feature {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .sunday-image-gallery {
    gap: 24px;
  }
}

@media (max-width: 1000px) {
  .sunday-image-gallery {
    grid-template-columns: 1fr;
  }
}


/* Version 13: Give button in top nav and stacked Sunday cards */
.site-nav .nav-give {
  background: var(--brand);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
}

.site-nav .nav-give:hover,
.site-nav .nav-give:focus {
  background: var(--brand-dark);
  color: white;
}

.sunday-cards {
  grid-template-columns: 1fr !important;
}

.sunday-cards .info-card {
  padding: 22px 24px;
}

@media (max-width: 900px) {
  .site-nav .nav-give {
    display: inline-flex;
    justify-content: center;
    margin-top: 4px;
  }
}


/* Version 14: Give link matches standard navigation */
.site-nav .nav-give {
  background: transparent;
  color: var(--muted);
  padding: 0;
  border-radius: 0;
}

.site-nav .nav-give:hover,
.site-nav .nav-give:focus {
  background: transparent;
  color: var(--brand);
}


/* Version 16: Privacy notice page */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.14), transparent 28%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
}

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

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.page-hero-inner {
  max-width: 900px;
}

.page-hero-inner > p {
  font-size: 1.2rem;
  max-width: 760px;
  margin-top: 22px;
}

.privacy-section {
  background: var(--soft);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.privacy-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.privacy-contact-card,
.privacy-notice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(40, 18, 53, 0.08);
}

.privacy-contact-card {
  padding: 24px;
}

.privacy-contact-card h2 {
  font-size: 1.42rem;
  letter-spacing: -0.03em;
}

.privacy-contact-card p {
  margin: 14px 0 0;
  font-size: 0.98rem;
}

.privacy-contact-card a,
.notice-body a {
  color: var(--brand);
  font-weight: 750;
}

.privacy-notice-card {
  padding: 34px;
}

.notice-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.notice-meta .text-link {
  margin-top: 0;
}

.notice-body {
  display: grid;
  gap: 28px;
}

.notice-section {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(40, 18, 53, 0.1);
}

.notice-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.notice-section h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  margin-bottom: 14px;
}

.notice-section p {
  margin: 0 0 16px;
}

.notice-section p:last-child {
  margin-bottom: 0;
}

.notice-section ul {
  margin: 14px 0 18px;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.notice-section li {
  margin: 8px 0;
  padding-left: 0.2rem;
}

@media (max-width: 1000px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .privacy-sidebar {
    grid-template-columns: 1fr;
  }

  .privacy-notice-card {
    padding: 24px;
  }
}
