/*
Theme Name: Milaps Matrimonial
Theme URI: https://example.com/milaps-matrimonial
Author: Codex
Description: A premium WordPress conversion of the Milaps / PakMatch matrimonial landing experience.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: milaps-matrimonial
*/

:root {
  --bg: #f7f4ee;
  --bg-soft: #fcfaf6;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #10221c;
  --muted: #5e6f69;
  --emerald: #0f7a57;
  --emerald-deep: #0a4d37;
  --gold: #b8882e;
  --rose: #c2416d;
  --line: rgba(16, 34, 28, 0.08);
  --shadow: 0 24px 70px rgba(14, 30, 24, 0.12);
  --shadow-soft: 0 12px 34px rgba(14, 30, 24, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

.theme-dark {
  --bg: #07120e;
  --bg-soft: #0b1713;
  --surface: rgba(11, 23, 19, 0.8);
  --surface-strong: #0f1f19;
  --text: #f4fbf7;
  --muted: #b7c8c0;
  --line: rgba(244, 251, 247, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(15, 122, 87, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(184, 136, 46, 0.09), transparent 24%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 122, 87, 0.12) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
}

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

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

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-header,
.site-footer,
.section {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg-soft) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--emerald), var(--emerald-deep));
  box-shadow: var(--shadow-soft);
  font-size: 1.35rem;
  font-weight: 700;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__tag {
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  list-style: none;
}

.nav a {
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(15, 122, 87, 0.08);
  color: var(--emerald);
  transform: translateY(-1px);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.wp-block-button__link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.wp-block-button__link:hover,
.button:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--emerald), var(--emerald-deep));
  box-shadow: 0 14px 30px rgba(15, 122, 87, 0.24);
}

.btn-secondary {
  color: var(--emerald);
  background: rgba(15, 122, 87, 0.08);
  border-color: rgba(15, 122, 87, 0.14);
}

.btn-gold {
  color: #fff;
  background: linear-gradient(145deg, #d29e3e, var(--gold));
  box-shadow: 0 14px 30px rgba(184, 136, 46, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.icon-btn {
  width: 48px;
  padding: 0;
}

.hero,
.section {
  padding: 96px 0;
}

.hero {
  padding-top: 58px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--emerald);
}

.hero h1,
.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  margin: 18px 0 20px;
}

.gradient-emerald {
  background: linear-gradient(90deg, #0d8b62, #1eaf7e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-gold {
  background: linear-gradient(90deg, #b8882e, #e0b85c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__copy {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 58ch;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 18px 16px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.stat__value {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-card {
  position: relative;
  min-height: 720px;
}

.hero-card__main,
.floating-card,
.panel,
.feature-card,
.story-card,
.plan-card,
.profile-card,
.cta-card,
.site-footer__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card__main {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  min-height: 680px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 30%),
    linear-gradient(160deg, rgba(15, 122, 87, 0.9), rgba(6, 36, 28, 0.98));
}

.hero-card__main::before,
.hero-card__main::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.9;
}

.hero-card__main::before {
  width: 330px;
  height: 330px;
  left: -70px;
  top: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 60%);
}

.hero-card__main::after {
  width: 460px;
  height: 460px;
  right: -140px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(224, 184, 92, 0.22), transparent 62%);
}

.hero-card__photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(16, 34, 28, 0.05), rgba(6, 20, 16, 0.2));
}

.hero-card__photo .figure {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(8px);
}

.figure.one {
  width: 240px;
  height: 240px;
  right: 18%;
  top: 13%;
}

.figure.two {
  width: 190px;
  height: 190px;
  left: 12%;
  bottom: 16%;
}

.figure.three {
  width: 88px;
  height: 88px;
  left: 44%;
  top: 22%;
  background: rgba(224, 184, 92, 0.26);
}

.hero-card__overlay {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  border-radius: 26px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  color: #fff;
}

.overlay-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--emerald-deep);
  background: linear-gradient(145deg, #fff, #d9ede5);
}

.avatar--gold {
  color: #553c11;
  background: linear-gradient(145deg, #fff7d5, #f0d89a);
}

.overlay-row__meta {
  flex: 1;
}

.overlay-row__name {
  font-size: 1rem;
  font-weight: 700;
}

.overlay-row__sub,
.overlay-row__text,
.muted {
  color: var(--muted);
}

.overlay-row__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.overlay-score {
  text-align: right;
  font-weight: 800;
  color: #fff;
}

.hero-card__float {
  position: absolute;
  border-radius: 22px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 6s ease-in-out infinite;
}

.hero-card__float.one {
  top: 26px;
  left: 0;
}

.hero-card__float.two {
  right: 0;
  bottom: 62px;
  animation-delay: 1s;
}

.float-score {
  font-size: 1.1rem;
  font-weight: 800;
}

.float-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-copy {
  color: var(--muted);
  margin: 14px auto 0;
  font-size: 1.04rem;
}

.section-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(15, 122, 87, 0.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(184, 136, 46, 0.04) 25%, transparent 25%);
  background-size: 36px 36px;
}

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

.cards-grid--features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid--stories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid--plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid--profiles {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.feature-card,
.plan-card,
.profile-card,
.story-card,
.panel,
.cta-card {
  border-radius: var(--radius-xl);
}

.feature-card {
  padding: 24px;
}

.feature-card__icon,
.step-icon,
.plan-icon,
.profile-badge,
.mini-badge,
.story-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.feature-card__icon {
  margin-bottom: 18px;
}

.feature-card h3,
.step-card h3,
.plan-card h3,
.story-name,
.profile-name,
.panel-title,
.footer-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.feature-card h3 {
  font-size: 1.4rem;
}

.feature-urdu,
.step-urdu,
.plan-urdu {
  margin: 3px 0 10px;
  color: var(--emerald);
  font-size: 0.84rem;
  font-weight: 700;
}

.feature-card p,
.step-card p,
.plan-card li,
.profile-card p,
.story-card p {
  color: var(--muted);
}

.feature-card .accent-list {
  margin-top: 12px;
}

.step-card {
  text-align: center;
  padding: 24px 18px;
}

.step-number {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 800;
}

.line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 122, 87, 0.2), rgba(184, 136, 46, 0.2), transparent);
}

.line--section {
  margin: 14px 0 24px;
}

.panel {
  padding: 28px;
}

.panel h3 {
  font-size: 2rem;
  margin: 8px 0 10px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
}

.profile-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.profile-search {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
}

.profile-search__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-search__field {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-search__field span {
  font-weight: 700;
  color: var(--text);
}

.profile-search__field input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(14, 46, 34, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 11px 14px;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(14, 46, 34, 0.04);
}

.profile-search__field input:focus {
  outline: none;
  border-color: rgba(15, 122, 87, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 122, 87, 0.12);
}

.milaps-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.milaps-pagination__link {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(15, 122, 87, 0.08);
  color: var(--emerald);
  border: 1px solid rgba(15, 122, 87, 0.14);
  font-weight: 700;
}

.milaps-pagination__link.is-current {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
}

.chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15, 122, 87, 0.08);
  color: var(--emerald);
  border: 1px solid rgba(15, 122, 87, 0.12);
  font-size: 0.84rem;
  font-weight: 700;
}

.panel--visual {
  display: grid;
  gap: 16px;
}

.profile-card {
  padding: 22px;
}

.profiles-list {
  display: grid;
  gap: 16px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.profile-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(15, 122, 87, 0.18), rgba(184, 136, 46, 0.18));
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--emerald-deep);
}

.profile-meta {
  flex: 1;
}

.profile-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge--emerald {
  background: rgba(15, 122, 87, 0.08);
  color: var(--emerald);
}

.badge--gold {
  background: rgba(184, 136, 46, 0.12);
  color: var(--gold);
}

.badge--rose {
  background: rgba(194, 65, 109, 0.1);
  color: var(--rose);
}

.plan-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card--popular {
  transform: scale(1.02);
  border-color: rgba(184, 136, 46, 0.34);
}

.plan-top {
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.plan-price {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.plan-price strong {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2.7rem;
}

.plan-body {
  padding: 20px 22px 22px;
  flex: 1;
}

.plan-footer {
  padding: 0 22px 22px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.plan-card li {
  padding-left: 22px;
  position: relative;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
}

.story-card {
  overflow: hidden;
}

.story-visual {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(15, 122, 87, 0.95), rgba(6, 20, 16, 0.96)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 25%);
  position: relative;
}

.story-visual::before,
.story-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.story-visual::before {
  width: 160px;
  height: 160px;
  left: 24px;
  top: 28px;
}

.story-visual::after {
  width: 120px;
  height: 120px;
  right: 28px;
  bottom: 38px;
  background: rgba(184, 136, 46, 0.14);
}

.story-body {
  padding: 24px;
}

.quote {
  margin: 0 0 18px;
  font-size: 0.98rem;
  font-style: italic;
}

.story-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.story-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.testimonial {
  border-radius: 22px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.stars {
  color: var(--rose);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.cta-card {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 30px;
}

.cta-card h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.8rem;
}

.site-footer {
  margin-top: 48px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 18, 14, 0.95), rgba(7, 18, 14, 1)),
    radial-gradient(circle at top, rgba(15, 122, 87, 0.2), transparent 35%);
}

.site-footer__top {
  padding: 78px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-brand {
  color: rgba(255, 255, 255, 0.94);
}

.footer-brand .brand__tag,
.footer-text,
.footer-links a,
.footer-meta {
  color: rgba(244, 251, 247, 0.68);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer__bottom {
  padding: 22px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
}

.mobile-panel {
  display: none;
  padding: 0 0 18px;
}

.dark-toggle {
  background: rgba(15, 122, 87, 0.08);
  color: var(--emerald);
}

.is-hidden {
  display: none !important;
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

.delay-4 {
  animation-delay: 0.32s;
}

.delay-5 {
  animation-delay: 0.4s;
}

.delay-6 {
  animation-delay: 0.48s;
}

.archive,
.content-area {
  padding: 64px 0 30px;
}

.entry {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.entry h1,
.entry h2,
.entry h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
}

.entry-meta,
.post-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-main--postlist {
  display: grid;
  gap: 18px;
}

.post-card {
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.post-card h2 {
  margin: 0 0 10px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero__grid,
  .cards-grid--profiles,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .cards-grid--features,
  .cards-grid--steps,
  .cards-grid--plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials,
  .cards-grid--stories {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 620px;
    order: -1;
  }
}

@media (max-width: 860px) {
  .nav,
  .header-actions .desktop-only {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .hero,
  .section {
    padding: 72px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .cards-grid--features,
  .cards-grid--steps,
  .cards-grid--plans,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-card__main {
    min-height: 540px;
    border-radius: 32px;
  }

  .hero-card__overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero-card__float.one {
    top: 16px;
  }

  .hero-card__float.two {
    bottom: 18px;
  }

  .cta-card,
  .panel,
  .entry,
  .post-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}
