:root {
  --ink: #080909;
  --graphite: #151617;
  --paper: #f1e7d3;
  --muted: #c8bca5;
  --gold: #b89a61;
  --gold-bright: #d8bb7a;
  --telegram: #1f9bd1;
  --phone: #a62d38;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 154, 97, 0.13), transparent 32rem),
    linear-gradient(135deg, #090a0a 0%, #111213 50%, #070808 100%);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px 12px;
  isolation: isolate;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image:
    repeating-linear-gradient(118deg, transparent 0 7px, rgba(255,255,255,.025) 8px, transparent 9px 15px),
    repeating-linear-gradient(25deg, transparent 0 17px, rgba(184,154,97,.03) 18px, transparent 19px 28px);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  pointer-events: none;
}

.ambient-one {
  top: -12rem;
  left: -9rem;
  background: var(--gold);
}

.ambient-two {
  right: -12rem;
  bottom: -10rem;
  background: #74353a;
}

.profile-card {
  position: relative;
  width: min(100%, 470px);
  overflow: hidden;
  padding: 20px 18px 16px;
  border: 1px solid rgba(184, 154, 97, 0.58);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(25,26,27,.98), rgba(10,11,11,.995)),
    var(--graphite);
  box-shadow:
    0 30px 90px rgba(0,0,0,.56),
    inset 0 0 0 5px rgba(184,154,97,.035),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184,154,97,.13);
  border-radius: 20px;
  pointer-events: none;
}

.corner {
  position: absolute;
  z-index: 3;
  width: 31px;
  height: 31px;
  pointer-events: none;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background: var(--gold-bright);
  opacity: .8;
}

.corner::before {
  width: 26px;
  height: 1px;
}

.corner::after {
  width: 1px;
  height: 26px;
}

.corner-tl { top: 10px; left: 10px; }
.corner-tr { top: 10px; right: 10px; transform: rotate(90deg); }
.corner-br { right: 10px; bottom: 10px; transform: rotate(180deg); }
.corner-bl { left: 10px; bottom: 10px; transform: rotate(270deg); }

.masthead {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 3px 8px 12px;
}

.topline {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px 10px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ram-mark {
  width: 112px;
  height: 112px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(216, 187, 122, .55);
  box-shadow: 0 12px 35px rgba(0,0,0,.46), 0 0 0 5px rgba(184,154,97,.055);
}

.kicker {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: 225px;
  overflow: hidden;
  border: 1px solid rgba(184,154,97,.5);
  border-radius: 140px 140px 22px 22px;
  background: #0b0c0c;
  box-shadow: inset 0 0 0 4px rgba(8,9,9,.7), 0 16px 45px rgba(0,0,0,.3);
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,6,.08), rgba(5,6,6,.06) 48%, rgba(5,6,6,.88));
}

.hero-art p {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 17px;
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px #000;
}

.intro {
  position: relative;
  z-index: 1;
  padding: 22px 8px 14px;
  text-align: center;
}

.section-label {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.intro h1 {
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 8.8vw, 42px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.lead {
  max-width: 355px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 0;
  padding: 0 0 16px;
  list-style: none;
}

.benefits li {
  min-width: 0;
  padding: 11px 5px 10px;
  border: 1px solid rgba(184,154,97,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  text-align: center;
}

.benefits span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: .12em;
}

.benefits strong {
  display: block;
  color: #e8dfcf;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}

.contact-section {
  position: relative;
  z-index: 1;
  padding: 12px 0 3px;
  border-top: 1px solid rgba(184,154,97,.27);
}

.contact-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 8px 12px;
}

.contact-heading h2 {
  margin: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,154,97,.6));
}

.line:last-child {
  transform: rotate(180deg);
}

.contact-actions {
  display: grid;
  gap: 9px;
}

.contact-button {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  min-height: 66px;
  padding: 8px 15px 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px rgba(0,0,0,.2);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.contact-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,.12), transparent 43%);
  pointer-events: none;
}

.contact-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.contact-button:active {
  transform: translateY(0) scale(.99);
}

.contact-button:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.telegram {
  background: linear-gradient(135deg, #248fc0, var(--telegram));
}

.phone {
  background: linear-gradient(135deg, #85232d, var(--phone));
}

.button-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.12);
  font-size: 19px;
}

.button-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.button-copy small {
  font-size: 11px;
  opacity: .82;
}

.button-copy strong {
  font-size: 16px;
  letter-spacing: .01em;
}

.button-arrow {
  position: relative;
  z-index: 1;
  font-size: 20px;
  opacity: .82;
}

.demo-note {
  margin: 9px 0 0;
  color: #948b7b;
  font-size: 9px;
  letter-spacing: .06em;
  text-align: center;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 4px 1px;
  color: #8e8575;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-gem {
  color: var(--gold);
  font-size: 7px;
}

@media (max-width: 370px) {
  .site-shell {
    padding: 0;
  }

  .profile-card {
    border-radius: 0;
    border-inline: 0;
    padding-inline: 13px;
  }

  .profile-card::after {
    border-radius: 0;
  }

  .topline {
    padding-inline: 10px;
    font-size: 9px;
  }

  .hero-art {
    min-height: 205px;
  }

  .benefits strong {
    font-size: 9px;
  }
}

@media (min-width: 720px) {
  .site-shell {
    padding-block: 34px;
  }

  .profile-card {
    padding: 24px 22px 18px;
  }

  .hero-art {
    min-height: 260px;
  }
}

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