:root {
  --bg: #f7f3ec;
  --card: #fffdf8;
  --ink: #263547;
  --soft-ink: #506070;
  --warm-ink: #4d4034;
  --line: #d9cdbb;
  --gold: #a77a35;
  --sage: #c4c8a8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a { color: inherit; }

.topbar {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--sage);
  display: grid;
  place-items: center;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--warm-ink);
}

.brand-name {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #171717;
}

.nav {
  display: flex;
  gap: 34px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  width: min(900px, calc(100% - 34px));
  margin: 70px auto 86px;
  text-align: center;
}

.overline {
  margin: 0 0 24px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.27em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.with-lines {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.with-lines::before,
.with-lines::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(56px, 8vw, 94px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.hero-baseline {
  margin: 0 auto;
  max-width: 620px;
  color: var(--warm-ink);
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.22;
}

.divider {
  margin: 40px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.divider span {
  width: 70px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.divider i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
}

.intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

.notes-section {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto 96px;
  text-align: center;
}

.notes-section h2 {
  max-width: 720px;
  margin: -8px auto 42px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.note-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.note-card img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  flex: 0 0 auto;
}

.note-copy {
  padding: 26px 22px 30px;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.note-copy h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d2137;
}

.note-copy p {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
}

.guides {
  width: min(760px, calc(100% - 34px));
  margin: 0 auto 100px;
  padding: 30px 0 6px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.guides .overline {
  margin-bottom: 16px;
  font-size: 11px;
}

.guides h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.guides p {
  max-width: 520px;
  margin: 0 auto 18px;
  color: var(--soft-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.button {
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 650;
}

.footer {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--soft-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 8px;
}

@media (max-width: 960px) {
  .note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    margin-top: 46px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
  }
  .nav {
    display: none;
  }
  .brand-mark {
    width: 45px;
    height: 45px;
    font-size: 15px;
  }
  .brand-name {
    font-size: 17px;
  }
  .with-lines {
    gap: 12px;
  }
  .with-lines::before,
  .with-lines::after {
    width: 24px;
  }
  .overline {
    letter-spacing: 0.19em;
  }
  h1 {
    font-size: 56px;
  }
  .note-grid {
    grid-template-columns: 1fr;
  }
  .note-card img {
    aspect-ratio: 4 / 3;
  }
  .guides {
    padding-inline: 18px;
  }
  .footer {
    display: block;
  }
  .footer p + p {
    margin-top: 8px;
  }
}
