:root {
  color-scheme: light;
  --blue: #356cf6;
  --blue-dark: #2555db;
  --ink: #17233c;
  --muted: #748098;
  --line: #e9edf4;
  --soft-blue: #f5f8ff;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { height: 78px; border-bottom: 1px solid #f0f2f6; background: rgba(255,255,255,.94); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-heading); font-weight: 800; font-size: 21px; letter-spacing: -1.2px; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue); background: #eef3ff; border-radius: 10px; }
.brand-mark svg { width: 26px; height: 26px; }
.main-nav { display: flex; align-items: center; gap: 37px; margin-left: 52px; }
.nav-link { color: #647087; font-size: 13px; font-weight: 600; transition: color .18s ease; }
.nav-link:hover { color: var(--blue); }
.header-cta { padding: 10px 16px; border: 1px solid #e8edf8; border-radius: 8px; color: var(--blue); font-size: 13px; font-weight: 700; transition: background .18s ease, border-color .18s ease; }
.header-cta:hover { background: var(--soft-blue); border-color: #d7e2ff; }
.header-cta span { padding-left: 5px; }

.hero { position: relative; overflow: hidden; min-height: 490px; display: flex; align-items: center; text-align: center; background: radial-gradient(ellipse at 50% 32%, #fbfcff 0, #fff 58%); }
.hero-content { position: relative; z-index: 1; padding: 62px 0 47px; }
.hero-orb { position: absolute; border: 1px solid #f0f3fb; border-radius: 50%; pointer-events: none; }
.hero-orb-one { width: 430px; height: 430px; top: -190px; right: -100px; }
.hero-orb-two { width: 340px; height: 340px; bottom: -240px; left: -90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e8edfa; border-radius: 30px; padding: 7px 12px; color: #6b7891; background: #fff; font-size: 11px; font-weight: 700; letter-spacing: .25px; }
.eyebrow-dot, .status-dot { width: 7px; height: 7px; display: inline-block; flex: none; border-radius: 50%; background: #5bc694; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 22px 0 13px; font-family: var(--font-heading); font-size: clamp(42px, 5.4vw, 64px); font-weight: 800; letter-spacing: -3.4px; line-height: 1.1; }
.hero h1 span { color: var(--blue); }
.hero-copy { margin-bottom: 26px; color: #7a8497; font-size: 16px; line-height: 1.65; }
.search-form { width: min(540px, 100%); height: 57px; display: flex; align-items: center; margin: 0 auto; padding: 5px 5px 5px 18px; border: 1px solid #e6eaf2; border-radius: 10px; background: #fff; box-shadow: 0 8px 26px rgba(37,66,128,.07); }
.search-icon { width: 19px; height: 19px; flex: none; color: #9aa4b6; }
.search-form input { width: 100%; min-width: 0; height: 100%; padding: 0 13px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-form input::placeholder { color: #a1a9b8; }
.search-form button { height: 100%; flex: none; padding: 0 17px; border: 0; border-radius: 7px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 700; transition: background .18s ease; }
.search-form button:hover { background: var(--blue-dark); }
.search-form button span { margin-left: 8px; font-size: 16px; vertical-align: -1px; }
.popular-searches { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 13px; color: #a0a8b7; font-size: 11px; }
.search-suggestion { padding: 0; border: 0; color: #748098; background: transparent; font-size: 11px; }
.search-suggestion:hover { color: var(--blue); }
.hero-proof { display: flex; justify-content: center; gap: 27px; margin-top: 35px; color: #788398; font-size: 11px; font-weight: 600; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof svg { width: 17px; height: 17px; color: var(--blue); }

.tools-section { padding-top: 49px; padding-bottom: 75px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; }
.section-kicker { margin-bottom: 7px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.section-heading h2, .privacy-inner h2 { margin-bottom: 6px; font-family: var(--font-heading); font-size: 27px; font-weight: 800; letter-spacing: -.9px; }
.section-description { margin-bottom: 0; color: #8490a2; font-size: 12px; }
.result-count { color: var(--muted); font-size: 12px; }
.category-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 26px 0 20px; }
.category-label { margin-right: 5px; color: #929bad; font-size: 11px; font-weight: 600; }
.category-chip { min-height: 31px; padding: 0 12px; border: 1px solid #e9edf4; border-radius: 7px; color: #647087; background: #fff; font-size: 11px; font-weight: 600; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.category-chip span { margin-left: 5px; color: #9ba5b6; font-size: 10px; }
.category-chip:hover { border-color: #cbd9ff; color: var(--blue); }
.category-chip.is-active { border-color: #dce6ff; color: var(--blue); background: #f2f6ff; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.tool-card { min-height: 208px; display: flex; flex-direction: column; padding: 20px 20px 17px; border: 1px solid #e9edf4; border-radius: 10px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: #dce5f8; box-shadow: 0 10px 26px rgba(34,58,108,.07); }
.tool-card[hidden] { display: none; }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.tool-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 9px; }
.tool-icon svg { width: 22px; height: 22px; }
.icon-lilac { color: #865fe8; background: #f3edff; }
.icon-blue { color: #3e72e8; background: #edf3ff; }
.icon-mint { color: #24a77a; background: #e8f8f2; }
.tool-category { color: #939db0; font-size: 9px; font-weight: 800; letter-spacing: .9px; }
.tool-card h3 { margin: 18px 0 6px; font-family: var(--font-heading); font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.tool-card > p { margin-bottom: 17px; color: #7e899c; font-size: 11px; line-height: 1.6; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f2f6; }
.tool-meta { display: inline-flex; align-items: center; gap: 6px; color: #8994a6; font-size: 10px; }
.tool-meta .status-dot { width: 6px; height: 6px; }
.tool-action { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 700; }
.tool-action span { margin-left: 4px; }
.tool-action:hover { color: var(--blue-dark); }
.empty-state { grid-column: 1 / -1; padding: 38px 15px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-icon { color: #aeb9ca; font-size: 30px; }
.empty-state h3 { margin: 8px 0 5px; font-family: var(--font-heading); font-size: 17px; }
.empty-state p { margin-bottom: 13px; color: var(--muted); font-size: 12px; }
.empty-state button { padding: 8px 12px; border: 0; border-radius: 7px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 700; }

.privacy-banner { border-top: 1px solid #f0f2f6; border-bottom: 1px solid #f0f2f6; background: #fafbfe; }
.privacy-inner { min-height: 111px; display: flex; align-items: center; gap: 15px; }
.privacy-icon { width: 39px; height: 39px; display: grid; flex: none; place-items: center; border: 1px solid #e7edff; border-radius: 10px; color: var(--blue); background: #f1f5ff; }
.privacy-icon svg { width: 23px; height: 23px; }
.privacy-inner h2 { margin: 0 0 4px; font-size: 15px; letter-spacing: -.3px; }
.privacy-inner p { margin: 0; color: #8490a2; font-size: 11px; }
.privacy-note { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #7e899c; font-size: 10px; }
.privacy-note .status-dot { width: 6px; height: 6px; }
.site-footer { background: #fff; }
.footer-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { font-size: 17px; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 8px; }
.footer-brand .brand-mark svg { width: 23px; height: 23px; }
.footer-inner > p, .copyright { margin: 0; color: #98a1b1; font-size: 10px; }

.modal-backdrop { position: fixed; z-index: 5; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(21,32,55,.42); }
.modal-backdrop[hidden] { display: none; }
.tool-modal { width: min(540px, 100%); max-height: min(90vh, 760px); overflow: auto; padding: 25px; border: 1px solid #e8edf5; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(16,35,75,.22); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 19px; }
.modal-header .section-kicker { margin-bottom: 5px; }
.modal-header h2 { margin: 0; font-family: var(--font-heading); font-size: 23px; letter-spacing: -.7px; }
.modal-close { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; color: #738097; background: #fff; font-size: 22px; line-height: 1; }
.modal-close:hover { color: var(--ink); background: #f7f9fc; }
.tool-form { display: grid; gap: 14px; }
.tool-form label, .field-label { display: block; margin-bottom: 7px; color: #536078; font-size: 12px; font-weight: 700; }
.tool-textarea, .tool-output, .password-output { width: 100%; min-height: 142px; resize: vertical; padding: 12px; border: 1px solid #dfe5ef; border-radius: 8px; outline: none; color: var(--ink); background: #fff; font-family: var(--font-body); font-size: 13px; line-height: 1.55; }
.tool-textarea:focus, .tool-output:focus, .password-output:focus, .length-input:focus-visible { border-color: #9ab5ff; box-shadow: 0 0 0 3px #edf2ff; }
.tool-textarea::placeholder { color: #a3adbd; }
.counter-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat-box { padding: 11px 8px; border: 1px solid #edf0f5; border-radius: 8px; background: #fbfcfe; text-align: center; }
.stat-box strong { display: block; margin-bottom: 3px; color: var(--blue); font-family: var(--font-heading); font-size: 20px; }
.stat-box span { color: #8490a2; font-size: 10px; }
.tool-output { min-height: 160px; background: #fbfcfe; font-family: Consolas, "Courier New", monospace; font-size: 12px; }
.tool-output[readonly] { resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button { min-height: 37px; padding: 0 14px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.primary-button { border: 1px solid var(--blue); color: #fff; background: var(--blue); }
.primary-button:hover { background: var(--blue-dark); }
.secondary-button { border: 1px solid #e4e9f1; color: #66738a; background: #fff; }
.secondary-button:hover { background: #f7f9fc; }
.tool-feedback { min-height: 17px; margin: 0; color: #6e7c92; font-size: 11px; }
.tool-feedback.is-error { color: #c34848; }
.password-output-row { display: flex; gap: 8px; }
.password-output { min-height: 42px; flex: 1; resize: none; font-family: Consolas, "Courier New", monospace; }
.password-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-option { display: flex; align-items: center; gap: 8px; color: #5e6b82; font-size: 12px; }
.check-option input { accent-color: var(--blue); }
.length-row { display: flex; justify-content: space-between; align-items: center; }
.length-input { width: 90px; padding: 7px 9px; border: 1px solid #dfe5ef; border-radius: 7px; outline: none; }
.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 700px) {
  .container { width: min(100% - 36px, 540px); }
  .site-header { height: 68px; }
  .main-nav { gap: 17px; margin: 0; }
  .nav-link { font-size: 11px; }
  .header-cta { padding: 9px 10px; font-size: 11px; }
  .hero { min-height: 460px; }
  .hero-content { padding: 54px 0 42px; }
  .hero h1 { letter-spacing: -2.4px; }
  .hero-proof { gap: 16px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-inner { flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
  .privacy-note { width: 100%; margin-left: 54px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .brand { gap: 7px; font-size: 18px; }
  .brand-mark { width: 31px; height: 31px; }
  .main-nav { display: none; }
  .hero { min-height: 450px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { max-width: 320px; margin-right: auto; margin-left: auto; font-size: 14px; }
  .search-form { height: 53px; padding-left: 12px; }
  .search-form input { padding: 0 8px; font-size: 11px; }
  .search-form button { padding: 0 11px; font-size: 10px; }
  .search-form button span { margin-left: 4px; }
  .popular-searches { flex-wrap: wrap; gap: 9px; }
  .hero-proof { gap: 12px; font-size: 9px; }
  .hero-proof span { gap: 4px; }
  .hero-proof svg { width: 15px; height: 15px; }
  .tools-section { padding-top: 36px; padding-bottom: 50px; }
  .section-heading h2 { font-size: 24px; }
  .section-description { max-width: 245px; line-height: 1.5; }
  .category-bar { gap: 6px; }
  .category-label { width: 100%; margin-bottom: 2px; }
  .category-chip { padding: 0 9px; font-size: 10px; }
  .tool-grid { grid-template-columns: 1fr; gap: 12px; }
  .tool-card { min-height: 198px; }
  .privacy-inner { gap: 11px; }
  .privacy-inner h2 { font-size: 14px; }
  .privacy-inner p { max-width: 270px; line-height: 1.5; }
  .privacy-note { margin-left: 50px; }
  .footer-inner { min-height: 68px; }
  .footer-inner > p { display: none; }
  .tool-modal { padding: 20px 17px; }
  .counter-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
