:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #657282;
  --line: #d8e0e8;
  --paper: #fbfaf7;
  --base: #f2f5f7;
  --blue: #22577a;
  --green: #4d908e;
  --yellow: #f2c14e;
  --red: #d85c4a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--base);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 69px);
  padding: clamp(42px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.96), rgba(251, 250, 247, 0.72)),
    repeating-linear-gradient(0deg, rgba(34, 87, 122, 0.06) 0 1px, transparent 1px 42px);
}

.kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p:not(.kicker) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  text-decoration: none;
  font-weight: 700;
}

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

.button.secondary {
  color: var(--blue);
  background: transparent;
}

.hero-visual {
  margin: 0;
}

.desk-scene {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(77, 144, 142, 0.18), transparent 45%),
    #e6edf1;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.paper {
  position: absolute;
  background: var(--paper);
  border: 1px solid rgba(31, 41, 51, 0.14);
  box-shadow: 0 16px 28px rgba(31, 41, 51, 0.13);
}

.paper span {
  display: block;
  height: 10px;
  margin-top: 14px;
  background: #d7dde2;
}

.paper-main {
  left: 50px;
  top: 54px;
  width: 250px;
  height: 300px;
  padding: 24px;
  transform: rotate(-5deg);
}

.paper-title {
  height: auto !important;
  margin: 0 0 20px !important;
  color: var(--blue);
  background: transparent !important;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.paper-note {
  right: 42px;
  bottom: 48px;
  width: 245px;
  min-height: 170px;
  padding: 22px;
  transform: rotate(4deg);
}

.paper-note strong {
  display: block;
  margin-bottom: 16px;
}

.pencil {
  position: absolute;
  right: 162px;
  top: 98px;
  width: 22px;
  height: 230px;
  background: linear-gradient(var(--yellow) 0 72%, var(--ink) 72% 82%, var(--red) 82%);
  transform: rotate(34deg);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.18);
}

.section {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.topic-grid,
.article-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic-grid article,
.article-card {
  min-height: 220px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.topic-grid span,
.category {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.topic-grid h3,
.article-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.topic-grid p,
.article-card p {
  color: var(--muted);
  font-size: 15px;
}

.article-section {
  background: var(--paper);
}

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

.article-card {
  min-height: 240px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.about {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr);
  gap: 30px;
  background: var(--blue);
  color: var(--white);
}

.about .kicker,
.about h2 {
  color: var(--white);
}

.promise-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 40px;
  }

  .desk-scene {
    min-height: 330px;
  }

  .paper-main {
    left: 26px;
    top: 44px;
    width: 210px;
    height: 240px;
  }

  .paper-note {
    right: 24px;
    bottom: 32px;
    width: 190px;
  }

  .topic-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
