:root {
  color-scheme: light;
  --brand: #e1547b;
  --accent: #fa6c8d;
  --ink: #49313d;
  --muted: #8f6372;
  --line: #f3dce5;
  --bg: #fff8fb;
  --paper: #ffffff;
  --mint: #29a788;
  --blue: #5474d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(243, 220, 229, 0.78);
  background: rgba(255, 248, 251, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.actions,
.nav,
.language {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.actions {
  gap: 12px;
}

.language {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language button {
  padding: 8px 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.language button.active {
  background: var(--brand);
  color: #fff;
}

.admin-link,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 11px 17px;
  font-weight: 800;
}

.admin-link,
.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 7vw, 92px);
  background:
    linear-gradient(105deg, rgba(255, 248, 251, 0.98) 0%, rgba(255, 248, 251, 0.92) 53%, rgba(255, 248, 251, 0.58) 100%),
    url("./assets/icon.png") right 8% center / min(44vw, 560px) no-repeat;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
}

.hero-text,
.section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 34px rgba(225, 84, 123, 0.22);
}

.phone {
  justify-self: center;
  width: min(100%, 360px);
  border: 10px solid #2f2029;
  border-radius: 42px;
  background: #2f2029;
  box-shadow: 0 32px 70px rgba(104, 45, 66, 0.22);
}

.phone-bar {
  width: 96px;
  height: 6px;
  margin: 10px auto 12px;
  border-radius: 999px;
  background: #725362;
}

.screen {
  min-height: 560px;
  border-radius: 30px;
  padding: 22px;
  background: #fff;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.profile-row img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.profile-row strong,
.profile-row span {
  display: block;
}

.profile-row span,
.preview-card span,
.preview-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.preview-card {
  display: grid;
  gap: 10px;
  min-height: 138px;
  border-radius: 26px;
  padding: 20px;
  background: #fff1f5;
}

.preview-card strong {
  max-width: 220px;
  font-size: 28px;
  line-height: 1.05;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.preview-grid div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

.preview-grid strong {
  font-size: 28px;
}

.calendar-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 18px;
}

.calendar-preview span {
  aspect-ratio: 1;
  border-radius: 16px;
  background: #f8e8ef;
}

.calendar-preview .active {
  background: var(--brand);
}

.calendar-preview .soft {
  background: var(--mint);
}

.section {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 7vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stats,
.cards,
.steps {
  display: grid;
  gap: 16px;
}

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

.stats div,
.cards article,
.steps div {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  padding: 22px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 24px;
}

.stats span {
  color: var(--muted);
  line-height: 1.45;
}

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

.cards article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cards article:first-child {
  background: #fff url("./assets/icon.png") right 26px top 26px / 120px no-repeat;
}

.cards article:last-child {
  background: #f7fffc;
}

.tag {
  width: fit-content;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff0f4;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.tag.mint {
  background: #e9fbf5;
  color: var(--mint);
}

.timeline {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  gap: 34px;
}

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

.steps span {
  color: var(--blue);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 20px;
}

.steps p {
  margin-bottom: 0;
  font-size: 15px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 7vw, 92px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.footer div {
  display: flex;
  gap: 18px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .timeline,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background-position: right -80px top 24px;
    background-size: 280px;
  }

  .phone {
    width: min(100%, 330px);
  }

  .screen {
    min-height: 500px;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text,
  .section p {
    font-size: 16px;
  }

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