:root {
  --paper: #f5f1e8;
  --paper-2: #ebe4d7;
  --ink: #18241f;
  --muted: #647069;
  --line: rgba(24, 36, 31, 0.14);
  --green: #1d6b4a;
  --green-dark: #124833;
  --lime: #cbe86b;
  --orange: #ef8354;
  --blue: #6f9ceb;
  --white: #fffef9;
  --shadow: 0 18px 50px rgba(31, 49, 40, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 6%, rgba(203, 232, 107, .23), transparent 22rem),
    var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 700;
  transform: rotate(-7deg);
}
.brand b { display: block; font-size: 18px; letter-spacing: -.03em; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { color: #435048; font-size: 14px; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: var(--green); }

main { min-height: calc(100vh - 260px); }
.hero-section {
  width: min(1180px, calc(100% - 40px));
  min-height: 570px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  gap: 70px;
}
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}
.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  font-size: clamp(44px, 6.2vw, 79px);
  line-height: 1.02;
  letter-spacing: -.065em;
}
.hero-copy h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
.hero-copy p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.primary-button,
.secondary-button,
.text-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
  text-decoration: none;
}
.primary-button { color: white; background: var(--green); box-shadow: 0 10px 22px rgba(29, 107, 74, .18); }
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.secondary-button { color: var(--green); background: transparent; border: 1px solid var(--green); }
.text-button { min-height: 42px; color: var(--green); background: transparent; }
.privacy-card {
  min-height: 340px;
  padding: 46px 40px;
  border: 1px solid rgba(29, 107, 74, .22);
  border-radius: 48% 48% 34% 34% / 42% 42% 28% 28%;
  background: rgba(255, 254, 249, .68);
  text-align: center;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.privacy-orbit {
  width: 106px;
  height: 106px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--green);
  border-radius: 50%;
}
.privacy-lock {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime);
  font-size: 31px;
  font-weight: 900;
}
.privacy-card strong { display: block; font-size: 27px; line-height: 1.25; letter-spacing: -.04em; }
.privacy-card p { margin: 15px 0 0; color: var(--muted); line-height: 1.65; }

.tools-section {
  padding: 88px max(20px, calc((100% - 1180px) / 2));
  background: var(--green-dark);
  color: white;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.section-heading .eyebrow { color: var(--lime); }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(32px, 4vw, 49px); letter-spacing: -.055em; }
.section-heading p { margin: 0 0 7px; color: rgba(255,255,255,.66); }
.tool-category-groups { display: grid; gap: 54px; }
.tool-category-group { min-width: 0; }
.tool-category-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.tool-category-heading h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.tool-category-heading p { max-width: 560px; margin: 0; color: rgba(255,255,255,.6); font-size: 13px; text-align: right; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.tool-card {
  min-height: 265px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: white;
  text-decoration: none;
  transition: .18s ease;
}
.tool-card:hover { border-color: var(--lime); background: rgba(255,255,255,.09); transform: translateY(-4px); }
.tool-icon, .tool-title-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--green-dark);
  background: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 15px;
  font-weight: 950;
}
.tool-icon-2, .tool-icon-5 { background: #f4ac72; }
.tool-icon-3, .tool-icon-6 { background: #8eb4f4; }
.tool-category { display: block; margin: 28px 0 8px; color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.tool-card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.035em; }
.tool-card p { min-height: 48px; margin: 0; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.6; }
.card-action { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; font-weight: 800; }
.card-action b { color: var(--lime); font-size: 18px; }
.trust-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 80px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip > div { min-height: 150px; padding: 35px 25px; display: flex; gap: 17px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip b { color: var(--green); font-family: Georgia, serif; font-size: 22px; font-style: italic; }
.trust-strip span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.trust-strip strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 16px; }

.tool-page, .info-page { width: min(1050px, calc(100% - 40px)); margin: 0 auto; padding: 45px 0 100px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb b { color: var(--ink); }
.tool-title { margin: 45px 0 30px; display: flex; align-items: center; gap: 20px; }
.tool-title-icon { width: 67px; height: 67px; flex: 0 0 auto; border-radius: 19px; font-size: 18px; }
.tool-title h1 { margin: 5px 0 6px; font-size: clamp(34px, 5vw, 54px); line-height: 1; letter-spacing: -.06em; }
.tool-title p { margin: 0; color: var(--muted); }
.tool-workspace {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.drop-zone {
  min-height: 250px;
  padding: 40px 25px;
  border: 1.5px dashed rgba(29, 107, 74, .45);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(203, 232, 107, .075);
  text-align: center;
}
.drop-zone.is-dragging { border-color: var(--green); background: rgba(203, 232, 107, .18); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone strong { font-size: 22px; letter-spacing: -.03em; }
.drop-zone p { margin: 8px 0 23px; color: var(--muted); font-size: 14px; }
.file-list { margin: 20px 0 0; padding: 0; list-style: none; }
.file-list li { padding: 12px 14px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.file-list span { color: var(--muted); white-space: nowrap; }
.file-remove {
  width: 24px;
  height: 24px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #9f3f34;
  background: rgba(180, 66, 51, .1);
  font-size: 17px;
  line-height: 1;
}
.file-remove:hover { color: white; background: #b44233; }
.action-button { width: 100%; margin-top: 20px; }
.control-row { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.control-row label { padding: 16px; border: 1px solid var(--line); border-radius: 13px; font-size: 13px; font-weight: 800; }
.control-row select, .control-row input { width: 100%; margin-top: 10px; }
.result-note { margin-top: 18px; padding: 14px; border-radius: 10px; color: var(--muted); background: var(--paper); font-size: 13px; }
.organizer-toolbar { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 9px; }
.pdf-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 15px; }
.pdf-page-card { padding: 10px; border: 2px solid transparent; border-radius: 14px; background: var(--paper); transition: border-color .15s, opacity .15s, transform .15s; }
.pdf-page-card:hover { transform: translateY(-2px); }
.pdf-page-card.is-selected { border-color: var(--green); }
.pdf-page-card.is-dragging { opacity: .42; }
.pdf-page-card.is-drag-chosen { box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.pdf-page-card.is-drag-active { transform: rotate(1deg); }
.pdf-page-card.is-drop-target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(203,232,107,.25); }
.pdf-thumb-wrap { height: 190px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #d8d8d3; cursor: grab; touch-action: none; }
.pdf-thumb-wrap:active { cursor: grabbing; }
.pdf-drag-ghost { position: fixed; z-index: 99999; pointer-events: none; padding: 9px 12px; border-radius: 9px; background: #171717; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28); font-size: 12px; font-weight: 800; }
.pdf-thumb-wrap canvas { max-width: 100%; max-height: 100%; box-shadow: 0 3px 12px rgba(0,0,0,.16); }
.pdf-page-meta { margin-top: 9px; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.pdf-page-meta label { color: var(--ink); font-size: 12px; font-weight: 800; }
.pdf-page-actions { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pdf-page-actions button { padding: 7px 5px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 800; }
.target-size-options { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.target-size-button, .custom-size-label { min-height: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 800; }
.target-size-button { cursor: pointer; }
.target-size-button.active { border-color: var(--green); background: rgba(203, 232, 107, .2); box-shadow: inset 0 0 0 1px var(--green); }
.custom-size-label { display: flex; align-items: center; gap: 8px; }
.custom-size-label input { min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 7px; }
.table-preview-wrap { margin-top: 18px; max-height: 330px; overflow: auto; border: 1px solid var(--line); border-radius: 11px; }
.table-preview { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 12px; }
.table-preview th, .table-preview td { min-width: 100px; padding: 9px 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table-preview th { position: sticky; top: 0; z-index: 1; background: var(--green); color: #172000; }
.rule-panel { margin-top: 18px; display: block; font-size: 13px; font-weight: 800; }
.rule-panel textarea { width: 100%; min-height: 115px; margin-top: 8px; padding: 13px; resize: vertical; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font: 13px/1.55 monospace; }
.option-checks { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 9px; }
.option-checks label, .inline-check { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); font-size: 12px; font-weight: 700; }
.rename-controls { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rename-controls label { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); font-size: 12px; font-weight: 800; }
.rename-controls input, .rename-controls select { width: 100%; margin-top: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #202020; }
.inline-check { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; }
.rename-preview { margin-top: 17px; max-height: 330px; overflow: auto; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.rename-preview p { padding: 15px; color: var(--muted); font-size: 13px; }
.rename-preview div { padding: 10px 13px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 12px; align-items: center; border-bottom: 1px solid var(--line); font-size: 12px; }
.rename-preview span, .rename-preview strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rename-preview b { color: var(--green-dark); }
.code-file-row { margin-bottom: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.file-label-button { display: inline-flex; align-items: center; cursor: pointer; }
.file-label-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.code-file-row > span { color: var(--muted); font-size: 12px; }
.obfuscator-options { margin-top: 17px; padding: 14px; display: grid; grid-template-columns: 2fr 1fr 1fr; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.obfuscator-options label { font-size: 12px; font-weight: 800; }
.obfuscator-options select { width: 100%; margin-top: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; }
.obfuscator-help { margin: 9px 2px 0; color: var(--muted); font-size: 12px; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editor-panel { display: block; }
.editor-panel > span { display: block; margin: 0 0 8px 4px; font-size: 13px; font-weight: 900; }
.editor-panel textarea {
  width: 100%;
  min-height: 410px;
  padding: 18px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  color: #25322c;
  background: #f8f6f0;
  font: 13px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.editor-panel textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,107,74,.1); }
.editor-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 9px; }
.status-message { min-height: 24px; margin-top: 12px; color: var(--green); font-size: 13px; font-weight: 700; }
.status-message.is-error { color: #b44233; }
.obfuscation-detection {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  align-items: center;
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: #f7faff;
}
.obfuscation-detection .detection-label {
  grid-row: 1 / 3;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e4eefc;
  color: #245b9e;
  font-size: 12px;
  font-weight: 800;
}
.obfuscation-detection strong { color: #20344d; font-size: 14px; }
.obfuscation-detection p { margin: 0; color: #617086; font-size: 12px; }
.obfuscation-detection.is-detected {
  border-color: #b8d7c4;
  background: #f3fbf6;
}
.obfuscation-detection.is-detected .detection-label {
  background: #dcefe3;
  color: #237442;
}
@media (max-width: 640px) {
  .obfuscation-detection { grid-template-columns: 1fr; }
  .obfuscation-detection .detection-label { grid-row: auto; width: max-content; }
}
.utility-form { display: grid; gap: 16px; }
.utility-form > label, .utility-form .option-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.utility-form input:not([type="checkbox"]):not([type="color"]):not([type="range"]),
.utility-form select, .utility-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d5deea;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}
.utility-form textarea { min-height: 120px; resize: vertical; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.check-row { display: flex; flex-wrap: wrap; gap: 9px 16px; }
.check-row label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.visual-result {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 18px;
  overflow: auto;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #f8fafc;
}
.visual-result canvas, .visual-result svg { max-width: 100%; height: auto; }
.picker-result { gap: 9px; color: #173b6d; font-size: 22px; text-align: center; }
.picker-result b { display: block; font-size: 28px; }
.picker-result span { display: block; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 10px; }
.metric-grid > div { display: grid; gap: 3px; padding: 14px; border-radius: 11px; background: #f4f7fb; }
.metric-grid b { color: #173b6d; font-size: 20px; overflow-wrap: anywhere; }
.metric-grid span { color: #68788c; font-size: 12px; }
.metric-grid .is-over { outline: 2px solid #d95b4d; background: #fff3f1; }
.image-stage { overflow: auto; border-radius: 12px; background: #eef2f6; text-align: center; }
.image-stage canvas { display: block; max-width: 100%; height: auto; margin: auto; cursor: crosshair; }
.color-palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 8px; }
.color-palette button { min-height: 90px; padding: 0; overflow: hidden; border: 0; border-radius: 10px; cursor: pointer; }
.color-palette span { display: block; margin-top: 55px; padding: 7px 3px; background: rgba(255,255,255,.88); color: #18283b; font-size: 11px; font-weight: 800; }
#signatureCanvas { width: 100%; height: auto; border: 1px solid #ccd7e4; border-radius: 12px; background: repeating-linear-gradient(0deg,#fff,#fff 34px,#eef2f6 35px); touch-action: none; }
.privacy-notice { margin-top: 18px; padding: 20px 24px; display: flex; align-items: flex-start; gap: 15px; border-radius: 15px; color: #173e2c; background: rgba(203, 232, 107, .31); }
.privacy-notice > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }
.privacy-notice strong { font-size: 14px; }
.privacy-notice p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }
.guide-section, .related-section { margin-top: 70px; }
.guide-section h2, .related-section h2 { font-size: 28px; letter-spacing: -.04em; }
.editorial-intro {
  margin-bottom: 42px;
  padding: 30px;
  border-left: 4px solid var(--green);
  border-radius: 0 18px 18px 0;
  background: rgba(255,255,255,.35);
}
.editorial-intro h2 { margin: 8px 0 12px; }
.editorial-intro p { max-width: 820px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.25); }
.guide-grid article b { color: var(--green); font: italic 22px Georgia, serif; }
.guide-grid h3 { margin: 16px 0 8px; font-size: 16px; }
.guide-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.details-section {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.details-section article { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.28); }
.details-section h2 { margin: 0 0 15px; font-size: 19px; letter-spacing: -.03em; }
.details-section ul { margin: 0; padding-left: 20px; color: var(--muted); }
.details-section li { margin: 9px 0; font-size: 13px; line-height: 1.6; }
.faq-section { margin-top: 70px; }
.faq-section h2 { margin: 8px 0 22px; font-size: 28px; letter-spacing: -.04em; }
.faq-list details, .home-faq details { border-top: 1px solid var(--line); }
.faq-list details:last-child, .home-faq details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary, .home-faq summary { padding: 18px 4px; cursor: pointer; font-size: 15px; font-weight: 850; }
.faq-list details p, .home-faq details p { margin: -2px 4px 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.related-links a { padding: 15px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.32); font-size: 13px; font-weight: 800; text-decoration: none; }
.related-links a span { color: var(--green); font-family: monospace; }
.related-links a b { margin-left: auto; color: var(--green); }
.info-page { max-width: 760px; }
.info-page h1 { margin: 12px 0 35px; font-size: 52px; letter-spacing: -.06em; }
.info-page h2 { margin-top: 42px; font-size: 22px; }
.info-page p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.info-page .policy-date { margin-top: 28px; color: #89918c; font-size: 12px; }
.home-editorial {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 100px;
}
.light-heading .eyebrow { color: var(--green); }
.light-heading h2 { color: var(--ink); }
.home-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.home-article-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.32); }
.home-article-grid h3 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.03em; }
.home-article-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.home-faq { max-width: 820px; margin-top: 65px; }
.home-faq h2 { font-size: 28px; letter-spacing: -.04em; }

.site-footer {
  padding: 50px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  color: rgba(255,255,255,.66);
  background: #102d22;
}
.site-footer strong { color: white; font-size: 18px; }
.site-footer p { margin: 8px 0; font-size: 13px; }
.site-footer nav { display: flex; gap: 20px; align-items: start; }
.site-footer a { font-size: 12px; text-decoration: none; }
.site-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }

@media (max-width: 780px) {
  .site-header { min-height: 72px; }
  .brand small, .site-header nav a:not(:first-child) { display: none; }
  .site-header nav { gap: 10px; }
  .hero-section { min-height: auto; padding: 75px 0; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 64px); }
  .privacy-card { display: none; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .tool-category-groups { gap: 40px; }
  .tool-category-heading { display: block; }
  .tool-category-heading p { margin-top: 7px; text-align: left; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 235px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .tool-title { align-items: flex-start; }
  .tool-title h1 { font-size: 38px; }
  .editor-grid, .control-row, .guide-grid, .details-section, .related-links, .home-article-grid, .target-size-options, .rename-controls { grid-template-columns: 1fr; }
  .rename-preview div { grid-template-columns: 1fr; gap: 4px; }
  .obfuscator-options { grid-template-columns: 1fr; }
  .editor-panel textarea { min-height: 280px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
}
