:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #111827;
  --text: #273854;
  --muted: #5f7393;
  --line: #d8e0ea;
  --rule: #c7d3e2;
  --accent: #155dfc;
  --accent-dark: #0f3fb5;
  --shadow: 0 8px 18px rgb(15 23 42 / 0.08);
  --radius: 16px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

.page {
  width: min(100% - 32px, 768px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 72px) 0;
}

.page-center {
  display: grid;
  place-items: center;
}

.profile-card,
.landing {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.96);
}

.profile-card {
  box-shadow: var(--shadow);
}

.profile-card {
  padding: clamp(28px, 4.5vw, 32px);
}

.profile-card--compact {
  max-width: 620px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 28px);
}

.profile-rule {
  align-self: stretch;
  border-radius: 999px;
  background: var(--rule);
}

.profile-content {
  min-width: 0;
}

.profile-logo {
  display: block;
  max-width: min(224px, 100%);
  max-height: 96px;
  margin: 0 0 22px;
  object-fit: contain;
  object-position: left center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(1.75rem, 1.36rem + 1.25vw, 2.35rem);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
  text-wrap: balance;
}

.profile-description {
  max-width: 66ch;
  margin-top: 14px;
  color: #263755;
  font-size: 0.96rem;
  font-style: italic;
}

.contact-line,
.location-line {
  margin-top: 12px;
  color: var(--text);
}

.location-line {
  color: var(--muted);
}

.profile-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.profile-extra h2 {
  color: #536b91;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.profile-extra p,
.profile-extra ul {
  margin-top: 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.profile-extra ul {
  padding-left: 1.1rem;
}

.profile-extra li + li {
  margin-top: 4px;
}

.policy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.policy h2 {
  color: #536b91;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.policy p {
  max-width: 74ch;
  margin-top: 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.landing-page {
  width: min(100% - 36px, 860px);
}

.landing {
  max-width: 860px;
  padding: clamp(26px, 4.5vw, 48px);
}

.brand-mark {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 780;
}

.landing-header,
.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-header {
  padding-bottom: clamp(36px, 6vw, 72px);
}

.landing-copy {
  max-width: 690px;
}

.landing h1 {
  max-width: 11em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 1.78rem + 2.45vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.lede {
  max-width: 58ch;
  margin-top: 22px;
  color: #30435f;
  font-size: clamp(1.08rem, 1.02rem + 0.22vw, 1.2rem);
}

.landing-copy > p:not(.lede) {
  max-width: 62ch;
  margin-top: 18px;
}

.example-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.example-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.94rem;
}

.muted {
  margin-top: 18px;
  color: var(--muted);
}

.managed-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.landing-footer {
  margin-top: clamp(34px, 6vw, 66px);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
}

.button-link:hover {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 768px);
    padding-block: 24px;
  }

  .profile-card,
  .landing {
    border-radius: 14px;
    padding: 22px;
  }

  .landing-header,
  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-header {
    padding-bottom: 34px;
  }

  .landing h1 {
    font-size: clamp(2.25rem, 1.65rem + 6vw, 3.1rem);
  }

  .profile-hero {
    gap: 18px;
  }

  .profile-description,
  .policy p {
    font-size: 0.93rem;
  }
}
