/* ==========================================================================
   Make it yours: the app's three colours (the accent setting). The phone
   shows the real Home screen in each, light or dark with the page; the
   light behind it, the word and the selected icon take the colour.
   ========================================================================== */
.acc { --a: #24573F; --a2: #7FBF9C; position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(110px, 13vw, 190px); }
.acc[data-acc="burgundy"] { --a: #6B2536; --a2: #C98E9A; }
.acc[data-acc="blue"] { --a: #314481; --a2: #8DADDA; }
.acc::before { content: ""; position: absolute; z-index: -1; right: -8%; top: 50%; width: min(1100px, 80vw); aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a2) 46%, transparent), color-mix(in srgb, var(--a2) 14%, transparent) 55%, transparent); transition: background 1.1s ease; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(40px, 8vw, 140px); }
.acc-eyebrow { margin: 0 0 18px; color: var(--a); font: 600 17px/1.2 var(--font); transition: color .8s ease; }
:root[data-theme="dark"] .acc-eyebrow { color: var(--a2); }
.acc-title { margin-bottom: 24px; font-size: clamp(56px, 7.6vw, 124px); }
.acc-word { color: var(--a); transition: color .8s ease; }
:root[data-theme="dark"] .acc-word { color: var(--a2); }
.acc-opts { display: flex; gap: clamp(16px, 2.2vw, 30px); margin-top: 40px; }
.acc-opt { display: grid; justify-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--ink-2); font: 600 15px/1 var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root[data-theme="dark"] .acc-opt { color: var(--ivory-2); }
.acc-opt img { width: clamp(78px, 7.2vw, 108px); height: auto; border-radius: 23%; box-shadow: 0 14px 30px -14px rgb(21 21 20 / .45); transition: transform .55s var(--spring), box-shadow .4s ease; }
.acc-opt[aria-checked="true"] { color: var(--ink); }
:root[data-theme="dark"] .acc-opt[aria-checked="true"] { color: var(--ivory); }
.acc-opt[aria-checked="true"] img { transform: translateY(-6px) scale(1.06); box-shadow: 0 22px 38px -16px rgb(21 21 20 / .5), 0 0 0 3px var(--canvas), 0 0 0 5.5px var(--a); }
:root[data-theme="dark"] .acc-opt[aria-checked="true"] img { box-shadow: 0 22px 38px -16px rgb(0 0 0 / .7), 0 0 0 3px #0E0E0D, 0 0 0 5.5px var(--a2); }
@media (hover: hover) { .acc-opt:not([aria-checked="true"]):hover img { transform: translateY(-3px); } }
.acc-opt:active img { transform: scale(.94); transition-duration: .12s; }
.acc-opt:focus-visible { outline: 2px solid var(--focus); outline-offset: 8px; border-radius: 14px; }
.acc-phone { --w: clamp(270px, 25vw, 350px); margin: 0; }
.acc-phone .phone-frame { aspect-ratio: 1 / 2.0977; }
.acc-screen { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); transition: opacity .7s ease, transform 1s var(--ease-pres); }
.acc-screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:root:not([data-theme="dark"]) .acc-screen .shot-d, :root[data-theme="dark"] .acc-screen .shot-l { display: none; }
.acc[data-acc="green"] .acc-screen[data-acc="green"], .acc[data-acc="burgundy"] .acc-screen[data-acc="burgundy"], .acc[data-acc="blue"] .acc-screen[data-acc="blue"] { opacity: 1; transform: none; }
@media (max-width: 640px) { .acc { padding-block: var(--section); } }
@media (max-width: 900px) {
  .acc-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .acc-copy { display: grid; justify-items: center; }
  .acc-phone { --w: min(64vw, 300px); }
  .acc::before { right: auto; left: 50%; top: 70%; transform: translate(-50%, -50%); width: 140vw; }
}
@media (prefers-reduced-motion: reduce) { .acc-screen, .acc-opt img, .acc::before { transition: none; } }
