/* ---------------------------------------------------------------- answer pages ---

   One page per question a customer types. Scoped under `.aeo` so nothing here can reach the rest of
   the site.

   Two of the owner's standing rules are built into the numbers below:
     * every word a person must READ is full black on paper (var(--ink)), never grey; the only muted
       type is the meta line under a card title, and even that is --ink-soft, not --muted;
     * nothing important is smaller than 15px, and body copy sits at 17px on a laptop and 16.5px on
       a phone so a page of prose does not need pinching to read.
   The text column is capped at 760px because this page is prose, not a layout: a full-width line of
   17px type on a 1400px screen is unreadable. */

.aeo {
  background: var(--page);
  color: var(--ink);
  font-family: var(--f);
}

.aeo__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4.4vw, 40px);
}

/* ---------------------------------------------------------------- hero --- */

.aeo__hero {
  padding: clamp(96px, 12vw, 150px) 0 clamp(28px, 4vw, 46px);
}

.aeo__eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}

.aeo__h1 {
  margin: 0 0 22px;
  font-family: var(--f-display);
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 18ch;
}

/* the direct answer: a paper panel with the accent used only as a mark, never as text colour */
.aeo__quick {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.4vw, 28px);
}

.aeo__quickLabel {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.aeo__quickText {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--ink);
}

.aeo__intro {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------------------------------------------------------------- bands --- */

.aeo__band {
  padding: clamp(30px, 4vw, 46px) 0;
}

.aeo__band h2 {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--ink);
}

.aeo__band p {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
}

.aeo__list {
  max-width: 780px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.aeo__list li {
  position: relative;
  padding: 0 0 12px 26px;
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink);
}

.aeo__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------------------------------------------------------------- cards --- */

.aeo__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: 6px;
}

.aeo__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2vw, 24px);
}

.aeo__card h3 {
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.2;
  color: var(--ink);
}

.aeo__meta {
  margin: 0 0 12px !important;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft) !important;
}

.aeo__card p {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--ink);
}

.aeo__link {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- faq --- */

.aeo__q {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.aeo__q:last-of-type {
  border-bottom: 1px solid var(--line);
}

.aeo__q summary {
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  list-style: none;
}

.aeo__q summary::-webkit-details-marker { display: none; }

.aeo__q summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--ink);
}

.aeo__q[open] summary::after { content: "\2013"; }

.aeo__q p {
  margin: 10px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------------------------------------------------------------- cta --- */

.aeo__band--cta {
  margin-top: clamp(20px, 3vw, 34px);
  background: var(--ink);
  color: #fff;
  padding: clamp(38px, 5vw, 62px) 0 clamp(44px, 5.4vw, 70px);
}

.aeo__band--cta h2,
.aeo__band--cta p {
  color: #fff;
}

.aeo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 14px;
}

.aeo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #fff;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: transparent;
}

.aeo__btn--wa {
  background: #fff;
  color: #0A0A0A;
}

.aeo__fine {
  font-size: 15px;
  color: #fff !important;
  opacity: .92;
}

/* ---------------------------------------------------------------- phone --- */

@media (max-width: 760px) {
  .aeo__cards { grid-template-columns: minmax(0, 1fr); }
  .aeo__h1 { max-width: none; }
  .aeo__band p,
  .aeo__list li,
  .aeo__card p,
  .aeo__q p { font-size: 16.5px; }
  .aeo__actions { flex-direction: column; }
  .aeo__btn { width: 100%; }
  .aeo__band--cta { padding-bottom: 96px; }   /* clear of the floating WhatsApp button */
}

/* ---------------------------------------------------------------- comparison table ---

   A real table on a laptop. On a phone a five-column table cannot be read without horizontal
   pinching, so at 760px each row becomes its own block and every cell prints the column name it
   came from (`data-col`) above its text. Nothing is hidden and nothing is cut off. */

.aeo__tableWrap { overflow-x: auto; margin-top: 8px; }

.aeo__table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.aeo__table th,
.aeo__table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.aeo__table thead th {
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
}

.aeo__table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.aeo__table tr:last-child th,
.aeo__table tr:last-child td { border-bottom: 0; }

@media (max-width: 760px) {
  .aeo__tableWrap { overflow-x: visible; }
  .aeo__table { min-width: 0; border: 0; background: transparent; }
  .aeo__table thead { display: none; }
  .aeo__table tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 6px 14px 12px;
    margin-bottom: 12px;
  }
  .aeo__table tbody th {
    display: block;
    white-space: normal;
    font-size: 17px;
    padding: 12px 0 4px;
    border-bottom: 1px solid var(--line-strong);
  }
  .aeo__table td { display: block; border: 0; padding: 8px 0 4px; }
  .aeo__table td::before {
    content: attr(data-col);
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 3px;
  }
}
