/* SunSprout site, layer 70. Loaded after styles/card-alignment.css and styles/motion-v3.css.
   Six changes from Haamid's notes of 16 November 2026. Each block names the note it answers. */

/* 1. Pricing. The summary table is gone, so only its link line remains. */
#pricing .pricing-faq { margin: 0; text-align: center; }
#pricing .ticks li .tk-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
@media (max-width: 759px) {
  #pricing .pricing-faq { text-align: left; }
}

/* 2. Comparison. Up to 860 px wide the table shows SunSprout beside one rival at a time. */
.vs, .vs-more { display: none; }
@media (max-width: 860px) {
  .vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: 13px;
    background: var(--paper2); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: -14px; }
  .vs button { height: 40px; padding: 0 6px; border: 0; border-radius: 10px; background: transparent; color: var(--ink2);
    font: 600 13.5px/1 var(--f-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
    -webkit-tap-highlight-color: transparent; }
  .vs button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: var(--sh1), inset 0 0 0 1px var(--line); }
  .vs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

  .tbl-wrap.cmp { overflow: visible; scroll-snap-type: none; }
  .cmp table { display: block; width: 100%; min-width: 0; font-size: 14.5px; }
  .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp thead { position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); z-index: 3; }
  .cmp thead tr { border-radius: 16px 16px 0 0; overflow: hidden; background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line), 0 6px 12px -10px rgba(70, 45, 20, .35); }
  .cmp thead th, .cmp thead th + th { width: auto; padding: 13px 14px; font-size: 14px; text-align: left; border: 0; scroll-snap-align: none; }
  .cmp thead th:first-child { display: none; }
  .cmp tbody th[scope="row"] { grid-column: 1 / -1; position: static; padding: 13px 14px 0; border: 0; box-shadow: none;
    font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ink3); white-space: normal;
    background: linear-gradient(90deg, color-mix(in srgb, var(--sun2) 9%, var(--card)) 50%, var(--card) 50%); }
  .cmp tbody tr + tr th[scope="row"] { border-top: 1px solid var(--line); }
  .cmp tbody td { padding: 5px 14px 14px; border: 0; }
  .cmp tbody tr:last-child td.us { border-radius: 0 0 0 16px; }
  .cmp td span { align-items: flex-start; gap: 7px; }
  .cmp td span::before { width: 15px; height: 15px; background-size: 11px; margin-top: 3px; flex: none; }
  .cmp td small { padding-left: 22px; font-size: 12.5px; }
  .cmp td:not(.us):not(:has(span)) { padding-left: 36px; }

  .cmp table[data-vs="1"] tr > :nth-child(4), .cmp table[data-vs="1"] tr > :nth-child(5),
  .cmp table[data-vs="2"] tr > :nth-child(3), .cmp table[data-vs="2"] tr > :nth-child(5),
  .cmp table[data-vs="3"] tr > :nth-child(3), .cmp table[data-vs="3"] tr > :nth-child(4) { display: none; }
  .cmp table[data-more="0"] tr.x { display: none; }

  .vs-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; margin-top: -14px;
    border: 0; border-radius: 12px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2), inset 0 -2px 0 var(--line);
    font: 600 14.5px/1 var(--f-text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .vs-more::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .2s; }
  .vs-more[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
  .vs-more:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .vs-more::after { transition: none; } }

/* 4. Will it work. On a phone the question comes first and the placeholder drawing goes. */
#compat .wz-a { scroll-margin-top: 88px; }
@media (max-width: 640px) {
  #compat .wz-step { gap: 12px; padding: 18px; border-radius: 20px; }
  #compat .wz-model { order: 2; padding-bottom: 0; border-bottom: 0; }
  #compat .wz-hint { order: 3; }
  #compat .wz-empty .wz-art, #compat .wz-empty > p { display: none; }
  #compat .wz-empty .wz-opts { margin-top: 0; border-top: 0; }
  #compat .wz-empty .wz-opts small { padding-top: 0; }
  #compat .wz-a:has(.wz-empty) { min-height: 0; padding: 20px 22px 10px; }
  #compat .wz-opts div { flex-direction: column; gap: 2px; }
}

/* 3. One download for both Macs. A phone or tablet cannot install a Mac app, so it sends the link instead. */
.dl-phone { display: none; }
@media (hover: none) and (pointer: coarse) {
  #compat .dl { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; }
  #compat .dl > div:first-child, #compat .dl .side { display: none !important; }
  .dl-phone { display: flex; flex-direction: column; gap: 6px; }
  .dl-phone b { font: 700 1.25rem/1.15 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
  .dl-phone span { font-size: 15px; color: var(--ink2); }
  .dl-phone .btn { margin-top: 12px; width: 100%; }
  .dl-phone small { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink3); }
}

/* 5. Beta. One dark card, one sentence, three fields. */
.beta4 { padding-block: clamp(40px, 6vw, 88px); }
.bt4 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  max-width: 62rem; margin-inline: auto; padding: clamp(24px, 4.4vw, 52px); border-radius: 28px; color: var(--nightInk);
  background: radial-gradient(120% 90% at 16% 122%, rgba(240, 122, 58, .30), rgba(240, 122, 58, 0) 62%), linear-gradient(180deg, #18130E, #120E0A);
  box-shadow: var(--sh2), inset 0 0 0 1px var(--nightLine); }
.bt4-k { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .09);
  font: 600 12px/1 var(--f-text); color: var(--nightInk2); }
.bt4 h2 { margin: 14px 0 0; font: 700 clamp(1.9rem, 3.1vw, 2.5rem)/1.06 var(--f-display); letter-spacing: -0.035em; color: var(--nightInk); }
.bt4 h2 span { color: var(--nightInk2); }
.bt4-t p { margin: 14px 0 0; max-width: 24rem; font-size: 1.05rem; line-height: 1.45; color: var(--nightInk2); }
.bt4-f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.bt4-f label { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.bt4-f label.w, .bt4-f button, .bt4-f small { grid-column: 1 / -1; }
.bt4-f label span { font: 600 12.5px/1 var(--f-text); color: var(--nightInk2); }
.bt4-f input, .bt4-f select { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 11px;
  background-color: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--nightLine); color: var(--nightInk);
  font: 400 16px/1 var(--f-text); -webkit-appearance: none; appearance: none; }
.bt4-f select { padding-right: 36px; background-repeat: no-repeat; background-position: right 13px center; background-size: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23C9BCA9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E"); }
.bt4-f select option { color: #1C1712; background: #fff; }
.bt4-f input::placeholder { color: #8E8273; opacity: 1; }
.bt4-f input:focus-visible, .bt4-f select:focus-visible { outline: 2px solid #E6E0D6; outline-offset: 1px; }
.bt4-go { margin-top: 4px; color: #1C1712; background: linear-gradient(180deg, #FFFAF2, #EDE4D6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .14); }
.bt4-go:hover { filter: brightness(1.04); }
.bt4-go:focus-visible { outline: 2px solid #E6E0D6; outline-offset: 2px; }
.bt4-f small { font-size: 12.5px; color: #A2978A; }
@media (max-width: 760px) {
  .bt4 { grid-template-columns: minmax(0, 1fr); gap: 22px; border-radius: 22px; }
  .bt4-t p { max-width: none; }
}
