:root {
  --wine: #64204f;
  --wine-2: #7d2a62;
  --coral: #dd653a;
  --peach: #eba76f;
  --mint: #266c66;
  --ink: #2d1b2a;
  --muted: #74606f;
  --line: #ead5ca;
  --paper: #fff8ef;
  --soft: #fdf0e1;
  --white: #ffffff;
  --glow: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(235, 167, 111, 0.22), transparent 32%),
    radial-gradient(circle at 95% 8%, rgba(100, 32, 79, 0.08), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 44px;
  background: rgba(255, 248, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--wine);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand span {
  display: grid;
  gap: 0;
  font-size: 0.94rem;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--coral);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 79px);
  display: flex;
  align-items: center;
  padding: 82px 44px 86px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(56, 22, 48, 0.96) 0%, rgba(100, 32, 79, 0.9) 46%, rgba(221, 101, 58, 0.72) 100%),
    var(--wine);
}

.platform-hero {
  isolation: isolate;
}



.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  z-index: -1;
}

.hero-content {
  max-width: 760px;
  color: var(--white);
}

.hero-mark {
  position: absolute;
  right: min(7vw, 92px);
  top: 104px;
  width: min(390px, 38vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: min(34px, 3vw);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 28px 80px rgba(37, 15, 32, 0.28);
  z-index: 0;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-eyebrow,
.section-label,
.status {
  margin: 0 0 12px;
  color: #ffd7bd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 5.8vw, 4.7rem);
}

.hero-desc,
.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 600px;
}

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

.btn-primary,
.btn-secondary,
button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
button {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #c94d2d);
  box-shadow: 0 10px 24px rgba(221, 101, 58, 0.22);
}

.btn-primary:hover,
button:hover {
  background: linear-gradient(135deg, #e8754a, var(--coral));
}

.btn-primary.dark {
  margin-top: 24px;
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 248, 239, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  right: 44px;
  bottom: 42px;
  width: min(360px, calc(100% - 88px));
  display: grid;
  gap: 8px;
  padding: 22px;
  color: var(--white);
  background: rgba(45, 27, 42, 0.76);
  border: 1px solid rgba(255, 248, 239, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(28, 11, 24, 0.25);
}

.hero-panel strong {
  font-size: 1.1rem;
}

.hero-panel small {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

section {
  padding: 82px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2,
.trust h2,
.urgent h2,
.signup h2,
.reviews h2 {
  color: var(--wine);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.search-section,
.urgent {
  background: var(--white);
}

.search-box,
.form-panel,
.pass-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 50px rgba(100, 32, 79, 0.08);
}

.search-box {
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
}

label {
  display: grid;
  gap: 7px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--glow);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(221, 101, 58, 0.12);
}

.results-head {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.results-head a {
  color: var(--wine);
  text-decoration: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 12px 34px rgba(100, 32, 79, 0.07);
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 132px;
  background: linear-gradient(135deg, rgba(100, 32, 79, 0.12), rgba(221, 101, 58, 0.16));
}

.portfolio-strip img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-body {
  display: grid;
  gap: 15px;
  padding: 18px;
}

.profile-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.profile-top h3 {
  margin-bottom: 4px;
  color: var(--wine);
  font-size: 1.45rem;
}

.profile-top span,
.profile-body p,
.split p,
.detail-panel p,
.trust p {
  color: var(--muted);
  line-height: 1.65;
}

.rating {
  min-width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3e4, #f9e0ce);
  color: var(--wine);
  text-align: center;
}

.rating small {
  color: var(--muted);
  font-size: 0.72rem;
}

.chips,
.verified,
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span,
.verified span,
.profile-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff1df;
  font-size: 0.8rem;
  font-weight: 700;
}

.verified span {
  color: var(--wine);
  background: #f6d5c4;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card-footer a {
  color: var(--wine);
  font-weight: 800;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.how,
.signup,
.reviews {
  background: var(--soft);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div,
.trust-grid div,
.review-grid article,
.detail-panel,
.summary-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.steps strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--wine), var(--coral));
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.trust-grid h3,
.detail-panel h2,
.detail-panel h3 {
  color: var(--wine);
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.profile-page .topbar + main {
  padding-top: 0;
}

.profile-hero {
  padding: 74px 0;
  background:
    linear-gradient(115deg, rgba(56, 22, 48, 0.96), rgba(100, 32, 79, 0.9) 55%, rgba(221, 101, 58, 0.68)),
    var(--wine);
  color: var(--white);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: start;
}

.profile-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.profile-hero p:not(.status) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.summary-card {
  display: grid;
  gap: 8px;
  color: var(--ink);
}

.summary-card strong {
  color: var(--wine);
  font-size: 3rem;
  font-family: "Playfair Display", Georgia, serif;
}

.summary-card b {
  margin-top: 8px;
  color: var(--coral);
  font-size: 1.3rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
}

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

.gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--soft);
}

.detail-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.review-grid article span {
  display: block;
  margin: 8px 0;
  color: var(--coral);
  font-weight: 800;
}

.center-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at top, rgba(221, 101, 58, 0.18), transparent 42%),
    var(--soft);
}

.pass-card {
  width: min(520px, 100%);
}

.pass-logo {
  width: 210px;
  height: 150px;
  object-fit: contain;
  justify-self: center;
  mix-blend-mode: multiply;
}

.pass-card h1 {
  color: var(--wine);
  font-size: 2.4rem;
}

.pass-card p,
.pass-card a {
  color: var(--muted);
  line-height: 1.6;
}

.radio-line {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--ink);
  text-transform: none;
}

.radio-line input {
  width: 18px;
  min-height: 18px;
}

.alert {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.alert-success {
  color: #17643a;
  background: #e8f5ee;
  border: 1px solid #b7dfc8;
}

.alert-error {
  color: #8f1d1d;
  background: #fff0f0;
  border: 1px solid #efb8b8;
}

.alert-info {
  color: #31566f;
  background: #edf6fb;
  border: 1px solid #c5dfed;
}

footer {
  padding: 34px 20px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, var(--ink), var(--wine));
  text-align: center;
}

@media (max-width: 980px) {
  .topbar {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 70px 24px 170px;
  }

  .hero-image {
    width: 100%;
    opacity: 0.22;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-mark {
    right: 24px;
    top: auto;
    bottom: 128px;
    width: min(210px, 44vw);
    opacity: 0.88;
  }

  .hero-panel {
    right: 24px;
    bottom: 24px;
    left: 24px;
    width: auto;
  }

  .search-box,
  .profile-grid,
  .split,
  .trust-grid,
  .profile-layout,
  .detail-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  section {
    padding: 58px 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .card-footer,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  button {
    width: 100%;
  }
}
