/* ══════════════════════════════════════════════════ */
/* StyleHand — style2.css                            */
/* ══════════════════════════════════════════════════ */

/* ── GLOBAL RESET ── */
ul { list-style: none; margin: 0; padding: 0; }

:root {
  --bg: #FFFFFF;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --mid: #6B6560;
  --light: #9E9990;
  --border: #E2D9D0;
  --accent: #1A1A1A;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--bg);color:var(--ink);font-family:'Inter',sans-serif;font-size:15px;line-height:1.6;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}

/* ── NAV ── */
.nav{background:var(--white);border-bottom:none;padding:0;}
.nav-inner{max-width:1200px;margin:0 auto;height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 2.5rem;margin-top:1rem;}
.nav-logo{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.9rem;font-weight:600;letter-spacing:-0.01em;color:var(--ink);}
.nav-right{display:flex;align-items:center;gap:1rem;}
.lang-wrap{position:relative;}
.lang-btn{display:flex;align-items:center;gap:4px;font-family:'Inter',sans-serif;font-size:0.78rem;font-weight:500;color:var(--ink);background:transparent;border:1px solid var(--border);border-radius:999px;padding:6px 12px;cursor:pointer;transition:border-color 0.2s;letter-spacing:0.03em;}
.lang-btn:hover{border-color:var(--ink);}
.lang-dropdown{display:none;position:absolute;top:calc(100% + 6px);right:0;background:var(--white);border:1px solid var(--border);border-radius:8px;list-style:none;min-width:100%;z-index:200;overflow:hidden;text-align:center;}
.lang-drop{display:none;position:absolute;top:calc(100% + 6px);right:0;background:var(--white);border:1px solid var(--border);border-radius:8px;list-style:none;min-width:100%;z-index:200;overflow:hidden;text-align:center;}
.lang-drop.open{display:block;}
.lang-dropdown.open{display:block;}
.lang-drop li a{display:block;padding:8px 16px;font-size:0.78rem;font-weight:500;color:var(--mid);transition:background 0.15s,color 0.15s;}
.lang-drop li:first-child a{border-radius:8px 8px 0 0;}
.lang-drop li:last-child a{border-radius:0 0 8px 8px;}
.lang-drop li a:hover{background:var(--bg);color:var(--ink);}

/* ── HERO ── */
.hero{max-width:1200px;margin:0 auto;padding:2rem 2.5rem 1rem;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;min-height:auto;}
.hero-eyebrow{font-size:0.65rem;font-weight:500;letter-spacing:0.2em;text-transform:uppercase;color:var(--light);margin-bottom:1.5rem;}
.hero-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(3rem,5.5vw,5rem);font-weight:600;line-height:1.0;letter-spacing:-0.02em;margin-bottom:1.5rem;color:var(--ink);}
.hero-title em{font-style:italic;font-weight:400;}
.hero-sub{font-size:0.95rem;color:var(--mid);line-height:1.75;font-weight:300;margin-bottom:2.5rem;max-width:360px;}
.btn-dark{display:inline-flex;align-items:center;gap:8px;padding:13px 28px;background:var(--ink);color:#fff;border-radius:4px;font-size:0.82rem;font-weight:500;font-family:'Inter',sans-serif;transition:opacity 0.2s;width:fit-content;}
.btn-dark:hover{opacity:0.8;color:#fff;}





.hero-img{width:100%;height:auto;display:block;}

/* ── TOOLS ── */
.tools-section{background:var(--white);}
.tools-bottom-line{border-top:1px solid var(--border);}
.tools-header{display:flex;align-items:baseline;justify-content:space-between;gap:2rem;padding:1rem 0;border-bottom:1px solid var(--border);margin-bottom:0;}
.tools-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2rem,3.5vw,3rem);font-weight:600;letter-spacing:-0.02em;line-height:1.1;}
.tools-header-desc{font-size:0.82rem;color:var(--mid);font-weight:300;line-height:1.6;text-align:right;white-space:nowrap;flex-shrink:0;}
.tools-inner{max-width:1200px;margin:0 auto;padding:0 2.5rem;}



.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);}
.tool-card{background:var(--white);text-decoration:none;color:inherit;display:flex;flex-direction:column;padding:1.25rem;transition:background 0.2s;position:relative;}
.tool-card:hover{background:#FDFCFA;color:inherit;}
.tool-num{font-size:0.65rem;font-weight:500;letter-spacing:0.15em;color:var(--light);margin-bottom:0.75rem;}
.tool-img-wrap{width:100%;height:220px;overflow:hidden;margin-bottom:0.75rem;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:0;}
.tool-img-wrap img{width:100%;height:100%;object-fit:contain;display:block;}

.tool-card-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;}
.tool-name{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.2rem;font-weight:600;letter-spacing:-0.01em;margin-bottom:0.3rem;}
.tool-desc{font-size:0.78rem;color:var(--mid);line-height:1.6;font-weight:300;}
.tool-arrow{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;transition:background 0.2s,border-color 0.2s;}
.tool-card:hover .tool-arrow{background:var(--ink);border-color:var(--ink);}
.tool-card:hover .tool-arrow svg{stroke:#fff;}
.tool-arrow svg{width:14px;height:14px;stroke:var(--ink);fill:none;stroke-width:1.8;stroke-linecap:round;}

/* ── FEATURES ── */
.features-section{background:var(--white);}
.features-inner{max-width:1200px;margin:0 auto;padding:1.5rem 2.5rem 2rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;}
.feat{background:var(--white);border:1px solid var(--border);border-radius:4px;padding:2rem 1.75rem;display:flex;flex-direction:column;gap:1.25rem;}
.feat-icon{display:none;}
.feat-icon svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;}
.feat-title{font-size:0.9rem;font-weight:600;letter-spacing:-0.01em;}
.feat-text{font-size:0.8rem;color:var(--mid);line-height:1.65;font-weight:300;}

/* ── COOKIE ── */
.cookie-banner{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--ink);z-index:1000;padding:1rem 2.5rem;}
.cookie-banner.visible{display:block;}
.cookie-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;}
.cookie-text{font-size:0.8rem;color:rgba(255,255,255,0.7);}
.cookie-text a{color:#fff;text-decoration:underline;}
.cookie-accept{font-family:'Inter',sans-serif;font-size:0.8rem;font-weight:500;padding:7px 18px;background:#fff;color:var(--ink);border:none;border-radius:4px;cursor:pointer;transition:opacity 0.2s;}
.cookie-accept:hover{opacity:0.85;}

/* ── FOOTER ── */
.footer{border-top:1px solid var(--border);background:var(--bg);}
.footer-inner{max-width:1200px;margin:0 auto;padding:2rem 2.5rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;}
.footer-logo{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.2rem;font-weight:600;color:var(--ink);}
.footer-copy{font-size:0.75rem;color:var(--light);}
.footer-links{display:flex;gap:1.5rem;list-style:none;}
.footer-links a{font-size:0.75rem;color:var(--mid);transition:color 0.15s;}
.footer-links a:hover{color:var(--ink);}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .nav-inner{padding:0 1.25rem;}
  .hero{grid-template-columns:1fr;min-height:auto;padding:3rem 1.25rem 2rem;gap:2rem;}
  .hero-img-wrap{display:none;}
  .hero-sub{max-width:100%;}


  .tools-inner{padding:0 1.25rem;}
  .tools-grid{grid-template-columns:1fr;}
  .tools-header{grid-template-columns:1fr;}
  .tools-header-desc{text-align:left;max-width:100%;}
  .features-inner{grid-template-columns:1fr;padding:2rem 1.25rem;}
  .feat{border-right:none;border-bottom:1px solid var(--border);padding:1.5rem 0;}
  .feat:last-child{border-bottom:none;}
  .feat:not(:first-child){padding-left:0;}

  .footer-inner{padding:1.5rem 1.25rem;}
}
@media(max-width:600px){
  .tools-grid{grid-template-columns:1fr;}
}

/* ══════════════════════════════════════════════════ */
/* PAGE-SPECIFIC STYLES                              */
/* ══════════════════════════════════════════════════ */

/* ── COLOR-FIT ── */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

.tool-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
a { color: inherit; text-decoration: none; }

/* NAV */

.lang-switcher { position: relative; }

/* PAGE */
.page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
}

.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 0.75rem;
  color: var(--mid);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: #999; font-weight: 500; }

.page-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.page-desc {
  font-size: 1rem;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.65;
}

/* TOOL LAYOUT */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.results { grid-column: 1 / -1; display: none; }


/* UPLOAD */
.upload-zone {
  border: 1.5px dashed var(--border);
  border-radius: 4px;
  padding: 3rem 1rem;
  text-align: center;
  cursor: pointer;
  background: var(--subtle);
  transition: background 0.2s, border-color 0.2s;
}
.upload-zone:hover { background: #EEEEEE; border-color: #ccc; }
.upload-icon { font-size: 2rem; color: var(--mid); margin-bottom: 0.75rem; }
.upload-zone p { font-size: 0.95rem; color: var(--ink); font-weight: 500; margin-bottom: 0.25rem; }
.upload-zone span { font-size: 0.8rem; color: var(--mid); }
#fileInput { display: none; }

/* CANVAS */
.canvas-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: crosshair;
  user-select: none;
  display: none;
  max-width: 100%;
}
#mainCanvas { display: block; width: 100%; height: auto; max-width: 100%; }
.magnifier {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  pointer-events: none;
  display: none;
  overflow: hidden;
}
#magCanvas { display: block; }
.crosshair-h {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: rgba(255,255,255,0.85); pointer-events: none;
}
.crosshair-v {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.85); pointer-events: none;
}
.canvas-hint {
  display: none;
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.panel {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.panel-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--subtle);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-body { padding: 1rem; }

/* PALETTE */
.palette-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 56px;
  align-items: flex-start;
}

.swatch-wrap { text-align: center; position: relative; }
.swatch {
  width: 48px; height: 48px;
  border-radius: 4px;
  border: 0.5px solid var(--border);
}
.swatch-hex {
  font-size: 10px; color: var(--mid);
  margin-top: 3px; font-family: monospace;
}
.del-btn {
  position: absolute; top: -5px; right: -5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; line-height: 1;
}

.empty-hint { font-size: 0.85rem; color: var(--mid); align-self: center; font-weight: 300; }

/* ANALYZE BTN */
.analyze-btn {
  width: 100%;
  padding: 0.7rem;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  display: none;
}
.analyze-btn:hover { background: #3A3633; }

/* RESULTS */
.results { display: none; }

.score-row { margin-bottom: 1rem; }
.score-label {
  font-size: 0.82rem; color: var(--mid);
  margin-bottom: 4px; display: flex; justify-content: space-between;
}
.bar-bg { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

.harmony-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 4px;
  font-size: 0.8rem; font-weight: 500;
  margin-bottom: 1rem; border: 1px solid;
}
.hg { background: #EEF1E4; color: #4C5E2E; border-color: #CFD8B4; }
.hok { background: #F8F0DC; color: #7A5A1C; border-color: #E6D3A0; }
.hb { background: #F6E5E1; color: #8F3A2E; border-color: #E3BEB6; }

/* RESULTS BELOW IMAGE */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* SUGGESTIONS - larger under image */
.suggest-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.sug-item { text-align: center; }
.sug-swatch {
  width: 52px; height: 52px; border-radius: 4px;
  border: 0.5px solid var(--border);
  cursor: pointer; transition: transform 0.15s;
}
.sug-swatch:hover { transform: scale(1.1); }
.sug-hex { font-size: 10px; color: var(--mid); margin-top: 3px; font-family: monospace; }
.sug-tag { font-size: 10px; color: var(--mid); }

/* RESET */
.reset-btn {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  padding: 0.7rem 1rem; font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.88rem; color: var(--mid); cursor: pointer;
  transition: border-color 0.2s, color 0.2s; width: 100%;
}
.reset-btn:hover { border-color: var(--ink); color: var(--ink); }

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 20px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* SEO SECTION */
.seo-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.seo-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.seo-text {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}
.seo-rows { border: 1px solid var(--border); }
.seo-row {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.seo-row:last-child { border-bottom: none; }
.seo-row-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.seo-row-text { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

.faq-section { margin-top: 2.5rem; }
.faq-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.01em; }
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); }
.faq-item { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.faq-a { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

.internal-links { margin-top: 2rem; }
.internal-links-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
.internal-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.internal-links-grid a {
  display: inline-block; padding: 0.6rem 1rem;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.85rem; font-weight: 400; color: var(--mid);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.internal-links-grid a:hover { border-color: var(--pink); color: var(--pink); background: #F4EDE4; }


/* RESPONSIVE */
@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .results { grid-column: 1; }
  .results-grid { grid-template-columns: 1fr; }
  .seo-row { grid-template-columns: 1fr; gap: 0.4rem; }
    .page-inner { padding: 2rem 1.25rem 4rem; }
    }

/* ── COLOR-TYPE ── */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* NAV */

.lang-switcher { position: relative; }

/* PAGE */
.page-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }

.page-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }

.breadcrumb {
  font-size: 0.75rem; color: var(--mid); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: #999; font-weight: 500; }

.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.6rem; }
.page-desc { font-size: 1rem; color: var(--mid); font-weight: 300; line-height: 1.65; }

/* TOOL LAYOUT */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.tool-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 0.5rem; }
.results { grid-column: 1 / -1; display: none; }

/* UPLOAD */
.upload-zone {
  border: 1.5px dashed var(--border); border-radius: 4px;
  padding: 3rem 1rem; text-align: center; cursor: pointer;
  background: var(--subtle); transition: background 0.2s, border-color 0.2s;
}
.upload-zone:hover { background: #EEEEEE; border-color: #ccc; }
.upload-icon { font-size: 2rem; color: var(--mid); margin-bottom: 0.75rem; }
.upload-zone p { font-size: 0.95rem; color: var(--ink); font-weight: 500; margin-bottom: 0.25rem; }
.upload-zone span { font-size: 0.8rem; color: var(--mid); }
#fileInput { display: none; }

/* CANVAS */
.canvas-wrap {
  position: relative; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border); cursor: crosshair; user-select: none;
  display: none; max-width: 100%;
}
#mainCanvas { display: block; width: 100%; height: auto; max-width: 100%; }
.magnifier {
  position: absolute; width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid var(--ink); pointer-events: none; display: none; overflow: hidden;
}
#magCanvas { display: block; }
.crosshair-h { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.85); pointer-events: none; }
.crosshair-v { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.85); pointer-events: none; }

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0.25rem; }

.step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px;
  background: var(--white); transition: all 0.2s;
}
.step.active { border-color: var(--pink); background: #F4EDE4; }
.step.done { border-color: var(--teal); background: #f0fdf9; }

.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; flex-shrink: 0;
  background: var(--subtle); color: var(--mid);
}
.step.active .step-num { background: var(--pink); color: #fff; }
.step.done .step-num { background: var(--teal); color: #fff; }

.step-info { flex: 1; }
.step-label { font-size: 0.82rem; font-weight: 500; }
.step-hint { font-size: 0.75rem; color: var(--mid); font-weight: 300; }

.step-color {
  width: 32px; height: 32px; border-radius: 4px;
  border: 1px solid var(--border); flex-shrink: 0;
  display: none;
}
.step-color.visible { display: block; }

.step-redo {
  font-size: 0.72rem; color: var(--mid); cursor: pointer;
  background: none; border: none; font-family: 'Inter', 'Open Sans', sans-serif;
  padding: 2px 6px; border-radius: 2px; transition: color 0.2s;
  display: none;
}
.step-redo:hover { color: var(--ink); }
.step.done .step-redo { display: block; }

/* ANALYZE BTN */
.analyze-btn {
  width: 100%; padding: 0.7rem; background: var(--pink); color: #fff;
  border: none; border-radius: 4px; font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.88rem; font-weight: 500; cursor: pointer;
  transition: background 0.2s; display: none;
}
.analyze-btn:hover { background: #3A3633; }

.reset-btn {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  padding: 0.7rem 1rem; font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.88rem; color: var(--mid); cursor: pointer;
  transition: border-color 0.2s, color 0.2s; width: 100%; display: none;
}
.reset-btn:hover { border-color: var(--ink); color: var(--ink); }

/* RESULTS */
.result-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem;
}

.season-card {
  padding: 1.5rem; border: 1px solid var(--border); border-radius: 4px;
}
.season-name { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.season-desc { font-size: 0.88rem; color: var(--mid); font-weight: 300; line-height: 1.6; }

.picked-colors { padding: 1.5rem; border: 1px solid var(--border); border-radius: 4px; }
.picked-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-bottom: 1rem; }
.picked-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; }
.picked-row:last-child { margin-bottom: 0; }
.picked-swatch { width: 36px; height: 36px; border-radius: 4px; border: 0.5px solid var(--border); flex-shrink: 0; }
.picked-name { font-size: 0.82rem; font-weight: 500; }
.picked-hex { font-size: 0.75rem; color: var(--mid); font-family: monospace; }

.palettes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.palette-panel { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.palette-header {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  background: var(--subtle); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid);
}
.palette-body { padding: 1rem; }
.color-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.color-item { text-align: center; }
.color-swatch {
  width: 44px; height: 44px; border-radius: 4px;
  border: 0.5px solid var(--border); cursor: pointer; transition: transform 0.15s;
}
.color-swatch:hover { transform: scale(1.08); }
.color-name { font-size: 9px; color: var(--mid); margin-top: 3px; line-height: 1.3; }

/* SEO */
.seo-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.seo-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.seo-text { font-size: 0.95rem; color: var(--mid); line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }
.seo-rows { border: 1px solid var(--border); }
.seo-row { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.seo-row:last-child { border-bottom: none; }
.seo-row-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.seo-row-text { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

.faq-section { margin-top: 2.5rem; }
.faq-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.01em; }
.faq-list { border: 1px solid var(--border); }
.faq-item { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.faq-a { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

.internal-links { margin-top: 2rem; }
.internal-links-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
.internal-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.internal-links-grid a {
  display: inline-block; padding: 0.6rem 1rem;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.85rem; font-weight: 400; color: var(--mid);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.internal-links-grid a:hover { border-color: var(--pink); color: var(--pink); background: #F4EDE4; }

.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; font-size: 0.82rem;
  padding: 8px 20px; border-radius: 999px; opacity: 0;
  transition: opacity 0.2s, transform 0.2s; pointer-events: none; z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* FOOTER */

@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .results { grid-column: 1; }
  .result-header { grid-template-columns: 1fr; }
  .palettes-grid { grid-template-columns: 1fr; }
    .page-inner { padding: 2rem 1.25rem 4rem; }
    }

/* ── OUTFIT-BUILDER ── */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }





.lang-switcher {
  position: relative;
}









.hero-inner {
  padding: 5rem 2.5rem 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2rem;
}

@keyframes pulse {
  0%,100% { opacity:1; }
  50% { opacity:0.3; }
}

.hero-title {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-title em { font-style: italic; color: var(--ink); }

.hero-title .row2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}


.hero-bottom {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
}


.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}




.tool-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0.25rem 0 0.1rem;
}

.tool-icon-box {
  width: 34px; height: 34px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon-box svg {
  width: 17px; height: 17px;
  stroke: #fff; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}



.tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 500;
  margin-top: 0.4rem;
  transition: gap 0.2s;
}
.tool-card:hover .tool-cta { gap: 9px; }
.tool-cta svg { width:11px; height:11px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; }

.about-section {
  background: var(--subtle);
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-title {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.about-title em { font-style: italic; color: var(--teal); }

.about-text {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  font-weight: 300;
}

.features { display: flex; flex-direction: column; gap: 0; }













@media (max-width: 860px) {
    .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-inner,       .about-inner { padding: 3rem 1.25rem; }
}
@media (max-width: 520px) {
  }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.75rem 0 2rem;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: default;
}

/* ── BODY-TYPE ── */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Inter', 'Open Sans', sans-serif; font-weight: 400; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* NAV */

.lang-switcher { position: relative; }

/* PAGE */
.page-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }
.page-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.75rem; color: var(--mid); margin-bottom: 1rem; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: #999; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.6rem; }
.page-desc { font-size: 1rem; color: var(--mid); font-weight: 300; line-height: 1.65; }

/* TOOL LAYOUT */
.tool-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
.tool-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 1rem; }

/* UNIT TOGGLE */
.unit-toggle { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; width: fit-content; }
.unit-btn { padding: 5px 16px; font-size: 0.78rem; font-weight: 500; font-family: 'Inter', 'Open Sans', sans-serif; background: var(--white); border: none; cursor: pointer; color: var(--mid); transition: background 0.15s, color 0.15s; }
.unit-btn.active { background: var(--ink); color: var(--white); }

/* INPUTS */
.inputs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-label { font-size: 0.8rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.input-hint { font-size: 0.72rem; color: var(--mid); font-weight: 300; }
.input-wrap { position: relative; }
.param-input {
  width: 100%; padding: 10px 44px 10px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.9rem; font-family: 'Inter', 'Open Sans', sans-serif;
  color: var(--ink); background: var(--white);
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}
.param-input::-webkit-outer-spin-button,
.param-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.param-input:focus { outline: none; border-color: var(--ink); }
.input-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.78rem; color: var(--mid); pointer-events: none; }

/* SIDEBAR BUTTONS */
.calc-btn { width: 100%; padding: 0.75rem; background: var(--pink); color: #fff; border: none; border-radius: 4px; font-family: 'Inter', 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.calc-btn:hover { background: #3A3633; }
.calc-btn:disabled { background: #ccc; cursor: not-allowed; }
.reset-btn { width: 100%; padding: 0.7rem; background: none; color: var(--mid); border: 1px solid var(--border); border-radius: 4px; font-family: 'Inter', 'Open Sans', sans-serif; font-size: 0.88rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.reset-btn:hover { border-color: var(--ink); color: var(--ink); }

/* SIDEBAR INFO BOX */
.info-box { border: 1px solid var(--border); border-radius: 4px; padding: 1rem; background: var(--subtle); }
.info-box-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.6rem; }
.info-row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem; }
.info-row:last-child { border-bottom: none; }
.info-row-label { color: var(--mid); font-weight: 300; }
.info-row-val { font-weight: 500; font-family: monospace; font-size: 0.82rem; }

/* RESULTS */
.results { display: none; }

.result-type-card { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.result-type-header { padding: 1.5rem; background: var(--subtle); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 1.25rem; }
.result-type-icon { width: 56px; height: 56px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; background: var(--white); border: 1px solid var(--border); }
.result-type-name { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.2rem; }
.result-type-desc { font-size: 0.88rem; color: var(--mid); font-weight: 300; line-height: 1.5; }

.result-body { display: grid; grid-template-columns: 1fr 1fr; }
.result-col { padding: 1.25rem 1.5rem; }
.result-col + .result-col { border-left: 1px solid var(--border); }
.result-col-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.85rem; }

.rec-list { display: flex; flex-direction: column; gap: 6px; }
.rec-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; line-height: 1.45; }
.rec-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.rec-dot.good { background: var(--teal); }
.rec-dot.bad { background: var(--pink); }

/* RATIOS */
.ratios-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 0.5rem; }
.ratio-chip { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; border: 1px solid var(--border); background: var(--white); }

/* SEO */
.seo-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.seo-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.seo-text { font-size: 0.95rem; color: var(--mid); line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }
.seo-rows { border: 1px solid var(--border); }
.seo-row { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.seo-row:last-child { border-bottom: none; }
.seo-row-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.seo-row-text { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.faq-section { margin-top: 2.5rem; }
.faq-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.01em; }
.faq-list { border: 1px solid var(--border); }
.faq-item { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.faq-a { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.internal-links { margin-top: 2rem; }
.internal-links-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
.internal-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.internal-links-grid a { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.85rem; color: var(--mid); transition: border-color 0.2s, color 0.2s; }
.internal-links-grid a:hover { border-color: var(--pink); color: var(--pink); }


@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .inputs-grid { grid-template-columns: 1fr 1fr; }
  .result-body { grid-template-columns: 1fr; }
  .result-col + .result-col { border-left: none; border-top: 1px solid var(--border); }
  .nav-inner, .page-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-inner { padding-top: 2rem; padding-bottom: 4rem; }
    }
@media (max-width: 480px) {
  .inputs-grid { grid-template-columns: 1fr; }
}

/* ── SIZE-CHART ── */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Inter', 'Open Sans', sans-serif; font-weight: 400; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* NAV */

.lang-switcher { position: relative; }

/* PAGE */
.page-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }
.page-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.75rem; color: var(--mid); margin-bottom: 1rem; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: #999; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.6rem; }
.page-desc { font-size: 1rem; color: var(--mid); font-weight: 300; line-height: 1.65; }

/* TOOL LAYOUT */
.tool-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
.tool-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 1rem; }

/* TOGGLE GROUP */
.toggle-group { display: flex; flex-direction: column; gap: 6px; }
.toggle-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); }
.toggle-row { display: flex; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.toggle-btn { flex: 1; padding: 7px 10px; font-size: 0.8rem; font-weight: 500; font-family: 'Inter', 'Open Sans', sans-serif; background: var(--white); border: none; cursor: pointer; color: var(--mid); transition: background 0.15s, color 0.15s; text-align: center; }
.toggle-btn + .toggle-btn { border-left: 1px solid var(--border); }
.toggle-btn.active { background: var(--ink); color: var(--white); }

/* RESULT BOX in sidebar */
.result-box { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: none; }
.result-box-header { padding: 0.75rem 1rem; background: var(--subtle); border-bottom: 1px solid var(--border); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); }
.result-rows { padding: 0.5rem 0; }
.result-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 1rem; }
.result-row + .result-row { border-top: 1px solid var(--border); }
.result-system { font-size: 0.78rem; color: var(--mid); font-weight: 400; }
.result-value { font-size: 1rem; font-weight: 600; color: var(--ink); }
.result-value.highlight { color: var(--pink); }

.hint-box { border: 1px solid var(--border); border-radius: 4px; padding: 1rem; background: var(--subtle); font-size: 0.8rem; color: var(--mid); line-height: 1.55; }

/* SIZE TABLE */
.table-wrap { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.size-table { width: 100%; border-collapse: collapse; }
.size-table th { padding: 9px 14px; background: var(--subtle); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.size-table th:first-child { text-align: left; }
.size-table td { padding: 10px 14px; font-size: 0.88rem; text-align: center; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.12s; color: var(--mid); }
.size-table td:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.size-table tr:last-child td { border-bottom: none; }
.size-table tr:hover td { background: #fafafa; }
.size-table tr.selected td { background: #F4EDE4; }
.size-table tr.selected td:first-child { color: var(--pink); }
.size-table tr.selected td { color: var(--ink); font-weight: 500; }

/* SEO */
.seo-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.seo-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.seo-text { font-size: 0.95rem; color: var(--mid); line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }
.seo-rows { border: 1px solid var(--border); }
.seo-row { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.seo-row:last-child { border-bottom: none; }
.seo-row-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.seo-row-text { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.faq-section { margin-top: 2.5rem; }
.faq-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.01em; }
.faq-list { border: 1px solid var(--border); }
.faq-item { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.faq-a { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.internal-links { margin-top: 2rem; }
.internal-links-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
.internal-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.internal-links-grid a { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.85rem; color: var(--mid); transition: border-color 0.2s, color 0.2s; }
.internal-links-grid a:hover { border-color: var(--pink); color: var(--pink); }


@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .nav-inner, .page-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-inner { padding-top: 2rem; padding-bottom: 4rem; }
      .size-table th, .size-table td { padding: 8px 10px; font-size: 0.82rem; }
}

/* ── SHRINKAGE ── */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Inter', 'Open Sans', sans-serif; font-weight: 400; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* NAV */

.lang-switcher { position: relative; }

/* PAGE */
.page-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }
.page-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.75rem; color: var(--mid); margin-bottom: 1rem; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: #999; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.6rem; }
.page-desc { font-size: 1rem; color: var(--mid); font-weight: 300; line-height: 1.65; }

/* TOOL LAYOUT */
.tool-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
.tool-main { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 1rem; }

/* FABRIC SELECTOR */
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }

.fabric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fabric-card {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 10px; cursor: pointer; text-align: center;
  transition: border-color 0.15s, background 0.15s;
  background: var(--white);
}
.fabric-card:hover { border-color: #bbb; background: var(--subtle); }
.fabric-card.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.fabric-icon { font-size: 1.4rem; margin-bottom: 4px; }
.fabric-name { font-size: 0.78rem; font-weight: 500; }
.fabric-sub  { font-size: 0.68rem; color: var(--mid); margin-top: 1px; }
.fabric-card.active .fabric-sub { color: #aaa; }

/* COMPOSITION SLIDERS */
.composition-wrap { border: 1px solid var(--border); border-radius: 4px; padding: 1.25rem; display: none; }
.comp-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comp-row:last-child { margin-bottom: 0; }
.comp-label { font-size: 0.82rem; font-weight: 500; width: 90px; flex-shrink: 0; }
.comp-slider { flex: 1; accent-color: var(--ink); cursor: pointer; }
.comp-pct { font-size: 0.82rem; font-weight: 600; width: 38px; text-align: right; font-family: monospace; }
.comp-total { display: flex; justify-content: flex-end; font-size: 0.78rem; color: var(--mid); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.comp-total span { font-weight: 600; }
.comp-total.over span { color: var(--pink); }

/* TEMP SELECTOR */
.temp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.temp-btn {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 10px 6px; cursor: pointer; text-align: center;
  font-family: 'Inter', 'Open Sans', sans-serif; background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.temp-btn:hover { border-color: #bbb; background: var(--subtle); }
.temp-btn.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.temp-deg { font-size: 0.9rem; font-weight: 600; display: block; }
.temp-label { font-size: 0.68rem; color: var(--mid); display: block; margin-top: 2px; }
.temp-btn.active .temp-label { color: #aaa; }

/* DIMENSION INPUTS */
.dim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-label { font-size: 0.8rem; font-weight: 500; }
.input-hint  { font-size: 0.72rem; color: var(--mid); font-weight: 300; }
.input-wrap  { position: relative; }
.dim-input {
  width: 100%; padding: 10px 44px 10px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.9rem; font-family: 'Inter', 'Open Sans', sans-serif;
  color: var(--ink); background: var(--white);
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}
.dim-input::-webkit-outer-spin-button,
.dim-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.dim-input:focus { outline: none; border-color: var(--ink); }
.input-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.78rem; color: var(--mid); pointer-events: none; }

/* SIDEBAR */
.calc-btn { width: 100%; padding: 0.75rem; background: var(--pink); color: #fff; border: none; border-radius: 4px; font-family: 'Inter', 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.calc-btn:hover { background: #3A3633; }
.calc-btn:disabled { background: #ccc; cursor: not-allowed; }
.reset-btn { width: 100%; padding: 0.7rem; background: none; color: var(--mid); border: 1px solid var(--border); border-radius: 4px; font-family: 'Inter', 'Open Sans', sans-serif; font-size: 0.88rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; display: none; }
.reset-btn:hover { border-color: var(--ink); color: var(--ink); }

.care-box { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: none; }
.care-box-header { padding: 0.75rem 1rem; background: var(--subtle); border-bottom: 1px solid var(--border); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); }
.care-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0.85rem; }
.care-tag { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; border: 1px solid var(--border); background: var(--white); color: var(--ink); }
.care-tag.warn { background: #F8F0DC; border-color: #E6D3A0; color: #7A5A1C; }
.care-tag.bad  { background: #F6E5E1; border-color: #E3BEB6; color: #8F3A2E; }
.care-tag.good { background: #EEF1E4; border-color: #CFD8B4; color: #4C5E2E; }

/* RESULTS */
.results { display: none; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.panel-header { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); background: var(--subtle); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.panel-body { padding: 1.25rem; }

.shrink-visual { display: flex; flex-direction: column; gap: 12px; }
.shrink-bar-row { display: flex; flex-direction: column; gap: 5px; }
.shrink-bar-label { display: flex; justify-content: space-between; font-size: 0.82rem; }
.shrink-bar-name { color: var(--mid); }
.shrink-bar-pct { font-weight: 600; }
.bar-bg { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }

.dim-table { width: 100%; border-collapse: collapse; }
.dim-table th { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); text-align: left; padding: 0 0 8px; border-bottom: 1px solid var(--border); }
.dim-table td { padding: 10px 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.dim-table tr:last-child td { border-bottom: none; }
.dim-table td:last-child { text-align: right; font-weight: 600; }
.dim-table .was { color: var(--mid); font-size: 0.82rem; font-weight: 400; }
.dim-table .arrow { color: #bbb; padding: 0 8px; }
.dim-after { color: var(--pink); }

.risk-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 4px; font-size: 0.82rem; font-weight: 500; margin-bottom: 1rem; border: 1px solid; }
.risk-low  { background: #EEF1E4; color: #4C5E2E; border-color: #CFD8B4; }
.risk-mid  { background: #F8F0DC; color: #7A5A1C; border-color: #E6D3A0; }
.risk-high { background: #F6E5E1; color: #8F3A2E; border-color: #E3BEB6; }

.tips-list { display: flex; flex-direction: column; gap: 8px; margin-top: 0.5rem; }
.tip-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.83rem; line-height: 1.45; }
.tip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; background: var(--teal); }

/* SEO */
.seo-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.seo-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.seo-text { font-size: 0.95rem; color: var(--mid); line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }
.seo-rows { border: 1px solid var(--border); }
.seo-row { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.seo-row:last-child { border-bottom: none; }
.seo-row-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.seo-row-text { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.faq-section { margin-top: 2.5rem; }
.faq-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.01em; }
.faq-list { border: 1px solid var(--border); }
.faq-item { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.faq-a { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.internal-links { margin-top: 2rem; }
.internal-links-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
.internal-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.internal-links-grid a { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.85rem; color: var(--mid); transition: border-color 0.2s, color 0.2s; }
.internal-links-grid a:hover { border-color: var(--pink); color: var(--pink); }


@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .fabric-grid { grid-template-columns: repeat(3, 1fr); }
  .temp-grid { grid-template-columns: repeat(3, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .nav-inner, .page-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-inner { padding-top: 2rem; padding-bottom: 4rem; }
    }
@media (max-width: 480px) {
  .fabric-grid { grid-template-columns: repeat(2, 1fr); }
  .dim-grid { grid-template-columns: 1fr; }
}

/* ── HOMEPAGE ── */
.hero { border-bottom: none; }
.hero-inner { padding: 5rem 2.5rem 4.5rem; max-width: 1200px; margin: 0 auto; }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1;
  font-weight: 400; letter-spacing: -0.02em; margin-bottom: 2rem;
}
.hero-title em { font-style: italic; color: var(--ink); }
.hero-title .row2 { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.75rem 0 2rem; }
.hero-tag { display: inline-block; padding: 6px 14px; border-radius: 4px; font-size: 0.82rem; font-weight: 500; }
.hero-sub { font-size: 1.05rem; color: var(--mid); line-height: 1.7; font-weight: 300; }

.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; }
.section-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); }
.tool-top-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.tool-header { display: flex; align-items: center; gap: 10px; margin: 0.25rem 0 0.1rem; }
.tool-icon-box { width: 34px; height: 34px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-icon-box svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 0.73rem; font-weight: 500; margin-top: 0.4rem; transition: gap 0.2s; }
.tool-card:hover .tool-cta { gap: 9px; }
.tool-cta svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.about-section { background: var(--subtle); border-top: 1px solid var(--border); }
.about-inner { max-width: 1200px; margin: 0 auto; padding: 4rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
.about-title em { font-style: italic; color: var(--pink); }
.about-text { font-size: 0.95rem; color: var(--mid); line-height: 1.75; font-weight: 300; }
.features { display: flex; flex-direction: column; }







@media (max-width: 860px) {
    .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-inner,   .about-inner { padding: 3rem 1.25rem; }
}
@media (max-width: 520px) {  }

/* ── OUTFIT-BUILDER (our version) ── */



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Inter', 'Open Sans', sans-serif; font-weight: 400; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* NAV */

.lang-switcher { position: relative; }

/* PAGE */
.page-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }
.page-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.75rem; color: var(--mid); margin-bottom: 1rem; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--mid); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.6rem; }
.page-desc { font-size: 1rem; color: var(--mid); font-weight: 300; line-height: 1.65; }

/* TOOL */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
.tool-main { min-width: 0; }
.tool-sidebar { display: flex; flex-direction: column; gap: 8px; }

/* OUTFIT GRID — 2 columns inside main */
.outfit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.outfit-col { display: flex; flex-direction: column; gap: 12px; }

/* OUTFIT CARD */
.outfit-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; cursor: pointer; transition: border-color 0.2s; }
.outfit-card:hover { border-color: #bbb; }
.outfit-card.is-open { border-color: var(--ink); }

.card-block {
  height: 100px;
  transition: background-color 0.25s ease;
  position: relative;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 6px;
}
.card-block.is-optional { opacity: 0.35; }

.card-edit-hint {
  font-size: 0.65rem; color: rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.7);
  padding: 2px 6px; border-radius: 3px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.outfit-card:hover .card-edit-hint { opacity: 1; }

.card-label {
  padding: 8px 10px 9px;
  border-top: 1px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.card-name { font-size: 0.8rem; font-weight: 500; }
.card-optional { font-size: 0.68rem; color: #bbb; font-weight: 400; }
.card-hex { font-size: 0.7rem; color: var(--mid); font-family: monospace; }

/* COLOR PICKER DROPDOWN inside card */
.card-picker {
  display: none;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--subtle);
}
.card-picker.open { display: block; }

.preset-palette { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.preset-dot { width: 20px; height: 20px; border-radius: 3px; border: 1px solid rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.15s; flex-shrink: 0; }
.preset-dot:hover { transform: scale(1.2); }
.preset-dot.active { outline: 2px solid var(--ink); outline-offset: 1px; }

.hex-row { display: flex; gap: 6px; align-items: center; }
.hex-input { flex: 1; padding: 5px 8px; border: 1px solid var(--border); border-radius: 3px; font-size: 0.78rem; font-family: monospace; background: var(--white); min-width: 0; }
.hex-apply { padding: 5px 10px; background: var(--ink); color: #fff; border: none; border-radius: 3px; font-size: 0.75rem; cursor: pointer; font-family: 'Inter', 'Open Sans', sans-serif; transition: background 0.2s; white-space: nowrap; }
.hex-apply:hover { background: #333; }

/* ACTIONS */
.tool-actions { display: flex; flex-direction: column; gap: 8px; }
.analyze-btn { width: 100%; padding: 0.7rem; background: var(--pink); color: #fff; border: none; border-radius: 4px; font-family: 'Inter', 'Open Sans', sans-serif; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.analyze-btn:hover { background: #3A3633; }
.analyze-btn:disabled { background: #ccc; cursor: not-allowed; }
.reset-btn { width: 100%; padding: 0.7rem; background: none; color: var(--mid); border: 1px solid var(--border); border-radius: 4px; font-family: 'Inter', 'Open Sans', sans-serif; font-size: 0.88rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.reset-btn:hover { border-color: var(--ink); color: var(--ink); }
.card-required { color: var(--pink); font-size: 0.75rem; font-weight: 600; margin-left: 2px; }

/* RESULTS */
.results { display: none; margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.panel-header { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); background: var(--subtle); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.panel-body { padding: 1rem; }
.harmony-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 500; margin-bottom: 1rem; border: 1px solid; }
.hg { background: #EEF1E4; color: #4C5E2E; border-color: #CFD8B4; }
.hok { background: #F8F0DC; color: #7A5A1C; border-color: #E6D3A0; }
.hb { background: #F6E5E1; color: #8F3A2E; border-color: #E3BEB6; }
.score-row { margin-bottom: 1rem; }
.score-label { font-size: 0.82rem; color: var(--mid); margin-bottom: 4px; display: flex; justify-content: space-between; }
.bar-bg { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.outfit-summary { display: flex; flex-direction: column; gap: 8px; }
.outfit-row { display: flex; align-items: center; gap: 10px; }
.outfit-swatch { width: 28px; height: 28px; border-radius: 3px; border: 0.5px solid var(--border); flex-shrink: 0; }
.outfit-label { font-size: 0.82rem; font-weight: 500; }
.outfit-hex { font-size: 0.75rem; color: var(--mid); font-family: monospace; }

/* SEO */
.seo-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.seo-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.seo-text { font-size: 0.95rem; color: var(--mid); line-height: 1.7; font-weight: 300; margin-bottom: 2rem; }
.seo-rows { border: 1px solid var(--border); }
.seo-row { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.seo-row:last-child { border-bottom: none; }
.seo-row-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.seo-row-text { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.faq-section { margin-top: 2.5rem; }
.faq-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: -0.01em; }
.faq-list { border: 1px solid var(--border); }
.faq-item { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.faq-a { font-size: 0.85rem; color: var(--mid); line-height: 1.65; font-weight: 300; }
.internal-links { margin-top: 2rem; }
.internal-links-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
.internal-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.internal-links-grid a { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.85rem; color: var(--mid); transition: border-color 0.2s, color 0.2s; }
.internal-links-grid a:hover { border-color: var(--pink); color: var(--pink); }


@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .nav-inner, .page-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-inner { padding-top: 2rem; padding-bottom: 4rem; }
    }
@media (max-width: 500px) {
  .outfit-grid { grid-template-columns: 1fr; }
}


/* ── OUTFIT-BUILDER COLOR BLOCKS ── */
.color-block { width: 72px; height: 48px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.12); flex-shrink: 0; transition: background-color 0.25s ease; }
.color-block.is-optional { opacity: 0.3; }
.color-row-label { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.color-row-label.is-muted { color: #aaa; font-weight: 400; }
.color-stack { display: flex; flex-direction: column; gap: 8px; }

/* ══════════════════════════════════════════════════ */
/* SERVICE PAGES (cookies, privacy, contact)         */
/* ══════════════════════════════════════════════════ */

/* COOKIES TABLE */
.cookie-table { width:100%; border-collapse:collapse; margin-top:1rem; border:1px solid var(--border); border-radius:4px; overflow:hidden; }
.cookie-table th { padding:9px 14px; background:var(--gray); font-size:0.72rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--mid); text-align:left; border-bottom:1px solid var(--border); }
.cookie-table td { padding:11px 14px; font-size:0.84rem; color:var(--mid); border-bottom:1px solid var(--border); vertical-align:top; line-height:1.5; }
.cookie-table tr:last-child td { border-bottom:none; }
.cookie-table td:first-child { font-weight:500; color:var(--ink); white-space:nowrap; }

/* TYPE BADGES */
.type-badge { display:inline-block; font-size:0.7rem; padding:2px 8px; border-radius:999px; font-weight:500; border:1px solid; }
.type-analytics { background:#F4EDE4; color:#6B5A45; border-color:#E2D9D0; }
.type-ads { background:#F6E5E1; color:#8F3A2E; border-color:#E3BEB6; }

/* WITHDRAW CONSENT */
.withdraw-box { border:1px solid var(--border); border-radius:4px; padding:1.25rem 1.5rem; margin-top:1rem; background:var(--gray); }
.withdraw-box p { font-size:0.88rem; color:var(--mid); line-height:1.65; font-weight:300; }
.withdraw-btn { display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-family:'Inter',sans-serif; font-size:0.8rem; color:var(--pink); background:transparent; border:1px solid #E2D9D0; border-radius:4px; padding:7px 14px; cursor:pointer; transition:all 0.15s; }
.withdraw-btn:hover { border-color:var(--pink); background:#F4EDE4; }
.withdraw-btn.done { color:#4C5E2E; border-color:#CFD8B4; background:#EEF1E4; }

/* PRIVACY - SERVICE LIST */
.service-list { display:flex; flex-direction:column; gap:8px; margin-top:1rem; }
.service-row { display:flex; align-items:flex-start; gap:12px; padding:12px 14px; background:var(--gray); border:1px solid var(--border); border-radius:4px; }
.service-dot { width:6px; height:6px; border-radius:50%; background:#bbb; flex-shrink:0; margin-top:6px; }
.service-name { font-size:0.82rem; font-weight:600; color:var(--ink); }
.service-desc { font-size:0.82rem; color:var(--mid); line-height:1.5; }
.service-desc a { color:var(--mid); text-decoration:underline; text-underline-offset:2px; }

/* PRIVACY - RIGHTS LIST */
.rights-list { display:flex; flex-direction:column; gap:8px; margin-top:1rem; }
.right-row { display:flex; align-items:flex-start; gap:12px; padding:12px 14px; background:var(--gray); border:1px solid var(--border); border-radius:4px; }
.right-icon { font-size:1rem; flex-shrink:0; margin-top:1px; }
.right-name { font-size:0.82rem; font-weight:600; color:var(--ink); margin-bottom:2px; }
.right-desc { font-size:0.82rem; color:var(--mid); line-height:1.5; }

/* CONTACT */
.contact-wrap { max-width:560px; display:flex; flex-direction:column; gap:2rem; }
.block-label { font-size:0.72rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--mid); margin-bottom:0.75rem; }
.email-box { display:flex; align-items:center; gap:1rem; border:1px solid var(--border); border-radius:4px; padding:1.25rem 1.5rem; background:var(--gray); }
.email-link { font-size:1rem; font-weight:600; color:var(--ink); transition:opacity 0.15s; }
.email-link:hover { opacity:0.6; }
.copy-btn { margin-left:auto; font-family:'Inter',sans-serif; font-size:0.75rem; color:var(--mid); background:transparent; border:1px solid var(--border); border-radius:4px; padding:5px 12px; cursor:pointer; transition:all 0.15s; flex-shrink:0; }
.copy-btn:hover { border-color:var(--ink); color:var(--ink); }
.copy-btn.copied { border-color:#CFD8B4; color:#4C5E2E; }
.topics-list { display:flex; flex-direction:column; gap:8px; margin-top:0.75rem; }
.topic-row { display:flex; align-items:center; gap:10px; font-size:0.88rem; color:var(--mid); font-weight:300; }
.topic-dot { width:5px; height:5px; border-radius:50%; background:var(--border); flex-shrink:0; }

@media(max-width:600px) {
  .cookie-table th:nth-child(2), .cookie-table td:nth-child(2) { display:none; }
  .email-box { flex-wrap:wrap; }
}

/* ── ABOUT SECTION NEW LAYOUT (EN homepage) ──────────────────────────────── */
.about-inner-new {
  max-width: 1200px; margin: 0 auto; padding: 4rem 2.5rem;
}
.about-top {
  margin-bottom: 3rem;
}
.about-top .about-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem;
}
.about-top .about-title em { font-style: italic; color: var(--pink); }
.about-top .about-text {
  font-size: 1rem; color: var(--mid); line-height: 1.75;
  font-weight: 300;
}
.features-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border);
}




  .features-row { grid-template-columns: 1fr; }
  
  
  
}


/* ══════════════════════════════════════════════════ */
/* EN HOMEPAGE v2                                    */
/* ══════════════════════════════════════════════════ */

/* ── NAV ─────────────────────────────────────────────────────────────────── */

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.hero-v2-left {}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1A1A;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1A1A1A;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-v2-title {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-v2-title em {
  font-style: italic;
  font-weight: 300;
  color: #1A1A1A;
}
.hero-v2-sub {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.hero-v2-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: 'Inter', 'Open Sans', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-hero:hover { background: #333; color: #fff; transform: none; }
.hero-link {
  font-size: 0.85rem;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-link:hover { color: var(--ink); border-color: var(--ink); }

/* ── HERO RIGHT — color swatches ─────────────────────────────────────────── */
.hero-v2-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-content: flex-start;
  padding-top: 4rem;
}
.htag {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Inter', 'Open Sans', sans-serif;
  letter-spacing: 0.01em;
  cursor: default;
  transition: transform 0.2s;
}
.htag:hover { transform: scale(1.05) rotate(0deg) !important; }

/* ── TOOLS ───────────────────────────────────────────────────────────────── */
.tools-v2 {
  background: #FAFAFA;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tools-v2-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
}
.tools-v2-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.tools-v2-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}
.tools-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tool-v2-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.tool-v2-header .tool-v2-icon { margin-bottom: 0; flex-shrink: 0; }
.tool-v2-header .tool-v2-name { margin: 0; }
.tool-v2 {
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.tool-v2:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
  color: inherit;
}
.tool-v2-stripe { display: none; }
.tool-v2-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
}

.tool-v2-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.tool-v2-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tool-v2-desc {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
}
.tool-v2-cta {
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.25rem;
  transition: gap 0.2s;
}
.tool-v2:hover .tool-v2-cta { gap: 8px; }

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
}
.about-v2-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
}
.about-v2-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.about-v2-title em { font-style: italic; font-weight: 300; color: #1A1A1A; }
.about-v2-text {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  font-weight: 300;
  padding-top: 0.5rem;
}
.dots-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2rem 0;
}
.dots-divider span {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: block;
}
.feats-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feats-v2 > div {
  background: #F8F7F5;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.feat-v2-title {
  font-size: 1.15rem;
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.feat-v2-text {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
  font-weight: 300;
}

.footer-logo-text { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-v2 { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 1.25rem; }
  .hero-tags-wrap { padding-top: 0; gap: 8px; }
  .htag { padding: 9px 16px; font-size: 0.92rem; }
  .hero-v2-right { grid-template-rows: repeat(3, 60px); }
  .tools-v2-inner { padding: 2.5rem 1.25rem; }
  .tools-v2-grid { grid-template-columns: 1fr 1fr; }
  .about-v2 { padding: 2.5rem 1.25rem; }
  .about-v2-top { grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
  .dots-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2rem 0;
}
.dots-divider span {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: block;
}
.feats-v2 { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
  .tools-v2-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════ */
/* HOMEPAGE                                          */
/* ══════════════════════════════════════════════════ */
/* ── HERO ── */
.hero{max-width:1200px;margin:0 auto;padding:2rem 2.5rem 1rem;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;min-height:auto;}
.hero-eyebrow{font-size:0.65rem;font-weight:500;letter-spacing:0.2em;text-transform:uppercase;color:var(--light);margin-bottom:1.5rem;}
.hero-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(3rem,5.5vw,5rem);font-weight:600;line-height:1.0;letter-spacing:-0.02em;margin-bottom:1.5rem;color:var(--ink);}
.hero-title em{font-style:italic;font-weight:400;color:var(--ink);}
.hero-sub{font-size:0.95rem;color:var(--mid);line-height:1.75;font-weight:300;margin-bottom:2.5rem;max-width:360px;}
.btn-dark{display:inline-flex;align-items:center;gap:8px;padding:13px 28px;background:var(--ink);color:#fff;border-radius:4px;font-size:0.82rem;font-weight:500;font-family:'Inter',sans-serif;transition:opacity 0.2s;width:fit-content;}
.btn-dark:hover{opacity:0.8;color:#fff;}





.hero-img{width:100%;height:auto;display:block;}


/* ══════════════════════════════════════════════════ */
/* UNIFIED EDITORIAL LAYER — applies to ALL pages     */
/* ══════════════════════════════════════════════════ */
:root{
  --white:#FFFFFF; --bg:#FFFFFF; --ink:#1A1A1A; --black:#1A1A1A;
  --mid:#6B6560; --light:#9E9990; --border:#E2D9D0; --gray:#F5F2EF; --subtle:#F5F2EF;
  --pink:#1A1A1A; --teal:#1A1A1A; --amber:#1A1A1A; --violet:#1A1A1A; --blue:#1A1A1A; --green:#1A1A1A;
}
body{font-family:'Inter',sans-serif;color:var(--ink);background:var(--white);}

/* Nav — same on every page */
nav{background:var(--white);border-bottom:none;padding:0;}
.logo,.nav-logo{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.9rem;font-weight:600;letter-spacing:-0.01em;color:var(--ink);line-height:1;}
.lang-switcher,.lang-wrap{position:relative;}
.lang-dropdown li a,.lang-drop li a{display:block;padding:8px 16px;font-size:0.78rem;font-weight:500;color:var(--mid);}
.lang-dropdown li a:hover,.lang-drop li a:hover{background:var(--subtle);color:var(--ink);}

/* Inner page headings */
.page-inner{max-width:1200px;margin:0 auto;padding:2rem 2.5rem 4rem;}
.page-header{border-bottom:1px solid var(--border);padding-bottom:1.5rem;margin-bottom:2rem;}
.breadcrumb{font-size:0.75rem;color:var(--light);display:flex;gap:6px;align-items:center;}
.page-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2rem,3.5vw,3rem);font-weight:600;letter-spacing:-0.02em;line-height:1.1;margin:0.5rem 0 0.6rem;color:var(--ink);}
.page-desc{font-size:0.9rem;color:var(--mid);font-weight:300;line-height:1.7;max-width:680px;}
.seo-title,.faq-title,.internal-links-title,.section-title{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;letter-spacing:-0.01em;color:var(--ink);}
.seo-title,.faq-title{font-size:1.6rem;}

/* Buttons & accents: no pink anywhere */
.analyze-btn,.calculate-btn,.btn,.btn-dark{background:var(--ink);color:#fff;border-radius:4px;}
a:hover{color:inherit;}

/* Features on homepage — fixes text touching the border */
.features-inner .feat{display:flex;flex-direction:column;gap:0.5rem;padding:2rem 1.75rem;border:1px solid var(--border);border-radius:4px;background:var(--white);}
.features-inner .feat-title{font-size:0.95rem;font-weight:600;margin:0;}
.features-inner .feat-text{font-size:0.82rem;color:var(--mid);line-height:1.65;font-weight:300;}

/* Footer — same on every page */
footer,.footer{border-top:1px solid var(--border);background:var(--white);}
.footer-inner{max-width:1200px;margin:0 auto;padding:2rem 2.5rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;}

@media(max-width:900px){
  .page-inner{padding:1.5rem 1.25rem 3rem;}
  .footer-inner{padding:1.5rem 1.25rem;}
  .features-inner .feat{padding:1.5rem 1.25rem;}
}


/* ══════════════════════════════════════════════════ */
/* MOBILE LAYER — must stay last so it wins           */
/* ══════════════════════════════════════════════════ */
@media(max-width:900px){
  .nav-inner{padding:0 1.25rem;margin-top:0.5rem;}
  .logo,.nav-logo{font-size:1.6rem;}

  .hero{grid-template-columns:1fr;gap:0;padding:1.5rem 1.25rem 1.5rem;min-height:auto;}
  .hero-img-wrap{display:none;}
  .hero-eyebrow{margin-bottom:1rem;letter-spacing:0.15em;}
  .hero-title{font-size:clamp(2.6rem,11vw,3.4rem);margin-bottom:1rem;}
  .hero-sub{max-width:100%;margin-bottom:1.75rem;font-size:0.95rem;}

  .tools-inner{padding:0 1.25rem;}
  .tools-header{flex-direction:column;align-items:flex-start;gap:0.35rem;padding:1.25rem 0 1rem;}
  .tools-title{font-size:2rem;}
  .tools-header-desc{text-align:left;white-space:normal;}
  .tools-grid{grid-template-columns:1fr;}
  .tool-img-wrap{height:200px;}

  .features-inner{grid-template-columns:1fr;padding:1.5rem 1.25rem 2rem;gap:0.75rem;}
  .footer-inner{padding:1.5rem 1.25rem;}
}


/* ── FOOTER: mobile order = logo | links  /  copyright below ── */
@media(max-width:900px){
  .footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0.75rem 1rem;}
  .footer-logo{order:1;flex-shrink:0;}
  .footer-links{order:2;gap:0.9rem;flex-wrap:wrap;justify-content:flex-end;}
  .footer-copy{order:3;flex:0 0 100%;}
}

@media(max-width:400px){
  .footer-inner{gap:0.75rem 0.5rem;}
  .footer-logo{font-size:1.1rem;}
  .footer-links{flex:1 1 0;min-width:0;gap:0.6rem;}
  .footer-links a{font-size:0.7rem;}
}


/* ── FOOTER copyright: centered on mobile ── */
@media(max-width:900px){
  .footer-copy{text-align:center;}
}


/* ── Outfit builder: the analyse button must always be visible ── */
.analyze-btn--always{display:block;}

/* ── Hero slogan: longer text, always two lines ── */
.hero-title{font-size:clamp(2.4rem,4.4vw,4rem);}
@media(max-width:900px){
  .hero-title{font-size:clamp(2.4rem,10vw,3.4rem);}
}


/* ── Body type: three measurement fields in one row; one per row on phones ── */
.inputs-grid{grid-template-columns:repeat(3,1fr);align-items:end;}
@media(max-width:700px){
  .inputs-grid{grid-template-columns:1fr;}
}


/* ── Tool cards: images shown as full squares (no cropping) ── */
.tool-img-wrap{height:auto;aspect-ratio:1 / 1;background:transparent;padding:0;}
.tool-img-wrap img{width:100%;height:100%;object-fit:contain;}

/* ── Tools grid with square images: 3 columns desktop, 2 on tablets, 1 on phones ── */
@media(max-width:900px){ .tools-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:480px){ .tools-grid{grid-template-columns:1fr;} }

/* ── Tool cards: image fills the square, text aligned to visible image content ── */
.tool-img-wrap img{width:88%;height:88%;}
.tool-img-wrap{margin-bottom:0.25rem;}
.tool-num{padding:0 6%;margin-bottom:0.25rem;}
.tool-card-foot{padding:0 6% 0.25rem;}

/* ── Legal pages (privacy, cookies): section headings and text ── */
.updated{font-size:0.78rem;color:var(--light);margin-top:0.6rem;}
.content{max-width:760px;}
.content .section-title{font-size:1.55rem;line-height:1.2;margin-bottom:0.6rem;}
.content .section-text{font-size:0.95rem;color:var(--mid);line-height:1.7;font-weight:300;}
.content .section-text + .section-text{margin-top:0.75rem;}
.content .section-text a{color:var(--ink);text-decoration:underline;text-underline-offset:2px;}
.content .divider{height:1px;background:var(--border);margin:2rem 0;}
@media(max-width:600px){
  .content .section-title{font-size:1.35rem;}
  .content .divider{margin:1.5rem 0;}
}

/* ── Contact page: headings match legal pages ── */
.contact-wrap{max-width:760px;}
.contact-wrap .block-label{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.55rem;font-weight:600;line-height:1.2;letter-spacing:-0.01em;text-transform:none;color:var(--ink);margin-bottom:0.75rem;}
.contact-wrap p{font-size:0.95rem !important;line-height:1.7 !important;}
.contact-wrap .topic-row{font-size:0.95rem;}
@media(max-width:600px){ .contact-wrap .block-label{font-size:1.35rem;} }

/* ── Bold accent inside page descriptions ── */
.page-desc strong{font-weight:600;color:var(--ink);}

/* ══ Tool pages: SEO cards, numbered FAQ, visual "other tools" ══ */
/* SEO info blocks → card grid */
.seo-rows{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;border:none;}
.seo-row{display:block;background:#F8F5F1;border:1px solid var(--border);border-radius:6px;padding:1.4rem 1.5rem;}
.seo-row:last-child{border-bottom:1px solid var(--border);}
.seo-row:last-child:nth-child(odd){grid-column:1/-1;}
.seo-row-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.35rem;font-weight:600;line-height:1.2;color:var(--ink);margin-bottom:0.5rem;}
.seo-row-text{font-size:0.88rem;line-height:1.7;}

/* FAQ → numbered list without outer box */
.faq-section{margin-top:3.5rem;}
.faq-list{border:none;counter-reset:faq;}
.faq-item{counter-increment:faq;display:grid;grid-template-columns:3.25rem 1fr;column-gap:0.5rem;padding:1.4rem 0;border-bottom:none;border-top:1px solid var(--border);}
.faq-item:last-child{border-bottom:1px solid var(--border);}
.faq-item::before{content:counter(faq,decimal-leading-zero);grid-row:1 / span 2;font-family:'Cormorant Garamond',Georgia,serif;font-size:1.6rem;font-weight:500;line-height:1;color:var(--light);}
.faq-q{font-size:0.98rem;font-weight:500;color:var(--ink);margin-bottom:0.45rem;}
.faq-a{font-size:0.88rem;line-height:1.7;}

/* Other tools → cards with thumbnails */
.internal-links{margin-top:3.5rem;}
.internal-links-title{font-size:1.6rem;margin-bottom:1.25rem;}
.internal-links-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;}
.internal-links-grid a{display:flex;flex-direction:column;align-items:stretch;padding:0;border:1px solid var(--border);border-radius:6px;background:var(--white);overflow:hidden;font-size:0.85rem;color:var(--ink);transition:border-color 0.2s,transform 0.2s;}
.internal-links-grid a:hover{border-color:var(--ink);color:var(--ink);background:var(--white);transform:translateY(-2px);}
.il-img{display:block;aspect-ratio:1/1;background:#fff;padding:8%;}
.il-img img{width:100%;height:100%;object-fit:contain;display:block;}
.il-name{display:block;padding:0.7rem 0.85rem 0.85rem;border-top:1px solid var(--border);font-weight:500;line-height:1.35;}

@media(max-width:900px){ .internal-links-grid{grid-template-columns:repeat(3,1fr);} }
@media(max-width:600px){
  .seo-rows{grid-template-columns:1fr;}
  .seo-row{padding:1.2rem 1.25rem;}
  .seo-row-title{font-size:1.25rem;}
  .faq-item{grid-template-columns:2.5rem 1fr;}
  .faq-item::before{font-size:1.35rem;}
  .internal-links-grid{grid-template-columns:repeat(2,1fr);}
}

/* ══ Shrinkage calculator: fabric swatches, care-label icons ══ */
.fabric-grid{gap:10px;}
.fabric-card{border-radius:6px;padding:18px 10px 16px;display:flex;flex-direction:column;align-items:center;gap:4px;}
.fabric-card:hover{border-color:var(--ink);background:var(--white);}
.fabric-card.active{background:var(--ink);border-color:var(--ink);}
.fabric-swatch{width:46px;height:46px;border-radius:50%;margin-bottom:8px;border:1px solid rgba(0,0,0,0.08);transition:transform 0.2s,box-shadow 0.2s;}
.fabric-card:hover .fabric-swatch{transform:scale(1.06);}
.fabric-card.active .fabric-swatch{box-shadow:0 0 0 3px var(--ink),0 0 0 4px rgba(255,255,255,0.6);}
.sw-cotton{background:radial-gradient(circle,#DED3C3 1px,transparent 1.3px) 0 0/5px 5px,#F5F0E8;}
.sw-linen{background:repeating-linear-gradient(0deg,rgba(255,255,255,0.35) 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,rgba(120,100,70,0.18) 0 1px,transparent 1px 4px),#D8C8AA;}
.sw-wool{background:repeating-linear-gradient(45deg,rgba(255,255,255,0.22) 0 2px,transparent 2px 6px),repeating-linear-gradient(-45deg,rgba(90,70,50,0.18) 0 2px,transparent 2px 6px),#B9A285;}
.sw-silk{background:linear-gradient(135deg,#E6D2C2 0%,#FBF4EE 42%,#E9D6C8 60%,#D9C0AE 100%);}
.sw-polyester{background:linear-gradient(160deg,#B8C0C9,#97A1AC);}
.sw-viscose{background:linear-gradient(135deg,#CFAEA8 0%,#EAD5D1 45%,#C9A39D 100%);}
.sw-nylon{background:repeating-linear-gradient(135deg,rgba(255,255,255,0.18) 0 1px,transparent 1px 3px),#7D8B9A;}
.sw-blend{background:conic-gradient(#F5F0E8 0 25%,#D8C8AA 0 50%,#B9A285 0 75%,#97A1AC 0);}
.fabric-name{font-size:0.88rem;font-weight:600;}
.fabric-sub{font-size:0.72rem;color:var(--mid);display:inline-flex;align-items:center;gap:5px;line-height:1.3;}
.fabric-sub.r-low::before,.fabric-sub.r-mid::before,.fabric-sub.r-high::before{content:'';width:6px;height:6px;border-radius:50%;flex-shrink:0;}
.fabric-sub.r-low::before{background:#7E9C6C;}
.fabric-sub.r-mid::before{background:#C9A04A;}
.fabric-sub.r-high::before{background:#B4604C;}
.fabric-card.active .fabric-sub{color:rgba(255,255,255,0.7);}

.temp-grid{gap:10px;}
.temp-btn{border-radius:6px;padding:14px 6px 12px;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--ink);}
.temp-btn:hover{border-color:var(--ink);background:var(--white);}
.temp-btn.active{background:var(--ink);border-color:var(--ink);color:#fff;}
.temp-icon svg{width:44px;height:34px;display:block;}
.temp-label{font-size:0.75rem;margin-top:0;line-height:1.3;}
.temp-btn.active .temp-label{color:rgba(255,255,255,0.75);}

.calc-btn:disabled{background:#EFEBE6;color:#A8A097;}
.calc-hint{font-size:0.78rem;color:var(--light);line-height:1.5;text-align:center;margin-top:2px;}
.calc-btn:not(:disabled) ~ .calc-hint{display:none;}
@media(max-width:600px){ .fabric-swatch{width:40px;height:40px;} }

/* ══ Size chart: bigger toggles, clearer table, result box ══ */
.toggle-label{margin-bottom:8px;}
.toggle-row{border-radius:8px;padding:3px;gap:3px;background:#F6F2ED;border-color:#EDE6DD;}
.toggle-btn{border-radius:6px;padding:9px 18px;font-size:0.85rem;color:var(--mid);background:transparent;transition:background 0.15s,color 0.15s;}
.toggle-btn + .toggle-btn{border-left:none;}
.toggle-btn:hover{color:var(--ink);}
.toggle-btn.active{background:var(--ink);color:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.12);}

.table-wrap:has(#sizeTable){border-radius:8px;}
.size-table th{padding:12px 14px;background:#F8F5F1;}
.size-table th:first-child,.size-table td:first-child{text-align:center;}
.size-table td{padding:11px 14px;font-variant-numeric:tabular-nums;}
.size-table td:first-child{font-weight:600;}
.size-table tbody tr:hover td{background:#FAF7F3;color:var(--ink);}
.size-table tr.selected td,.size-table tr.selected:hover td{background:var(--ink);color:#fff;font-weight:600;}
.size-table tr.selected td:first-child{color:#fff;}

.sidebar:has(#resultBox){align-self:start;}
.hint-box{border-radius:8px;background:#F8F5F1;padding:1.1rem 1.25rem;}
.result-box{border-radius:8px;}
.result-box-header{background:#F8F5F1;}
.result-rows{padding:0.35rem 0;}
.result-row{padding:9px 1.25rem;}
.result-row:first-child .result-value{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.9rem;line-height:1;}
.result-value{font-size:1.05rem;font-variant-numeric:tabular-nums;}

@media(max-width:860px){
  .tool-layout:has(#sizeTable) .sidebar{display:none;}
  .toggle-btn{padding:8px 14px;}
}

/* ══ Outfit builder: live preview, empty states, round palette ══ */
.tool-sidebar:has(.outfit-preview){align-self:start;gap:10px;}
.outfit-preview{border:1px solid var(--border);border-radius:8px;background:#F8F5F1;padding:1.25rem 1rem;margin-bottom:4px;}
.outfit-preview svg{width:100%;height:auto;display:block;max-height:340px;}
.outfit-preview path{fill:#fff;stroke:rgba(0,0,0,0.14);stroke-width:1.2;stroke-linejoin:round;transition:fill 0.3s;}
.outfit-preview .pv-strap{fill:none !important;stroke-width:5;stroke-linecap:round;}
.outfit-preview .pv-empty path,.outfit-preview path.pv-empty{fill:#fff;stroke:#CFC4B8;stroke-dasharray:4 3;}
.outfit-preview .pv-empty .pv-strap{stroke:#CFC4B8 !important;stroke-width:1.2;}
.outfit-preview .pv-optional.pv-empty{opacity:0.45;}

.outfit-grid{gap:12px;}
.outfit-card{border-radius:8px;transition:border-color 0.2s;}
.outfit-card:hover{border-color:var(--ink);}
.card-block{height:96px;align-items:center;justify-content:center;padding:0;}
.card-block.is-empty{background:repeating-linear-gradient(135deg,#F8F5F1 0 8px,#F3EEE8 8px 16px);}
.card-edit-hint{font-size:0.75rem;color:var(--mid);background:rgba(255,255,255,0.85);padding:4px 10px;border-radius:999px;opacity:0;}
.card-block.is-empty .card-edit-hint{opacity:1;}
.card-label{padding:10px 12px;}
.card-name{font-size:0.88rem;font-weight:600;}
.card-optional{font-size:0.72rem;color:var(--light);font-weight:400;margin-left:4px;}
.card-required{color:var(--light);}
.card-hex{font-size:0.75rem;font-variant-numeric:tabular-nums;text-transform:uppercase;}
.card-picker{background:#F8F5F1;padding:14px;}
.preset-palette{gap:7px;margin-bottom:12px;}
.preset-dot{width:24px;height:24px;border-radius:50%;}
.preset-dot.active{outline:2px solid var(--ink);outline-offset:2px;}
.hex-input{padding:8px 10px;border-radius:6px;font-size:0.82rem;}
.hex-apply{padding:8px 14px;border-radius:6px;font-size:0.8rem;}
.analyze-btn:disabled{background:#EFEBE6;color:#A8A097;cursor:not-allowed;}
.analyze-btn:not(:disabled) ~ .calc-hint{display:none;}
@media(max-width:860px){
  .tool-sidebar:has(.outfit-preview){position:static;}
  .outfit-preview svg{max-height:260px;}
}
.tool-sidebar .reset-btn{display:block;border-radius:6px;}
.panel{border-radius:8px;}
.panel-header{background:#F8F5F1;}
.harmony-badge{border-radius:999px;}
@media(max-width:600px){ .card-block{height:64px;} }

/* Size chart: equal fixed column widths so nothing shifts when switching tabs */
.size-table{table-layout:fixed;}
@media(max-width:600px){ .size-table{table-layout:auto;} .size-table td{white-space:nowrap;padding-left:8px;padding-right:8px;} }

/* ══ Shared controls: capsule unit toggle (same as size chart) ══ */
.unit-toggle{border-radius:8px;padding:3px;gap:3px;background:#F6F2ED;border-color:#EDE6DD;}
.unit-btn{border-radius:6px;padding:7px 16px;font-size:0.82rem;color:var(--mid);background:transparent;}
.unit-btn.active{background:var(--ink);color:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.12);}

/* ══ Body type: figure with measurement lines ══ */
.bt-wrap{display:grid;grid-template-columns:160px 1fr;gap:2rem;align-items:center;border:1px solid var(--border);border-radius:8px;padding:1.5rem;background:#F8F5F1;}
.bt-figure svg{width:100%;height:auto;display:block;max-height:300px;}
.bt-body{fill:#fff;stroke:#CFC4B8;stroke-width:1.2;}
.bt-line line{stroke:#CFC4B8;stroke-width:1.4;stroke-dasharray:4 3;transition:stroke 0.2s;}
.bt-line circle{fill:#CFC4B8;transition:fill 0.2s;}
.bt-line.filled line{stroke:var(--ink);stroke-dasharray:none;}
.bt-line.filled circle{fill:var(--ink);}
.bt-line.focus line{stroke:#B4604C;stroke-dasharray:none;stroke-width:2;}
.bt-line.focus circle{fill:#B4604C;}
.bt-wrap .inputs-grid{grid-template-columns:1fr;gap:16px;counter-reset:bt;}
.bt-inputs .input-group{counter-increment:bt;}
.bt-inputs .input-label{display:flex;align-items:center;gap:8px;font-weight:600;font-size:0.9rem;}
.bt-inputs .input-label::before{content:counter(bt);width:20px;height:20px;border-radius:50%;background:var(--ink);color:#fff;font-size:0.7rem;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
.bt-inputs .param-input{background:#fff;border-radius:6px;}
.result-type-card,.info-box{border-radius:8px;}
.result-type-header,.info-box{background:#F8F5F1;}
.result-type-icon{border-radius:50%;}
@media(max-width:600px){
  .bt-wrap{grid-template-columns:96px 1fr;gap:1rem;padding:1rem;}
}

/* ══ Photo tools: upload zone and steps ══ */
.upload-zone{border:1.5px dashed #CFC4B8;border-radius:8px;background:#F8F5F1;padding:3rem 1.5rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0.35rem;transition:border-color 0.2s,background 0.2s;}
.upload-zone:hover{border-color:var(--ink);background:#F5F0EA;}
.upload-icon{width:64px;height:64px;border-radius:50%;background:#fff;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--ink);margin-bottom:0.75rem;font-size:0;}
.upload-icon svg{width:28px;height:28px;}
.upload-zone p{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.45rem;font-weight:600;margin-bottom:0.5rem;}
.upload-zone span.upload-btn{display:inline-block;background:var(--ink);color:#fff;font-size:0.85rem;font-weight:500;padding:0.65rem 1.4rem;border-radius:999px;margin-bottom:0.5rem;}
.upload-zone > span:not(.upload-btn){font-size:0.78rem;color:var(--light);}
.upload-tips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:1.25rem;}
.upload-zone .upload-tip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--border);border-radius:999px;padding:5px 12px 5px 9px;font-size:0.78rem;color:var(--ink);}
.upload-tip svg{width:14px;height:14px;color:#7E9C6C;flex-shrink:0;}

.step{border-radius:8px;}
.step.active{border-color:var(--ink);background:#F8F5F1;}
.step.active .step-num{background:var(--ink);color:#fff;}
.step.done{border-color:var(--border);background:#fff;}
.step.done .step-num{background:#7E9C6C;color:#fff;}

.empty-hint{display:block;line-height:1.55;}
.empty-hint::before{content:'';display:block;width:222px;max-width:100%;height:24px;margin-bottom:12px;background:radial-gradient(circle at 12px 12px,transparent 9.5px,#CFC4B8 10px 11px,transparent 11.5px) 0 0/28px 24px repeat-x;}
.result-type-icon svg{width:30px;height:30px;}
.result-type-icon svg *{fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linejoin:round;}
.result-type-name{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.75rem;letter-spacing:-0.01em;}

/* ══ Photo tools: canvas, picked colours, result palettes ══ */
.canvas-wrap{border-radius:8px;overflow:hidden;}
.step-color{border-radius:50%;}
.season-card{border-radius:8px;background:#F8F5F1;}
.season-name{font-family:'Cormorant Garamond',Georgia,serif;font-size:2rem;letter-spacing:-0.01em;margin-bottom:0.4rem;}
.picked-colors,.palette-panel{border-radius:8px;}
.picked-swatch{border-radius:50%;}
.palette-header{background:#F8F5F1;}
.palette-body{padding:1.25rem;}
.color-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:14px 8px;}
.color-item{display:flex;flex-direction:column;align-items:center;}
.color-swatch{width:46px;height:46px;border-radius:50%;border:1px solid rgba(0,0,0,0.08);}
.color-name{font-size:0.7rem;margin-top:6px;text-align:center;}
.swatch{border-radius:50% !important;}
.palette-row .swatch,.suggest-grid .swatch{border:1px solid rgba(0,0,0,0.08);}
.email-box{border-radius:8px;background:#F8F5F1;}
.copy-btn{border-radius:999px;}
/* Other tools thumbnails: robust sizing (Safari ignored padding with aspect-ratio + height:100%) */
.il-img{position:relative;aspect-ratio:1/1;padding:0;overflow:hidden;}
.il-img img{position:absolute;top:8%;left:8%;width:84%;height:84%;object-fit:contain;}
