:root {
  --ink: #152033;
  --ink-soft: #526074;
  --paper: #fffaf5;
  --card: #ffffff;
  --line: #eadfd4;
  --brand: #ff7a2f;
  --brand-deep: #e95a15;
  --brand-soft: #fff0e5;
  --night: #111927;
  --success: #1f8a62;
  --shadow: 0 22px 60px rgba(39, 31, 24, 0.12);
  --radius: 24px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 176, 112, 0.22), transparent 30rem),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #b8420c;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-180%);
  border-radius: 10px;
  background: var(--night);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(234, 223, 212, 0.76);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--content));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(233, 90, 21, 0.24);
}

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

.nav-links a {
  border-radius: 999px;
  color: var(--ink-soft);
  padding: 8px 12px;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
  font-weight: 700;
}

.container {
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 76px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 14%;
  right: -12%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 122, 47, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(255, 122, 47, 0.05),
    0 0 0 112px rgba(255, 122, 47, 0.035);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 7vw, 5.6rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
}

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

.hero-copy {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 11px 20px;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(233, 90, 21, 0.2);
}

.button:hover {
  background: var(--brand-deep);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: #d7c4b3;
  color: var(--brand-deep);
}

.hero-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: var(--night);
  color: #fff;
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 122, 47, 0.24), transparent 46%);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 116px;
  height: 116px;
  margin-bottom: 34px;
  border-radius: 28px;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24);
}

.hero-card .meta {
  position: relative;
  display: grid;
  gap: 16px;
}

.meta-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.meta-row span:first-child {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-row a {
  color: #ffd2b9;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding-top: 32px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-heading p,
.lead {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: 28px;
  box-shadow: 0 10px 34px rgba(39, 31, 24, 0.045);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  color: var(--ink);
  text-decoration: none;
}

.card-link:hover {
  border-color: #ffc49e;
  color: var(--ink);
  transform: translateY(-2px);
}

.card-link,
.feature-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 1.25rem;
  font-weight: 850;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-weight: 760;
}

.notice {
  border-left: 4px solid var(--brand);
  border-radius: 0 18px 18px 0;
  background: var(--brand-soft);
  padding: 18px 22px;
}

.notice strong {
  color: var(--brand-deep);
}

.page-hero {
  padding: 76px 0 46px;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 20px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 48px;
  padding-bottom: 80px;
}

.prose {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.prose section + section {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 36px;
}

.prose h2 {
  scroll-margin-top: 98px;
  font-size: 1.65rem;
}

.prose h3 {
  margin-top: 26px;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: #3e4a5c;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 8px;
}

.side-nav {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px;
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav a {
  display: block;
  border-radius: 9px;
  color: var(--ink-soft);
  padding: 6px 8px;
  font-size: 0.91rem;
  text-decoration: none;
}

.side-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0 0;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
}

.contact-item small {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-item a,
.contact-item span {
  color: var(--ink);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 54px;
  padding: 5px 0 0 64px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0 20px;
}

summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 760;
}

details p {
  margin-top: 0;
  padding-bottom: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffaf6;
  padding: 38px 0;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-copy {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-copy p {
  margin: 8px 0 0;
}

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

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(31, 138, 98, 0.12);
}

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

  .hero-grid {
    gap: 44px;
  }

  .hero-card {
    max-width: 620px;
  }

  .side-nav {
    display: none;
  }

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

@media (max-width: 720px) {
  .nav-shell {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 10px;
    padding: 11px 12px;
  }

  .hero {
    padding: 64px 0 52px;
  }

  .hero::after {
    display: none;
  }

  .hero-card {
    padding: 26px;
  }

  .hero-logo {
    width: 92px;
    height: 92px;
  }

  .section {
    padding: 52px 0;
  }

  .page-hero {
    padding: 56px 0 34px;
  }

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

  .footer-grid {
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
