@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy-950: #07182c;
  --navy-900: #0b2340;
  --navy-800: #133659;
  --navy-700: #1d4a73;
  --ink: #132238;
  --ink-soft: #536277;
  --paper: #f7f0e3;
  --paper-deep: #e8dcc8;
  --paper-light: #fffdf8;
  --gold: #c79a42;
  --gold-light: #e6c77d;
  --rose: #a95d67;
  --line: rgba(18, 44, 71, 0.15);
  --shadow: 0 28px 80px rgba(6, 27, 49, 0.18);
  font-family: "Figtree", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(230, 199, 125, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 52%, rgba(29, 74, 115, 0.12), transparent 34rem),
    var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

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

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.star-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 27px;
  line-height: 1;
  transform: rotate(8deg);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

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

.language-switcher {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
}

.language-switcher button {
  border: 0;
  border-radius: 999px;
  min-width: 37px;
  min-height: 32px;
  background: transparent;
  color: var(--ink-soft);
  font: 700 12px/1 "Figtree", sans-serif;
  cursor: pointer;
}

.language-switcher button.is-active {
  background: var(--navy-900);
  color: var(--paper-light);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 750px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 64px;
  padding: 74px 0 96px;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise-in 720ms cubic-bezier(.2, .7, .2, 1) both;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--navy-900);
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(64px, 8.6vw, 118px);
  font-weight: 470;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.hero-lede {
  max-width: 570px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 18px 4px 18px;
  border: 1px solid var(--navy-900);
  background: var(--navy-900);
  color: var(--paper-light);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(7, 24, 44, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 24, 44, 0.22);
}

.button.secondary {
  background: transparent;
  color: var(--navy-900);
  box-shadow: none;
}

.availability-note {
  width: 100%;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  animation: rise-in 880ms 100ms cubic-bezier(.2, .7, .2, 1) both;
}

.aureole {
  position: absolute;
  width: 510px;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 154, 66, 0.42);
  border-radius: 50%;
}

.aureole::before,
.aureole::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px dashed rgba(199, 154, 66, 0.26);
  border-radius: inherit;
}

.aureole::after {
  inset: 92px;
  border-style: solid;
}

.phone-stage {
  width: min(330px, 72vw);
  padding: 10px;
  border-radius: 48px;
  background: var(--navy-950);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  transform: rotate(3deg);
}

.phone-stage img {
  display: block;
  width: 100%;
  border-radius: 39px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.rosary-line {
  position: absolute;
  z-index: 3;
  right: 4%;
  top: 5%;
  display: grid;
  gap: 17px;
  filter: drop-shadow(0 8px 14px rgba(7, 24, 44, 0.18));
  transform: rotate(-8deg);
}

.rosary-line span {
  width: 12px;
  height: 17px;
  border-radius: 50%;
  display: block;
  background: var(--gold-light);
  border: 1px solid var(--gold);
  position: relative;
}

.rosary-line span::after {
  content: "";
  width: 1px;
  height: 18px;
  background: var(--gold);
  position: absolute;
  top: 16px;
  left: 5px;
}

.rosary-line span:last-child::after {
  height: 30px;
}

.rosary-line::after {
  content: "✦";
  color: var(--gold);
  font-size: 32px;
  margin: 6px 0 0 -9px;
}

.story-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

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

.section-number {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.story-section h2 {
  margin: 12px 0 0;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 460;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.story-copy {
  align-self: end;
  max-width: 660px;
}

.story-copy p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 19px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  min-height: 92px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px 22px 4px 22px;
  background: rgba(255, 253, 248, 0.54);
  color: var(--navy-800);
  font-weight: 650;
}

.privacy-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 40px auto 110px;
  padding: clamp(38px, 6vw, 76px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  background: var(--navy-900);
  color: rgba(255, 253, 248, 0.78);
  border-radius: 6px 46px 6px 46px;
  position: relative;
  overflow: hidden;
}

.privacy-panel::after {
  content: "✦";
  position: absolute;
  right: 40px;
  top: 18px;
  color: rgba(230, 199, 125, 0.18);
  font-size: 180px;
}

.privacy-panel h2 {
  margin: 0;
  color: var(--paper-light);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 430;
  line-height: 0.93;
}

.privacy-panel p {
  max-width: 590px;
  margin: 0 0 22px;
  font-size: 18px;
  position: relative;
  z-index: 2;
}

.privacy-panel a {
  color: var(--gold-light);
  font-weight: 700;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 120px;
}

.legal-shell .eyebrow {
  margin-bottom: 16px;
}

.legal-shell h1 {
  max-width: 820px;
  font-size: clamp(58px, 9vw, 94px);
}

.legal-meta {
  margin: 22px 0 56px;
  color: var(--ink-soft);
  font-size: 14px;
}

.legal-article {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 5px 34px 5px 34px;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 55px rgba(7, 24, 44, 0.07);
}

.legal-article h2 {
  margin: 48px 0 12px;
  font-size: 34px;
  line-height: 1;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p,
.legal-article li {
  color: #37465a;
  font-size: 17px;
}

.legal-article a {
  color: var(--navy-700);
  font-weight: 700;
}

.legal-article strong {
  color: var(--navy-900);
}

.legal-article ul {
  padding-left: 22px;
}

.contact-card {
  margin: 34px 0 0;
  padding: 24px;
  background: var(--navy-900);
  color: var(--paper-light);
  border-radius: 4px 24px 4px 24px;
}

.contact-card a {
  color: var(--gold-light);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
  }
}

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

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 62px;
  }

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

  .story-grid,
  .privacy-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .story-section,
  .privacy-panel,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
    gap: 12px;
  }

  .wordmark {
    font-size: 23px;
  }

  .star-mark {
    width: 26px;
    font-size: 22px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 82px);
  }

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

  .aureole {
    width: 390px;
  }

  .story-section {
    padding: 76px 0;
  }

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

  .privacy-panel {
    margin-bottom: 70px;
  }

  .site-footer {
    flex-direction: column;
  }

  .legal-shell {
    width: min(100% - 28px, 860px);
    padding-top: 62px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
