* {
  box-sizing: border-box;
}

:root {
  --paper: #f3f1ea;
  --paper-deep: #e9e6dc;
  --ink: #171715;
  --muted: #706f69;
  --line: #cfccc1;
  --white: #fffefa;
  --coral: #ff6148;
  --coral-dark: #da3f2a;
  --lime: #d6f45f;
  --blue: #8ad9f7;
  --violet: #cfb7ff;
  --shadow: 0 18px 50px rgba(23, 23, 21, 0.1);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: "Noto Sans KR", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 79% 9%, rgba(207, 183, 255, 0.3), transparent 24rem),
    radial-gradient(circle at 8% 36%, rgba(214, 244, 95, 0.18), transparent 22rem),
    var(--paper);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

.noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(23, 23, 21, 0.22);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  transform: rotate(-7deg);
}

.brand-mark i {
  position: absolute;
  top: 12px;
  left: 0;
  width: 28px;
  height: 5px;
  background: var(--coral);
  border-radius: 1px;
  transform: rotate(45deg);
}

.brand-mark i:last-child {
  transform: rotate(-45deg);
}

.site-header nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 700;
}

.site-header nav a {
  position: relative;
  padding: 10px 0;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.local-badge {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  padding: 8px 12px;
  color: #515049;
  background: rgba(255, 254, 250, 0.58);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
}

.local-badge > span {
  width: 7px;
  height: 7px;
  background: #7fa326;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(127, 163, 38, 0.15);
}

.hero {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 36px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 80px 0 88px;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.eyebrow > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 22px;
  color: var(--white);
  background: var(--ink);
  font-size: 9px;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(55px, 6.25vw, 88px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.075em;
}

.hero h1 em {
  position: relative;
  z-index: 1;
  color: var(--coral);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -9px;
  bottom: 7px;
  left: -5px;
  height: 17px;
  content: "";
  background: var(--lime);
  transform: rotate(-1.7deg);
}

.hero-description {
  margin: 28px 0 36px;
  color: #57564f;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.03em;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:focus-visible,
.icon-button:focus-visible,
.filter-tab:focus-visible,
.paste-toggle:focus-visible,
.saved-baseline-button:focus-visible,
.loaded-file button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--coral);
}

.button-dark:hover {
  box-shadow: 8px 8px 0 var(--coral);
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-height: 450px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(23, 23, 21, 0.28);
  border-radius: 50%;
}

.orbit-one {
  top: 20px;
  right: 38px;
  width: 390px;
  height: 390px;
}

.orbit-two {
  top: 78px;
  right: 96px;
  width: 274px;
  height: 274px;
  border-style: dashed;
  animation: rotate 24s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.visual-card {
  position: absolute;
  z-index: 2;
  width: 245px;
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(23, 23, 21, 0.13);
}

.visual-card > span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.visual-card > strong {
  display: block;
  font-family: var(--mono);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.card-before {
  top: 45px;
  left: 9px;
  background: var(--white);
  transform: rotate(-4deg);
}

.card-after {
  right: 0;
  bottom: 45px;
  color: var(--white);
  background: var(--ink);
  transform: rotate(4deg);
}

.mini-people {
  display: flex;
  margin-top: 24px;
}

.mini-people i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: -7px;
  background: var(--c);
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.metric-down {
  display: flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  margin-top: 23px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--coral);
  font-family: var(--mono);
  font-size: 13px;
}

.metric-down small {
  font-size: 8px;
  letter-spacing: 0.08em;
}

.cross-line {
  position: absolute;
  z-index: 1;
  top: 211px;
  left: 171px;
  width: 231px;
  height: 2px;
  background: var(--coral);
  transform: rotate(-34deg);
}

.cross-line::before,
.cross-line::after {
  position: absolute;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
  transform: translateY(-5px);
}

.cross-line::after {
  right: 0;
}

.visual-stamp {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
  transform: rotate(12deg);
}

.ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
  display: flex;
  gap: 30px;
  align-items: center;
  width: max-content;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  animation: ticker 24s linear infinite;
}

.ticker-track i {
  width: 7px;
  height: 7px;
  background: var(--coral);
  transform: rotate(45deg);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.compare-section,
.guide-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 57px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.065em;
}

.section-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.privacy-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 14px 20px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
}

.privacy-strip > div {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.privacy-strip strong {
  font-size: 13px;
}

.privacy-strip small {
  font-size: 11px;
}

.privacy-code {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.lock-icon {
  position: relative;
  width: 15px;
  height: 13px;
  margin-top: 4px;
  border: 2px solid var(--ink);
}

.lock-icon::before {
  position: absolute;
  bottom: 9px;
  left: 2px;
  width: 7px;
  height: 8px;
  content: "";
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.workflow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 22px;
  align-items: center;
  max-width: 760px;
  margin: 58px auto 38px;
}

.workflow-step {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #8a8880;
  transition: color 200ms ease;
}

.workflow-step > span {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #aaa79e;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  transition: background 200ms ease, border 200ms ease;
}

.workflow-step > div {
  display: flex;
  flex-direction: column;
}

.workflow-step strong {
  font-size: 12px;
}

.workflow-step small {
  margin-top: 2px;
  font-size: 9px;
}

.workflow-step.active,
.workflow-step.complete {
  color: var(--ink);
}

.workflow-step.active > span {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.workflow-step.complete > span {
  background: var(--lime);
  border-color: var(--ink);
}

.workflow-line {
  height: 1px;
  background: var(--line);
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.upload-panel {
  min-width: 0;
  padding: 30px;
  background: rgba(255, 254, 250, 0.53);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.step-number,
.panel-state {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.step-number {
  padding: 5px 7px;
  color: var(--white);
  background: var(--ink);
}

.panel-state {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
}

.panel-state::before {
  width: 6px;
  height: 6px;
  content: "";
  background: #aaa79e;
  border-radius: 50%;
}

.panel-state.ready {
  color: #5c741f;
}

.panel-state.ready::before {
  background: #8fb028;
  box-shadow: 0 0 0 3px rgba(143, 176, 40, 0.15);
}

.upload-panel h3 {
  margin: 0 0 9px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.upload-panel > p {
  min-height: 40px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 24px;
  background:
    linear-gradient(90deg, var(--line) 50%, transparent 50%) top / 8px 1px repeat-x,
    linear-gradient(90deg, var(--line) 50%, transparent 50%) bottom / 8px 1px repeat-x,
    linear-gradient(0deg, var(--line) 50%, transparent 50%) left / 1px 8px repeat-y,
    linear-gradient(0deg, var(--line) 50%, transparent 50%) right / 1px 8px repeat-y,
    rgba(255, 254, 250, 0.65);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.dropzone:hover,
.dropzone.dragging {
  background-color: rgba(214, 244, 95, 0.22);
  transform: translateY(-2px);
}

.file-input:focus-visible + .dropzone {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.dropzone strong {
  margin: 18px 0 6px;
  font-size: 13px;
}

.dropzone small {
  color: #8c8981;
  font-family: var(--mono);
  font-size: 9px;
}

.upload-icon {
  position: relative;
  display: block;
  width: 47px;
  height: 51px;
  border: 1.5px solid var(--ink);
}

.upload-icon::before {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
}

.upload-icon i {
  position: absolute;
  top: 21px;
  left: 17px;
  width: 12px;
  height: 15px;
  border-top: 1.5px solid var(--ink);
}

.upload-icon i::before,
.upload-icon i::after {
  position: absolute;
  top: -5px;
  width: 8px;
  height: 1.5px;
  content: "";
  background: var(--ink);
}

.upload-icon i::before {
  left: -1px;
  transform: rotate(-45deg);
}

.upload-icon i::after {
  right: -1px;
  transform: rotate(45deg);
}

.saved-baseline-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  padding: 13px 14px;
  text-align: left;
  background: rgba(214, 244, 95, 0.22);
  border: 1px solid #a3b65d;
  cursor: pointer;
}

.saved-baseline-button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.saved-baseline-button strong {
  font-size: 11px;
}

.saved-baseline-button small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.history-icon {
  position: relative;
  width: 21px;
  height: 21px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.history-icon::before {
  position: absolute;
  top: 4px;
  left: 9px;
  width: 1.5px;
  height: 6px;
  content: "";
  background: var(--ink);
  transform-origin: bottom;
}

.history-icon::after {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 5px;
  height: 1.5px;
  content: "";
  background: var(--ink);
}

.no-baseline-spacer {
  height: 0;
}

.paste-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 2px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
}

.paste-toggle span {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.paste-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.paste-wrap {
  padding: 15px 0 0;
}

.paste-wrap label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
}

.paste-wrap textarea {
  width: 100%;
  padding: 12px;
  resize: vertical;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.paste-wrap textarea:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: 3px 3px 0 var(--blue);
}

.button-small {
  min-height: 36px;
  margin-top: 8px;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  font-size: 10px;
}

.loaded-file {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 67px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--lime);
}

.file-glyph {
  display: grid;
  place-items: center;
  width: 37px;
  height: 42px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}

.loaded-file > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.loaded-file strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loaded-file small {
  color: #6e8425;
  font-family: var(--mono);
  font-size: 8px;
}

.loaded-file button {
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 19px;
}

.compare-action-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 150px;
}

.connector {
  position: absolute;
  top: 0;
  width: 1px;
  height: 38px;
  background: var(--ink);
}

.connector::after {
  position: absolute;
  bottom: -5px;
  left: -4px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--paper);
  border: 1px solid var(--ink);
  transform: rotate(45deg);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.button-compare {
  align-self: end;
  min-width: 300px;
  min-height: 66px;
  flex-wrap: wrap;
  padding: 10px 22px;
  font-size: 14px;
}

.button-compare small {
  width: 100%;
  margin-top: -8px;
  font-size: 8px;
  font-weight: 500;
  opacity: 0.72;
}

.button-compare:disabled {
  color: #8a8880;
  background: #dddad1;
  border-color: #aaa79e;
  box-shadow: 7px 7px 0 #aaa79e;
  cursor: not-allowed;
}

.compare-icon {
  position: relative;
  width: 21px;
  height: 19px;
}

.compare-icon::before,
.compare-icon::after {
  position: absolute;
  left: 0;
  width: 19px;
  height: 7px;
  content: "";
  border-top: 1.5px solid currentColor;
}

.compare-icon::before {
  top: 2px;
  border-right: 1.5px solid currentColor;
  transform: skewX(42deg);
}

.compare-icon::after {
  bottom: 0;
  border-left: 1.5px solid currentColor;
  transform: rotate(180deg) skewX(42deg);
}

.results {
  margin-top: 65px;
  padding-top: 80px;
  border-top: 1px solid var(--ink);
  scroll-margin-top: 30px;
}

.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 35px;
}

.results-heading .eyebrow {
  margin-bottom: 16px;
}

.results-heading h2 {
  margin: 0;
  font-size: clamp(37px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.065em;
}

.results-heading > div > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.button-outline {
  background: transparent;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.button-outline:hover {
  background: var(--lime);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.stat-card {
  position: relative;
  min-height: 210px;
  padding: 26px;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.stat-card > span {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
}

.stat-card > strong {
  display: block;
  margin: 21px 0 15px;
  font-family: var(--mono);
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.stat-card > small {
  font-size: 10px;
}

.stat-unfollowed {
  color: var(--white);
  background: var(--coral);
}

.stat-new {
  background: var(--lime);
}

.stat-kept {
  background: var(--white);
}

.stat-mark {
  position: absolute;
  right: 21px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 53px;
  font-weight: 400;
  opacity: 0.17;
}

.result-board {
  margin-top: 45px;
  background: var(--white);
  border: 1px solid var(--ink);
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 18px;
  border-bottom: 1px solid var(--ink);
}

.filter-tabs {
  display: flex;
  align-self: stretch;
}

.filter-tab {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 18px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.filter-tab span {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--paper-deep);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 8px;
}

.filter-tab.active {
  border-bottom-color: var(--coral);
}

.filter-tab.active span {
  color: var(--white);
  background: var(--coral);
}

.toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 180px;
  height: 38px;
  padding: 0 12px 0 35px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 10px;
}

.search-box input:focus {
  background: var(--white);
  border-color: var(--ink);
  outline: 0;
}

.search-icon {
  position: absolute;
  z-index: 1;
  left: 13px;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.5px;
  content: "";
  background: var(--ink);
  transform: rotate(45deg);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--lime);
  border-color: var(--ink);
}

.copy-icon {
  position: relative;
  width: 12px;
  height: 13px;
  border: 1.5px solid var(--ink);
}

.copy-icon::before {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 11px;
  content: "";
  border: 1.5px solid var(--ink);
  border-right: 0;
  border-bottom: 0;
}

.download-icon {
  position: relative;
  width: 16px;
  height: 18px;
  border-bottom: 1.5px solid var(--ink);
}

.download-icon::before {
  position: absolute;
  top: 0;
  left: 7px;
  width: 1.5px;
  height: 11px;
  content: "";
  background: var(--ink);
}

.download-icon::after {
  position: absolute;
  top: 6px;
  left: 4px;
  width: 7px;
  height: 7px;
  content: "";
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}

.result-list-head,
.result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 100px;
  align-items: center;
}

.result-list-head {
  min-height: 43px;
  padding: 0 23px;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.result-list-head span:last-child {
  text-align: right;
}

.result-row {
  min-height: 74px;
  padding: 0 23px;
  border-bottom: 1px solid var(--line);
  animation: row-in 240ms ease both;
}

.result-row:last-child {
  border-bottom: 0;
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(6px); }
}

.account-cell {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  background: var(--avatar-color, var(--blue));
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.account-name {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.account-name strong {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-name small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 700;
}

.status-pill.unfollowed {
  color: #a92c1b;
  background: rgba(255, 97, 72, 0.16);
}

.status-pill.new {
  color: #5a711d;
  background: rgba(214, 244, 95, 0.55);
}

.status-pill.kept {
  color: #4f6471;
  background: rgba(138, 217, 247, 0.28);
}

.profile-link {
  justify-self: end;
  padding: 7px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
}

.profile-link:hover {
  color: var(--coral-dark);
  border-color: var(--coral-dark);
}

.load-more {
  width: 100%;
  min-height: 52px;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
}

.load-more:hover {
  background: var(--lime);
}

.result-empty {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-ring {
  display: block;
  width: 47px;
  height: 47px;
  margin-bottom: 15px;
  border: 1px dashed var(--muted);
  border-radius: 50%;
}

.result-empty strong {
  font-size: 13px;
}

.result-empty small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.guide-section {
  padding-top: 20px;
  padding-bottom: 140px;
}

.guide-heading {
  padding-top: 110px;
  border-top: 1px solid var(--ink);
}

.guide-heading .button {
  margin-bottom: 4px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.guide-grid article {
  position: relative;
  min-height: 420px;
  padding: 26px;
  background: rgba(255, 254, 250, 0.58);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.guide-num {
  font-family: var(--mono);
  font-size: 10px;
}

.guide-illustration {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 42px auto 36px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.settings-illustration i {
  position: absolute;
  width: 76px;
  height: 1px;
  background: var(--ink);
}

.settings-illustration i:nth-child(1) { top: 54px; }
.settings-illustration i:nth-child(2) { top: 75px; }
.settings-illustration i:nth-child(3) { top: 96px; }

.settings-illustration i::after {
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.settings-illustration i:nth-child(1)::after { left: 17px; }
.settings-illustration i:nth-child(2)::after { right: 12px; }
.settings-illustration i:nth-child(3)::after { left: 31px; }

.folder-illustration i {
  position: absolute;
  width: 77px;
  height: 53px;
  background: var(--blue);
  border: 1px solid var(--ink);
}

.folder-illustration i::before {
  position: absolute;
  top: -12px;
  left: -1px;
  width: 32px;
  height: 12px;
  content: "";
  background: var(--blue);
  border: 1px solid var(--ink);
  border-bottom: 0;
}

.folder-illustration b {
  z-index: 1;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 13px;
}

.compare-illustration i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 54px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
}

.compare-illustration i:first-child {
  left: 31px;
  background: var(--violet);
  transform: rotate(-8deg);
}

.compare-illustration i:nth-child(2) {
  right: 31px;
  background: var(--lime);
  transform: rotate(8deg);
}

.compare-illustration b {
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
}

.guide-grid h3 {
  margin: 0 0 13px;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.guide-grid p strong {
  color: var(--ink);
}

.guide-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 22px 26px;
  color: var(--white);
  background: var(--ink);
}

.guide-note strong {
  font-size: 11px;
}

.guide-note p {
  margin: 0;
  color: #cfcec9;
  font-size: 10px;
  line-height: 1.7;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 160px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
  border-top: 5px solid var(--coral);
}

.brand-footer .brand-mark {
  transform: scale(0.8) rotate(-7deg);
}

footer p {
  color: #aaa9a4;
  font-size: 11px;
}

footer > span {
  justify-self: end;
  color: #888782;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 250px;
  padding: 14px 17px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--white);
  box-shadow: 5px 5px 0 var(--coral);
  font-size: 11px;
  animation: toast-in 180ms ease both;
}

.toast.error {
  box-shadow: 5px 5px 0 var(--coral);
}

.toast-mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
}

.toast.error .toast-mark {
  background: var(--coral);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    width: min(540px, 100%);
    margin: -10px auto 0;
  }

  .section-heading > p {
    display: none;
  }

  .upload-panel {
    padding: 24px;
  }

  .stat-card > strong {
    font-size: 50px;
  }

  .guide-grid article {
    min-height: 400px;
    padding: 20px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .compare-section,
  .guide-section {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    height: 72px;
  }

  .local-badge {
    padding: 7px 9px;
    font-size: 0;
  }

  .local-badge::after {
    content: "LOCAL";
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 70px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 72px);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .orbit-one {
    top: 16px;
    right: 5%;
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    top: 68px;
    right: calc(5% + 52px);
    width: 226px;
    height: 226px;
  }

  .visual-card {
    width: 205px;
    min-height: 155px;
    padding: 20px;
  }

  .visual-card > strong {
    font-size: 39px;
  }

  .card-before {
    left: 4px;
  }

  .card-after {
    right: 4px;
    bottom: 30px;
  }

  .cross-line {
    left: 27%;
    width: 46%;
  }

  .compare-section {
    padding: 95px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .privacy-strip {
    grid-template-columns: auto 1fr;
  }

  .privacy-strip > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .privacy-strip small,
  .privacy-code {
    display: none;
  }

  .workflow {
    gap: 9px;
    margin: 38px auto 25px;
  }

  .workflow-step > div {
    display: none;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .upload-panel > p {
    min-height: 0;
  }

  .dropzone {
    min-height: 185px;
  }

  .compare-action-wrap {
    min-height: 130px;
  }

  .results {
    margin-top: 35px;
    padding-top: 65px;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .results-heading .button {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 165px;
  }

  .stat-card > strong {
    margin: 15px 0 10px;
  }

  .result-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
    padding: 12px;
  }

  .filter-tabs {
    min-height: 45px;
    overflow-x: auto;
  }

  .filter-tab {
    flex: 1 0 auto;
    justify-content: center;
    padding: 0 11px;
  }

  .toolbar-actions {
    width: 100%;
  }

  .search-box {
    flex: 1;
  }

  .search-box input {
    width: 100%;
  }

  .result-list-head,
  .result-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .result-list-head span:nth-child(2),
  .result-row > .status-pill {
    display: none;
  }

  .result-list-head,
  .result-row {
    padding-right: 15px;
    padding-left: 15px;
  }

  .guide-section {
    padding-bottom: 90px;
  }

  .guide-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding-top: 85px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid article {
    min-height: 375px;
  }

  .guide-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    min-height: 130px;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    min-height: 355px;
    transform: scale(0.94);
  }

  .visual-stamp {
    right: -4px;
  }

  .button-compare {
    width: calc(100% - 20px);
    min-width: 0;
  }

  .upload-panel {
    padding: 20px;
  }

  footer > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
