:root {
  color-scheme: dark;
  --background: #161d18;
  --panel: #202a23;
  --text: #f3eee3;
  --muted: #bdc7bb;
  --ember: #f2ae77;
  --line: #415047;
  --paper: #efe9dc;
  --ink: #243029;
  --copper: #8c3e24;
  --display: Georgia, "Apple SD Gothic Neo", "Noto Sans KR", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.65 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: .16rem solid var(--ember); outline-offset: .3rem; }
img { display: block; max-width: 100%; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.055em; }
h1 { font-size: clamp(3.1rem, 5.6vw, 5.8rem); }
h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.03em; }

.wrap { width: min(100% - 5rem, 80rem); margin-inline: auto; }
.skip {
  position: fixed;
  inset: .6rem auto auto .8rem;
  z-index: 2;
  transform: translateY(-150%);
  border-radius: .4rem;
  padding: .5rem .9rem;
  background: var(--paper);
  color: var(--ink);
}
.skip:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 5.25rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 720; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: .55rem; }
.site-header nav, .footer-layout nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.site-header nav a, .footer-layout nav a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.site-header nav a:hover, .footer-layout nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--ember); }

.hero {
  display: grid;
  grid-template-columns: minmax(17rem, .86fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(4rem, 8vw, 7.5rem);
}
.eyebrow { color: var(--ember); font-weight: 650; font-size: .92rem; margin-bottom: .9rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.lead { font-size: clamp(1.08rem, 1.65vw, 1.25rem); color: var(--muted); max-width: 38rem; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.hero .actions { margin-top: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .48rem;
  color: #251b11;
  background: var(--ember);
  font-weight: 740;
  text-decoration: none;
}
.button:hover { background: #ffd2a9; }
.text-link { display: inline-block; color: var(--ember); font-weight: 640; padding-block: .45rem; }
.meta { color: var(--muted); font-size: .91rem; margin-top: .9rem; }
.image-link {
  display: block;
  border-radius: .8rem;
  box-shadow: 0 1.3rem 3rem #090e0b6b;
}
.image-link img {
  width: 100%;
  height: auto;
  border: 1px solid #526055;
  border-radius: inherit;
  background: #edf0e9;
}
figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.philosophy { background: var(--paper); color: var(--ink); }
.philosophy .eyebrow { color: var(--copper); }
.philosophy a:focus-visible { outline-color: var(--copper); }
.statement {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  gap: 2rem clamp(2rem, 8vw, 9rem);
  align-items: start;
  padding-block: clamp(3.3rem, 7vw, 6rem);
}
.statement-copy p { max-width: 38rem; font-size: 1.1rem; line-height: 1.8; }
.statement-copy p + p { margin-top: 1.05rem; }
.statement-copy a { color: var(--copper); font-weight: 650; }

.features { padding-block: clamp(4rem, 8vw, 7rem); }
.section-heading { margin-bottom: 2rem; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 5vw, 5rem); }
.feature-list article { border-top: 1px solid var(--line); padding-block: 1.35rem 1.55rem; }
.feature-list article p { margin-top: .65rem; max-width: 32rem; color: var(--muted); }

.screens { background: var(--panel); }
.screen-layout {
  display: grid;
  grid-template-columns: minmax(12rem, .6fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(2.25rem, 6vw, 6rem);
  padding-block: clamp(3.75rem, 7vw, 6.75rem);
}
.screen-copy h2 + p { color: var(--muted); margin-top: 1.15rem; }
.plugin-links { display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: .65rem; }
.plugin-section { border-top: 1px solid var(--line); padding-block: 2rem 2.65rem; }
.plugin-section:last-child { padding-bottom: 0; }
.plugin-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.plugin-section > p, .plugin-steps { color: var(--muted); margin-top: .9rem; }
.plugin-section a { color: var(--ember); }
.plugin-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0 1.6rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}
.plugin-catalog li { border-top: 1px solid var(--line); padding-block: 1rem; }
.plugin-catalog h3 { font-size: 1.15rem; }
.plugin-catalog p { color: var(--muted); margin-top: .35rem; }
.plugin-steps { padding-inline-start: 1.4rem; }
.plugin-steps li + li { margin-top: .55rem; }
.install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding-block: clamp(3.75rem, 8vw, 6rem);
}
.install > div:first-child > p:last-child { max-width: 34rem; color: var(--muted); margin-top: 1rem; }
.install .actions { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem 2rem;
  color: var(--muted);
}
.footer-layout strong { color: var(--text); }

.journal { max-width: 65rem; padding-block: clamp(3.75rem, 8vw, 7rem); }
.journal-heading { margin-bottom: 3rem; }
.journal-heading .lead { margin-top: 1.1rem; }
.journal-entries article { border-top: 1px solid var(--line); padding-block: 1.7rem 2rem; }
.journal-entries h2 { font-size: clamp(1.55rem, 3.4vw, 2.65rem); }
.journal-entries article > p:not(.eyebrow) { color: var(--muted); margin-top: .8rem; max-width: 45rem; }
.journal-entries a { margin-top: .55rem; }
.journal-archive { border-top: 1px solid var(--line); padding-top: 1.4rem; color: var(--muted); }
.journal-archive a { color: var(--ember); }

@media (max-width: 66rem) {
  .install { align-items: start; flex-direction: column; }
}
@media (max-width: 52rem) {
  .wrap { width: calc(100% - 2.75rem); }
  .hero { grid-template-columns: 1fr; }
  .statement, .screen-layout { grid-template-columns: 1fr; }
}
@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header, .footer-layout { flex-direction: column; align-items: flex-start; }
  .site-header { padding-block: 1rem; gap: .75rem; }
  .site-header nav, .footer-layout nav { gap: .55rem 1.05rem; }
  .hero { padding-top: 3rem; }
  .feature-list { grid-template-columns: 1fr; }
  .image-link { border-radius: .55rem; }
}
