:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #596772;
  --line: #d8e2e2;
  --surface: #ffffff;
  --wash: #f5f8f8;
  --teal: #005c5c;
  --teal-2: #007a70;
  --mint: #e8f6f3;
  --gold: #c28a38;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
input, select, textarea, button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(216, 226, 226, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 10px; min-width: 0; }
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-name { color: var(--teal-2); font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: 0; }

.site-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-footer a:hover { color: var(--teal); }

.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta, .button-primary { background: var(--teal); color: #ffffff; }
.header-cta:hover, .button-primary:hover { background: #004747; }
.button-secondary { border: 1px solid rgba(255, 255, 255, 0.58); color: #ffffff; background: rgba(255, 255, 255, 0.1); }
.button-light { background: #ffffff; color: var(--ink); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.56fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: min(760px, 78svh);
  padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 64px);
  overflow: hidden;
  color: #ffffff;
  background: #07181b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/asiliguide-preview.png") center / cover;
  filter: blur(30px) saturate(0.75);
  opacity: 0.42;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 27, 0.96), rgba(7, 24, 27, 0.88), rgba(7, 24, 27, 0.64));
}

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

.hero-content { max-width: 960px; }
.eyebrow { margin: 0 0 14px; color: var(--teal-2); font-size: 13px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow, .contact-section .eyebrow { color: #8ee0d2; }

h1 { max-width: 960px; margin-bottom: 22px; font-size: clamp(38px, 5.6vw, 74px); font-weight: 900; line-height: 1.03; letter-spacing: 0; }
.hero-copy { max-width: 720px; margin-bottom: 30px; color: rgba(255,255,255,0.9); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; }
.hero-tags span { border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; padding: 7px 11px; color: rgba(255,255,255,0.84); font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.07); }

.hero-panel { overflow: hidden; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; background: rgba(8, 18, 22, 0.84); box-shadow: var(--shadow); }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.panel-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ef7373; }
.panel-bar span:nth-child(2) { background: #e8bd57; }
.panel-bar span:nth-child(3) { background: #58cc87; }
.panel-bar strong { margin-left: auto; color: rgba(255,255,255,0.7); font-size: 12px; }
.panel-body { padding: 24px; }
.panel-label { color: #8ee0d2; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.panel-body h2 { color: #ffffff; font-size: 30px; }
.path-grid { display: grid; gap: 12px; margin-top: 22px; }
.path-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.06);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.path-card:hover { border-color: rgba(142,224,210,0.55); background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.path-tag { color: #8ee0d2; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.path-card strong { font-size: 22px; font-weight: 800; color: #ffffff; }
.path-desc { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.5; }
.path-go { margin-top: 6px; color: #8ee0d2; font-size: 14px; font-weight: 850; }

.proof-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); background: var(--surface); }
.proof-strip div { min-height: 150px; padding: 28px clamp(18px, 4vw, 42px); border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip span { color: var(--teal); font-size: 18px; font-weight: 850; }
.proof-strip p { margin: 10px 0 0; color: var(--muted); line-height: 1.58; }

.section { padding: clamp(56px, 6vw, 88px) clamp(18px, 4vw, 64px); }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading.compact { max-width: 720px; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: 0; }
h3 { margin-bottom: 12px; font-size: 27px; line-height: 1.16; }
.section-heading p:not(.eyebrow), .two-column p { color: var(--muted); font-size: 18px; line-height: 1.65; }

.two-column { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.problem-section, .workflow-section { background: #ffffff; border-block: 1px solid var(--line); }
.problem-list { display: grid; gap: 12px; }
.problem-list div { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--wash); }
.problem-list span { color: var(--gold); font-weight: 900; }
.problem-list p { margin: 0; color: var(--ink); font-weight: 750; line-height: 1.48; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 40px rgba(16, 24, 32, 0.08); }
.product-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--line);
}
.product-body { display: flex; flex-direction: column; padding: 28px; }
.product-label { margin-bottom: 8px; color: var(--teal-2); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.product-body p:not(.product-label) { color: var(--muted); line-height: 1.62; }
.product-body ul { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.product-body li { position: relative; padding-left: 22px; color: #2d3740; font-size: 15px; line-height: 1.45; }
.product-body li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--teal);
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
}
.product-cta:hover { background: #004747; }

.outcome-grid, .step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.outcome-grid article, .step-grid article, .fit-grid div { border: 1px solid var(--line); border-radius: 8px; background: #ffffff; padding: 24px; box-shadow: 0 10px 30px rgba(16, 24, 32, 0.05); }
.outcome-grid span, .step-grid span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 900; }
.outcome-grid p, .step-grid p { color: var(--muted); line-height: 1.6; }

.fit-section { background: #f9fbfb; }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fit-grid div { min-height: 72px; display: flex; align-items: center; color: var(--ink); font-weight: 800; }

.workflow-table { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #ffffff; }
.table-row { display: grid; grid-template-columns: 230px minmax(0, 1fr); border-top: 1px solid var(--line); }
.table-row:first-child { border-top: 0; }
.table-row span { padding: 18px 20px; line-height: 1.5; }
.table-row span:first-child { font-weight: 850; }
.table-head { background: var(--ink); color: #ffffff; }
.table-row:not(.table-head) span:last-child { color: var(--muted); }

.implementation-section { background: var(--wash); }
.faq-section { background: #ffffff; border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 12px; max-width: 920px; }
details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 18px 20px; }
summary { cursor: pointer; color: var(--ink); font-size: 18px; font-weight: 850; }
details p { margin: 14px 0 0; color: var(--muted); line-height: 1.6; }

.trust-section { background: #ffffff; border-top: 1px solid var(--line); }
.trust-grid, .security-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-grid a, .security-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.05);
}
.trust-grid a:hover { border-color: rgba(0, 92, 92, 0.42); transform: translateY(-1px); }
.trust-grid span, .security-grid span { color: var(--teal-2); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.trust-grid strong { color: var(--ink); font-size: 20px; line-height: 1.18; }
.trust-grid p, .security-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.security-grid article h2 { margin-bottom: 0; font-size: 26px; }

.page-hero {
  padding: clamp(64px, 7vw, 104px) clamp(18px, 4vw, 64px);
  background: #07181b;
  color: #ffffff;
}
.page-hero .eyebrow { color: #8ee0d2; }
.page-hero h1 { max-width: 980px; }
.page-hero p:not(.eyebrow) { max-width: 780px; color: rgba(255,255,255,0.82); font-size: 20px; line-height: 1.65; }
.content-section { padding: clamp(54px, 6vw, 88px) clamp(18px, 4vw, 64px); }

.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 900px); gap: 32px; align-items: start; }
.policy-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}
.policy-nav a { border-radius: 6px; padding: 10px 12px; color: var(--muted); font-size: 14px; font-weight: 800; }
.policy-nav a:hover { background: var(--mint); color: var(--teal); }
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.06);
}
.policy-card.single { max-width: 920px; }
.policy-card section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.policy-card h2 { font-size: 30px; }
.policy-card p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.policy-card a { color: var(--teal); font-weight: 850; }

.callout-card {
  margin-top: 28px;
  border-radius: 8px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--ink);
  color: #ffffff;
}
.callout-card.light { margin-top: 0; border: 1px solid var(--line); background: #ffffff; color: var(--ink); }
.callout-card .eyebrow { color: #8ee0d2; }
.callout-card.light .eyebrow { color: var(--teal-2); }
.callout-card h2 { max-width: 820px; }
.callout-card p { max-width: 900px; color: rgba(255,255,255,0.78); font-size: 17px; line-height: 1.7; }
.callout-card.light p { color: var(--muted); }
.callout-card .button { margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 28px; align-items: start; }
.contact-card, .contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.06);
}
.contact-card p, .contact-form p { color: var(--muted); line-height: 1.65; }
.contact-notes { display: grid; gap: 8px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-notes p { margin: 0; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 850; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
}
.contact-form textarea { resize: vertical; }
.contact-form button { border: 0; cursor: pointer; justify-self: start; }

.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.not-found { min-height: calc(100svh - 180px); display: grid; align-content: center; }

.contact-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: clamp(54px, 6vw, 80px) clamp(18px, 4vw, 64px); background: var(--ink); color: #ffffff; }
.contact-section h2 { max-width: 820px; }
.contact-section p:not(.eyebrow) { max-width: 820px; color: rgba(255,255,255,0.78); font-size: 18px; line-height: 1.65; }
.contact-section .legal-line { margin-top: -8px; color: rgba(255,255,255,0.72); font-size: 15px; }
.contact-section a:not(.button) { color: #8ee0d2; font-weight: 800; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px clamp(18px, 4vw, 64px); background: #ffffff; color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero, .two-column, .contact-section, .policy-layout, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; background-position: 40% center; }
  .hero-panel { max-width: 640px; }
  .proof-strip, .product-grid, .outcome-grid, .step-grid, .trust-grid, .security-grid { grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip div:last-child { border-bottom: 0; }
  .policy-nav { position: static; }
}

@media (max-width: 620px) {
  .brand { gap: 8px; }
  .brand-logo { width: 33px; height: 33px; }
  .brand-name { font-size: 33px; }
  .header-cta { display: none; }
  h1 { font-size: 33px; line-height: 1.08; }
  .hero-copy { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .fit-grid { grid-template-columns: 1fr; }
  .table-row { grid-template-columns: 1fr; }
  .table-head span:last-child { display: none; }
  .table-row span:last-child { padding-top: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
