:root {
  --ink: #20242c;
  --muted: #667085;
  --paper: #fffdfb;
  --soft: #fff4ee;
  --soft-pink: #fff0f6;
  --line: #eadfd9;
  --accent: #ff781e;
  --accent-2: #ff8ac0;
  --navy: #242630;
  --success: #147d64;
  --shadow: 0 18px 50px rgba(56, 35, 27, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 138, 192, 0.13), transparent 31rem),
    radial-gradient(circle at 9% 28%, rgba(255, 120, 30, 0.1), transparent 28rem),
    var(--paper);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.95;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(255, 120, 30, 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  right: -999px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 10px;
}

.skip-link:focus {
  right: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(234, 223, 217, 0.82);
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 206px;
  height: 54px;
  object-fit: contain;
}

.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 7px 11px;
  color: #4f5664;
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #21242b;
  background: var(--soft);
}

.page-shell {
  padding-block: 56px 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 62px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 120, 30, 0.18), transparent 45%),
    linear-gradient(315deg, rgba(255, 138, 192, 0.2), transparent 46%),
    var(--navy);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -115px auto;
  width: 300px;
  height: 300px;
  border: 55px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 10px;
  color: #ffd7bf;
  font-size: 0.92rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.45;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.65rem);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

p {
  margin: 0 0 16px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #e4e5e9;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
}

.button-primary {
  color: #1f2025;
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero-mark {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(100%, 230px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-mark .hero-logo-crop {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  max-width: none;
  height: 100%;
}

.section {
  margin-top: 52px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.content-card,
.notice {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 30px rgba(56, 35, 27, 0.05);
}

.card {
  padding: 22px;
  border-radius: 18px;
}

.card-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  color: #8d3d0a;
  font-weight: 800;
  background: var(--soft);
  border-radius: 12px;
}

.card p,
.muted {
  color: var(--muted);
}

.permission-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #d8ece6;
  background: linear-gradient(135deg, #f3fffb, #fff);
  border-radius: 24px;
}

.permission-badge {
  min-width: 180px;
  padding: 17px 20px;
  color: var(--success);
  font-weight: 800;
  text-align: center;
  border: 1px solid #c6e9df;
  background: #fff;
  border-radius: 16px;
}

.page-head {
  max-width: 820px;
  margin-bottom: 30px;
}

.page-head h1 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.page-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

.content-card {
  max-width: 880px;
  padding: clamp(24px, 5vw, 44px);
  border-radius: 24px;
}

.content-card section + section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.content-card ul,
.content-card ol {
  padding-right: 22px;
}

.content-card li {
  margin-bottom: 8px;
}

.notice {
  padding: 18px 20px;
  margin: 22px 0;
  border-right: 4px solid var(--accent);
  border-radius: 14px;
}

.notice-success {
  border-right-color: var(--success);
  background: #f3fffb;
}

.meta-line {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: #9a4714;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 7px;
  overflow-wrap: anywhere;
  direction: ltr;
  color: #4f2d1b;
  background: var(--soft);
  border-radius: 6px;
  font-family: Consolas, monospace;
  font-size: 0.9em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffaf7;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding-block: 32px;
}

.footer-title {
  margin-bottom: 5px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 8px 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #575e6c;
  text-underline-offset: 4px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: left;
  border-top: 1px solid var(--line);
}

@media (max-width: 840px) {
  .header-inner {
    padding-block: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

  .hero-mark {
    width: 190px;
  }

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

  .permission-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .permission-badge {
    width: fit-content;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(100% - 22px, 1120px);
  }

  .brand img {
    width: 184px;
  }

  .site-nav a {
    padding: 6px 8px;
    font-size: 0.9rem;
  }

  .page-shell {
    padding-block: 30px 52px;
  }

  .hero {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
