/* The front page (accounts/front.html): in the site's own colours and type (app.css), so light and dark both work.
   Phone first: one column, the picture under the words; side by side from 720px. Under front/, not trips/ or pwa/,
   so the installed app doesn't keep its pictures (pwa views.OWN). */
.front { max-width: 860px; margin: 0 auto; }
body:has(.front) .zones { display: none; }              /* no times on this page for Local, UTC or Home to change */
.front h2 { font: 700 1.55rem/1.15 var(--signage); letter-spacing: .005em; margin: 0 0 .6rem; }
.front p { margin: 0 0 .7rem; }
.front .small { font-size: .85rem; }
.front ul { margin: 0 0 .7rem; padding-left: 1.15rem; }
.front li { margin: .4rem 0; }
.front li strong { display: block; }
.front .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .7rem; }

/* A phone screen, as the app draws it. */
.front .phone { margin: 1rem auto 0; width: min(270px, 78%); flex: none; border: 7px solid #10151d; border-radius: 30px;
                  overflow: hidden; background: #10151d; box-shadow: 0 10px 28px rgb(0 0 0 / .18); }
.front .phone img { display: block; width: 100%; height: auto; border-radius: 23px; }

.front .hero h1 { font-size: 2.3rem; margin-bottom: .7rem; text-wrap: balance; }
.front .kicker { font: 600 .82rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.front .lead { font-size: 1.08rem; line-height: 1.5; }

/* The case in four points, under the hero. On a phone one column, each icon beside its words, which keeps the four
   short; two by two from 560px, the icon above, as the owner drew them. */
.front .points { display: grid; gap: .9rem; margin: 0 0 .9rem; }
.front .points .card { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; align-items: start; }
.front .points .icon { grid-row: span 2; width: 1.9rem; height: 1.9rem; margin-top: .1rem; color: var(--accent); }
.front .points h2 { font-size: 1.3rem; margin: 0 0 .2rem; }
.front .points p { margin: 0; color: var(--muted); }
@media (min-width: 560px) {
  .front .points { grid-template-columns: 1fr 1fr; }
  .front .points .card { display: block; }
  .front .points .icon { display: block; margin: 0 0 .6rem; }
}

.front .jump { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .9rem; }
.front .jump a { padding: .35rem .75rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
                   color: var(--text); font-size: .88rem; text-decoration: none; }
.front .jump a:hover { border-color: var(--accent); color: var(--accent); }

.front .steps ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: .9rem; }
.front .steps li { counter-increment: step; position: relative; margin: 0; padding-left: 2.6rem; }
.front .steps li::before { content: counter(step); position: absolute; left: 0; top: .1rem; width: 1.9rem; height: 1.9rem;
                             border-radius: 50%; background: var(--tint); color: var(--accent);
                             font: 700 1.1rem/1.9rem var(--signage); text-align: center; }

.front .more { display: grid; gap: .9rem 1.5rem; margin: 0; }
.front .more dt { font-weight: 700; }
.front .more dd { margin: .1rem 0 0; color: var(--muted); }
.front .plain { list-style: none; padding: 0; }
.front .plain li { padding-left: 1.5rem; position: relative; }
.front .plain li::before { content: ''; position: absolute; left: .2rem; top: .5rem; width: .55rem; height: .55rem;
                             border-radius: 50%; background: var(--ok); }

.front .faq h3 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin: 1.3rem 0 .2rem; }
.front .faq details { border-top: 1px solid var(--line); }
.front .faq details:last-of-type { border-bottom: 1px solid var(--line); }
.front .faq summary { cursor: pointer; padding: .75rem 1.6rem .75rem 0; font-weight: 600; list-style: none; position: relative; }
.front .faq summary::-webkit-details-marker { display: none; }
.front .faq summary::after { content: '+'; position: absolute; right: .2rem; top: .55rem; font: 600 1.3rem/1.4 var(--sans); color: var(--muted); }
.front .faq details[open] summary::after { content: '\2212'; }
.front .faq details p { color: var(--muted); max-width: 62ch; }
.front .faq details p:last-child { margin-bottom: 1rem; }

.front .closing { text-align: center; }
.front .closing .actions { justify-content: center; }

@media (min-width: 720px) {
  .front .card { padding: 1.75rem 2rem; }
  .front .hero, .front .feature { display: flex; align-items: center; gap: 2.25rem; }
  .front .feature.flip { flex-direction: row-reverse; }
  .front .words { flex: 1; min-width: 0; }
  .front .phone { margin: 0; width: 250px; }
  .front .hero h1 { font-size: 3rem; }
  .front .steps ol { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .front .steps li { padding: 2.5rem 0 0; }
  .front .more { grid-template-columns: 1fr 1fr; }
}
