@import url('/css/stylecheat.css');

:root {
  --yellow: oklch(0.86 0.13 90);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #18181b;
  color: var(--foreground);
  font-family: system-ui, sans-serif;
}

codecane-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  padding: 96px calc(var(--unit) * 6) calc(var(--unit) * 8);
}

codecane-page p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted-foreground);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

site-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--unit) * 6);
  max-width: 720px;
  min-height: calc(100dvh - 192px);
  text-align: center;
}

logotext-codecane {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

logotext-codecane span {
  color: var(--yellow);
}

site-hero h1 {
  font-size: 28px;
  font-weight: 600;
}

p[tagline] {
  font-size: 18px;
}

codie[install] {
  width: auto;
}

site-section {
  display: flex;
  flex-direction: column;
  gap: calc(var(--unit) * 8);
  width: 100%;
  max-width: 1040px;
  scroll-margin-top: calc(var(--unit) * 8);
}

section-head {
  display: flex;
  flex-direction: column;
  gap: calc(var(--unit) * 3);
  max-width: 680px;
}

section-head h2 {
  font-size: 34px;
}

section-head p {
  font-size: 17px;
}

section-grid,
principle-grid {
  display: grid;
  gap: calc(var(--unit) * 8);
}

section-grid {
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

principle-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

principle-item {
  display: flex;
  flex-direction: column;
  gap: calc(var(--unit) * 2);
  padding-top: calc(var(--unit) * 5);
  border-top: 1px solid var(--border);
}

principle-item h3 {
  font-size: 20px;
}

site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--unit) * 6);
  color: var(--muted-foreground);
}
