:root {
  color-scheme: light;
  font-family: 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: #262821;
  background: #f7f5ee;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; }
button { font: inherit; }

.page-shell { max-width: 1280px; min-height: 100vh; margin: 0 auto; padding: 0 60px; display: flex; flex-direction: column; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dedfd5; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: -.05em; color: #20241e; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #364a30; color: #f8f5e9; font-size: 19px; font-weight: 600; font-style: italic; }
.brand-dot { color: #a3b586; }
.host-pill { display: inline-flex; gap: 9px; align-items: center; padding: 9px 13px; border: 1px solid #d9ded0; border-radius: 999px; color: #69715e; font-size: 11px; font-weight: 700; letter-spacing: .035em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #87ab70; box-shadow: 0 0 0 3px #e3ebdc; }
main { flex: 1; }
.intro { max-width: 760px; padding: 88px 0 85px; }
.eyebrow, .section-kicker { color: #768667; font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.eyebrow { display: flex; gap: 12px; align-items: center; }
.eyebrow-line { width: 22px; height: 1px; background: #8a9a77; }
h1 { margin: 23px 0 22px; font-size: clamp(48px, 6vw, 82px); line-height: 1.26; letter-spacing: -.08em; font-weight: 700; }
h1 em { color: #728d65; font-style: normal; }
.intro p { max-width: 520px; margin: 0; color: #777d71; font-size: 15px; line-height: 2.1; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 21px; margin-top: 34px; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 0 23px; border: 0; border-radius: 9px; background: #31472e; color: #fff; cursor: pointer; font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px #31472e1c; transition: transform .2s, background .2s, box-shadow .2s; }
.primary-button:hover { background: #425f3d; transform: translateY(-2px); box-shadow: 0 12px 22px #31472e27; }
.primary-button:active { transform: translateY(0); }
.button-icon { font-size: 23px; line-height: 1; font-weight: 400; }
.keyboard-hint { color: #92978b; font-size: 11px; }
.palette-section { padding: 32px; border: 1px solid #e2e4d9; border-radius: 18px; background: #fffefa; box-shadow: 0 20px 60px #313c2310; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.section-heading h2 { margin: 8px 0 0; font-size: 22px; letter-spacing: -.06em; }
.palette-number { color: #a2a79c; font-size: 12px; font-weight: 600; }
.palette-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.swatch { position: relative; overflow: hidden; min-height: 250px; padding: 18px; border: 0; border-radius: 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s, box-shadow .2s; }
.swatch:hover { transform: translateY(-4px); box-shadow: 0 12px 22px #00000019; }
.swatch:focus-visible, .primary-button:focus-visible, .text-button:focus-visible { outline: 3px solid #baddaa; outline-offset: 3px; }
.swatch-label { display: inline-block; align-self: flex-start; padding: 7px 9px; border-radius: 5px; background: #ffffffde; color: #31382f; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.swatch-index { position: absolute; top: 16px; left: 17px; padding: 4px 6px; border-radius: 4px; background: #ffffffb5; color: #485147; font-size: 11px; font-weight: 700; }
.palette-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 23px; }
.palette-footer p { margin: 0; color: #9a9f94; font-size: 11px; }
.sparkle { margin-right: 7px; color: #a8b993; font-size: 16px; }
.text-button { padding: 7px 0; border: 0; background: none; color: #415a3b; font-size: 11px; font-weight: 700; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.about-box { display: flex; align-items: flex-start; gap: 20px; margin: 24px 0 76px; padding: 26px 30px; border: 1px solid #e3e7d9; border-radius: 13px; background: #eaf0e3; }
.about-icon { color: #638257; font-size: 25px; line-height: 1; }
.about-box h2 { margin: 0 0 8px; color: #354a31; font-size: 13px; }
.about-box p { max-width: 760px; margin: 0; color: #72806e; font-size: 12px; line-height: 1.85; }
.site-footer { display: flex; justify-content: space-between; gap: 15px; padding: 24px 0 30px; border-top: 1px solid #dedfd5; color: #a0a59b; font-size: 11px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 8px; background: #283c28; color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 8px 25px #0003; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) {
  .page-shell { padding: 0 20px; }
  .site-header { min-height: 74px; }
  .host-pill { padding: 7px 9px; font-size: 9px; }
  .intro { padding: 68px 0 64px; }
  h1 { font-size: clamp(43px, 11vw, 66px); }
  .palette-section { padding: 18px; }
  .palette-grid { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 5px; }
  .swatch { min-height: 200px; }
  .about-box { margin-bottom: 48px; padding: 22px; }
}
@media (max-width: 480px) {
  .brand { font-size: 13px; }
  .brand-mark { width: 30px; height: 30px; font-size: 17px; }
  .host-pill { max-width: 150px; white-space: nowrap; }
  .keyboard-hint { display: none; }
  .palette-footer { align-items: flex-start; }
  .palette-footer p { max-width: 150px; line-height: 1.7; }
  .site-footer { flex-direction: column; gap: 5px; }
}
