/* Product overview and comparison share the typography of the field guides. */
.showcase-hero {
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 88% 12%, #256564 0, #183f4c 44%, #0e2737 77%);
}

.showcase-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(2rem, 3.5vw, 3.2rem);
}

.showcase-copy h1 {
  max-width: 11ch;
  margin: 0 0 1.2rem;
  color: #fff;
  font-size: clamp(3.25rem, 5.4vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.064em;
}

.showcase-copy h1 em { color: #9ce1d0; font-weight: inherit; }
.showcase-copy > p:not(.showcase-offer) { max-width: 34ch; color: #e2edef; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.showcase-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1.6rem; }
.showcase-actions .store-badge { display: inline-flex; }
.showcase-actions .store-badge img { width: 150px; height: auto; }
.showcase-outline {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .6rem 1rem;
  color: #fff;
  border: 1px solid #aec6cc;
  border-radius: .45rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.showcase-outline:hover { background: #ffffff17; color: #fff; }
.showcase-offer { margin: .85rem 0 0; color: #e2edef; font-size: .9rem; }
.showcase-offer span { white-space: nowrap; }
.showcase-proof { position: relative; isolation: isolate; }
.showcase-proof::before, .showcase-proof::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5% -18% 5% -10%;
  border: 1px solid #b5d9de2b;
  border-radius: 50%;
  transform: rotate(-20deg);
  pointer-events: none;
}
.showcase-proof::after { inset: 10% -30% 10% -21%; }
.showcase-proof figure { width: min(100%, 440px); margin: 0 auto; }
.showcase-proof .image-link { overflow: hidden; border: 1px solid #cfe5ee8a; border-radius: .95rem; background: #fff; box-shadow: 0 24px 58px #091a265c; }
.showcase-proof .image-link img { display: block; width: 100%; height: auto; }
.showcase-proof figcaption { margin: .85rem 0 0; }
.showcase-proof-link { color: #def4ec; text-underline-offset: .28em; }
.showcase-proof-link:hover { color: #fff; }

.showcase-features, .showcase-demo, .showcase-faq { padding-block: clamp(2.7rem, 5vw, 4.75rem); }
.showcase-features { padding-top: clamp(2.1rem, 3.8vw, 3.4rem); }
.showcase-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .65rem 1.25rem; margin-bottom: 1.4rem; }
.showcase-heading h2, .showcase-compare h2, .showcase-faq h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1.08; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card {
  --feature-backdrop: #dcebe5;
  --feature-line: #90b8a9;
  overflow: hidden;
  position: relative;
  border: 1px solid #d7d8d0;
  border-radius: .85rem;
  background: #fffdf8;
}
.feature-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.feature-card > a:focus-visible { outline-offset: -4px; }
.feature-card > a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.feature-art {
  display: grid;
  place-items: center;
  height: clamp(8rem, 13vw, 11rem);
  margin-top: auto;
  padding: .65rem clamp(.6rem, 1.6vw, 1.5rem);
  overflow: hidden;
  border-top: 1px solid var(--feature-line);
  background: radial-gradient(ellipse at 50% 100%, #ffffff70 0, transparent 75%), var(--feature-backdrop);
}
.feature-art img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; min-height: 0; margin: 0 auto; border-radius: .45rem; box-shadow: 0 4px 14px #17374728; }
.feature-updates { --feature-backdrop: #e5ecef; --feature-line: #afc1ca; }
.feature-saved { --feature-backdrop: #f4e9cf; --feature-line: #cfbd92; }
.feature-learn { --feature-backdrop: #dbe4f1; --feature-line: #adbed7; }
.feature-instructors { --feature-backdrop: #e4e9db; --feature-line: #b3bea7; }
.feature-reference { --feature-backdrop: #e8e2f0; --feature-line: #c4b6d5; }
.feature-copy { padding: .9rem 1rem 1.05rem; }
.feature-copy h3 { margin: 0 0 .3rem; font: 700 1.14rem/1.2 var(--sans); color: #18394a; }
.feature-copy p { margin: 0; color: #3b4d56; font-size: 1rem; line-height: 1.4; }

.showcase-compare { background: #e0ede7; border-block: 1px solid #c3d8cd; }
.showcase-compare-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; padding-block: clamp(1.9rem, 4vw, 3.4rem); }
.showcase-compare h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
.showcase-compare p { margin: .55rem 0 0; }
.showcase-compare .button { flex-shrink: 0; }
.showcase-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.showcase-steps .app-figure { margin: 0; }
.showcase-steps .image-link { background: #fffdf8; padding: .6rem; }
.showcase-steps .image-link > img { width: 100%; object-fit: contain; height: clamp(9rem, 16vw, 14rem); }
.showcase-steps figcaption { font-size: .93rem; }
.showcase-note { margin-top: 1rem; font-size: .9rem; }
.showcase-faq { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem 3rem; border-top: 1px solid #d5d9cf; }

.compare-intro {
  padding-block: clamp(1.45rem, 4.5vw, 3rem);
  color: #fff;
  background: radial-gradient(ellipse at 88% 10%, #14645f 0%, #153d4e 43%, #102a3b 81%);
}
.compare-intro h1, .compare-intro .lede { color: #fff; }
.compare-intro h1 em { color: #a6efdb; }
.compare-intro .button { color: #102a3b; background: #ffd17f; border-color: #ffd17f; }
.compare-intro .button:hover { background: #ffe3ae; }
.compare-intro .text-link { color: #fff; border-color: #a6efdb; }
.compare-intro h1 { margin: 0 0 .45rem; font-size: clamp(2.45rem, 5vw, 4.75rem); line-height: 1.02; letter-spacing: -.045em; }
.compare-intro p { max-width: 65ch; }
.compare-section { padding-bottom: 2.5rem; }
.comparison-desktop { display: block; }
.comparison-mobile { display: none; }
.comparison-scroll { overflow-x: auto; border: 1px solid #c9d5cf; border-radius: .65rem; }
.comparison-table { width: 100%; border-collapse: collapse; background: #fffdf8; table-layout: fixed; text-align: left; font-size: 1rem; line-height: 1.4; }
.comparison-table caption { text-align: left; padding: .8rem 1rem; color: #42545c; background: #f2f4ed; font-size: .9rem; }
.comparison-table th, .comparison-table td { padding: .8rem 1rem; vertical-align: top; overflow-wrap: anywhere; }
.comparison-table thead th { background: #173747; color: #fff; font-size: 1.03rem; line-height: 1.2; }
.comparison-table thead a { color: inherit; }
.comparison-table thead th:first-child { width: 15%; }
.comparison-table :is(th,td):nth-child(2) { background: #e4f0e9; color: #183747; }
.comparison-table tbody th { color: #183747; background: #f0efe7; }
.comparison-table tbody :is(th,td) { border-bottom: 1px solid #dfe1d9; }
.comparison-table tbody tr:last-child :is(th,td) { border-bottom: 0; }
.comparison-sources { margin-block: 1.35rem 2.25rem; color: #42545c; font-size: .94rem; }
.comparison-sources a { text-underline-offset: .2em; }

@media (max-width: 900px) {
  .showcase-hero-grid { gap: 1.65rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-desktop { display: none; }
  .comparison-mobile { display: block; }
  .comparison-table th, .comparison-table td { padding: .65rem .6rem; }
}

@media (max-width: 680px) {
  .showcase-hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 2rem 1.75rem; }
  .showcase-copy h1 { font-size: clamp(2.65rem, 11.4vw, 4.25rem); margin-bottom: .8rem; }
  .showcase-copy > p:not(.showcase-offer) { margin-bottom: 0; }
  .showcase-actions { margin-top: 1.05rem; gap: .65rem; }
  .showcase-actions .store-badge img { width: 126px; }
  .showcase-outline { min-height: 43px; padding-inline: .7rem; font-size: .94rem; }
  .showcase-proof figcaption { margin-top: .6rem; }
  .feature-grid { gap: .7rem; }
  .feature-art { height: clamp(5.5rem, 25vw, 9rem); padding: .45rem .55rem; }
  .feature-copy { padding: .7rem .65rem .8rem; }
  .feature-copy h3 { font-size: 1.04rem; }
  .feature-copy p { font-size: .96rem; }
  .showcase-compare-inner, .showcase-faq { display: block; }
  .showcase-compare .button { margin-top: .9rem; }
  .showcase-faq .faqs { margin-top: .8rem; }
  .showcase-steps { grid-template-columns: minmax(0, 1fr); }
  .showcase-steps .image-link > img { height: auto; max-height: 13rem; }
}

@media (max-width: 360px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-art { height: 8.5rem; }
}

.showcase-sources { background: #e8ebef; border-block: 1px solid #c9d2dc; }
.showcase-sources-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 1.6rem 4rem; padding-block: clamp(1.8rem, 4vw, 3.5rem); }
.showcase-sources h2 { margin-bottom: .85rem; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.showcase-sources p { margin-bottom: .85rem; max-width: 52ch; }
.showcase-sources-inner .app-figure { margin: 0; }
.compare-intro .lede { margin: 0; }
.compare-section > h2, .comparison-sources h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); margin-bottom: .6rem; }
.compare-section > p { margin-bottom: 1rem; color: #42545c; font-size: .95rem; }
.comparison-table thead small { display: block; margin-top: .45rem; font: 400 .84rem/1.35 var(--sans); }
.comparison-table td { border-inline-start: 1px solid #dfe1d9; }
.comparison-mobile .comparison-table :is(th,td):nth-child(2) { background: #fffdf8; color: #183747; }
.comparison-mobile .comparison-table thead th { width: 50%; }
.comparison-mobile .comparison-table thead th:nth-child(2) { background: #173747; color: #fff; }
.comparison-mobile .comparison-table :is(thead th, td):first-child { background: #e4f0e9; color: #183747; }
.comparison-mobile .comparison-table .pair-task th { background: #f3f0e6; }
.comparison-mobile .comparison-table tbody { border-bottom: 1px solid #c9d5cf; }
.comparison-mobile .comparison-table tbody:last-child { border-bottom: 0; }
@media (max-width: 680px) {
  .showcase-sources-inner { grid-template-columns: minmax(0, 1fr); }
  .comparison-mobile .comparison-table :is(th,td) { padding: .6rem .65rem; }
}
.showcase-sources .source-scope { margin: .85rem 0 0; font-size: .94rem; }

.comparison-standouts { padding-block: clamp(1.2rem, 3.5vw, 2.6rem); }
.comparison-standouts h2 { margin-bottom: .8rem; font-size: clamp(1.6rem, 3vw, 2.45rem); }
.comparison-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: 1rem; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .85rem; }
.workflow-card {
  --thumb-color: #126962;
  border: 1px solid #a3b5b7;
  border-radius: .6rem;
  background: #fffdf8;
  color: #132f40;
  overflow: clip;
}
.workflow-card:nth-child(3n + 2) { --thumb-color: #965620; }
.workflow-card:nth-child(3n) { --thumb-color: #3d568a; }
.workflow-card > summary {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) 1rem;
  gap: .85rem;
  align-items: center;
  min-height: 7.5rem;
  padding: .75rem .85rem;
  list-style: none;
  cursor: pointer;
}
.workflow-card > summary::-webkit-details-marker { display: none; }
.workflow-card > summary::after {
  content: "";
  width: .48rem;
  height: .48rem;
  border: solid #246560;
  border-width: 0 2px 2px 0;
  transform: translateY(-.12rem) rotate(45deg);
}
.workflow-card[open] > summary::after { transform: translateY(.12rem) rotate(225deg); }
.workflow-card > summary:focus-visible { outline: 3px solid #006961; outline-offset: -4px; }
.workflow-card > summary:hover { background: #edf4ef; }
.workflow-card:first-child, .workflow-card[open] { background: #153547; color: white; border-color: #153547; }
.workflow-card:is(:first-child,[open]) > summary:hover { background: #1a4554; }
.workflow-card:is(:first-child,[open]) .workflow-copy > span { color: #dceef1; }
.workflow-card:is(:first-child,[open]) > summary::after { border-color: #a6efdb; }
.workflow-card:is(:first-child,[open]) > summary:focus-visible { outline-color: #ffd17f; }
.workflow-thumb {
  position: relative;
  display: block;
  height: 4.5rem;
  overflow: hidden;
  border-radius: .35rem;
  background: var(--thumb-color);
}
.workflow-thumb img {
  position: absolute;
  top: 19%;
  left: 12%;
  width: 122%;
  max-width: none;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 2px 6px #142a3f66;
  transform: rotate(-6deg);
}
.workflow-copy strong, .workflow-copy > span { display: block; }
.workflow-copy strong { margin-bottom: .2rem; font: 700 1.13rem/1.15 var(--sans); }
.workflow-copy > span { color: #304957; font-size: .96rem; line-height: 1.35; }
.workflow-proof { padding: .95rem; border-top: 1px solid #aec1c6; background: #153547; color: #f3f9fa; }
.workflow-proof p { margin: 0 0 .8rem; font-size: 1rem; line-height: 1.45; }
.workflow-example { margin: 0 0 .8rem; }
.workflow-example img { width: 100%; height: auto; border: 1px solid #8cabb6; border-radius: .35rem; }
.workflow-example figcaption { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.workflow-example figcaption span { padding: .15rem .45rem; border-radius: .2rem; font-size: .83rem; font-weight: 700; }
.revision-added { background: #abf3a7; color: #153316; }
.revision-removed { background: #ffb6ae; color: #591c1a; }
.workflow-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.workflow-links a { color: #a6efdb; border-color: currentColor; }

.comparison-category { margin-top: 1.7rem; }
.comparison-category h3 { margin-bottom: .55rem; font-size: 1.25rem; }
.comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.comparison-table td.unconfirmed { color: #515f61; font-size: .91rem; }
.comparison-picker { display: none; }
@media (max-width: 1060px) {
  .comparison-desktop { display: none; }
  .comparison-mobile { display: block; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-card > summary { min-height: 6.5rem; }
  @supports selector(:has(*)) {
    .comparison-picker { display: block; margin: 0; padding: 0; border: 0; }
    .comparison-picker legend { margin-bottom: .4rem; padding: 0; font-weight: 700; }
    .comparison-picker > div { display: flex; flex-wrap: wrap; gap: .35rem; }
    .comparison-picker label { position: relative; cursor: pointer; }
    .comparison-picker input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
    .comparison-picker span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .7rem; border: 1px solid #829999; border-radius: .4rem; }
    .comparison-picker input:checked + span { background: #123b4b; color: #fff; border-color: #123b4b; font-weight: 700; }
    .comparison-picker input:focus-visible + span { outline: 3px solid #106c64; outline-offset: 2px; }
    .comparison-pair { display: none; }
    .compare-section:has(#with-asa:checked) .pair-asa,
    .compare-section:has(#with-regbrief:checked) .pair-regbrief,
    .compare-section:has(#with-regwell:checked) .pair-regwell,
    .compare-section:has(#with-faa:checked) .pair-faa { display: block; }
  }
}
@media (max-width: 680px) {
  .workflow-grid { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .workflow-card > summary { min-height: 4.5rem; grid-template-columns: 3rem minmax(0, 1fr) .65rem; gap: .68rem; padding: .55rem .7rem; }
  .workflow-thumb { height: 3rem; }
  .workflow-copy strong { font-size: 1.02rem; }
  .workflow-copy > span { font-size: .94rem; }
}
@media (max-width: 560px) {
  [data-page="compare"] .header-inner { min-height: 64px; padding-block: .45rem; }
  [data-page="compare"] .wrap { width: calc(100% - 36px); }
  .compare-intro h1 { font-size: clamp(2.15rem, 9.2vw, 2.6rem); }
  .compare-intro .lede { font-size: 1rem; }
  .compare-intro .button { padding-inline: .8rem; }
  .comparison-actions { column-gap: .8rem; }
}
