.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--brand-white);
  background: var(--brand-ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--brand-line);
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--page-max));
  min-height: 68px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--brand-ink-soft);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-ink);
  background: var(--brand-white);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 130px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(circle at 85% 22%, rgba(255, 68, 56, 0.11) 0 10px, transparent 11px),
    radial-gradient(circle at 88% 23%, rgba(0, 146, 203, 0.08) 0 150px, transparent 151px),
    linear-gradient(135deg, var(--brand-white) 0 60%, #eaf8fc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -220px;
  bottom: -310px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(0, 146, 203, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(0, 146, 203, 0.035), 0 0 0 130px rgba(0, 146, 203, 0.025);
}

.hero-grid,
.section-shell {
  width: min(calc(100% - 32px), var(--page-max));
  margin: auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 750px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--brand-ink-soft);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  max-width: 620px;
  margin-bottom: 24px;
}

.hero-tool-card {
  position: relative;
  min-height: 132px;
  padding: 22px 76px 22px 24px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(0, 146, 203, 0.2);
  border-left: 8px solid var(--brand-blue);
  border-radius: 18px;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(23, 48, 66, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-tool-card::after {
  content: "→";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-white);
  background: var(--brand-blue);
  font-size: 22px;
  font-weight: 700;
  transform: translateY(-50%);
}

.hero-tool-card:hover,
.hero-tool-card:focus-visible {
  outline: 3px solid rgba(0, 146, 203, 0.18);
  outline-offset: 3px;
  border-color: rgba(0, 146, 203, 0.36);
  box-shadow: 0 22px 60px rgba(23, 48, 66, 0.16);
  transform: translateY(-3px);
}

.tool-kicker {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-tool-card strong {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.hero-tool-card span:last-child {
  color: var(--brand-ink-soft);
  font-size: 14px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.logo-stage {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(0, 146, 203, 0.17);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.3deg);
}

.logo-stage img {
  width: 100%;
  aspect-ratio: 2048 / 1448;
  object-fit: contain;
}

.stage-note {
  margin: 10px 0 0;
  color: var(--brand-ink-soft);
  font-size: 12px;
  text-align: center;
}

main section {
  padding: clamp(64px, 8vw, 110px) 0;
  scroll-margin-top: 72px;
}

main section:nth-child(even) {
  background: var(--brand-white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.7vw, 58px);
  line-height: 1.09;
  letter-spacing: -0.035em;
}

.section-head p {
  margin-bottom: 0;
  color: var(--brand-ink-soft);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spaced-block {
  margin-top: 18px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  background: var(--brand-white);
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.card p,
.card li {
  color: var(--brand-ink-soft);
  font-size: 14px;
}

.card ul {
  margin: 0;
  padding-left: 19px;
}

.status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #006f9b;
  background: var(--brand-blue-soft);
  font-size: 11px;
  font-weight: 700;
}

.status.warn {
  color: #934b00;
  background: #fff2dc;
}

.status.reversed {
  color: var(--brand-white);
  background: var(--brand-ink);
}

.asset-preview.compact {
  padding: 20px;
}

.logo-card .asset-preview {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 18px;
  border-bottom: 1px solid var(--brand-line);
  background: #fbfdfe;
}

.logo-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
}

.asset-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 12px;
}

.asset-meta dt {
  color: var(--brand-ink-soft);
}

.asset-meta dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.color-card {
  min-height: 250px;
  padding: 22px;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-card:hover,
.color-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: -7px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.color-card strong {
  display: block;
  margin-bottom: 70px;
  font-size: 20px;
}

.color-card span {
  display: block;
  font-size: 13px;
}

.color-blue {
  color: var(--brand-white);
  background: var(--brand-blue);
}

.color-red {
  color: var(--brand-white);
  background: var(--brand-red);
}

.color-gold {
  color: var(--brand-white);
  background: var(--brand-gold);
}

.color-silver {
  color: var(--brand-ink);
  background: var(--brand-silver);
}

.type-sample {
  padding: clamp(24px, 4vw, 46px);
}

.type-sample .sample {
  margin: 0 0 12px;
  line-height: 1.18;
}

.type-light {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 300;
}

.type-regular {
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 400;
}

.type-bold {
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 700;
}

.principle {
  position: relative;
  min-height: 270px;
  padding: 28px;
  background: linear-gradient(145deg, var(--brand-white), #f3fbfe);
}

.principle .number {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.principle h3 {
  margin-top: 40px;
  font-size: 24px;
}

.principle.red-dot::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 9px rgba(0, 146, 203, 0.09);
}

.do {
  border-top: 4px solid var(--brand-blue);
}

.dont {
  border-top: 4px solid var(--brand-red);
}

.prompt-box {
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--brand-white);
  background: var(--brand-ink);
}

.prompt-box code {
  display: block;
  color: #dff6ff;
  white-space: pre-wrap;
}

.resource-list {
  display: grid;
  gap: 10px;
}

.resource-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-sm);
  background: var(--brand-white);
  text-decoration: none;
}

.resource-list a::after {
  content: "↗";
  color: var(--brand-blue);
}

.note {
  padding: 18px 20px;
  border-left: 4px solid var(--brand-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-red-soft);
}

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

.footer {
  padding: 38px 0 50px;
  color: var(--brand-ink-soft);
  background: var(--brand-ink);
}

.footer .section-shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #d9e6ec;
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--brand-white);
  background: var(--brand-ink);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .hero-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .logo-stage {
    max-width: 520px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-head {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    align-items: flex-start;
    padding: 13px 0;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    margin: 0;
  }

  .hero {
    padding-top: 54px;
  }

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .color-card {
    min-height: 200px;
  }

  .footer .section-shell {
    flex-direction: column;
  }
}
