.phone {
  width: min(100%, 21rem);
  padding: 0.5rem;
  border: 0.0625rem solid var(--brown);
  border-radius: 2.8rem;
  background: var(--ink);
  box-shadow: var(--shadow-phone);
}

.phone img {
  width: 100%;
  border-radius: 2.35rem;
}

.phone--compact {
  width: min(100%, 18rem);
}

figcaption,
.figure-caption {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.system-chain::before {
  position: absolute;
  top: 1.35rem;
  right: 12.5%;
  left: 12.5%;
  height: 0.125rem;
  background: var(--accent);
  content: "";
}

.chain-node {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
}

.chain-node::before {
  width: 2.75rem;
  height: 2.75rem;
  border: 0.2rem solid var(--accent);
  border-radius: 50%;
  background: var(--canvas);
  content: "";
}

.chain-node__label {
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chain-node__value {
  max-width: 18ch;
  color: var(--brown);
  font-size: 1rem;
  line-height: 1.4;
}

.week-slots {
  display: grid;
  gap: 0.65rem;
  padding-block: 1rem;
}

.slot {
  display: grid;
  min-height: 4.5rem;
  grid-template-columns: 5rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-left: 0.25rem solid var(--line);
  background: var(--surface);
}

.slot__time {
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
}

.slot--occupied {
  border-left-color: var(--brown);
  color: var(--muted);
}

.slot--action {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.slot--open {
  border: 0.0625rem dashed var(--line);
  border-left-width: 0.25rem;
  background: var(--canvas);
  color: var(--muted);
}

.decision-unit {
  min-height: 8rem;
  padding: 1rem;
  border-top: 0.2rem solid var(--line);
  background: var(--surface);
}

.decision-unit--next {
  border-top-color: var(--accent);
  background: var(--accent-soft);
}

.decision-unit p {
  margin-top: 0.65rem;
  line-height: 1.45;
}

.domain-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 0.0625rem solid var(--line);
}

.domain-item span:first-child {
  color: var(--brown);
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 0.0625rem solid var(--line);
}

.trust-item__mark {
  color: var(--brown);
  font-family: "Geist Mono", monospace;
  font-size: 0.8rem;
}

.trust-item p {
  color: var(--muted);
  line-height: 1.5;
}

.offer-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.offer-panel__facts {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.offer-panel__facts li {
  padding-bottom: 0.8rem;
  border-bottom: 0.0625rem solid var(--line);
}

.app-store-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  border: 0.0625rem solid var(--ink);
  border-radius: var(--radius-small);
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.app-store-button:hover {
  background: var(--brown);
  transform: translateY(-0.125rem);
}

.app-store-button:active { transform: translateY(0); }

.app-store-button svg,
.app-store-button img {
  width: 1.5rem;
  height: 1.5rem;
}

.android-note {
  margin-top: 1rem;
  color: var(--muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
}

.faq details {
  border-bottom: 0.0625rem solid var(--line);
}

.faq summary {
  position: relative;
  min-height: 4.5rem;
  padding: 1.25rem 3rem 1.25rem 0;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  transition: color 180ms ease;
}

.faq summary:hover { color: var(--brown); }
.faq summary:active { color: var(--brown); }

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--accent);
  content: "+";
  font-family: "Geist Mono", monospace;
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 62ch;
  padding: 0 2rem 1.5rem 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-links a,
.trust-grid + p a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}
