:root {
  --bg: #e3e3e3;
  --card: #ffffff;
  --ink: #1a1a1a;
  --muted: #8a8a8e;
  --body: #6e6e73;
  --line: #ececec;
  --chip-border: #e2e2e2;
  --outro-bg: #f4f6f8;
  --radius-card: 28px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Headings use Inter at the Display optical size for tighter, larger display cuts */
.intro__title,
.section__title,
.outro__title {
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 32;
}

/* Page frame */
.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 24px;
}

/* White card */
.card {
  width: 100%;
  max-width: 980px;
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 40px 44px 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 80px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  flex-shrink: 0;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__nav {
  margin-left: auto;
}

.brand__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand__nav a:hover {
  color: var(--muted);
}

.brand__name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

/* Chips / badges */
.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--chip-border);
  border-radius: 8px;
  padding: 0 10px;
}

.chip--ghost {
  background: #fff;
  color: #6b6b70;
  text-transform: none;
  letter-spacing: 0;
}

/* Intro / title */
.intro { padding-bottom: 36px; }

.intro__title {
  font-size: 56px;
  line-height: 66px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 12px 0 12px;
  color: var(--ink);
}

.intro__updated {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Sections */
.section {
  margin-bottom: 44px;
}

.section:last-of-type { margin-bottom: 80px; }

.section__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--ink);
}

.subsection__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 24px 0 10px;
  color: var(--ink);
}

.section p {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  color: var(--body);
  margin: 0 0 16px;
}

.section p:last-child { margin-bottom: 0; }

.section ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.section li {
  font-size: 16px;
  line-height: 26px;
  color: var(--body);
  margin-bottom: 8px;
}

.section li:last-child { margin-bottom: 0; }

.section strong { color: var(--ink); font-weight: 600; }

.section__copyright {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

/* Outro / footer block */
.outro {
  background: var(--outro-bg);
  margin: 0 -44px;
  padding: 36px 44px 44px;
  border-top: 1px solid var(--line);
}

.outro__title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 44px;
  margin: 16px 0 18px;
  color: var(--ink);
}

.outro p {
  font-size: 14px;
  color: var(--body);
  margin: 0;
  max-width: 560px;
}

.outro__contact-block {
  margin-top: 20px;
}

.outro__contact-block p {
  font-size: 14px;
  color: var(--body);
  margin: 0 0 6px;
}

.outro__contact-block p:last-child { margin-bottom: 0; }

.outro__contact-name {
  font-weight: 600;
  color: var(--ink) !important;
  margin-bottom: 10px !important;
}

.outro__contact-block a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 768px) {
  .page { padding: 28px 18px; }
  .card { padding: 32px 32px 0; border-radius: 24px; }
  .outro { margin: 0 -32px; padding: 32px 32px 40px; }
  .intro__title { font-size: 38px; }
}

/* Mobile */
@media (max-width: 520px) {
  .page { padding: 20px 14px; }
  .card { padding: 26px 24px 0; border-radius: 22px; }
  .outro { margin: 0 -24px; padding: 28px 24px 34px; }
  .intro__title { font-size: 34px; }
}

/* Narrow mobile */
@media (max-width: 380px) {
  .card { padding: 22px 20px 0; }
  .outro { margin: 0 -20px; padding: 26px 20px 32px; }
  .intro__title { font-size: 30px; }
  .section p, .outro p { font-size: 14px; }
}
