/* Public presentation page. Shares the portal's palette; stands alone so the
   account and admin pages keep portal.css untouched. */
:root {
  --ink: #283a36;
  --muted: #64726b;
  --green: #254f43;
  --green-hover: #356253;
  --clay: #b76447;
  --paper: #f7f6f0;
  --card: #fdfcf8;
  --tint: #eef0e6;
  --border: #dedfd5;
  --shadow: 0 1px 2px #1f352d14, 0 18px 40px -12px #1f352d2e;
  font-family: Inter, "Segoe UI", system-ui, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, button:focus-visible { outline: 3px solid #88b09a; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { display: flex; align-items: center; gap: 28px; padding: 14px 32px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -.8px; color: var(--green); text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; padding-bottom: 4px; border-radius: 9px; background: var(--green); color: #fff; font: 25px Georgia, serif; }
.tagline { flex: 1; margin: 0; color: var(--muted); font-size: 14px; }
.site-header nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--clay); }
.nav-account { border: 1px solid #b9c6bd; border-radius: 7px; padding: 8px 14px; }

main { flex: 1; display: flex; flex-direction: column; padding: 0 32px 28px; }

.tabs { display: flex; gap: 4px; margin: 0 -32px; padding: 0 32px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: none; padding: 14px 14px 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button:focus-visible { outline-offset: -3px; border-radius: 6px; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--clay); color: var(--ink); font-weight: 600; }

.feature { flex: 1; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); align-items: start; align-content: start; gap: 40px; padding-top: 32px; }
.feature[hidden] { display: none; }
.feature-text h2 { margin: 0 0 12px; font-size: 28px; font-weight: 500; letter-spacing: -.8px; }
.feature-text p { margin: 0 0 18px; color: #4b5c56; font-size: 16px; line-height: 1.6; }
.text-link { font-size: 14px; text-decoration: none; border-bottom: 1px solid #bfc6ba; padding-bottom: 3px; }
.text-link:hover { color: var(--clay); border-color: currentColor; }

/* The screenshot fills the remaining height without cropping. */
.shot { margin: 0; justify-self: center; }
.shot img { width: auto; max-height: calc(100svh - 190px); border: 1px solid #d3d8cd; border-radius: 10px; background: #fff; box-shadow: var(--shadow); cursor: zoom-in; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; padding: 40px 28px; border-radius: 14px; background: var(--tint); }
.flow-step { display: grid; gap: 6px; justify-items: center; padding: 22px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); text-align: center; }
.flow-step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--green); font-size: 12px; font-weight: 700; }
.flow-step strong { font-size: 14px; }
.flow-step small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.flow-step.is-you { border-color: var(--green); }
.flow-step.is-you span { background: var(--green); color: #fff; }
.flow-arrow { color: var(--clay); font-size: 22px; }

.lightbox { max-width: min(96vw, 1600px); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px #0006; }
.lightbox::backdrop { background: #142520cc; }
.lightbox img { max-height: 92vh; width: auto; margin: auto; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #142520cc; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

@media (max-width: 960px) {
  .tagline { display: none; }
  .site-header { justify-content: space-between; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; }
  .shot img { width: 100%; max-height: none; }
}
@media (max-width: 640px) {
  .site-header { padding: 12px 16px; }
  main { padding: 0 16px 20px; }
  .tabs { margin: 0 -16px; padding: 0 16px; }
  .tabs button { padding: 12px 10px 10px; font-size: 13px; }
  .feature-text h2 { font-size: 24px; }
  .feature-text p { font-size: 15px; }
  .flow { grid-template-columns: 1fr; padding: 20px; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
}
