/* Uravukal Matrimony — public information pages (host-side PRE-LIVE site). */

@font-face {
  font-family: "Noto Serif";
  src: url("/site-assets/fonts/noto-serif-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/site-assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #d0041b;
  --primary-hover: #b5061b;
  --primary-subtle: #fcebea;
  --brand-deep: #810017;
  --footer: #5e0a17;
  --gold: #c79a3b;
  --gold-text: #87621f;
  --background: #faf5f1;
  --surface: #ffffff;
  --surface-alt: #f4ece7;
  --border: #efe4dc;
  --border-strong: #e2d1c5;
  --text-primary: #1c1917;
  --text-body: #33302d;
  --text-secondary: #57534e;
  --text-muted: #6f6964;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 10px 28px -14px rgba(129, 0, 23, 0.16);
  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-deep);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--brand-deep);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.container.narrow {
  max-width: 800px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand-deep);
  color: #ffffff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

/* Header */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  border-radius: 8px;
}

.brand img {
  width: auto;
  height: 44px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--primary-subtle);
  color: var(--brand-deep);
}

.site-nav a[aria-current="page"] {
  background: var(--primary-subtle);
  color: var(--brand-deep);
  font-weight: 600;
}

/* Hero and page headers */

.hero {
  background:
    radial-gradient(110% 90% at 90% 0%, #fbe3df 0%, rgba(251, 227, 223, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, var(--background) 100%);
  border-bottom: 1px solid var(--border);
}

.hero .hero-copy {
  max-width: 760px;
  padding: 56px 0 52px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--brand-deep);
}

.button-secondary:hover {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
}

.launch-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.page-hero {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--background) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.875rem, 5vw, 2.625rem);
  font-weight: 600;
}

.page-hero .hero-copy {
  max-width: 760px;
}

.page-hero .intro {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.page-hero .meta {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-body {
  padding-top: 32px;
  padding-bottom: 64px;
}

/* Sections and cards */

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin: 0 0 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2rem);
}

.section-link {
  margin: 24px 0 0;
}

.text-link {
  font-weight: 600;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  padding: 24px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.mark {
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--gold);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--brand-deep);
  font-family: var(--font-serif);
  font-weight: 700;
}

.step-teaser .step-number {
  margin-bottom: 12px;
}

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 28px;
}

.band h2 {
  margin: 0;
  font-size: 1.5rem;
}

.band p {
  margin: 6px 0 0;
  color: var(--text-secondary);
}

/* Long-form content */

.prose {
  padding: 28px 20px;
  color: var(--text-body);
}

.prose h2 {
  margin: 36px 0 10px;
  font-size: 1.375rem;
}

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

.prose h3 {
  margin: 28px 0 8px;
  font-size: 1.125rem;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.prose li {
  margin: 6px 0;
}

.prose li::marker {
  color: var(--gold-text);
}

.prose a {
  overflow-wrap: anywhere;
}

.callout {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid #f3cdc8;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--brand-deep);
}

.callout p {
  margin: 0;
  font-weight: 500;
}

.contact-list,
.identity-list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
}

.contact-list div,
.identity-list div {
  display: grid;
  gap: 2px;
}

.contact-list dt,
.identity-list dt {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-list dd,
.identity-list dd {
  margin: 0;
}

/* How it works */

.step-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 20px;
  color: var(--text-body);
}

.step-card h2 {
  margin: 4px 0 8px;
  font-size: 1.25rem;
}

.step-card p {
  margin: 0 0 10px;
}

.step-card p:last-child {
  margin-bottom: 0;
}

.step-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.step-card li {
  margin: 4px 0;
}

.step-card li::marker {
  color: var(--gold-text);
}

.step-note {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.help-card {
  margin-top: 20px;
  padding: 24px 20px;
}

.help-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.help-card p {
  margin: 0;
  color: var(--text-body);
}

/* Membership pricing */

.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
}

.plan-plus {
  border-color: #e6cf9f;
}

.plan-name {
  margin: 0;
  font-size: 1.625rem;
}

.plan-tagline {
  margin: 6px 0 0;
  color: var(--text-secondary);
}

.price-label {
  margin: 22px 0 2px;
  color: var(--gold-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
}

.price-current {
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.price-regular {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.price-regular del {
  text-decoration-thickness: 1px;
}

.plan-term {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.nowrap {
  white-space: nowrap;
}

.benefits {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  color: var(--text-body);
}

.benefits li {
  position: relative;
  padding-left: 32px;
}

.benefits li::before {
  content: "";
  position: absolute;
  top: 0.15em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-subtle);
}

.benefits li::after {
  content: "";
  position: absolute;
  top: calc(0.15em + 5px);
  left: 8px;
  width: 6px;
  height: 10px;
  border: solid var(--brand-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.plan-status {
  margin: auto 0 0;
  padding: 12px 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.free-note {
  margin: 20px 0 24px;
  color: var(--text-secondary);
}

.info-card h2 {
  margin-bottom: 12px;
}

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

/* Footer */

.site-footer {
  background: var(--footer);
  color: #f3e3df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 44px;
  padding-bottom: 32px;
}

.footer-name {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 0.9375rem;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #ecd09a;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: #ffffff;
}

.footer-bottom {
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: #e6d1cc;
  font-size: 0.875rem;
}

/* Responsive */

@media (max-width: 479px) {
  .cta-row .button,
  .band .button {
    width: 100%;
  }
}

@media (max-width: 719px) {
  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 8px 6px;
    font-size: 0.875rem;
    text-align: center;
  }

  .step-card {
    gap: 12px;
  }
}

@media (min-width: 720px) {
  .container {
    padding-right: 24px;
    padding-left: 24px;
  }

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

  .prose {
    padding: 40px 44px;
  }

  .step-card {
    padding: 26px 28px;
  }

  .help-card {
    padding: 26px 28px;
  }

  .plan {
    padding: 32px 30px;
  }

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

@media (min-width: 840px) {
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero .hero-copy {
    padding: 72px 0 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
