:root {
  --ink: #3b3545;
  --muted: #80788c;
  --line: #e9e2ee;
  --surface: #fffdfd;
  --lavender: #c6b4db;
  --lavender-deep: #a88bc6;
  --blush: #f4b7b0;
  --cream: #fff9f1;
  --shadow: 0 22px 60px rgba(93, 67, 106, 0.13);
  --round: "M PLUS Rounded 1c", sans-serif;
  --sans: "Nunito", "M PLUS Rounded 1c", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #fbf8fc;
  font-family: var(--round);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 50% -10%, #fff 0 20%, transparent 55%);
}

.ambient { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.ambient-one { width: 450px; height: 450px; top: 45px; right: -170px; background: rgba(226, 211, 240, .46); }
.ambient-two { width: 260px; height: 260px; top: 520px; left: -150px; background: rgba(255, 224, 214, .36); }
.shell { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 32px 0 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 15px; font-weight: 900; letter-spacing: .02em; }
.brand-mark { display: grid; width: 29px; height: 29px; place-items: center; color: white; background: var(--ink); border-radius: 10px 10px 10px 2px; font-size: 21px; line-height: 1; transform: rotate(-7deg); }
.header-note { color: #a49baa; font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.status-dot, .live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: #9dc1a9; border-radius: 50%; box-shadow: 0 0 0 4px rgba(157, 193, 169, .17); }

.hero { display: block; min-height: 360px; padding: 90px 38px 78px; }
.hero-copy { max-width: 710px; }
.eyebrow { margin: 0 0 21px; color: #a38aaf; font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow span { color: var(--blush); margin-right: 7px; font-size: 16px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 5.3vw, 67px); font-weight: 700; letter-spacing: -.065em; line-height: 1.16; }
h1 em { color: #aa8dc1; font-style: normal; }
.hero-lead { color: var(--muted); font-size: 14px; line-height: 2; }
.hero-pills { display: flex; gap: 9px; margin-top: 30px; }
.hero-pills span { padding: 7px 11px; color: #9a91a2; border: 1px solid #ebe2ef; border-radius: 999px; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .03em; text-transform: uppercase; background: rgba(255,255,255,.55); }

.workspace { padding: 75px 0 100px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; padding: 0 10px; }
.section-intro .eyebrow { margin-bottom: 13px; }
.section-intro h2 { margin-bottom: 0; font-size: 36px; letter-spacing: -.05em; line-height: 1.25; }
.section-caption { margin-bottom: 4px; color: var(--muted); font-size: 12px; line-height: 1.8; text-align: right; }
.builder-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(330px, .97fr); gap: 20px; align-items: start; }
.options-panel, .preview-panel { min-width: 0; border: 1px solid rgba(230, 220, 235, .82); border-radius: 28px; background: rgba(255, 254, 254, .86); box-shadow: var(--shadow); }
.options-panel { padding: 35px 34px; }
.field-group { margin: 0; padding: 0 0 29px; border: 0; }
.field-group + .field-group { padding-top: 29px; border-top: 1px solid var(--line); }
legend { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; font-size: 13px; font-weight: 700; }
.field-number { display: inline-grid; width: 25px; height: 25px; place-items: center; color: white; background: var(--ink); border-radius: 9px 9px 9px 2px; font-family: "DM Mono", monospace; font-size: 9px; }
.input-wrap { position: relative; display: block; }
.input-wrap input { width: 100%; padding: 17px 91px 17px 17px; color: var(--ink); border: 1px solid #e8dfeb; border-radius: 13px; outline: 0; background: #fff; font: 500 13px var(--round); transition: .2s ease; }
.input-wrap input:focus { border-color: var(--lavender); box-shadow: 0 0 0 4px rgba(198,180,219,.2); }
.input-tail { position: absolute; top: 50%; right: 15px; color: #c1b7c8; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; transform: translateY(-50%); }
.field-hint { margin: 9px 0 -3px; color: #aaa0ae; font-size: 9px; line-height: 1.6; }
.textarea-wrap { display: block; }
.textarea-wrap textarea { display: block; width: 100%; min-height: 118px; resize: vertical; padding: 14px 16px; color: var(--ink); border: 1px solid #e8dfeb; border-radius: 13px; outline: 0; background: #fff; font: 500 12px/1.7 var(--round); transition: .2s ease; }
.textarea-wrap textarea:focus { border-color: var(--lavender); box-shadow: 0 0 0 4px rgba(198,180,219,.2); }
.font-guide { display: flex; align-items: center; justify-content: space-between; margin: -4px 0 13px; color: #afa4b5; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .03em; text-transform: uppercase; }
.font-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.font-filters.category-filters { margin-bottom: 15px; }
.font-filter { padding: 7px 10px; color: #9f94a6; border: 1px solid #e9e0ec; border-radius: 999px; cursor: pointer; background: #fff; font: 9px var(--round); transition: .2s ease; }
.font-filter:hover, .font-filter.active { color: var(--ink); border-color: var(--lavender); background: #f8f1fb; }
.font-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.font-card { display: block; min-height: 88px; padding: 12px; border: 1px solid #ece4ee; border-radius: 13px; cursor: pointer; background: #fff; transition: .2s ease; }
.font-card:hover, .font-card.selected { border-color: var(--lavender); background: #fbf7fd; box-shadow: 0 5px 15px rgba(150, 116, 166, .08); }
.font-card.is-hidden { display: none; }
.font-card-top { display: flex; align-items: start; justify-content: space-between; gap: 6px; }
.font-card-top strong { display: block; min-width: 0; margin-bottom: 7px; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.font-badges { display: flex; flex: 0 0 auto; gap: 3px; }
.font-badges i { padding: 3px 4px; color: #a696ae; border: 1px solid #ece4ee; border-radius: 4px; font-family: "DM Mono", monospace; font-size: 6px; font-style: normal; letter-spacing: -.02em; }
.font-sample { display: block; overflow: hidden; color: #928797; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.font-empty { margin: 12px 0 0; padding: 12px; color: #a491a7; border: 1px dashed #dfd0e4; border-radius: 10px; background: #fcf8fd; font-size: 10px; line-height: 1.5; text-align: center; }
.font-note { margin: 12px 0 -2px; color: #aaa0ae; font-size: 9px; line-height: 1.6; }
input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.font-rounded { font-family: var(--round); }
.font-system-sans { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; }
.font-noto-sans { font-family: "Noto Sans JP", sans-serif; }
.font-noto-serif { font-family: "Noto Serif JP", serif; }
.font-shippori { font-family: "Shippori Mincho", serif; }
.font-courier { font-family: "Courier New", monospace; }
.font-roboto-mono { font-family: "Roboto Mono", monospace; }
.font-kaisei { font-family: "Kaisei Opti", serif; }
.font-caveat { font-family: "Caveat", cursive; font-size: 15px; }
.design-card, .color-option { cursor: pointer; }
.design-card:hover, .design-card.selected { border-color: var(--lavender); background: #fbf7fd; box-shadow: 0 5px 15px rgba(150, 116, 166, .08); }
.design-card small { display: block; color: #9f97a5; font-size: 9px; line-height: 1.5; }
.design-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.design-card { display: flex; min-height: 74px; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #ece4ee; border-radius: 13px; background: #fff; transition: .2s ease; }
.design-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 11px; font-size: 23px; }
.fluffy-icon { color: #a993bf; background: #f0e9f8; }
.forest-icon { color: #7fa68f; background: #e7f2e9; }
.night-icon { color: #7574a3; background: #e8eafb; }
.minimal-icon { color: #ad9a89; background: #f4eee7; }
.retro-icon { color: #b78069; background: #f7e4d8; }
.seaside-icon { color: #72a9b8; background: #e1f1f4; }
.berry-icon { color: #d18a9f; background: #f9e5ed; }
.atelier-icon { color: #8da08c; background: #e8f0e5; }
.neon-icon { color: #8c78bd; background: #ece5fa; }
.japanese-icon { color: #a18778; background: #f1e8e0; }
.design-card strong { display: block; margin-bottom: 4px; font-size: 12px; }
.page-selection-head { display: flex; align-items: center; justify-content: space-between; margin: -5px 0 12px; color: #aaa0ae; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.page-selection-head strong { color: #9e81b0; font-size: 9px; font-weight: 500; }
.page-selection-head strong.complete { color: #8fa990; }
.page-selection-head strong.incomplete { color: #c68f8f; }
.page-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.page-choice { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 8px 10px; border: 1px solid #ece4ee; border-radius: 11px; cursor: pointer; background: #fff; transition: .2s ease; }
.page-choice:hover, .page-choice.selected { border-color: var(--lavender); background: #fbf7fd; box-shadow: 0 5px 15px rgba(150, 116, 166, .08); }
.page-check { position: absolute; opacity: 0; pointer-events: none; }
.page-checkmark { display: grid; flex: 0 0 19px; width: 19px; height: 19px; place-items: center; color: transparent; border: 1px solid #d9ccdf; border-radius: 6px; background: #fff; font-size: 10px; transition: .2s ease; }
.page-choice.selected .page-checkmark { color: #fff; border-color: var(--ink); background: var(--ink); }
.page-choice strong { display: block; margin-bottom: 2px; font-size: 11px; }
.page-choice small { display: block; color: #a49aa9; font-size: 8px; line-height: 1.4; }
.color-selection-head { display: flex; align-items: center; justify-content: space-between; margin: -5px 0 12px; color: #aaa0ae; font-family: "DM Mono", monospace; font-size: 8px; text-transform: uppercase; }
.color-selection-head strong { color: #9e81b0; font-size: 9px; font-weight: 500; }
.color-selection-head strong.complete { color: #8fa990; }
.color-selection-head strong.incomplete { color: #c68f8f; }
.color-choices { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.color-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 9px 3px; color: #958c9c; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-size: 9px; text-align: center; transition: .2s ease; }
.color-option:hover, .color-option.selected { color: var(--ink); border-color: #e8dfee; background: #fcf8fd; }
.color-option.selected::after { position: absolute; top: 4px; right: 4px; display: grid; width: 13px; height: 13px; place-items: center; content: "✓"; color: #fff; border-radius: 50%; background: var(--ink); font-size: 8px; }
.color-swatch { width: 30px; height: 30px; background: var(--swatch); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(90, 66, 102, .12); }
.color-check { position: absolute; opacity: 0; pointer-events: none; }
.custom-color-option { display: grid; grid-template-columns: auto auto 1fr auto auto auto; gap: 8px; margin-top: 9px; padding: 9px 10px; border-color: #ece4ee; text-align: left; }
.custom-color-option .color-swatch { width: 27px; height: 27px; }
.custom-color-label { font-size: 10px; font-weight: 700; }
#custom-color-picker { width: 26px; height: 26px; padding: 0; overflow: hidden; border: 0; border-radius: 7px; cursor: pointer; background: transparent; }
#custom-color-hex { color: #a699aa; font-family: "DM Mono", monospace; font-size: 8px; }
.eyedropper-button { padding: 6px 8px; color: #947da3; border: 1px solid #e8ddec; border-radius: 8px; cursor: pointer; background: #fff; font: 9px var(--round); }
.eyedropper-button:hover { color: var(--ink); border-color: var(--lavender); }
.color-note { margin: 10px 0 -2px; color: #aaa0ae; font-size: 9px; line-height: 1.6; }

.preview-panel { padding: 18px; background: #f4eef8; }
.preview-topline { display: flex; justify-content: space-between; padding: 0 5px 14px; color: #a193ae; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.live-label { color: #99ad9c; }
.live-dot { width: 5px; height: 5px; margin-right: 5px; box-shadow: none; }
.preview-card { position: relative; display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 36px 20px 30px; color: #5c5065; border-radius: 20px; background: linear-gradient(150deg, #fff 10%, #faf4f6 100%); text-align: center; transition: background .3s ease; }
.preview-card::before, .preview-card::after { position: absolute; width: 98px; height: 98px; content: ""; border: 1px solid rgba(198, 180, 219, .32); border-radius: 50%; }
.preview-card::before { top: -48px; left: -37px; }
.preview-card::after { right: -34px; bottom: -45px; width: 125px; height: 125px; }
.preview-decoration { position: absolute; top: 23px; color: #cfb7d9; font-size: 21px; }
.preview-kicker { margin-bottom: 10px; color: #b7a4b7; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.preview-card h3 { max-width: 100%; margin: 0; font-size: clamp(24px, 4vw, 35px); letter-spacing: -.06em; line-height: 1.3; }
.preview-rule { width: 42px; height: 1px; margin: 15px 0 14px; background: #dabac5; }
.preview-description { margin-bottom: 18px; color: #8d8295; font-size: 11px; line-height: 1.75; }
.preview-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.preview-tags span { padding: 5px 9px; color: #967e9f; border: 1px solid #eadce7; border-radius: 999px; font-size: 9px; background: rgba(255,255,255,.7); }
.preview-bubble { position: absolute; right: 16px; bottom: 17px; display: grid; width: 46px; height: 46px; place-items: center; color: #c4939a; border: 1px solid #f0d0d0; border-radius: 50%; font-family: "DM Mono", monospace; font-size: 7px; line-height: 1.2; transform: rotate(10deg); }
.copy-box { margin-top: 13px; padding: 18px; border-radius: 17px; background: #fff; box-shadow: 0 8px 20px rgba(114, 81, 129, .08); }
.copy-box-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; font-size: 11px; font-weight: 700; }
.copy-icon { display: inline-grid; width: 20px; height: 20px; margin-right: 6px; place-items: center; color: #9f7eb3; border-radius: 7px; background: #f1e9f6; font-size: 13px; }
.copy-hint { color: #b9aebe; font-size: 9px; font-weight: 400; }
.copy-box pre { min-height: 94px; margin: 0 0 13px; padding: 13px; overflow: auto; color: #7c7081; border: 1px solid #f0eaf2; border-radius: 10px; background: #fcfafc; font: 10px/2 var(--round); white-space: pre-wrap; }
.copy-button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 13px 15px; color: white; border: 0; border-radius: 11px; cursor: pointer; background: var(--ink); font: 700 11px var(--round); transition: transform .2s ease, background .2s ease; }
.copy-button:hover { background: #594b63; transform: translateY(-2px); }
.copy-button:disabled, .copy-button:disabled:hover { cursor: not-allowed; opacity: .42; background: #938a98; transform: none; }
.copy-arrow { font-size: 17px; font-weight: 400; }
.copy-status { min-height: 15px; margin: 8px 0 0; color: #8fa990; font-size: 9px; text-align: center; }

.site-footer { display: flex; justify-content: space-between; padding: 23px 10px 35px; color: #a99eae; border-top: 1px solid #eee7f0; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer i { color: var(--blush); font-size: 13px; font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 840px) {
  .hero { padding-right: 0; padding-left: 0; }
  .builder-grid { grid-template-columns: 1fr; }
  .preview-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 18px; }
  .preview-topline { grid-column: 1 / -1; margin-bottom: -4px; }
  .copy-box { margin-top: 0; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 520px); }
  .site-header { padding-top: 20px; }
  .header-note { display: none; }
  .hero { padding-top: 47px; padding-bottom: 0; }
  h1 { font-size: 43px; }
  .section-intro { display: block; padding: 0; }
  .section-intro h2 { font-size: 31px; }
  .section-caption { margin-top: 18px; text-align: left; }
  .workspace { padding-top: 75px; }
  .options-panel { padding: 27px 18px; border-radius: 22px; }
  .font-library { grid-template-columns: 1fr; }
  .design-choices { grid-template-columns: 1fr; }
  .page-choices { grid-template-columns: 1fr; }
  .color-choices { grid-template-columns: repeat(5, 1fr); }
  .custom-color-option { grid-template-columns: auto auto 1fr auto; }
  .custom-color-option #custom-color-hex { grid-column: 3; grid-row: 2; }
  .custom-color-option .eyedropper-button { grid-column: 4; grid-row: 1 / span 2; }
  .preview-panel { display: block; padding: 13px; border-radius: 22px; }
  .preview-topline { padding: 5px 4px 13px; }
  .copy-box { margin-top: 13px; }
  .site-footer { display: block; padding-right: 0; padding-left: 0; line-height: 2.5; }
  .site-footer span { display: block; }
}

/* Reference-inspired editorial theme: high contrast, generous whitespace, lime details. */
body {
  color: #f2f0e9;
  background: #151514;
}

body::before {
  z-index: -3;
  background:
    radial-gradient(circle at 82% 13%, rgba(198, 240, 106, .11), transparent 23%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #151514;
  background-size: auto, 70px 70px, 70px 70px, auto;
}

.ambient { display: none; }
.shell { width: min(1160px, calc(100% - 64px)); }
.site-header { padding: 24px 0; border-bottom: 1px solid #353531; }
.brand { color: #f2f0e9; font-family: "Noto Sans JP", sans-serif; letter-spacing: .05em; }
.brand-mark { color: #151514; background: #f2f0e9; border-radius: 50%; transform: none; }
.site-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; margin-right: 33px; }
.site-nav a { color: #aaa9a2; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.site-nav a:hover { color: #c6f06a; }
.header-note { color: #c6f06a; }
.status-dot { background: #c6f06a; box-shadow: 0 0 0 4px rgba(198,240,106,.12); }

.hero { position: relative; min-height: 590px; padding: 135px 0 125px; }
.hero::after { position: absolute; right: 5%; bottom: 76px; width: 110px; height: 1px; content: ""; background: #c6f06a; box-shadow: 0 0 0 12px rgba(198,240,106,.06); }
.hero-copy { max-width: 860px; }
.eyebrow { color: #c6f06a; font-size: 10px; letter-spacing: .13em; }
.eyebrow span { color: #c6f06a; }
h1, h2, h3 { font-family: "Noto Sans JP", sans-serif; }
h1 { max-width: 860px; color: #f2f0e9; font-size: clamp(48px, 8vw, 102px); font-weight: 700; letter-spacing: -.09em; line-height: 1.04; }
h1 em { color: #c6f06a; }
.hero-lead { max-width: 530px; color: #aaa9a2; font-size: 14px; line-height: 2.05; }
.hero-pills { gap: 8px; margin-top: 38px; }
.hero-pills span { color: #bdbcb4; border-color: #474741; background: transparent; }

.workspace { padding: 110px 0 130px; border-top: 1px solid #353531; }
.section-intro { margin-bottom: 42px; padding: 0; }
.section-intro h2 { color: #f2f0e9; font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -.08em; }
.section-caption { color: #aaa9a2; }
.builder-grid { gap: 26px; }
.options-panel, .preview-panel { border-color: #3b3b36; border-radius: 16px; background: #20201e; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.options-panel { padding: 38px 34px; }
.field-group + .field-group { border-top-color: #383834; }
legend { color: #f2f0e9; }
.field-number { color: #151514; background: #c6f06a; border-radius: 50%; }
.input-wrap input, .textarea-wrap textarea { color: #f2f0e9; border-color: #484842; background: #292926; }
.input-wrap input::placeholder, .textarea-wrap textarea::placeholder { color: #777770; }
.input-wrap input:focus, .textarea-wrap textarea:focus { border-color: #c6f06a; box-shadow: 0 0 0 4px rgba(198,240,106,.1); }
.input-tail { color: #777770; }
.field-hint, .font-note, .color-note { color: #8e8d86; }
.font-guide, .color-selection-head, .page-selection-head { color: #8e8d86; }
.font-selection-head strong, .color-selection-head strong, .page-selection-head strong { color: #c6f06a; }
.font-filter { color: #aaa9a2; border-color: #484842; background: #292926; }
.font-filter:hover, .font-filter.active { color: #151514; border-color: #c6f06a; background: #c6f06a; }
.font-card, .design-card, .page-choice { color: #f2f0e9; border-color: #41413b; background: #292926; }
.font-card:hover, .font-card.selected, .design-card:hover, .design-card.selected, .page-choice:hover, .page-choice.selected { border-color: #c6f06a; background: #30302b; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.font-card-top strong, .design-card strong, .page-choice strong { color: #f2f0e9; }
.font-sample, .choice-sub, .design-card small, .page-choice small { color: #a2a198; }
.font-badges i { color: #a2a198; border-color: #4a4a43; }
.font-empty { color: #bbb9af; border-color: #62625a; background: #292926; }
.page-checkmark { color: transparent; border-color: #67675f; background: #20201e; }
.page-choice.selected .page-checkmark { color: #151514; border-color: #c6f06a; background: #c6f06a; }
.color-option { color: #aaa9a2; }
.color-option:hover, .color-option.selected { color: #f2f0e9; border-color: #c6f06a; background: #30302b; }
.color-option.selected::after { color: #151514; background: #c6f06a; }
.custom-color-option { border-color: #41413b; }
.eyedropper-button { color: #c6f06a; border-color: #56564e; background: #292926; }
.eyedropper-button:hover { color: #151514; border-color: #c6f06a; background: #c6f06a; }

.preview-panel { padding: 20px; background: #20201e; }
.preview-topline { color: #8e8d86; }
.live-label { color: #c6f06a; }
.preview-card { color: #1b1b19; border-radius: 12px; background: #eae8df; }
.preview-card::before, .preview-card::after { border-color: rgba(27,27,25,.15); }
.preview-decoration { color: #788e45; }
.preview-kicker { color: #77766e; }
.preview-rule { background: #7d914b; }
.preview-description { color: #696861; }
.preview-tags span { color: #4d5540; border-color: #c8cfb7; background: rgba(255,255,255,.42); }
.preview-bubble { color: #687a3e; border-color: #aebd8a; }
.copy-box { background: #292926; box-shadow: none; }
.copy-icon { color: #151514; background: #c6f06a; }
.copy-hint { color: #8e8d86; }
.copy-box pre { color: #d6d4ca; border-color: #41413b; background: #1d1d1b; }
.copy-button { color: #151514; background: #c6f06a; }
.copy-button:hover { color: #151514; background: #d8f79b; }
.copy-button:disabled, .copy-button:disabled:hover { color: #aaa9a2; background: #41413b; }
.copy-status { color: #c6f06a; }
.site-footer { color: #777770; border-top-color: #353531; }

@media (max-width: 840px) {
  .site-nav { gap: 14px; margin-right: 18px; }
  .hero { min-height: 520px; padding-top: 100px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 520px); }
  .site-header { align-items: center; }
  .site-nav { display: none; }
  .header-note { margin-left: auto; }
  .hero { min-height: 500px; padding-top: 85px; }
  .hero::after { right: 12px; bottom: 48px; }
  h1 { font-size: 48px; }
  .workspace { padding-top: 80px; }
  .options-panel { padding: 27px 18px; }
}

/* White editorial variant */
body {
  color: #171715;
  background: #f7f7f3;
}

body::before {
  background:
    radial-gradient(circle at 86% 11%, rgba(198, 220, 150, .22), transparent 22%),
    linear-gradient(rgba(23,23,21,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,21,.035) 1px, transparent 1px),
    #f7f7f3;
  background-size: auto, 70px 70px, 70px 70px, auto;
}

.site-header { border-bottom-color: #deded8; }
.brand { color: #171715; }
.brand-mark { color: #f7f7f3; background: #171715; }
.site-nav a { color: #6e6e67; }
.site-nav a:hover { color: #171715; }
.header-note { color: #738341; }
.status-dot { background: #9caf5d; box-shadow: 0 0 0 4px rgba(156,175,93,.15); }
.hero { min-height: 590px; }
.hero::after { background: #9caf5d; box-shadow: 0 0 0 12px rgba(156,175,93,.1); }
.eyebrow { color: #738341; }
.eyebrow span { color: #9caf5d; }
h1 { color: #171715; }
h1 em { color: #738341; }
.hero-lead { color: #62625c; }
.hero-pills span { color: #65655e; border-color: #d4d4cd; background: rgba(255,255,255,.5); }
.workspace { border-top-color: #deded8; }
.section-intro h2 { color: #171715; }
.section-caption { color: #66665f; }
.options-panel, .preview-panel { border-color: #d9d9d1; background: #fff; box-shadow: 0 18px 50px rgba(33,33,27,.07); }
.field-group + .field-group { border-top-color: #e6e6df; }
legend { color: #171715; }
.field-number { color: #fff; background: #171715; }
.input-wrap input, .textarea-wrap textarea { color: #171715; border-color: #d5d5ce; background: #fff; }
.input-wrap input::placeholder, .textarea-wrap textarea::placeholder { color: #aaa9a1; }
.input-wrap input:focus, .textarea-wrap textarea:focus { border-color: #9caf5d; box-shadow: 0 0 0 4px rgba(156,175,93,.15); }
.input-tail { color: #aaa9a1; }
.field-hint, .font-note, .color-note { color: #8b8b84; }
.font-guide, .color-selection-head, .page-selection-head { color: #8b8b84; }
.font-selection-head strong, .color-selection-head strong, .page-selection-head strong { color: #738341; }
.font-filter { color: #62625c; border-color: #d5d5ce; background: #fff; }
.font-filter:hover, .font-filter.active { color: #fff; border-color: #171715; background: #171715; }
.font-card, .design-card, .page-choice { color: #171715; border-color: #e0e0d9; background: #fff; }
.font-card:hover, .font-card.selected, .design-card:hover, .design-card.selected, .page-choice:hover, .page-choice.selected { border-color: #9caf5d; background: #f7faed; box-shadow: 0 6px 18px rgba(52,59,34,.08); }
.font-card-top strong, .design-card strong, .page-choice strong { color: #171715; }
.font-sample, .choice-sub, .design-card small, .page-choice small { color: #77776f; }
.font-badges i { color: #77776f; border-color: #deded7; }
.font-empty { color: #66665f; border-color: #c9c9c0; background: #fafaf6; }
.page-checkmark { color: transparent; border-color: #c9c9c0; background: #fff; }
.page-choice.selected .page-checkmark { color: #fff; border-color: #171715; background: #171715; }
.color-option { color: #77776f; }
.color-option:hover, .color-option.selected { color: #171715; border-color: #9caf5d; background: #f7faed; }
.color-option.selected::after { color: #fff; background: #171715; }
.custom-color-option { border-color: #e0e0d9; }
.eyedropper-button { color: #55554e; border-color: #d2d2ca; background: #fff; }
.eyedropper-button:hover { color: #fff; border-color: #171715; background: #171715; }
.preview-panel { background: #ecece5; }
.preview-topline { color: #77776f; }
.live-label { color: #738341; }
.preview-card { color: #f4f4ee; background: #1b1b19; }
.preview-card::before, .preview-card::after { border-color: rgba(255,255,255,.15); }
.preview-decoration { color: #b4cd78; }
.preview-kicker { color: #aaa9a1; }
.preview-rule { background: #b4cd78; }
.preview-description { color: #cac9c1; }
.preview-tags span { color: #d6e2b4; border-color: #62733f; background: rgba(255,255,255,.04); }
.preview-bubble { color: #d6e2b4; border-color: #76894c; }
.copy-box { background: #fff; box-shadow: 0 8px 22px rgba(33,33,27,.06); }
.copy-icon { color: #fff; background: #171715; }
.copy-hint { color: #8b8b84; }
.copy-box pre { color: #4e4e48; border-color: #e0e0d9; background: #fafaf7; }
.copy-button { color: #fff; background: #171715; }
.copy-button:hover { color: #fff; background: #3b3b35; }
.copy-button:disabled, .copy-button:disabled:hover { color: #8b8b84; background: #e1e1da; }
.copy-status { color: #738341; }
.site-footer { color: #85857d; border-top-color: #deded8; }

@media (max-width: 840px) {
  .site-nav { gap: 14px; margin-right: 18px; }
}

@media (max-width: 620px) {
  .header-note { color: #738341; }
}
