/* Premium editorial treatment for the AnswerWing AI answering-service buyer's guide. */
:root {
  --guide-bg: #0b0f0c;
  --guide-surface: #111813;
  --guide-surface-high: #172019;
  --guide-paper: #f5f2eb;
  --guide-ink: #0b0f0c;
  --guide-accent: #2fe38b;
  --guide-accent-soft: rgba(47, 227, 139, 0.11);
  --guide-copy: rgba(245, 242, 235, 0.72);
  --guide-copy-soft: rgba(245, 242, 235, 0.53);
  --guide-line: rgba(245, 242, 235, 0.11);
  --guide-line-strong: rgba(245, 242, 235, 0.2);
  --guide-radius: 28px;
}

html {
  background: var(--guide-bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.aw-buyers-guide {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(72rem 40rem at 50% -12rem, rgba(47, 227, 139, 0.065), transparent 66%),
    var(--guide-bg);
  color: var(--guide-paper);
  font: 400 17px/1.65 "Schibsted Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.aw-buyers-guide h1,
.aw-buyers-guide h2,
.aw-buyers-guide h3 {
  margin: 0;
  text-wrap: balance;
}

.aw-buyers-guide p {
  text-wrap: pretty;
}

.aw-buyers-guide a {
  color: inherit;
}

.aw-buyers-guide ::selection {
  background: rgba(47, 227, 139, 0.3);
  color: var(--guide-paper);
}

.aw-buyers-guide :focus-visible {
  outline: 2px solid var(--guide-accent);
  outline-offset: 4px;
}

.aw-guide-main:focus {
  outline: none;
}

.aw-guide-main main {
  display: block;
}

.aw-guide-main main > section {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 10vw, 136px) 0;
  border-top: 1px solid var(--guide-line);
  overflow: hidden;
}

.aw-guide-main main > section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.aw-guide-main .wrap {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding-inline: clamp(22px, 5vw, 64px);
}

.aw-guide-main .measure {
  max-width: 720px;
}

.aw-guide-main .mono {
  font-family: "Fragment Mono", ui-monospace, monospace;
}

.aw-guide-main .serif,
.aw-guide-main h2 {
  font-family: "Newsreader", Georgia, serif;
}

.aw-guide-main .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--guide-accent);
  font: 500 11px/1.2 "Fragment Mono", ui-monospace, monospace;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.aw-guide-main .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.aw-guide-main h2 {
  max-width: 18ch;
  margin-top: 22px;
  color: var(--guide-paper);
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.aw-guide-main h3 {
  color: var(--guide-paper);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.aw-guide-main .lede {
  color: var(--guide-copy);
  font-size: clamp(1.06rem, 1.55vw, 1.25rem);
  line-height: 1.7;
}

.aw-guide-main .btn,
.aw-guide-main .call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.aw-guide-main .btn {
  border: 1px solid var(--guide-paper);
  background: var(--guide-paper);
  color: var(--guide-ink);
  font-size: 14px;
  font-weight: 700;
}

.aw-guide-main .btn:hover {
  background: white;
  border-color: white;
  transform: translateY(-2px);
}

.aw-guide-main .call {
  gap: 11px;
  border: 1px solid var(--guide-line-strong);
  background: rgba(245, 242, 235, 0.025);
  color: var(--guide-paper);
  font: 400 13px/1.2 "Fragment Mono", ui-monospace, monospace;
}

.aw-guide-main .call:hover {
  border-color: rgba(47, 227, 139, 0.55);
  background: rgba(47, 227, 139, 0.07);
  transform: translateY(-2px);
}

.aw-guide-main .dot,
.aw-guide-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--guide-accent);
  box-shadow: 0 0 0 0 rgba(47, 227, 139, 0.48);
  animation: guide-live-pulse 2.4s ease-out infinite;
}

@keyframes guide-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 227, 139, 0.48); }
  72% { box-shadow: 0 0 0 12px rgba(47, 227, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 227, 139, 0); }
}

/* Hero: an editorial buyer's guide beside a tactile live-line card. */
.aw-guide-main main > section:first-child {
  min-height: min(900px, 100svh);
  display: grid;
  align-items: center;
  padding-top: clamp(150px, 19vh, 210px) !important;
  padding-bottom: clamp(80px, 10vh, 120px);
  border-top: 0;
  background:
    radial-gradient(42rem 28rem at 78% 48%, rgba(47, 227, 139, 0.09), transparent 72%),
    radial-gradient(100% 85% at 50% -10%, #141c16 0%, var(--guide-bg) 62%) !important;
}

.aw-guide-main main > section:first-child::before {
  background:
    linear-gradient(rgba(245, 242, 235, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 84%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 84%);
}

.aw-guide-main main > section:first-child .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(56px, 8vw, 112px);
  align-items: start;
}

.aw-guide-main main > section:first-child .eyebrow,
.aw-guide-main main > section:first-child h1,
.aw-guide-main main > section:first-child .lede {
  grid-column: 1;
}

.aw-guide-main main > section:first-child h1 {
  max-width: 12.7ch !important;
  margin-top: 24px !important;
  color: var(--guide-paper);
  font-size: clamp(3.25rem, 6.25vw, 6.7rem) !important;
  font-weight: 500;
  letter-spacing: -0.052em !important;
  line-height: 0.92 !important;
}

.aw-guide-main main > section:first-child .lede {
  max-width: 660px;
  margin-top: 30px !important;
}

.aw-guide-main main > section:first-child .wrap > div:last-child {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  min-height: 430px;
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap !important;
  justify-content: flex-end;
  gap: 14px !important;
  margin: 0 !important;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 235, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(24rem 20rem at 76% 8%, rgba(47, 227, 139, 0.14), transparent 65%),
    linear-gradient(145deg, rgba(245, 242, 235, 0.055), rgba(245, 242, 235, 0.018));
  box-shadow:
    0 42px 110px -58px rgba(0, 0, 0, 0.95),
    inset 0 1px rgba(255, 255, 255, 0.045);
}

.aw-guide-main main > section:first-child .wrap > div:last-child::before {
  content: "LIVE — AN AI ANSWERS THIS LINE";
  position: absolute;
  top: 44px;
  left: 44px;
  color: var(--guide-accent);
  font: 500 10.5px/1.2 "Fragment Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
}

.aw-guide-main main > section:first-child .wrap > div:last-child::after {
  content: "24 / 7";
  position: absolute;
  top: 94px;
  left: 42px;
  color: rgba(245, 242, 235, 0.075);
  font: 500 clamp(5rem, 8vw, 8rem)/0.8 "Newsreader", Georgia, serif;
  letter-spacing: -0.06em;
}

.aw-guide-main main > section:first-child .call,
.aw-guide-main main > section:first-child .btn {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  padding: 16px 20px !important;
}

.aw-guide-main main > section:first-child .call {
  border-color: rgba(47, 227, 139, 0.36);
  background: rgba(47, 227, 139, 0.08);
  font-size: 12.5px;
}

/* The short answer is intentionally sparse: one argument, no feature-card noise. */
.aw-guide-main main > section:nth-of-type(2) {
  background: linear-gradient(180deg, rgba(245, 242, 235, 0.018), transparent 68%);
}

.aw-guide-main main > section:nth-of-type(2) .wrap {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 0.72fr);
  gap: 24px clamp(48px, 8vw, 124px);
  align-items: start;
}

.aw-guide-main main > section:nth-of-type(2) .eyebrow {
  grid-column: 1;
  padding-top: 10px;
}

.aw-guide-main main > section:nth-of-type(2) h2,
.aw-guide-main main > section:nth-of-type(2) .lede {
  grid-column: 2;
}

.aw-guide-main main > section:nth-of-type(2) h2 {
  max-width: 13ch;
  margin-top: 0;
}

.aw-guide-main main > section:nth-of-type(2) .lede {
  max-width: 780px;
  margin: 32px 0 0 !important;
  padding-top: 30px;
  border-top: 1px solid var(--guide-line);
}

/* Six evaluation points form a calm, scannable decision ledger. */
.aw-guide-main main > section:nth-of-type(3)::before {
  background: radial-gradient(44rem 30rem at 12% 50%, rgba(47, 227, 139, 0.045), transparent 72%);
}

.aw-guide-main main > section:nth-of-type(3) h2 {
  max-width: 11ch;
}

.aw-guide-main .checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-check;
}

.aw-guide-main .checklist li {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  padding: 82px 34px 34px;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(245, 242, 235, 0.035), rgba(245, 242, 235, 0.012));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.aw-guide-main .checklist li:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 227, 139, 0.25);
  background-color: rgba(47, 227, 139, 0.025);
}

.aw-guide-main .checklist li::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -38px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(47, 227, 139, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(47, 227, 139, 0.025),
    0 0 0 44px rgba(47, 227, 139, 0.012);
}

.aw-guide-main .checklist .tag {
  position: absolute;
  top: 28px;
  left: 34px;
  color: var(--guide-accent);
  font: 500 10.5px/1.2 "Fragment Mono", ui-monospace, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aw-guide-main .checklist p {
  max-width: 54ch;
  margin: 10px 0 0;
  color: var(--guide-copy-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* Price comparison keeps the source table but presents it like an operating memo. */
.aw-guide-main main > section:nth-of-type(4) {
  background:
    linear-gradient(180deg, rgba(245, 242, 235, 0.018), transparent),
    var(--guide-bg);
}

.aw-guide-main main > section:nth-of-type(4) h2 {
  max-width: 13ch;
}

.aw-guide-main table {
  width: 100%;
  margin-top: 54px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--guide-line);
  border-radius: 22px;
  background: rgba(245, 242, 235, 0.012);
  font-size: 15px;
}

.aw-guide-main th,
.aw-guide-main td {
  padding: 20px 22px;
  border: 0;
  border-bottom: 1px solid var(--guide-line);
  text-align: left;
  vertical-align: middle;
}

.aw-guide-main th {
  background: rgba(245, 242, 235, 0.03);
  color: var(--guide-copy-soft);
  font: 500 10px/1.35 "Fragment Mono", ui-monospace, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aw-guide-main td {
  color: var(--guide-copy);
}

.aw-guide-main tbody tr:last-child {
  background: rgba(47, 227, 139, 0.07) !important;
}

.aw-guide-main tbody tr:last-child td {
  border-bottom: 0;
  color: var(--guide-paper);
}

.aw-guide-main tbody tr:last-child td:first-child {
  color: var(--guide-accent) !important;
}

.aw-guide-main main > section:nth-of-type(4) .lede {
  max-width: 720px;
  margin: 28px 0 0 !important;
  font-size: 15px !important;
}

/* The product earns the recommendation by making the voice test unavoidable. */
.aw-guide-main main > section:nth-of-type(5) {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.aw-guide-main main > section:nth-of-type(5)::before {
  inset: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(47, 227, 139, 0.18);
  border-radius: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(42rem 28rem at 82% 20%, rgba(47, 227, 139, 0.13), transparent 65%),
    linear-gradient(135deg, rgba(245, 242, 235, 0.045), rgba(245, 242, 235, 0.012));
}

.aw-guide-main main > section:nth-of-type(5) .wrap {
  padding-inline: clamp(48px, 9vw, 128px);
}

.aw-guide-main main > section:nth-of-type(5) h2 {
  max-width: 11ch;
}

.aw-guide-main main > section:nth-of-type(5) .lede {
  max-width: 660px;
  margin-top: 26px !important;
}

/* FAQ mirrors the homepage's editorial two-column rhythm. */
.aw-guide-main main > section:nth-of-type(6) .wrap {
  display: grid;
  grid-template-columns: minmax(250px, 0.44fr) minmax(0, 0.56fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(52px, 8vw, 118px);
  align-items: start;
}

.aw-guide-main main > section:nth-of-type(6) .eyebrow,
.aw-guide-main main > section:nth-of-type(6) h2 {
  grid-column: 1;
}

.aw-guide-main main > section:nth-of-type(6) h2 {
  max-width: 10ch;
}

.aw-guide-main main > section:nth-of-type(6) .wrap > div:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  margin-top: 0 !important;
  border-top: 1px solid var(--guide-line);
}

.aw-guide-main details {
  border-bottom: 1px solid var(--guide-line);
  padding: 24px 0;
}

.aw-guide-main summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  color: var(--guide-paper);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.aw-guide-main summary::-webkit-details-marker {
  display: none;
}

.aw-guide-main summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--guide-line);
  border-radius: 50%;
  color: var(--guide-accent);
  font: 400 18px/1 "Fragment Mono", ui-monospace, monospace;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.aw-guide-main details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
  border-color: rgba(47, 227, 139, 0.3);
}

.aw-guide-main details p {
  max-width: 66ch;
  margin: 16px 52px 0 0;
  color: var(--guide-copy-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* Closing invitation is bright enough to convert, restrained enough to stay on-brand. */
.aw-guide-main .cta-band {
  text-align: center;
  background:
    radial-gradient(50rem 24rem at 50% 100%, rgba(47, 227, 139, 0.1), transparent 72%),
    linear-gradient(180deg, rgba(245, 242, 235, 0.02), transparent);
}

.aw-guide-main .cta-band .wrap {
  width: min(100%, 940px);
  padding-block: clamp(18px, 4vw, 48px);
}

.aw-guide-main .cta-band h2 {
  max-width: 15ch !important;
  margin-inline: auto !important;
}

.aw-guide-main .cta-band .lede {
  max-width: 620px !important;
  margin-inline: auto !important;
}

.aw-guide-main .cta-band .call {
  min-height: 58px;
  padding: 16px 26px !important;
  border-color: rgba(47, 227, 139, 0.42);
  background: rgba(47, 227, 139, 0.08);
}

.aw-guide-main .cta-band .btn {
  padding: 14px 28px !important;
}

.aw-buyers-guide .aw-footer-grid a:hover {
  color: var(--guide-paper) !important;
}

@media (max-width: 980px) {
  .aw-guide-main main > section:first-child {
    min-height: auto;
  }

  .aw-guide-main main > section:first-child .wrap {
    grid-template-columns: 1fr;
  }

  .aw-guide-main main > section:first-child .wrap > div:last-child {
    grid-column: 1;
    grid-row: auto;
    width: min(100%, 620px);
    min-height: 330px;
    margin-top: 54px !important;
  }

  .aw-guide-main main > section:nth-of-type(2) .wrap,
  .aw-guide-main main > section:nth-of-type(6) .wrap {
    grid-template-columns: 1fr;
  }

  .aw-guide-main main > section:nth-of-type(2) .eyebrow,
  .aw-guide-main main > section:nth-of-type(2) h2,
  .aw-guide-main main > section:nth-of-type(2) .lede,
  .aw-guide-main main > section:nth-of-type(6) .eyebrow,
  .aw-guide-main main > section:nth-of-type(6) h2,
  .aw-guide-main main > section:nth-of-type(6) .wrap > div:last-child {
    grid-column: 1;
  }

  .aw-guide-main main > section:nth-of-type(2) h2 {
    margin-top: 22px;
  }

  .aw-guide-main main > section:nth-of-type(6) .wrap > div:last-child {
    grid-row: auto;
    margin-top: 42px !important;
  }
}

@media (max-width: 720px) {
  body.aw-buyers-guide {
    font-size: 16px;
  }

  .aw-guide-main main > section {
    padding-block: 76px;
  }

  .aw-guide-main main > section:first-child {
    padding-top: 130px !important;
  }

  .aw-guide-main main > section:first-child h1 {
    max-width: 13ch !important;
    font-size: clamp(3rem, 14vw, 4.7rem) !important;
  }

  .aw-guide-main main > section:first-child .wrap > div:last-child {
    min-height: 300px;
    padding: 30px;
    border-radius: 24px;
  }

  .aw-guide-main main > section:first-child .wrap > div:last-child::before {
    top: 30px;
    left: 30px;
  }

  .aw-guide-main main > section:first-child .wrap > div:last-child::after {
    top: 76px;
    left: 28px;
  }

  .aw-guide-main .checklist {
    grid-template-columns: 1fr;
  }

  .aw-guide-main .checklist li {
    min-height: 210px;
    padding: 76px 26px 30px;
  }

  .aw-guide-main .checklist .tag {
    left: 26px;
  }

  .aw-guide-main table {
    display: block;
    overflow-x: auto;
    border-radius: 16px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .aw-guide-main th,
  .aw-guide-main td {
    min-width: 150px;
    padding: 17px 18px;
  }

  .aw-guide-main main > section:nth-of-type(5)::before {
    inset: 18px;
  }

  .aw-guide-main main > section:nth-of-type(5) .wrap {
    padding-inline: 42px;
  }
}

@media (max-width: 460px) {
  .aw-guide-main main > section:first-child .wrap > div:last-child {
    min-height: 320px;
  }

  .aw-guide-main main > section:first-child .call,
  .aw-guide-main main > section:first-child .btn {
    font-size: 12px;
  }

  .aw-guide-main main > section:nth-of-type(5) .wrap {
    padding-inline: 34px;
  }

  .aw-guide-main details p {
    margin-right: 0;
  }
}

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

  .aw-guide-main *,
  .aw-guide-main *::before,
  .aw-guide-main *::after,
  .aw-guide-live-dot {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
