:root {
  --ink: #101012;
  --paper: #fff8f4;
  --surface: #ffffff;
  --soft: #fff0e8;
  --muted: #636363;
  --line: #ddd6cf;
  --accent: #ff4b2f;
  --accent-2: #007c89;
  --success: #0f5132;
  --success-bg: #ecfdf3;
  --error: #b42318;
  --error-bg: #fff1f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(1080px, calc(100% - 38px));
  margin: 0 auto;
}

.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  width: 220px;
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-link {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 7px;
  padding: 12px 16px;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--accent);
  font-size: 15px;
  font-weight: 900;
}

.hero {
  position: relative;
  padding: 68px 0 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kicker,
.sidebar-kicker {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker {
  margin-bottom: 18px;
}

.kicker::before,
.sidebar-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 12px 0 0 var(--accent-2);
  flex: 0 0 auto;
}

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: 62px;
  line-height: .95;
  font-weight: 950;
}

.lede {
  max-width: 740px;
  color: #282828;
  font-size: 22px;
  line-height: 1.34;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: start;
  padding: 42px 0 82px;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-card {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px 26px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.article-card:hover {
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--accent);
  transform: translateY(-2px);
}

.article-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.article-card h2 {
  max-width: 720px;
  font-size: 31px;
  line-height: 1.05;
  margin-bottom: 11px;
}

.article-card a {
  text-decoration: none;
}

.article-card p,
.sidebar p,
.article-body p,
.faq p,
.signup-drawer p {
  color: var(--muted);
  line-height: 1.58;
}

.article-card > p:not(.article-meta) {
  max-width: 720px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.read-link::after {
  content: ">";
  color: var(--accent);
}

.article-body {
  max-width: 720px;
}

.article-body h2 {
  position: relative;
  font-size: 31px;
  line-height: 1.08;
  margin: 38px 0 12px;
  padding-top: 18px;
}

.article-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

.article-body p {
  font-size: 18px;
}

.inline-cta,
.sidebar {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.inline-cta {
  margin: 38px 0;
  box-shadow: 5px 5px 0 var(--soft);
}

.inline-cta h2,
.sidebar h2 {
  font-size: 24px;
  line-height: 1.08;
  margin: 8px 0 10px;
}

.sidebar {
  position: sticky;
  top: 18px;
  box-shadow: 5px 5px 0 var(--soft);
}

.sidebar ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sidebar li {
  line-height: 1.28;
}

.sidebar a {
  text-decoration: none;
  font-weight: 850;
}

.sidebar a:hover,
.article-card h2 a:hover,
.read-link:hover {
  color: var(--accent);
}

.signup-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.signup-form.is-complete label,
.signup-form.is-complete input,
.signup-form.is-complete button {
  display: none;
}

.signup-form label {
  position: absolute;
  left: -9999px;
}

.hp { display: none !important; }

.signup-form input {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  padding: 0 15px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.signup-form input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255,75,47,.14);
}

.signup-form input::placeholder {
  color: #928b86;
}

.signup-form button,
.open-main {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease, opacity .15s ease;
}

.signup-form button:hover,
.open-main:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.signup-form button:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.status {
  display: none;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.35;
}

.status.success {
  display: block;
  color: var(--success);
  background: var(--success-bg);
  border-color: rgba(15,81,50,.18);
}

.status.error {
  display: block;
  color: var(--error);
  background: var(--error-bg);
  border-color: rgba(180,35,24,.18);
}

.faq {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq h2 {
  font-size: 30px;
  margin: 34px 0 0;
}

.faq h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.signup-drawer {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--accent), 0 24px 80px rgba(16,16,18,.16);
  padding: 18px;
  transform: translateY(130%);
  transition: transform .25s ease;
  z-index: 20;
}

.signup-drawer.is-visible {
  transform: translateY(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 8px;
}

.drawer-head h2 {
  font-size: 22px;
  line-height: 1.05;
}

.drawer-close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 880px) {
  .shell { width: min(100% - 28px, 680px); }
  .topbar { min-height: 74px; }
  .logo { width: 190px; }
  .cta-link { display: none; }
  .hero { padding: 42px 0 34px; }
  h1 { font-size: 46px; }
  .lede { font-size: 20px; }
  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 54px;
  }
  .sidebar {
    position: static;
  }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 22px); }
  .logo { width: 178px; }
  .hero { padding: 36px 0 30px; }
  .kicker,
  .sidebar-kicker { font-size: 11px; }
  h1 { font-size: 38px; }
  .lede { font-size: 18px; }
  .article-card { padding: 20px; }
  .article-card h2,
  .article-body h2 { font-size: 26px; }
  .article-body p { font-size: 17px; }
  .inline-cta,
  .sidebar { padding: 20px; }
  .signup-drawer {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }
}
