/* ── VARIABLES ───────────────────────────────────────────────────────────── */
:root {
  --white:  #ffffff;
  --black:  #0D0D0D;
  --gray:   #F5F5F5;
  --mid:    #4A4A4A;
  --border: #E5E5E5;
  --pink:   #FF4D6D;
  --teal:   #00B4A6;
  --amber:  #FF9F1C;
  --violet: #7B5EA7;
  --blue:   #3A86FF;
  --green:  #06D6A0;
}

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

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav { border-bottom: 1px solid var(--border); background: var(--white); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }


/* ── LANG SWITCHER ───────────────────────────────────────────────────────── */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: 1px solid var(--border); border-radius: 2px;
  padding: 5px 10px; font-size: 0.78rem; font-weight: 500;
  font-family: 'Open Sans', sans-serif; color: var(--black);
  cursor: pointer; letter-spacing: 0.05em; transition: border-color 0.2s;
}
.lang-btn:hover { border-color: var(--black); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 2px; list-style: none; min-width: 70px; z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li a {
  display: block; padding: 7px 14px; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--mid);
  transition: color 0.15s, background 0.15s;
}
.lang-dropdown li a:hover { color: var(--black); background: var(--gray); }

/* ── PAGE HEADER ─────────────────────────────────────────────────────────── */
.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(--black); }
.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; }
.updated { font-size: 0.75rem; color: #bbb; margin-top: 0.5rem; }

/* ── 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; }

/* ── SIDEBAR BUTTONS ─────────────────────────────────────────────────────── */
.calc-btn {
  width: 100%; padding: 0.75rem; background: var(--pink); color: #fff;
  border: none; border-radius: 4px; font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.calc-btn:hover { background: #e0304f; }
.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: 'Open Sans', sans-serif; font-size: 0.88rem;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.reset-btn:hover { border-color: var(--black); color: var(--black); }

/* ── INFO / RESULT BOX ───────────────────────────────────────────────────── */
.info-box {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 1rem; background: var(--gray);
}
.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; }

/* ── PANEL ───────────────────────────────────────────────────────────────── */
.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(--gray); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid);
}
.panel-body { padding: 1rem; }

/* ── SCORE BARS ──────────────────────────────────────────────────────────── */
.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 ───────────────────────────────────────────────────────── */
.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: #E6F9F0; color: #0A7A4B; border-color: #A8DFC5; }
.hok { background: #FFF8E6; color: #9A6700; border-color: #FFD97D; }
.hb  { background: #FEE9EC; color: #B8001F; border-color: #FFAAB5; }

/* ── 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 ─────────────────────────────────────────────────────────────────── */
.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 ──────────────────────────────────────────────────────── */
.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); }

/* ── CONTENT PAGES (privacy, cookies, contact) ───────────────────────────── */
.content { max-width: 720px; display: flex; flex-direction: column; gap: 2.5rem; }
.section-title { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.6rem; }
.section-text { font-size: 0.9rem; color: var(--mid); line-height: 1.75; font-weight: 300; }
.section-text a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.divider { height: 1px; background: var(--border); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

/* ── COOKIE BANNER ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  z-index: 999; padding: 14px 2.5rem; display: none;
}
.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.82rem; color: var(--mid); line-height: 1.5; }
.cookie-text a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }
.cookie-accept {
  flex-shrink: 0; padding: 7px 18px; background: var(--black); color: #fff;
  border: none; border-radius: 4px; font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.cookie-accept:hover { background: #333; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@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; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cookie-accept { width: 100%; }
  .cookie-banner { padding: 14px 1.25rem; }
}


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

/* ── COLOR-FIT ── */
:root {
  --white: #ffffff;
  --black: #0D0D0D;
  --gray: #F5F5F5;
  --mid: #4A4A4A;
  --border: #E5E5E5;
  --pink: #FF4D6D;
  --violet: #7B5EA7;
  --teal: #00B4A6;
  --amber: #FF9F1C;
  --blue: #3A86FF;
  --green: #06D6A0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: '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 */
nav { border-bottom: 1px solid var(--border); background: var(--white); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--pink); }
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: 1px solid var(--border); border-radius: 2px;
  padding: 5px 10px; font-size: 0.78rem; font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  color: var(--black); cursor: pointer; letter-spacing: 0.05em;
  transition: border-color 0.2s;
}
.lang-btn:hover { border-color: var(--black); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: 2px;
  list-style: none; min-width: 70px; z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li a {
  display: block; padding: 7px 14px; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--mid); transition: color 0.15s, background 0.15s;
}
.lang-dropdown li a:hover { color: var(--black); background: var(--gray); }

/* 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(--black); }
.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(--gray);
  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(--black); 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(--black);
  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(--gray);
  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(--black); 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: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  display: none;
}
.analyze-btn:hover { background: #e0304f; }

/* 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: #E6F9F0; color: #0A7A4B; border-color: #A8DFC5; }
.hok { background: #FFF8E6; color: #9A6700; border-color: #FFD97D; }
.hb { background: #FEE9EC; color: #B8001F; border-color: #FFAAB5; }

/* 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: '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(--black); color: var(--black); }

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  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: #fff8f9; }

footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

/* 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; }
  .nav-inner { padding: 0 1.25rem; }
  .page-inner { padding: 2rem 1.25rem 4rem; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── COLOR-TYPE ── */
:root {
  --white: #ffffff;
  --black: #0D0D0D;
  --gray: #F5F5F5;
  --mid: #4A4A4A;
  --border: #E5E5E5;
  --pink: #FF4D6D;
  --teal: #00B4A6;
}

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

/* NAV */
nav { border-bottom: 1px solid var(--border); background: var(--white); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--pink); }
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: 1px solid var(--border); border-radius: 2px;
  padding: 5px 10px; font-size: 0.78rem; font-weight: 500;
  font-family: 'Open Sans', sans-serif; color: var(--black);
  cursor: pointer; letter-spacing: 0.05em; transition: border-color 0.2s;
}
.lang-btn:hover { border-color: var(--black); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: 2px;
  list-style: none; min-width: 70px; z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li a {
  display: block; padding: 7px 14px; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--mid); transition: color 0.15s, background 0.15s;
}
.lang-dropdown li a:hover { color: var(--black); background: var(--gray); }

/* 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(--black); }
.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(--gray); 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(--black); 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(--black); 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: #fff8f9; }
.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(--gray); 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: 'Open Sans', sans-serif;
  padding: 2px 6px; border-radius: 2px; transition: color 0.2s;
  display: none;
}
.step-redo:hover { color: var(--black); }
.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: 'Open Sans', sans-serif;
  font-size: 0.88rem; font-weight: 500; cursor: pointer;
  transition: background 0.2s; display: none;
}
.analyze-btn:hover { background: #e0304f; }

.reset-btn {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  padding: 0.7rem 1rem; font-family: '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(--black); color: var(--black); }

/* 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(--gray); 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: #fff8f9; }

.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black); 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 */
footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

@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; }
  .nav-inner { padding: 0 1.25rem; }
  .page-inner { padding: 2rem 1.25rem 4rem; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── OUTFIT-BUILDER ── */
:root {
  --white: #ffffff;
  --black: #0D0D0D;
  --gray: #F5F5F5;
  --mid: #6B6B6B;
  --border: #E5E5E5;
  --pink: #FF4D6D;
  --violet: #7B5EA7;
  --teal: #00B4A6;
  --amber: #FF9F1C;
  --blue: #3A86FF;
  --green: #06D6A0;
}

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

nav {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--pink); }

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  color: var(--black);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: border-color 0.2s;
}

.lang-btn:hover { border-color: var(--black); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  list-style: none;
  min-width: 70px;
  z-index: 200;
}

.lang-dropdown.open { display: block; }

.lang-dropdown li a {
  display: block;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--mid);
  transition: color 0.15s, background 0.15s;
}

.lang-dropdown li a:hover {
  color: var(--black);
  background: var(--gray);
}

.hero {
  border-bottom: 1px solid var(--border);
}

.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: '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(--pink); }

.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;
}

.tools-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2.5rem;
}

.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);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.tool-card {
  background: var(--white);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
  overflow: hidden;
}

.tool-card:hover { background: var(--gray); }

.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-name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

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

.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(--gray);
  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: '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; }

.feat {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.feat:first-child { border-top: 1px solid var(--border); }

.feat-num {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--pink);
  line-height: 1;
  flex-shrink: 0;
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
}

.feat-title { font-size: 1rem; font-weight: 500; margin-bottom: 0.25rem; }
.feat-text { font-size: 0.9rem; color: var(--mid); line-height: 1.6; font-weight: 300; }
.feat-content { display: flex; flex-direction: column; justify-content: center; }

footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

@media (max-width: 860px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-inner { padding: 0 1.25rem; }
  .hero-inner, .tools-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem 1.25rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .about-inner { padding: 3rem 1.25rem; }
}
@media (max-width: 520px) {
  .tools-grid { grid-template-columns: 1fr; }
}
.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 ── */
:root {
  --white: #ffffff;
  --black: #0D0D0D;
  --gray: #F5F5F5;
  --mid: #4A4A4A;
  --border: #E5E5E5;
  --pink: #FF4D6D;
  --teal: #00B4A6;
}

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

/* NAV */
nav { border-bottom: 1px solid var(--border); background: var(--white); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--pink); }
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 4px; background: none; border: 1px solid var(--border); border-radius: 2px; padding: 5px 10px; font-size: 0.78rem; font-weight: 500; font-family: 'Open Sans', sans-serif; color: var(--black); cursor: pointer; letter-spacing: 0.05em; transition: border-color 0.2s; }
.lang-btn:hover { border-color: var(--black); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: var(--white); border: 1px solid var(--border); border-radius: 2px; list-style: none; min-width: 70px; z-index: 200; }
.lang-dropdown.open { display: block; }
.lang-dropdown li a { display: block; padding: 7px 14px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; color: var(--mid); transition: color 0.15s, background 0.15s; }
.lang-dropdown li a:hover { color: var(--black); background: var(--gray); }

/* 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(--black); }
.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: '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(--black); 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(--black); 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: 'Open Sans', sans-serif;
  color: var(--black); 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(--black); }
.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: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.calc-btn:hover { background: #e0304f; }
.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: 'Open Sans', sans-serif; font-size: 0.88rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.reset-btn:hover { border-color: var(--black); color: var(--black); }

/* SIDEBAR INFO BOX */
.info-box { border: 1px solid var(--border); border-radius: 4px; padding: 1rem; background: var(--gray); }
.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(--gray); 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); }

footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

@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; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .inputs-grid { grid-template-columns: 1fr; }
}

/* ── SIZE-CHART ── */
:root {
  --white: #ffffff;
  --black: #0D0D0D;
  --gray: #F5F5F5;
  --mid: #4A4A4A;
  --border: #E5E5E5;
  --pink: #FF4D6D;
  --teal: #00B4A6;
}

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

/* NAV */
nav { border-bottom: 1px solid var(--border); background: var(--white); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--pink); }
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 4px; background: none; border: 1px solid var(--border); border-radius: 2px; padding: 5px 10px; font-size: 0.78rem; font-weight: 500; font-family: 'Open Sans', sans-serif; color: var(--black); cursor: pointer; letter-spacing: 0.05em; transition: border-color 0.2s; }
.lang-btn:hover { border-color: var(--black); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: var(--white); border: 1px solid var(--border); border-radius: 2px; list-style: none; min-width: 70px; z-index: 200; }
.lang-dropdown.open { display: block; }
.lang-dropdown li a { display: block; padding: 7px 14px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; color: var(--mid); transition: color 0.15s, background 0.15s; }
.lang-dropdown li a:hover { color: var(--black); background: var(--gray); }

/* 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(--black); }
.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: '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(--black); 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(--gray); 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(--black); }
.result-value.highlight { color: var(--pink); }

.hint-box { border: 1px solid var(--border); border-radius: 4px; padding: 1rem; background: var(--gray); 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(--gray); 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(--black); }
.size-table tr:last-child td { border-bottom: none; }
.size-table tr:hover td { background: #fafafa; }
.size-table tr.selected td { background: #fff0f3; }
.size-table tr.selected td:first-child { color: var(--pink); }
.size-table tr.selected td { color: var(--black); 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); }

footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

@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; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .size-table th, .size-table td { padding: 8px 10px; font-size: 0.82rem; }
}

/* ── SHRINKAGE ── */
:root {
  --white: #ffffff;
  --black: #0D0D0D;
  --gray: #F5F5F5;
  --mid: #4A4A4A;
  --border: #E5E5E5;
  --pink: #FF4D6D;
  --teal: #00B4A6;
  --amber: #FF9F1C;
}

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

/* NAV */
nav { border-bottom: 1px solid var(--border); background: var(--white); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--pink); }
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 4px; background: none; border: 1px solid var(--border); border-radius: 2px; padding: 5px 10px; font-size: 0.78rem; font-weight: 500; font-family: 'Open Sans', sans-serif; color: var(--black); cursor: pointer; letter-spacing: 0.05em; transition: border-color 0.2s; }
.lang-btn:hover { border-color: var(--black); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: var(--white); border: 1px solid var(--border); border-radius: 2px; list-style: none; min-width: 70px; z-index: 200; }
.lang-dropdown.open { display: block; }
.lang-dropdown li a { display: block; padding: 7px 14px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; color: var(--mid); transition: color 0.15s, background 0.15s; }
.lang-dropdown li a:hover { color: var(--black); background: var(--gray); }

/* 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(--black); }
.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(--gray); }
.fabric-card.active { border-color: var(--black); background: var(--black); 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(--black); 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: 'Open Sans', sans-serif; background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.temp-btn:hover { border-color: #bbb; background: var(--gray); }
.temp-btn.active { border-color: var(--black); background: var(--black); 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: 'Open Sans', sans-serif;
  color: var(--black); 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(--black); }
.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: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.calc-btn:hover { background: #e0304f; }
.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: '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(--black); color: var(--black); }

.care-box { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: none; }
.care-box-header { padding: 0.75rem 1rem; background: var(--gray); 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(--black); }
.care-tag.warn { background: #FFF8E6; border-color: #FFD97D; color: #9A6700; }
.care-tag.bad  { background: #FEE9EC; border-color: #FFAAB5; color: #B8001F; }
.care-tag.good { background: #E6F9F0; border-color: #A8DFC5; color: #0A7A4B; }

/* 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(--gray); 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: #E6F9F0; color: #0A7A4B; border-color: #A8DFC5; }
.risk-mid  { background: #FFF8E6; color: #9A6700; border-color: #FFD97D; }
.risk-high { background: #FEE9EC; color: #B8001F; border-color: #FFAAB5; }

.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); }

footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

@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; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .fabric-grid { grid-template-columns: repeat(2, 1fr); }
  .dim-grid { grid-template-columns: 1fr; }
}

/* ── HOMEPAGE ── */
.hero { border-bottom: 1px solid var(--border); }
.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(--pink); }
.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; }

.tools-section { max-width: 1200px; margin: 0 auto; padding: 4.5rem 2.5rem; }
.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); }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.tool-card { background: var(--white); padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; position: relative; transition: background 0.2s; cursor: pointer; overflow: hidden; text-decoration: none; color: inherit; }
.tool-card:hover { background: var(--gray); }
.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-name { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.tool-desc { font-size: 0.9rem; color: var(--mid); line-height: 1.65; font-weight: 300; flex: 1; }
.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(--gray); 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; }
.feat { display: flex; gap: 1.25rem; align-items: stretch; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.feat:first-child { border-top: 1px solid var(--border); }
.feat-num { font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--pink); line-height: 1; flex-shrink: 0; width: 4rem; display: flex; align-items: center; justify-content: center; opacity: 0.2; }
.feat-title { font-size: 1rem; font-weight: 500; margin-bottom: 0.25rem; }
.feat-text { font-size: 0.9rem; color: var(--mid); line-height: 1.6; font-weight: 300; }
.feat-content { display: flex; flex-direction: column; justify-content: center; }

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

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

:root {
  --white: #ffffff;
  --black: #0D0D0D;
  --gray: #F5F5F5;
  --mid: #4A4A4A;
  --border: #E5E5E5;
  --pink: #FF4D6D;
}

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

/* NAV */
nav { border-bottom: 1px solid var(--border); background: var(--white); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--pink); }
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 4px; background: none; border: 1px solid var(--border); border-radius: 2px; padding: 5px 10px; font-size: 0.78rem; font-weight: 500; font-family: 'Open Sans', sans-serif; color: var(--black); cursor: pointer; letter-spacing: 0.05em; transition: border-color 0.2s; }
.lang-btn:hover { border-color: var(--black); }
.lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: var(--white); border: 1px solid var(--border); border-radius: 2px; list-style: none; min-width: 70px; z-index: 200; }
.lang-dropdown.open { display: block; }
.lang-dropdown li a { display: block; padding: 7px 14px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; color: var(--mid); transition: color 0.15s, background 0.15s; }
.lang-dropdown li a:hover { color: var(--black); background: var(--gray); }

/* 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(--black); }
.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(--black); }

.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(--gray);
}
.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(--black); 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(--black); color: #fff; border: none; border-radius: 3px; font-size: 0.75rem; cursor: pointer; font-family: '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: 'Open Sans', sans-serif; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.analyze-btn:hover { background: #e0304f; }
.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: 'Open Sans', sans-serif; font-size: 0.88rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.reset-btn:hover { border-color: var(--black); color: var(--black); }
.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(--gray); 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: #E6F9F0; color: #0A7A4B; border-color: #A8DFC5; }
.hok { background: #FFF8E6; color: #9A6700; border-color: #FFD97D; }
.hb { background: #FEE9EC; color: #B8001F; border-color: #FFAAB5; }
.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); }

footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.73rem; color: var(--mid); transition: color 0.2s; }
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.72rem; color: var(--mid); }

@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; }
  .footer-inner { flex-direction: column-reverse; text-align: center; padding: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@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(--black); }
.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(--black); 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:#EBF5FB; color:#1A6FA0; border-color:#A8D4F0; }
.type-ads { background:#FEE9EC; color:#B8001F; border-color:#FFAAB5; }

/* 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:'Open Sans',sans-serif; font-size:0.8rem; color:var(--pink); background:transparent; border:1px solid #FFAAB5; border-radius:4px; padding:7px 14px; cursor:pointer; transition:all 0.15s; }
.withdraw-btn:hover { border-color:var(--pink); background:#FEE9EC; }
.withdraw-btn.done { color:#0A7A4B; border-color:#A8DFC5; background:#E6F9F0; }

/* 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(--black); }
.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(--black); 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(--black); transition:opacity 0.15s; }
.email-link:hover { opacity:0.6; }
.copy-btn { margin-left:auto; font-family:'Open Sans',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(--black); color:var(--black); }
.copy-btn.copied { border-color:#A8DFC5; color:#0A7A4B; }
.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);
}
.feat-card {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}
.feat-card:last-child { border-right: none; padding-right: 0; }
.feat-card:not(:first-child) { padding-left: 2rem; }
.feat-card .feat-num { display: none; }
.feat-card .feat-title { font-size: 1.35rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--pink); letter-spacing: -0.02em; }
.feat-card .feat-text { font-size: 1rem; color: var(--mid); line-height: 1.65; font-weight: 300; }

@media (max-width: 860px) {
  .about-inner-new { padding: 3rem 1.25rem; }
  .features-row { grid-template-columns: 1fr; }
  .feat-card { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
  .feat-card:last-child { border-bottom: none; }
  .feat-card:not(:first-child) { padding-left: 0; }
}


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

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav { border-bottom: none; }

/* ── 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: #FF4D6D;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF4D6D;
  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(--black);
  margin-bottom: 1.5rem;
}
.hero-v2-title em {
  font-style: italic;
  font-weight: 300;
  color: #FF4D6D;
}
.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(--black);
  color: #fff;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: '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(--black); border-color: var(--black); }

/* ── 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: '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(--black);
  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(--black);
}
.about-v2-title em { font-style: italic; font-weight: 300; color: #FF4D6D; }
.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: #FF4D6D;
  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 ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); }

/* ── 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; }
}