/* Four reasons to use Quandora. The editorial grid stays open; only the
   product illustrations have a surface of their own. */
.why-features-grid {
  --why-column-gap: clamp(40px, 5.5vw, 80px);
  --why-row-gap: clamp(72px, 7vw, 96px);
  --why-rule: rgba(35, 29, 24, .14);
  --why-muted: #72706c;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--why-row-gap) var(--why-column-gap);
}

.why-feature {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.why-feature:nth-child(even)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--why-column-gap) / -2);
  width: 1px;
  background: var(--why-rule);
}

.why-feature:nth-child(n + 3)::after {
  content: "";
  position: absolute;
  top: calc(var(--why-row-gap) / -2);
  left: 0;
  right: 0;
  height: 1px;
  background: var(--why-rule);
}

.why-feature:nth-child(3)::after { right: calc(var(--why-column-gap) / -2); }
.why-feature:nth-child(4)::after { left: calc(var(--why-column-gap) / -2); }

.why-feature-copy {
  min-height: 216px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-feature-copy .kicker { font-size: 12px; line-height: 1.6; }
.why-feature-copy .h3 {
  margin-top: 15px;
  font-family: var(--font);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.why-feature-copy .body { margin-top: 15px; max-width: 35em; font-size: 16px; line-height: 1.6; }
.why-feature-copy .link { margin-top: 18px; font-size: 15px; }

.why-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  min-height: 290px;
  flex: 1;
  margin-top: auto;
  padding: 22px;
  border: 1px solid rgba(47, 34, 24, .09);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 25%, #fdfbf9);
  box-shadow: 0 2px 3px rgba(29, 24, 20, .015), 0 18px 35px -30px rgba(56, 34, 16, .2);
  font-size: 14px;
  line-height: 1.45;
}
.why-visual svg { width: 24px; height: 24px; flex: none; }
.why-visual strong { font-weight: 500; }
.why-quandora-mark { display: block; flex: none; width: 28px; height: 23px; overflow: hidden; }
.why-quandora-mark img { display: block; height: 23px; width: auto; max-width: none; }

/* 01 — Six familiar workspaces, one installed plugin. */
.why-visual--ai { display: grid; align-content: center; }
.why-ai-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.why-ai-app {
  min-width: 0;
  min-height: 45px;
  padding: 11px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(28, 25, 22, .025);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.why-ai-app > img, .why-ai-app > svg, .why-ai-app > .ai-ico { flex: none; width: 21px; height: 21px; object-fit: contain; }
.why-ai-app > .ai-ico--claude { width: 22px; }
.why-ai-connector { position: relative; height: 35px; margin: 0 15%; display: flex; justify-content: space-between; }
.why-ai-connector::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: #e8d5c6;
}
.why-ai-connector > i { position: relative; display: block; width: 1px; height: 19px; background: #e8d5c6; }
.why-ai-connector > i:nth-child(2) { height: 35px; }
.why-ai-connector > i::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e89358;
  opacity: 0;
}
.why-plugin-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 15px 18px;
  border: 1px solid rgba(214, 81, 11, .18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px -15px rgba(153, 82, 26, .3);
}
.why-plugin-card > div { flex: 1; min-width: 0; }
.why-plugin-card strong { display: block; font-size: 17px; line-height: 1.25; }
.why-plugin-card div > span { display: block; margin-top: 3px; font-size: 12px; color: var(--why-muted); }
.why-connected { display: grid; place-items: center; width: 29px; height: 29px; flex: none; border-radius: 50%; background: #edf5ef; color: var(--ok); }
.why-connected svg { width: 19px; height: 19px; }

/* 02 — A plain-language goal becomes research inputs. */
.why-visual--goal { display: grid; align-content: center; }
.why-goal-message {
  max-width: 94%;
  justify-self: end;
  padding: 15px 18px;
  border-radius: 16px 16px 4px 16px;
  background: var(--ink);
  color: #fbfaf8;
  font-size: 15px;
  line-height: 1.5;
}
.why-goal-response { display: flex; align-items: flex-start; gap: 11px; margin-top: 23px; }
.why-goal-response .why-quandora-mark { margin-top: 3px; }
.why-goal-response > div { min-width: 0; }
.why-goal-response strong { display: block; font-size: 14px; line-height: 1.4; }
.why-goal-response div > span { display: block; margin-top: 4px; font-size: 12px; color: var(--why-muted); }
.why-goal-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 23px 0 0 39px; }
.why-goal-limits > span { display: flex; flex-direction: column; padding-left: 13px; border-left: 2px solid #edcdb5; }
.why-goal-limits small { font-size: 11px; color: var(--why-muted); }
.why-goal-limits strong { font-size: 25px; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

/* 03 — Saved research gives each new request a better starting point. */
.why-visual--memory { display: grid; align-content: center; }
.why-memory-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 500; }
.why-memory-saved { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 400; color: var(--ok); }
.why-memory-saved svg { width: 15px; height: 15px; }
.why-memory-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.why-memory-notes > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  padding: 12px 10px;
  border: 1px solid rgba(116, 80, 48, .1);
  border-radius: 10px;
  background: #fff;
  color: #5c534d;
  font-size: 12px;
  line-height: 1.25;
}
.why-memory-notes svg { width: 19px; height: 19px; color: #a47b5e; }
.why-memory-path { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 19px 0; font-size: 11px; font-family: var(--mono); color: var(--why-muted); }
.why-memory-path > svg { width: 13px; height: 13px; color: #b29c8a; }
.why-memory-result {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(214, 81, 11, .14);
  border-radius: 12px;
  background: #fffaf6;
}
.why-memory-result > div { min-width: 0; }
.why-memory-result strong { display: block; font-size: 14px; }
.why-memory-result div > span { display: block; margin-top: 3px; font-size: 11px; color: var(--why-muted); }

/* 04 — Free research tools, a paid connection for live execution. */
.why-visual--pay { display: grid; align-content: center; }
.why-free-tools { display: grid; gap: 7px; }
.why-free-tools > div { display: flex; align-items: center; gap: 10px; min-height: 41px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.why-free-tools svg { width: 19px; height: 19px; padding: 3px; border-radius: 50%; color: #fff; background: var(--ok); }
.why-free-tools span { flex: 1; font-size: 13px; }
.why-free-tools strong { padding: 3px 7px; border-radius: 5px; background: #edf5ef; color: var(--ok); font-size: 11px; }
.why-pay-divider { display: flex; align-items: center; gap: 10px; min-height: 37px; color: var(--why-muted); font-size: 10px; }
.why-pay-divider::before, .why-pay-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.why-broker-card { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid rgba(214, 81, 11, .28); border-radius: 12px; background: #fff9f4; }
.why-broker-card > svg { width: 22px; height: 22px; color: var(--accent); }
.why-broker-card > div { flex: 1; min-width: 0; }
.why-broker-card strong { display: block; font-size: 14px; }
.why-broker-card div > span { display: block; margin-top: 2px; font-size: 11px; color: var(--why-muted); }
.why-paid-label { flex: none; padding: 5px 8px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 500; white-space: nowrap; }

/* Decorative transitions play once when each feature enters view. */
@media (prefers-reduced-motion: no-preference) {
  .why-feature.is-in .why-ai-connector > i::after { animation: why-connect-once 1.4s ease-in-out .35s 1 both; }
  .why-feature.is-in .why-ai-connector > i:nth-child(2)::after { animation-delay: .65s; }
  .why-feature.is-in .why-ai-connector > i:nth-child(3)::after { animation-delay: .5s; }
  .why-feature.is-in .why-connected { animation: why-settle-once .7s var(--ease-out) 1.4s 1 both; }
  .why-feature.is-in .why-memory-notes > span { animation: why-note-once .9s var(--ease-out) .15s 1 both; }
  .why-feature.is-in .why-memory-notes > span:nth-child(2) { animation-delay: .4s; }
  .why-feature.is-in .why-memory-notes > span:nth-child(3) { animation-delay: .65s; }
  .why-feature.is-in .why-memory-result { animation: why-settle-once .9s var(--ease-out) 1s 1 both; }
  .why-feature.is-in .why-broker-card { animation: why-paid-once 1.8s ease-in-out .5s 1 both; }
}
@keyframes why-connect-once {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(18px); }
}
@keyframes why-note-once {
  from { opacity: .35; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes why-settle-once {
  from { opacity: .35; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@keyframes why-paid-once {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 81, 11, 0); }
  45% { box-shadow: 0 0 0 4px rgba(214, 81, 11, .065); }
}

@media (max-width: 1000px) and (min-width: 800px) {
  .why-visual { padding: 17px; }
  .why-ai-app { gap: 5px; padding-inline: 6px; font-size: 11px; }
  .why-ai-app > img, .why-ai-app > svg, .why-ai-app > .ai-ico { width: 18px; height: 18px; }
  .why-memory-notes > span { padding: 10px 8px; font-size: 11px; }
  .why-memory-path { gap: 8px; }
}

@media (max-width: 799px) {
  .why-features-grid { grid-template-columns: minmax(0, 1fr); --why-row-gap: 64px; margin-top: 38px; }
  .why-feature:nth-child(even)::before { display: none; }
  .why-feature:nth-child(n + 2)::after { content: ""; position: absolute; top: calc(var(--why-row-gap) / -2); left: 0; right: 0; height: 1px; background: var(--why-rule); }
  .why-feature-copy { min-height: 0; padding-bottom: 24px; }
  .why-feature-copy .h3 { max-width: 22em; font-size: 28px; }
  .why-feature-copy .body { max-width: 38em; }
  .why-visual { min-height: 275px; padding: 21px; }
}

@media (max-width: 399px) {
  .why-visual { padding: 16px; border-radius: 16px; }
  .why-ai-app { font-size: 11px; gap: 5px; padding-inline: 5px; }
  .why-ai-app > img, .why-ai-app > svg, .why-ai-app > .ai-ico { width: 18px; height: 18px; }
  .why-memory-header { font-size: 12px; }
  .why-memory-saved { font-size: 10px; gap: 2px; }
  .why-memory-notes > span { font-size: 10px; padding-inline: 8px; }
  .why-memory-path { gap: 8px; font-size: 10px; }
  .why-goal-message { max-width: 100%; padding: 13px 14px; font-size: 14px; }
  .why-plugin-card { padding: 14px; }
  .why-broker-card { padding: 12px 10px; gap: 8px; }
  .why-broker-card > svg { width: 19px; height: 19px; }
  .why-broker-card strong { font-size: 13px; }
  .why-paid-label { padding: 5px 6px; font-size: 10px; }
}
