:root {
  --ink: #18202a;
  --muted: #5e6875;
  --line: #d9ddd8;
  --paper: #f8f6f1;
  --surface: #ffffff;
  --gold: #b9862b;
  --green: #6f8575;
  --red: #ad5b4f;
  --blue: #5d6d80;
  --shadow: 0 18px 48px rgba(24, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(24, 32, 42, 0.48);
  backdrop-filter: blur(14px);
}

.site-header.compact {
  position: sticky;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 246, 241, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 20px;
  color: inherit;
  font-size: 0.92rem;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 78vh;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 92px) 80px;
  background-image: url("askming-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 32, 42, 0.84) 0%, rgba(24, 32, 42, 0.55) 42%, rgba(24, 32, 42, 0.08) 100%),
    linear-gradient(0deg, rgba(24, 32, 42, 0.16), rgba(24, 32, 42, 0.16));
}

.hero-content {
  position: relative;
  max-width: 680px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 12vw, 8.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

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

.hero-actions {
  margin-top: 34px;
}

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

.button.primary {
  color: #ffffff;
  background: var(--gold);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #9b7023;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: 76px clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 8px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.intro p,
.company-layout p {
  margin-top: 0;
}

.band {
  background: #eef1ed;
}

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

.feature-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(24, 32, 42, 0.04);
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--green);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--red);
}

.feature-card p {
  margin: 0;
}

.feature-card a,
.document a,
.contact-list a {
  color: #7d5b1d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.callout {
  color: #ffffff;
  background: var(--ink);
}

.callout p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
}

.callout-inner {
  justify-content: space-between;
}

.callout-inner h2 {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.document-page,
.support-page {
  padding: 56px clamp(20px, 5vw, 72px) 72px;
}

.document,
.support-hero {
  width: min(860px, 100%);
  margin: 0 auto;
}

.document {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.document h1,
.support-hero h1 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.document h2 {
  margin-top: 34px;
  font-size: 1.24rem;
}

.updated {
  color: var(--muted);
}

.support-hero {
  padding: 32px 0 10px;
}

.support-hero p {
  max-width: 680px;
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-header.compact {
    position: sticky;
  }

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

  .hero {
    min-height: 72vh;
    padding: 150px 20px 52px;
    background-position: 62% center;
  }

  .hero-overlay {
    background: rgba(24, 32, 42, 0.72);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section {
    padding: 56px 20px;
  }

  .two-column,
  .company-layout,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
