:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #171a1f;
  --muted: #5d6470;
  --panel: #ffffff;
  --line: #ddd7cb;
  --accent: #0a7c86;
  --accent-strong: #075e66;
  --accent-soft: #d9f1ee;
  --berry: #9d3158;
  --gold: #d89428;
  --shadow: 0 18px 50px rgba(24, 31, 37, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(10, 124, 134, 0.15), transparent 34rem),
    linear-gradient(135deg, #fbfaf6 0%, var(--bg) 52%, #eef6f4 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 260px;
  padding: 40px;
  border: 1px solid rgba(221, 215, 203, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 239, 0.9)),
    repeating-linear-gradient(
      90deg,
      rgba(10, 124, 134, 0.07) 0,
      rgba(10, 124, 134, 0.07) 1px,
      transparent 1px,
      transparent 18px
    );
  box-shadow: var(--shadow);
}

.compact-hero {
  min-height: 190px;
}

.app-mark {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), var(--berry));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 34px rgba(10, 124, 134, 0.24);
  overflow: hidden;
}

.app-mark::before,
.app-mark::after,
.app-mark span {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.app-mark::before {
  width: 58px;
  height: 14px;
  top: 30px;
  left: 27px;
}

.app-mark::after {
  width: 58px;
  height: 14px;
  top: 67px;
  left: 27px;
}

.app-mark span:nth-child(1) {
  width: 14px;
  height: 52px;
  top: 30px;
  left: 27px;
}

.app-mark span:nth-child(2) {
  width: 14px;
  height: 52px;
  top: 30px;
  left: 49px;
  background: rgba(255, 255, 255, 0.62);
}

.app-mark span:nth-child(3) {
  width: 14px;
  height: 52px;
  top: 30px;
  left: 71px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero p:last-child {
  margin-top: 16px;
  font-size: 1.12rem;
}

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

.panel,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(24, 31, 37, 0.08);
}

.panel {
  min-height: 238px;
  padding: 24px;
}

.primary-panel {
  background: linear-gradient(180deg, #ffffff, var(--accent-soft));
}

.help-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.button,
.text-link {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(10, 124, 134, 0.24);
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-strong);
}

.top-nav {
  margin-bottom: 18px;
}

.policy-shell {
  max-width: 900px;
}

.policy-card {
  margin-top: 22px;
  padding: 34px;
}

.policy-card h2:not(:first-child) {
  margin-top: 30px;
}

.policy-card p + p {
  margin-top: 14px;
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 24px, 680px);
    padding: 24px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 26px;
  }

  .app-mark {
    width: 86px;
    height: 86px;
    border-radius: 22px;
  }

  .app-mark::before {
    width: 44px;
    height: 11px;
    top: 23px;
    left: 21px;
  }

  .app-mark::after {
    width: 44px;
    height: 11px;
    top: 51px;
    left: 21px;
  }

  .app-mark span:nth-child(1),
  .app-mark span:nth-child(2),
  .app-mark span:nth-child(3) {
    width: 11px;
    height: 40px;
    top: 23px;
  }

  .app-mark span:nth-child(1) {
    left: 21px;
  }

  .app-mark span:nth-child(2) {
    left: 38px;
  }

  .app-mark span:nth-child(3) {
    left: 55px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: 0;
  }

  .policy-card {
    padding: 24px;
  }
}
