:root {
  --bg: #f6f4ef;
  --paper: #fffdf8;
  --ink: #1f2622;
  --muted: #5d6760;
  --line: rgba(31, 38, 34, 0.12);
  --green: #2f6f57;
  --green-dark: #1f523f;
  --coral: #c8644f;
  --blue: #2c7db7;
  --button: #2f6f57;
  --button-dark: #255844;
  --shadow: 0 18px 46px rgba(34, 42, 37, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(47, 111, 87, 0.09), transparent 36%),
    linear-gradient(240deg, rgba(200, 100, 79, 0.11), transparent 38%),
    var(--bg);
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  overflow-x: hidden;
  padding: 12px 12px max(28px, calc(18px + env(safe-area-inset-bottom)));
}

.app {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: hidden;
}

.hero,
.screen,
.trust-band,
.event-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-media {
  position: relative;
  height: clamp(250px, 36dvh, 320px);
  min-height: 0;
  background: #dde4df;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(31, 38, 34, 0.58));
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
}

.hero-copy {
  padding: 20px 18px 14px;
  display: grid;
  gap: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(1.72rem, 7.2vw, 2.25rem);
  hyphens: auto;
}

h2 {
  font-size: clamp(1.35rem, 6vw, 1.85rem);
}

h3 {
  font-size: 1.25rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.lead {
  color: #354039;
  font-size: 1rem;
}

.slot-banner {
  margin: 0 18px 16px;
  padding: 14px;
  border-radius: 18px;
  background: #edf6f1;
  border: 1px solid rgba(47, 111, 87, 0.18);
  display: grid;
  gap: 4px;
}

.slot-banner span,
.slot-banner small {
  color: var(--green-dark);
  font-size: 0.86rem;
}

.slot-banner strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.hero-scroll {
  min-height: 52px;
  margin: 0 18px 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(47, 111, 87, 0.2);
}

.trust-band {
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.trust-band div {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.trust-band div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.trust-band strong {
  font-size: 0.96rem;
}

.trust-band span {
  color: var(--muted);
  font-size: 0.88rem;
}

.screen {
  border-radius: var(--radius);
  padding: 20px 18px;
  display: grid;
  gap: 12px;
}

.chooser-list {
  display: grid;
  gap: 8px;
}

.chooser-list a {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  background: #edf6f1;
  border: 1px solid rgba(47, 111, 87, 0.16);
  color: var(--green-dark);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
}

.section-head {
  padding: 10px 4px 4px;
  display: grid;
  gap: 8px;
}

.schedule {
  display: grid;
  gap: 12px;
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 13px;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--green);
}

.event-card--money::before {
  background: var(--green);
}

.event-card--anxiety::before {
  background: var(--blue);
}

.event-card--relationships::before {
  background: var(--coral);
}

.event-card--change::before {
  background: #7a6898;
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.event-date span,
.event-date strong {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.event-date span {
  background: #f3ede2;
  color: #5b4f42;
  font-weight: 800;
}

.event-date strong {
  background: #ecf5f1;
  color: var(--green-dark);
  font-weight: 800;
}

.button-grid {
  display: grid;
  gap: 9px;
}

.after-note {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7f2e9;
  color: #5b4f42;
  font-size: 0.86rem;
}

.reg-button {
  min-height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
}

.reg-button::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.reg-button--max {
  background: var(--button);
}

.reg-button--max::before {
  background-image: url("./assets/icon-max.svg");
}

.reg-button--telegram {
  background: var(--button);
}

.reg-button--telegram::before {
  background-image: url("./assets/icon-telegram.svg");
}

.reg-button--vk {
  background: var(--button);
}

.reg-button--vk::before {
  background-image: url("./assets/icon-vk.svg");
}

.reg-button:focus-visible,
.hero-scroll:focus-visible,
.chooser-list a:focus-visible {
  outline: 3px solid rgba(31, 38, 34, 0.36);
  outline-offset: 3px;
}

.reg-button:active,
.hero-scroll:active,
.chooser-list a:active {
  transform: translateY(1px);
}

.final-cta .hero-scroll {
  margin: 4px 0 0;
}

@media (min-width: 720px) {
  .page-shell {
    padding-top: 24px;
  }

}
