:root {
  --navy: #041540;
  --ink: #121826;
  --muted: #5c6774;
  --card: #f3f5f8;
  --ice: #e7f0ff;
  --line: #e4e8ef;
  --white: #ffffff;
  --max: 1120px;
  --header: 78px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 8px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  isolation: isolate;
}

.header-bar {
  display: flex;
  align-items: center;
  min-height: var(--header);
  padding-right: 28px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  align-self: flex-start;
  background: var(--navy);
  isolation: isolate;
  border-radius: 0 0 26px 0;
  padding: 24px 28px 20px 22px;
  min-height: var(--header);
  text-decoration: none;
}

.wordmark {
  display: block;
  width: 168px;
  height: 26px;
  overflow: hidden;
  position: relative;
}

.wordmark img {
  position: absolute;
  width: 265px;
  height: 265px;
  max-width: none;
  left: -46px;
  top: -119px;
  mix-blend-mode: screen;
}

.wordmark.is-large {
  width: 176px;
  height: 34px;
}

.wordmark.is-large img {
  width: 256px;
  height: 256px;
  left: -40px;
  top: -108px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex: 1;
}

.nav-link {
  color: #1b2430;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 8px 0;
}

.nav-link.is-current {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--navy);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 24px;
  align-items: center;
  padding: 54px 0 18px;
}

.hero h1,
.sheet h1,
.profiles h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); max-width: 11ch; }

.hero-copy p,
.section-lead,
.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy p { max-width: 42ch; margin: 18px 0 0; }

.hero-art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-blob {
  position: absolute;
  width: min(92%, 430px);
  height: 300px;
  right: 4%;
  bottom: 46px;
  background: linear-gradient(160deg, #0a2a78, var(--navy));
  border-radius: 46% 42% 40px 48px;
}

.hero-ticks {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 42px;
  top: 36px;
  right: 18%;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 8px / 18px 4px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 16px 0 / 22px 4px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 34px 10px / 16px 4px no-repeat;
  transform: rotate(18deg);
}

.phone {
  position: relative;
  width: 230px;
  height: 440px;
  padding: 12px;
  border-radius: 36px;
  background: #1c1f27;
  box-shadow: 0 24px 50px rgba(4, 21, 64, 0.28);
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  background:
    radial-gradient(120% 80% at 50% 115%, rgba(255, 255, 255, 0.16), transparent 42%),
    var(--navy);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.phone-waves {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 28px;
  height: 70px;
  background:
    radial-gradient(60% 80% at 30% 100%, transparent 46%, rgba(255, 255, 255, 0.28) 47% 52%, transparent 53%),
    radial-gradient(60% 80% at 70% 120%, transparent 46%, rgba(255, 255, 255, 0.2) 47% 52%, transparent 53%);
}

.profiles { padding: 28px 0 64px; text-align: center; }

.profiles h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); }

.section-lead { max-width: 46ch; margin: 10px auto 28px; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}

.profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: end;
  min-height: 176px;
  background: var(--card);
  border-radius: 28px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(4, 21, 64, 0.04);
}

.profile-card:hover,
.profile-card:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.profile-card-person {
  width: 142px;
  height: 168px;
  object-fit: contain;
  object-position: left bottom;
  justify-self: start;
  align-self: end;
}

.profile-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 22px 36px 28px 4px;
}

.profile-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e7eefb;
  color: var(--navy);
  margin-bottom: 4px;
}

.profile-card-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.profile-card-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); }

.profile-card-text { color: #4d5968; font-size: 0.94rem; }

.profile-card-go {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: white;
  font-size: 1rem;
}

.sheet { padding: 36px 0 56px; }

.sheet h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 18ch; }

.crumb { color: var(--muted); font-size: 0.92rem; }
.crumb a { color: var(--navy); }

.help { margin: 8px 0 0; color: var(--navy); font-weight: 700; font-size: 1.25rem; }

.profile-head { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.profile-head img { width: 96px; height: 112px; object-fit: contain; }

.text-block,
.topic-group,
.faq-profile { margin-top: 28px; }

.text-block h2,
.topic-group h2,
.faq-profile h2 { color: var(--navy); letter-spacing: -0.03em; }

.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.topic {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border-radius: 18px;
  padding: 16px 18px;
  text-decoration: none;
}

.topic strong { display: block; color: var(--navy); }
.topic small { display: block; color: var(--muted); margin-top: 3px; }
.topic-go { color: var(--navy); }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 28px; }

.step {
  background: #f7f8fb;
  border-radius: 24px;
  padding: 22px;
}

.step h2 { display: flex; gap: 12px; align-items: center; margin: 0 0 14px; color: var(--navy); font-size: 1.25rem; }
.step h2 span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-size: 0.95rem;
  flex: none;
}

.shot { margin: 0 0 12px; }
.shot-frame { position: relative; display: inline-block; max-width: 100%; }
.shot img { display: block; width: min(100%, 320px); height: auto; border-radius: 18px; background: white; }

.shot-pending {
  border: 1px dashed #b7c0ce;
  background: white;
  border-radius: 18px;
  padding: 22px;
  max-width: 460px;
}

.shot-pending strong { color: var(--navy); }
.shot-pending p { margin: 6px 0 0; color: var(--muted); }

.mark { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.mark-circle {
  width: 48px;
  height: 48px;
  border: 3px solid #d92d20;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(217, 45, 32, 0.18);
}
.mark-arrow {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #d92d20;
  filter: drop-shadow(0 2px 0 rgba(217, 45, 32, 0.25));
}

.capture-note { color: var(--muted); font-size: 0.95rem; }
.back-link a { color: var(--navy); font-weight: 700; }

.faq-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.faq-filters button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  color: var(--navy);
  cursor: pointer;
}
.faq-filters button[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }

.faq-category h3 { margin-bottom: 8px; color: #243044; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px; margin: 8px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 10px 0; }
.faq-answer { color: #243044; padding-bottom: 12px; }
.faq-answer a { color: var(--navy); font-weight: 700; }

.tutorial-extra { margin: 18px 0 0; }
.tutorial-extra h2 { margin: 0; color: var(--navy); font-size: 1.15rem; }
.tutorial-extra ul { margin: 8px 0 0; padding-left: 18px; color: #243044; }
.tutorial-extra a { color: var(--navy); font-weight: 700; }

.site-footer { padding: 0 0 36px; }
.download {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--ice);
  border-radius: 28px;
  padding: 18px 18px 18px 22px;
}
.download h2 { margin: 0; font-size: 1.25rem; color: var(--navy); }
.download p { margin: 4px 0 0; color: #3d4b60; }
.play-badge {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
}
.play-badge svg { width: 34px; height: 34px; }
.button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  white-space: nowrap;
}
.button:hover { background: #0a2a78; }
.footer-note { color: var(--muted); font-size: 0.88rem; text-align: center; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

@media (max-width: 980px) {
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-art { min-height: 360px; order: -1; }
  .hero h1 { max-width: 16ch; }
}

@media (max-width: 760px) {
  .header-bar { padding-right: 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .site-nav.is-open { display: flex; }
  .profile-grid { grid-template-columns: 1fr; }
  .download { flex-direction: column; align-items: flex-start; }
  .button { margin-left: 0; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .wordmark { width: 132px; height: 22px; }
  .wordmark img { width: 224px; height: 224px; left: -39px; top: -101px; }
}
