:root {
  --text: #111;
  --text-2: #555;
  --text-3: #353434;
  --accent: #0066cc;
  --t: 0.2s ease;
  --bg: #fdfdfd;
  --border: #eaeaea;
}

* {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  color: var(--text);
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure {
  margin-bottom: 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

main {
  display: block;
  flex: 1;
}

p {
  hyphens: auto;
}

.wrapper {
  max-width: -webkit-calc(1024px - (30px * 2));
  max-width: calc(1024px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}

@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(1024px - (30px));
    max-width: calc(1024px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

.wrapper:after {
  content: "";
  display: table;
  clear: both;
}

.topbar {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: rgba(253, 253, 253, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: flex;
  gap: 1.5rem;
  margin-inline: auto;
}

.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.3rem 0;
  text-decoration: none;
  transition: color var(--t);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--t);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.page-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.page-title-description {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.column {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 320px;
  width: 100%;
}

.column h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.site-footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-2);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin-bottom: 0;
}

.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero .page-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero .page-title-description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-2);
}

.hero-actions {
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #0055aa;
  color: #fff;
}