:root {
  --sw-background: #F8FAFC;
  --sw-surface: #FFFFFF;
  --sw-surface-soft: #F4F1EA;
  --sw-text: #17202A;
  --sw-text-muted: #5E6B78;
  --sw-primary: #1677D2;
  --sw-primary-soft: #EAF5FC;
  --sw-purple: #7A4DDB;
  --sw-purple-soft: #F3EEFC;
  --sw-purple-ink: #4C2A8A;
  --sw-glacier: #6EC6F4;
  --sw-green: #4CAF72;
  --sw-green-soft: #EAF6EF;
  --sw-green-ink: #1C6B40;
  --sw-yellow: #F5C84B;
  --sw-yellow-soft: #FFF7D8;
  --sw-yellow-ink: #7A5A10;
  --sw-orange: #F29A4A;
  --sw-orange-soft: #FFF1E4;
  --sw-orange-ink: #8A4512;
  --sw-danger: #C4473A;
  --sw-danger-soft: #FDEEEC;
  --sw-border: rgba(23, 32, 42, 0.10);
  --sw-radius-sm: 14px;
  --sw-radius-md: 20px;
  --sw-radius-lg: 28px;
  --sw-shadow-sm: 0 1px 2px rgba(23, 32, 42, 0.04), 0 8px 24px rgba(23, 32, 42, 0.05);
  --sw-shadow-md: 0 12px 32px rgba(23, 32, 42, 0.08);
  --sw-font: Inter, "Segoe UI", system-ui, sans-serif;
  --sw-display: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, sans-serif;
  --sw-header-h: 5rem;
  --sw-wrap: 1280px;
  --sw-tabbar-h: 4rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--sw-background);
  color: var(--sw-text);
  font-family: var(--sw-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--sw-display);
  text-wrap: balance;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 0.85rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--sw-primary);
  text-underline-offset: 0.16em;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sw-glacier);
  outline-offset: 3px;
}

.sw-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--sw-surface);
  color: var(--sw-text);
  padding: 0.7rem 1rem;
  border-radius: var(--sw-radius-sm);
  box-shadow: var(--sw-shadow-md);
}

.sw-skip:focus {
  top: 0.75rem;
}

.sw-wrap {
  width: min(var(--sw-wrap), calc(100% - 1.5rem));
  margin-inline: auto;
}

.sw-kicker {
  margin-bottom: 0.45rem;
  color: var(--sw-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sw-lede {
  max-width: 40rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

.sw-note {
  color: var(--sw-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.sw-section {
  margin-top: 3.5rem;
}

.sw-section-head {
  margin-bottom: 1.35rem;
  max-width: 40rem;
}

.sw-prose p {
  max-width: 65ch;
}

.sw-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sw-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sw-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--sw-radius-lg);
  background: var(--sw-primary-soft);
}

.sw-main {
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .sw-wrap {
    width: min(var(--sw-wrap), calc(100% - 3rem));
  }

  .sw-section {
    margin-top: 4.5rem;
  }
}

@media (max-width: 1279px) {
  body {
    padding-bottom: calc(var(--sw-tabbar-h) + env(safe-area-inset-bottom));
  }

  body.sw-site {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
