/* local-fonts */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/inter-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/inter-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/inter-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url(../fonts/space-grotesk-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url(../fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url(../fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* /local-fonts */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --text: #172033;
  --muted: #5d6b85;
  --line: #dfe7f3;
  --primary: #2b6cf6;
  --primary-dark: #1749c5;
  --amber: #f9b94a;
  --amber-dark: #d98400;
  --shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 0.5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.9rem; }

.wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  text-decoration: none;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.main-nav a[aria-current="page"] {
  color: var(--primary);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

main.wrap {
  padding: 28px 0 64px;
}
.hero {
  padding: 32px 0 18px;
}
.eyebrow {
  display: inline-block;
  background: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid #d7e4ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lede {
  font-size: 1.09rem;
  color: var(--muted);
  max-width: 760px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.chip {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.tool-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--primary);
  margin-bottom: 12px;
}
.category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--surface-alt);
  border-radius: 999px;
  padding: 6px 9px;
}
.tool-card h3 {
  font-size: 1.2rem;
  margin: 12px 0 8px;
}
.tool-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-dark);
  font-weight: 700;
}

.ad-slot {
  margin: 26px 0;
  border: 1px dashed var(--line);
  background: #f5f8ff;
  border-radius: 12px;
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--muted);
  position: relative;
  font-weight: 600;
}
.ad-label {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.info-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.info-section ul {
  padding-left: 1.2rem;
  color: var(--muted);
}
.callout {
  background: #fff9ed;
  border: 1px solid #f3d88e;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
  color: #684200;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.faq-item:first-of-type { border-top: none; padding-top: 0; }

.breadcrumbs {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 8px 0 22px;
}
.breadcrumbs a, .breadcrumbs span { margin-right: 8px; }

.tool-app {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 18px 0 26px;
}
.field-row {
  margin-bottom: 16px;
}
label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 8px;
}
input[type="text"], input[type="number"], textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
input[type="range"] {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.btn {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.amber {
  background: var(--amber);
  color: #2a1a00;
}
.btn.secondary {
  background: #edf2ff;
  color: var(--primary-dark);
}
.output-box, .inbox-address, .qr-preview {
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 60px;
}
.status-msg {
  color: var(--muted);
  min-height: 24px;
  margin: 10px 0;
}
.dropzone {
  border: 2px dashed #bfd0ff;
  border-radius: 16px;
  background: #f5f8ff;
  color: var(--muted);
  padding: 30px 16px;
  text-align: center;
  cursor: pointer;
}
.preview-images {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.preview-images img {
  max-width: 180px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.file-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.message-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.message-list li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.swatch-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.swatch {
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}
.swatch .lock {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.swatch .meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(255,255,255,0.75);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer {
  background: #101827;
  color: #dfe7f8;
  padding: 40px 0 28px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dfe7f8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
  color: #b8c1da;
}
#consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 30;
}
#consent-banner p { margin: 0; color: var(--muted); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #consent-banner { flex-direction: column; align-items: flex-start; }
}
