:root {
  --ink: #101828;
  --muted: #5f6c80;
  --line: #d8e0ea;
  --paper: #ffffff;
  --wash: #f3f7fb;
  --mint: #1f9d83;
  --mint-soft: #dff5ee;
  --coral: #f9735b;
  --gold: #f3b23c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 96px clamp(18px, 7vw, 96px) 128px;
  overflow: hidden;
  background: #f8fbfd;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("portal-pet-icon.png");
  background-repeat: no-repeat;
  background-position: right 8vw center;
  background-size: min(46vw, 520px);
  opacity: 0.18;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow,
.section-kicker,
.section-heading span {
  display: block;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--mint);
}

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

.quick-panel {
  width: min(1120px, calc(100% - 36px));
  margin: -66px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-panel article {
  padding: 24px;
  background: var(--paper);
}

.quick-panel strong,
.quick-panel span {
  display: block;
}

.quick-panel strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.quick-panel span,
.steps p,
.split-section p,
.app-section p {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.split-section,
.app-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.steps article,
.feature-list,
.app-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.steps article {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 44px;
  align-items: center;
}

.split-section.alt {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.split-section.alt > div:first-child {
  order: 2;
}

.feature-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.feature-list div {
  padding: 18px 20px;
  background: var(--paper);
  font-weight: 700;
}

.feature-list div::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.app-section {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 72px;
  padding: 30px;
}

.app-section img {
  width: 150px;
  height: 150px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
}

.site-footer {
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: 560px;
    padding-top: 72px;
  }

  .hero-bg {
    background-position: right -70px bottom 32px;
    background-size: 330px;
  }

  .quick-panel,
  .steps,
  .split-section,
  .split-section.alt,
  .app-section {
    grid-template-columns: 1fr;
  }

  .split-section.alt > div:first-child {
    order: 0;
  }

  .app-section img {
    width: 112px;
    height: 112px;
    border-radius: 22px;
  }
}
