:root {
  --accent: #172b46;
  --accent-dark: #0c192b;
  --ink: #1e293b;
  --muted: #475569;
  --paper: #f4f6f8;
  --surface: #e9eef3;
  --line: #e2e8f0;
  --focus: #64748b;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  transform: translateY(-180%);
  background: var(--ink);
  color: white;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(71, 85, 105, 0.12);
  background: rgba(244, 246, 248, 0.96);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 740;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img { border-radius: 10px; }

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding-block: clamp(72px, 10vw, 126px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.9rem);
  font-weight: 790;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 { font-size: 1.32rem; }

.lede {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.lede.compact { max-width: 760px; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover { background: var(--accent-dark); }

.button.secondary {
  border-color: var(--line);
  background: white;
}

.button.secondary:hover { border-color: var(--accent); }

.app-card {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(71, 85, 105, 0.12);
  border-radius: 28px;
  background: linear-gradient(145deg, white, #e9eef3);
  box-shadow: var(--shadow);
  text-align: center;
}

.app-card > img {
  border-radius: 30px;
  box-shadow: 0 18px 35px rgba(23, 43, 70, 0.18);
}

.app-name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.muted { margin: 2px 0 0; color: var(--muted); }

.check-list {
  width: 100%;
  margin: 4px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  list-style: none;
  text-align: left;
}

.check-list li::before {
  margin-right: 9px;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.section { padding-block: clamp(76px, 9vw, 120px); }

.muted-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.feature-number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.feature h3 { margin: 18px 0 9px; }
.feature p { margin: 0; color: var(--muted); }

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 9vw, 120px);
}

.two-column p { color: var(--muted); }

.text-link {
  color: var(--accent-dark);
  font-weight: 750;
  text-underline-offset: 4px;
}

.notice {
  margin-bottom: clamp(76px, 9vw, 120px);
  padding: 28px 32px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
}

.notice.inline {
  width: 100%;
  margin: 48px 0;
}

.notice h2 { margin-bottom: 10px; font-size: 1.35rem; }
.notice p { margin: 0; color: var(--muted); }

.document {
  width: min(780px, calc(100% - 40px));
  padding-block: clamp(60px, 9vw, 100px);
}

.document h1 { font-size: clamp(2.8rem, 7vw, 5rem); }

.document section { margin-top: 52px; }

.document section h2 {
  margin-bottom: 13px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.document p,
.document li { color: var(--muted); }

.document strong { color: var(--ink); }

.document-meta {
  margin: 22px 0 34px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--surface);
}

.required-value {
  color: var(--accent-dark);
  font-weight: 720;
}

.contact-card {
  display: grid;
  gap: 20px;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-card p { margin: 0; }

.contact-label {
  color: var(--ink) !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-link {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  text-underline-offset: 4px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details { border-bottom: 1px solid var(--line); }

summary {
  padding: 20px 34px 20px 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 740;
}

details p { margin: 0; padding: 0 0 22px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-content {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-content p { margin: 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 780px) {
  .hero,
  .two-column { grid-template-columns: 1fr; }

  .hero { gap: 60px; }

  .app-card {
    width: min(430px, 100%);
    justify-self: center;
  }

  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .shell, .document { width: min(100% - 28px, 1120px); }
  .nav { min-height: 68px; }
  .nav-links, .site-footer nav { gap: 14px; }
  .hero { min-height: auto; padding-block: 58px 72px; }
  .button { width: 100%; }
  .feature, .contact-card { padding: 22px; }
  .footer-content { align-items: flex-start; flex-direction: column; padding-block: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .button-row { display: none; }
  .document { width: 100%; padding: 0; }
  body { color: black; background: white; font-size: 12pt; }
}

/* A real app screen makes the research workflow visible at a glance. */
.hero { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: clamp(40px, 7vw, 90px); padding-block: 64px; }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.creator { margin: 22px 0 0; color: var(--muted); font-size: 0.94rem; font-weight: 500; }
.app-preview { width: min(100%, 300px); margin: 0; justify-self: center; }
.app-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 48px rgba(23, 43, 70, 0.12); }
.app-preview figcaption { margin-top: 14px; color: var(--muted); font-size: 0.875rem; text-align: center; }
@media (max-width: 780px) { .hero { grid-template-columns: 1fr; } }
