/* Lime Green Heels */
:root {
	--lime: #a4d82c;
	--lime-d: #5c7f0e;
	--ink: #1d211a;
	--muted: #5d6458;
	--line: #e3e7dc;
	--bg: #fbfcf8;
	--card: #fff;
	--soft: #f1f6e4;
	--r: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: #3f6a00; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 2.1rem; margin: .4em 0 .5em; }
h2 { font-size: 1.45rem; margin: 1.8em 0 .6em; }
h3 { font-size: 1.1rem; margin: 0 0 .25em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.12rem; color: #333a2e; }
.small { font-size: .88rem; color: var(--muted); }
.skip, .screen-reader-text { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 9; }

.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.top nav a { color: #e9f5cf; text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--lime); }

.breadcrumb ol { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 7px; }

.hero { display: flex; gap: 24px; align-items: flex-start; }
.hero-art { flex: 0 0 auto; background: #eef0ea; border-radius: var(--r); padding: 14px; }
.answer { background: var(--soft); border-left: 4px solid var(--lime); padding: 10px 16px; border-radius: 0 var(--r) var(--r) 0; }
.answer p { margin: 0; }

.pairs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pair { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.pair-art { flex: 0 0 140px; display: flex; align-items: flex-end; gap: 4px; }
.pair p { margin: .2em 0; }
.rank { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: .85rem; align-items: center; justify-content: center; margin-right: 4px; }
.tags { line-height: 2; }
.tag { display: inline-block; font-size: .75rem; background: var(--soft); border: 1px solid #d6e6b5; border-radius: 99px; padding: 0 9px; line-height: 1.8; }

.avoid { padding-left: 0; list-style: none; }
.avoid li { margin: .45em 0; }

.sw { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px; border: 1px solid rgba(0,0,0,.18); }

.table-wrap { overflow-x: auto; }
table.occ { border-collapse: collapse; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.occ th, .occ td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.occ thead th { background: var(--soft); font-size: .9rem; }
.occ tbody th { font-weight: 600; white-space: nowrap; }
.v2 { color: #2f6b00; font-weight: 600; }
.v1 { color: #8a6d00; }
.v0 { color: #a3352b; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); background: var(--card); border-radius: 99px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.chips a:hover { border-color: var(--lime); }

.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.card a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.card a:hover strong { color: #3f6a00; }
.card-art { display: flex; align-items: flex-end; gap: 4px; min-height: 54px; }
.card-note { font-size: .86rem; color: var(--muted); }

.outfits li, .looks li { margin: .45em 0; }
.looks { list-style: none; padding: 0; display: grid; gap: 12px; }
.look { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
.look-art { flex: 0 0 140px; display: flex; align-items: flex-end; gap: 4px; }
.shade-list { list-style: none; padding: 0; }
.shade-list li { margin: .4em 0; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: .5em 0 0; }

/* Home */
.intro h1 { font-size: 2.4rem; margin-top: .7em; }
.matcher { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.matcher-pick, .matcher-out { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.matcher-out { position: sticky; top: 12px; min-height: 300px; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.pick { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 2px solid transparent; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .8rem; text-align: center; line-height: 1.2; }
.pick .sw { width: 38px; height: 38px; }
.pick:hover, .pick.on { border-color: var(--lime); background: var(--soft); }
.custom { margin: 14px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.custom input { width: 48px; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; }
.m-head { display: flex; gap: 12px; align-items: center; }
.m-list { list-style: none; padding: 0; margin: 12px 0; }
.m-list li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.m-list li svg { flex: 0 0 auto; }
.btn { display: inline-block; background: var(--lime); color: var(--ink); text-decoration: none; padding: 9px 16px; border-radius: 99px; font-weight: 600; }
.btn:hover { background: #b9e84a; color: var(--ink); }
.feature { display: flex; gap: 24px; align-items: center; background: var(--ink); color: #f4f9ea; border-radius: var(--r); padding: 22px; margin: 32px 0; }
.feature h2 { margin-top: 0; }
.feature h2 a { color: var(--lime); }
.guides li { margin: .5em 0; }

.bottom { margin-top: 56px; background: #f0f3ea; border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: .92rem; }
.bottom a { color: #2f4f00; }

@media (max-width: 760px) {
	body { font-size: 16px; }
	h1, .intro h1 { font-size: 1.7rem; }
	.hero, .feature { flex-direction: column; }
	.matcher { grid-template-columns: 1fr; }
	.matcher-out { position: static; }
	.pair, .look { align-items: flex-start; }
	.pair-art, .look-art { flex-basis: 96px; }
	.pair-art .heel-svg, .look-art .heel-svg { width: 56px; height: 35px; }
	.pair-art .dress-svg, .look-art .dress-svg { width: 34px; height: 41px; }
}

/* Expansion: facts, pros/cons, calculator, green heel row */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 0 0 1em; }
.facts div { background: var(--soft); border-radius: var(--r); padding: 10px 14px; }
.facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.dots { color: var(--lime-d); letter-spacing: 2px; }
.dots .off { color: #d5dccb; }
.procon { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.calc h2 { margin-top: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .95rem; }
.calc input, .calc select { font: inherit; padding: 6px 8px; border: 1px solid #cfd6c4; border-radius: 8px; max-width: 120px; }
.unit-row { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.calc-out { margin-top: 14px; background: var(--soft); border-radius: var(--r); padding: 10px 16px; }
.calc-out .big { font-size: 1.4rem; margin: .2em 0; }
.shoe-row { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 10px; }
@media (max-width: 760px) { .procon { grid-template-columns: 1fr; } }
