:root {
  --color-background: #fff7f5;
  --color-background-soft: #fffaf8;
  --color-surface: #ffffff;
  --color-blush: #f6d8d2;
  --color-rose: #c98278;
  --color-rose-dark: #8f514b;
  --color-text: #2f2b2b;
  --color-muted: #7d6f6b;
  --color-border: rgba(201, 130, 120, 0.25);
  --shadow-soft: 0 24px 70px rgba(143, 81, 75, 0.13);
  --shadow-card: 0 18px 48px rgba(201, 130, 120, 0.15);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max-width: 1180px;
  color: var(--color-text);
  background: var(--color-background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(246, 216, 210, 0.8), transparent 34rem),
    linear-gradient(135deg, var(--color-background), var(--color-background-soft));
}

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

.app-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero,
.panel {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 84px;
  right: -96px;
  width: 320px;
  height: 320px;
  background: rgba(246, 216, 210, 0.58);
}

.hero::after {
  right: 128px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(201, 130, 120, 0.28);
}

.topbar,
.brand,
.topbar-actions,
.hero-actions,
.content-grid {
  display: flex;
}

.topbar {
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px;
}

.brand {
  align-items: center;
  gap: 12px;
  cursor: default;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(143, 81, 75, 0.22);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, var(--color-blush));
  color: var(--color-rose-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(201, 130, 120, 0.2);
}

.brand-name,
.brand-caption {
  display: block;
}

.brand-name {
  font-size: 1.04rem;
  font-weight: 700;
}

.brand-caption,
.section-kicker,
.eyebrow {
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-actions {
  align-items: center;
  gap: 8px;
}

.topbar-actions a,
.secondary-button {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--color-rose-dark);
  font-weight: 700;
}

.topbar-actions a {
  padding: 10px 16px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 32px;
  align-items: center;
  min-height: 500px;
  padding: 36px clamp(8px, 4vw, 44px) 20px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--color-rose);
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.subtitle {
  margin-bottom: 18px;
  color: var(--color-rose-dark);
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 700;
}

.hero-description,
.panel p,
.feature-card p {
  color: var(--color-muted);
  line-height: 1.75;
}

.hero-description {
  max-width: 650px;
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-button,
.secondary-button,
.login-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-button,
.login-form button {
  border: 0;
  background: linear-gradient(135deg, var(--color-rose), #b87368 55%, var(--color-rose-dark));
  color: #fffaf8;
  box-shadow: 0 16px 32px rgba(143, 81, 75, 0.24);
}

.hero-card {
  position: relative;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 38px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(246, 216, 210, 0.62)),
    radial-gradient(circle at top right, rgba(201, 130, 120, 0.24), transparent 13rem);
  box-shadow: var(--shadow-card);
}

.decor-line {
  width: 100%;
  height: 1px;
  margin-bottom: 72px;
  background: linear-gradient(90deg, transparent, rgba(143, 81, 75, 0.34), transparent);
}

.soft-badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--color-rose-dark);
  font-weight: 800;
}

.feature-grid,
.content-grid,
.category-list {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0;
}

.feature-card,
.panel {
  border-radius: var(--radius-md);
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 14px 34px rgba(143, 81, 75, 0.08);
}

.feature-card span {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 36px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-blush));
}

.content-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
}

.panel {
  padding: 28px;
}

.login-form input {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fffdfc;
  color: var(--color-text);
  font: inherit;
  outline: none;
}

.city-select-card {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(201, 130, 120, 0.28);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 245, 0.94)),
    radial-gradient(circle at top right, rgba(246, 216, 210, 0.72), transparent 12rem);
  box-shadow: 0 18px 42px rgba(143, 81, 75, 0.11);
}

.city-select-card::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-blush));
  content: "";
}

.city-select-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.city-select-label {
  color: var(--color-rose-dark);
  font-weight: 800;
}

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

.city-choice {
  position: relative;
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border: 1px solid rgba(201, 130, 120, 0.34);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 248, 0.94)),
    #fffdfc;
  color: var(--color-rose-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  letter-spacing: -0.01em;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 28px rgba(143, 81, 75, 0.08);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.city-choice::after {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: rgba(201, 130, 120, 0.3);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: right;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.city-choice:hover {
  border-color: rgba(201, 130, 120, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 16px 32px rgba(201, 130, 120, 0.14);
  transform: translateY(-1px);
}

.city-choice:focus-visible {
  border-color: var(--color-rose);
  box-shadow:
    0 0 0 4px rgba(246, 216, 210, 0.72),
    0 14px 28px rgba(143, 81, 75, 0.14);
}

.city-choice.is-active {
  border-color: rgba(143, 81, 75, 0.2);
  background: linear-gradient(135deg, var(--color-rose), #b87368 55%, var(--color-rose-dark));
  color: #fffaf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 34px rgba(143, 81, 75, 0.22);
}

.city-choice.is-active::after {
  background: rgba(255, 250, 248, 0.62);
  opacity: 1;
  transform: scaleX(1);
}

.city-select-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 130, 120, 0.16);
  font-size: 0.95rem;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  color: var(--color-rose-dark);
  font-weight: 800;
}

.login-form input {
  padding: 14px 16px;
}

.login-form button {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.category-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.category-list li {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 250, 248, 0.9);
  color: var(--color-rose-dark);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .app-shell {
    width: min(100% - 20px, var(--max-width));
    padding-top: 10px;
  }

  .hero,
  .panel,
  .feature-card {
    padding: 20px;
  }

  .topbar,
  .topbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-grid {
    min-height: auto;
    padding: 36px 0 0;
  }

  .hero-card {
    min-height: 280px;
    padding: 24px;
  }

  .feature-grid,
  .category-list {
    grid-template-columns: 1fr;
  }

  .city-select-card {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
  }

  .city-choice-grid {
    grid-template-columns: 1fr;
  }

  .city-choice {
    min-height: 56px;
    justify-content: flex-start;
    padding-left: 18px;
  }
}
