/* The guide pages (setup, LG, Samsung, why, press): the legal pages' shell
   (legal.css) with wider sections, numbered steps and the front page's
   cards. Loaded after styles.css and legal.css; no script. */

.guide { max-width: var(--max); }
.eyebrow { margin-bottom: 1rem; font: italic 1.35rem/1 var(--serif); color: var(--violet); }
.doc-head h1 em { font-size: 1.04em; }

/* A section of the page: a heading at the front page's rhythm, smaller. */
.block { margin-top: clamp(3.5rem, 8vw, 6rem); }
.block > h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.block > h2 + p { margin-top: 1rem; }
.block > p { max-width: var(--measure); color: var(--paper-2); text-wrap: pretty; }
.block > p + p { margin-top: 0.85rem; }

/* Where things stand, above the steps: one quiet line in a frame. */
.status {
  margin-top: 1.5rem;
  max-width: 46rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--raised);
  color: var(--paper-2);
  font-size: 0.98rem;
  line-height: 1.5;
}
.status strong { color: var(--paper); font-weight: 600; }

/* Three steps: stacked on a phone, side by side on a wide screen. */
/* The header's text link, quiet beside the button. These pages have no
   script, so the header sits on the glass (.is-stuck) from the start. */
.top-nav { display: flex; align-items: center; gap: 1.5rem; }
.top-nav a:not(.btn) { color: var(--paper-2); text-decoration: none; font-weight: 500; }
.top-nav a:not(.btn):hover { color: var(--paper); }
.top-nav .btn { height: 2.6rem; padding: 0 1.15rem; }

.guide-steps {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}
.guide-steps li {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--raised);
}
.guide-steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.1rem;
  font: italic 2.25rem/1 var(--serif);
  color: var(--violet);
}
.guide-steps h3 { font-size: 1.35rem; }
.guide-steps p { margin-top: 0.5rem; color: var(--paper-2); font-size: 0.98rem; text-wrap: pretty; }
.guide-steps p + p { margin-top: 0.6rem; }
@media (min-width: 900px) { .guide-steps { grid-template-columns: repeat(3, 1fr); } }

/* A screen beside its words, or under them on a phone. */
.split { display: grid; gap: 2rem; align-items: center; }
.split > div > h2 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.split > div > p { margin-top: 1rem; max-width: var(--measure); color: var(--paper-2); text-wrap: pretty; }
.split > div > p + p { margin-top: 0.85rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.25fr; gap: 4rem; } }
.shot { margin: 0; }
.shot .tv { box-shadow: 0 30px 90px rgb(0 0 0 / 0.55); }
.shot figcaption { margin-top: 0.75rem; color: var(--paper-3); font-size: 0.92rem; }

/* What you need: a short list in the legal pages' summary box. */
.need { max-width: 46rem; }
.guide-steps + .need { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.need h2 { font-size: 1.125rem; letter-spacing: -0.01em; }
.need ul { margin: 0.75rem 0 0; padding-left: 1.2rem; color: var(--paper-2); }
.need li + li { margin-top: 0.4rem; }
.need li::marker { color: var(--violet); }

/* The platform cards: the front page's, shorter. */
.cards-compact { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cards-compact .card { min-height: 0; }
@media (min-width: 1100px) { .cards-compact { grid-template-columns: repeat(4, 1fr); } }
.card[aria-current="page"] { border-color: var(--violet); }
.card .btn { margin-top: 0.5rem; }

/* For providers and press: a standalone statement with the accent on its edge. */
.notice {
  max-width: 46rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--violet);
  border-radius: 14px;
  background: var(--raised);
}
.notice h2 { font-size: 1.125rem; letter-spacing: -0.01em; }
.notice p, .notice li { color: var(--paper-2); text-wrap: pretty; }
.notice h2 + p, .notice h2 + ul { margin-top: 0.6rem; }
.notice ul { margin: 0; padding-left: 1.2rem; }
.notice li + li { margin-top: 0.45rem; }
.notice li::marker { color: var(--violet); }
.notice p + p { margin-top: 0.6rem; }

/* Links on to the other pages: a row of quiet buttons. */
.next { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* The why page: long-form text at the legal pages' measure. */
.prose h3 { margin-top: 2.25rem; }
.guide code { font: 500 0.92em/1 var(--sans); color: var(--paper); background: var(--raised); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.4em; overflow-wrap: anywhere; }
.prose .shot { margin-top: 2rem; }
.prose .notice { margin-top: 3rem; }

/* Twelve rows and the one Sala shows, drawn still (the front page animates them). */
.copies { margin-top: 1.5rem; display: grid; gap: 1rem; }
.prose .copies .fold-list { padding-left: 0; }
.copies .fold-list li { will-change: auto; }
.prose .copies .fold-list li + li { margin-top: 0; }
.copies-arrow { justify-self: center; width: 1.5rem; height: 1.5rem; stroke: var(--violet); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copies-one {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--raised);
  border: 1px solid var(--violet);
  box-shadow: 0 0 0 4px rgb(183 122 255 / 0.12);
}
.copies-one .fold-badge { white-space: nowrap; }

/* The press kit: the logo files on tiles, the screenshots in a grid. */
.assets { margin: 1.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.asset { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--raised); overflow: hidden; }
.asset-view { display: grid; place-items: center; height: 11rem; padding: 1.5rem; background: var(--black); border-bottom: 1px solid var(--line); }
.asset-view img { display: block; }
.asset-view .wide { width: min(70%, 13rem); height: auto; }
.asset-view .square { width: 7.5rem; height: 7.5rem; border-radius: 18%; box-shadow: 0 0 0 1px var(--line-2); }
.asset-text { flex: 1; }
.asset-text { display: grid; gap: 0.2rem; padding: 1rem 1.25rem 1.25rem; }
.asset-text h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.asset-text p { color: var(--paper-3); font-size: 0.9rem; }
.asset-text a { margin-top: 0.4rem; width: max-content; font-weight: 600; }

.shots { margin: 1.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.shots a { display: block; color: var(--paper-2); text-decoration: none; }
.shots a:hover { color: var(--paper); }
.shots .tv { transition: border-color 0.25s; }
.shots a:hover .tv { border-color: var(--violet); }
.shots span { display: block; margin-top: 0.6rem; font-size: 0.92rem; }
@media (min-width: 700px) { .shots { grid-template-columns: repeat(2, 1fr); } }

.guide .facts { max-width: 46rem; margin-top: 1.5rem; }

/* The footer: the front page's columns, without the moving line. */
.foot-plain .foot-grid { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.foot-links a[aria-current="page"] { color: var(--paper); }
