:root {
  color-scheme: dark;
  --ink: #f4f1e9;
  --ink-soft: #c2bdb3;
  --gold: #c4a66b;
  --gold-light: #d8bd83;
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: #111;
  background-image: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 9%, rgba(196, 166, 107, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.08), rgba(6, 6, 6, 0.28));
}

button,
a,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

button {
  border: 0;
}

.site-header,
.layout {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

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

.logo-picture {
  width: 46px;
  height: 46px;
  display: block;
  flex: 0 0 46px;
}

.logo {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-caption {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.login-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.48);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
  backdrop-filter: blur(14px);
}

.login-btn:hover {
  border-color: rgba(216, 189, 131, 0.52);
  background: rgba(18, 18, 17, 0.82);
}

.login-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.layout {
  padding: 52px 0 34px;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(46px, 7vw, 104px);
  padding: 34px 0 72px;
}

.hero-main {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 6vw, 84px);
  line-height: 0.98;
}

h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.btn-primary {
  background: var(--gold);
  color: #181611;
  box-shadow: 0 15px 34px rgba(126, 96, 43, 0.22);
}

.btn-primary:hover {
  background: #d6ba80;
  box-shadow: 0 18px 40px rgba(126, 96, 43, 0.3);
}

.btn-primary span {
  font-size: 18px;
  font-weight: 400;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.48);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(24, 24, 22, 0.82);
}

.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 28px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-trust div {
  display: grid;
  gap: 4px;
}

.hero-trust strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.hero-trust span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(216, 189, 131, 0.32), rgba(88, 75, 49, 0.2) 48%, transparent 72%);
  filter: blur(1px);
}

.memorial-preview {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  background: rgba(14, 14, 13, 0.8);
  color: #fff;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  transform: rotate(2.5deg);
}

.preview-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 8px 12px;
  color: #d3bb89;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-status {
  color: #d3bb89;
}

.preview-portrait {
  overflow: hidden;
  aspect-ratio: 1 / 1.12;
  border-radius: 21px;
  background: #101010;
}

.preview-portrait picture,
.why-card-media picture,
.benefit-card > picture {
  width: 100%;
  height: 100%;
  display: block;
}

.preview-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
}

.preview-meta {
  display: grid;
  gap: 8px;
  padding: 18px 10px 12px;
}

.preview-kicker {
  color: #d3bb89;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preview-meta strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 400;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(12, 12, 11, 0.86);
  color: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.floating-note-top {
  top: 14%;
  left: -3%;
}

.floating-note-bottom {
  right: -3%;
  bottom: 15%;
}

.floating-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #181611;
}

.floating-note > span:last-child {
  display: grid;
  gap: 2px;
}

.floating-note strong {
  font-size: 12px;
}

.floating-note small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.sections {
  display: grid;
  gap: 26px;
}

.section {
  width: 100%;
  min-width: 0;
  padding: clamp(62px, 8vw, 104px) clamp(22px, 6vw, 74px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-lg);
  background: rgba(6, 6, 6, 0.64);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
}

.section-heading {
  min-width: 0;
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2,
.guarantee-copy h2,
.cta-section h2 {
  overflow-wrap: anywhere;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.03;
}

.section-heading > p:last-child,
.split-heading > p {
  color: var(--ink-soft);
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.65;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  align-items: end;
  gap: 50px;
}

.split-heading > p {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.7;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

.card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-md);
  background: rgba(8, 8, 8, 0.66);
}

.why-card-media {
  margin: 0;
}

.feature-grid .why-card-media {
  aspect-ratio: 1 / 1;
}

.why-card-media img,
.benefit-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.process-section {
  background:
    radial-gradient(circle at 90% 5%, rgba(196, 166, 107, 0.11), transparent 30%),
    rgba(5, 5, 5, 0.72);
  color: #fff;
}

.process-section .eyebrow {
  color: #cbb27f;
}

.process-section .split-heading > p {
  color: rgba(255, 255, 255, 0.66);
}

.process-card {
  position: relative;
  display: grid;
  background: transparent;
}

.process-card .why-card-media {
  aspect-ratio: 1 / 1;
}

.step-number {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 166, 107, 0.48);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.82);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.benefit-card {
  position: relative;
  aspect-ratio: 1.25 / 1;
  background: #080808;
}

.benefit-card > picture,
.benefit-card img {
  position: absolute;
  inset: 0;
}

.guarantee-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(196, 166, 107, 0.11), transparent 30%),
    rgba(5, 5, 5, 0.72);
  color: #fff;
}

.eyebrow-light {
  color: #cbb27f;
}

.countdown-intro {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.7;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.countdown-item {
  min-height: 128px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.countdown-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.faq {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.faq .card {
  padding: 30px 24px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
}

.faq .card:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.faq h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.faq p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.cta-section {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 70px;
  align-items: end;
  padding: clamp(62px, 8vw, 100px) clamp(22px, 6vw, 74px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 5%, rgba(196, 166, 107, 0.11), transparent 30%),
    rgba(5, 5, 5, 0.72);
  color: #fff;
}

.cta-action {
  display: grid;
  justify-items: start;
  gap: 25px;
}

.cta-action p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.7;
}

.cta-action .btn-primary {
  background: var(--gold);
  color: #181611;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 3, 3, 0.68);
  backdrop-filter: blur(12px);
}

.modal-overlay.is-open {
  display: flex;
}

.contact-modal {
  width: min(100%, 560px);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: rgba(12, 12, 11, 0.96);
  color: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-head .eyebrow {
  margin-bottom: 12px;
}

.modal-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-subtitle {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

.modal-links {
  width: 60%;
  display: grid;
  gap: 10px;
  margin-inline: auto;
}

.modal-link {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.modal-link:hover {
  border-color: rgba(216, 189, 131, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
  border-color: rgba(216, 189, 131, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.modal-link-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #d8bd83;
}

.modal-link-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 38px;
  }

  .floating-note-top {
    left: -8%;
  }

  .floating-note-bottom {
    right: -4%;
  }

  .section {
    padding-inline: 40px;
  }
}

@media (min-width: 900px) {
  .section-intro .section-heading {
    max-width: none;
  }

  .section-intro .section-heading > p:last-child {
    max-width: none;
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .site-header,
  .layout {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    min-height: 78px;
  }

  .login-btn {
    padding: 10px 13px;
    font-size: 12px;
    white-space: nowrap;
  }

  .login-btn .login-icon {
    width: 15px;
    height: 15px;
  }

  .layout {
    padding-top: 24px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 34px 0 76px;
  }

  .hero-main {
    text-align: center;
  }

  .hero-main .eyebrow,
  .actions,
  .hero-trust {
    justify-content: center;
  }

  .lead {
    margin-inline: auto;
  }

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

  .memorial-preview {
    width: 370px;
    transform: rotate(1.5deg);
  }

  .floating-note-top {
    left: 5%;
  }

  .floating-note-bottom {
    right: 4%;
  }

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

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

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

  .guarantee-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-lg: 24px;
    --radius-md: 18px;
  }

  .site-header,
  .layout {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    gap: 12px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-caption {
    font-size: 8px;
  }

  .logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .layout {
    padding-bottom: 12px;
  }

  .hero {
    padding-top: 28px;
    gap: 18px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .actions {
    display: grid;
    margin-top: 27px;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 38px;
  }

  .hero-trust strong {
    font-size: 15px;
  }

  .hero-trust span {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 460px;
    overflow: hidden;
  }

  .visual-glow {
    width: 390px;
    height: 390px;
  }

  .memorial-preview {
    width: min(78vw, 315px);
  }

  .preview-meta strong {
    font-size: 22px;
  }

  .floating-note {
    min-width: 155px;
    padding: 9px 11px;
  }

  .floating-note-top {
    top: 10%;
    left: 0;
  }

  .floating-note-bottom {
    right: 0;
    bottom: 11%;
  }

  .floating-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .floating-note strong {
    font-size: 10px;
  }

  .floating-note small {
    font-size: 8px;
  }

  .sections {
    gap: 14px;
  }

  .section,
  .cta-section {
    padding: 54px 18px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .guarantee-copy h2,
  .cta-section h2 {
    font-size: 40px;
  }

  .section-heading > p:last-child {
    margin-top: 16px;
    font-size: 15px;
  }

  .feature-grid,
  .process-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 14px;
  }

  .step-number {
    top: 10px;
    left: 10px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .benefit-card {
    aspect-ratio: 1.2 / 1;
  }

  .guarantee-section {
    gap: 34px;
  }

  .countdown-grid {
    gap: 7px;
  }

  .countdown-item {
    min-height: 94px;
    border-radius: 14px;
  }

  .countdown-value {
    font-size: 31px;
  }

  .countdown-label {
    font-size: 7px;
  }

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

  .faq .card {
    padding: 24px 4px;
  }

  .faq .card:nth-child(odd) {
    border-right: 0;
  }

  .faq h3 {
    font-size: 21px;
  }

  .cta-section {
    gap: 35px;
  }

  .cta-action .btn {
    width: 100%;
  }

  .contact-modal {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .modal-links {
    width: 82%;
  }

  .modal-title {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
