/* ==========================================================================
   QR3D Studio — styles
   VOICE: a serious maker's tool — calm, precise, confident.
   IDEA: a print-ready workbench: dark studio header, bright work surface.
   PICTURE: the live 3D object, large, slowly turning.
   COLOUR/TYPE: ink navy + teal accent; Plus Jakarta Sans titles, Inter body.
   LAYOUT: wide 1240px canvas, tool card floating over the dark band.
   ========================================================================== */
/* self-hosted variable fonts (SIL OFL, see assets/fonts/LICENSE-*.txt) */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }

:root {
  --accent: #0f9d8a;
  --accent-2: #14b8a6;
  --accent-ink: #0b7466;
  --accent-soft: #e6f6f3;
  --navy: #0a0f1a;
  --navy-2: #111a2b;
  --ink: #0f172a;
  --ink-2: #475467;
  --ink-3: #6b7588;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --bg: #f6f7f9;
  --card: #ffffff;
  --warn-bg: #fff8eb;
  --warn-ink: #8a4b0a;
  --bad: #b42318;
  --bad-bg: #fef1f0;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 12px 32px -8px rgba(16, 24, 40, .12);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, .05), 0 32px 80px -20px rgba(10, 15, 26, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--ink-3); font-weight: 400; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 28px); } }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(20, 184, 166, .55); outline-offset: 2px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ----- hero band (dark) ----- */
.hero-band { position: relative; background: var(--navy); color: #e6ebf2; padding-bottom: 170px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 30%, transparent 80%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.g1 { width: 520px; height: 520px; left: 8%; top: -180px; background: #0f9d8a; animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 460px; height: 460px; right: 6%; top: 40px; background: #2b4c9b; opacity: .45; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }

.site-header { position: sticky; top: 0; z-index: 30; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(10, 15, 26, .82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 700 19px var(--display); letter-spacing: -.02em; }
.brand b { color: var(--accent-2); font-weight: 700; margin-left: 2px; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a { color: #b8c2d3; text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.header-nav a:hover { color: #fff; }
.header-nav .nav-cta { color: #04211d; background: var(--accent-2); padding: 9px 16px; border-radius: 10px; font-weight: 600; transition: transform .2s var(--ease), background .2s; }
.header-nav .nav-cta:hover { color: #04211d; background: #2dd4bf; transform: translateY(-1px); }
@media (max-width: 820px) { .header-nav a:not(.nav-cta):not(.lang-switch) { display: none; } .header-nav { gap: 12px; } }

.hero { padding: 56px 0 8px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-size: 14px; font-weight: 500; color: #cfe9e5; }
.eyebrow .i { width: 16px; height: 16px; color: var(--accent-2); }
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: #fff; margin-bottom: 20px; text-wrap: balance; }
.grad { background: linear-gradient(92deg, #5eead4 0%, #14b8a6 45%, #7dd3fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 700px; margin: 0 auto; color: #aeb9cb; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.lead strong { color: #fff; font-weight: 600; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 14.5px; color: #c3ccda; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .i { color: var(--accent-2); width: 17px; height: 17px; }
@media (max-width: 600px) {
  .hero-band { padding-bottom: 120px; }
  .hero { padding-top: 28px; }
  .eyebrow { margin-bottom: 16px; font-size: 13px; }
  .trust { gap: 8px 16px; font-size: 13.5px; margin-top: 20px; }
  .header-inner { height: 62px; }
}

/* entrance animation */
.anim-in { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ----- tool card ----- */
.tool { position: relative; z-index: 2; margin-top: -140px; }
@media (max-width: 600px) { .tool { margin-top: -96px; } }
.noscript { background: var(--warn-bg); padding: 12px 16px; border-radius: 10px; }
.tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "content preview" "design preview" "obj preview";
  align-items: start;
  background: linear-gradient(90deg, var(--card) 0 50%, #f8fafb 50% 100%);
  border: 1px solid rgba(16, 24, 40, .08); border-radius: 24px; box-shadow: var(--shadow-lg);
  overflow: clip;
}
.panel { padding: 30px 34px; }
.panel-content { grid-area: content; }
.panel-design { grid-area: design; border-top: 1px solid var(--line); }
.panel-3d { grid-area: obj; border-top: 1px solid var(--line); }
.panel-preview { grid-area: preview; position: sticky; top: 72px; align-self: start; border-left: 1px solid var(--line); }
@media (max-width: 960px) {
  .tool-card { grid-template-columns: 1fr; grid-template-areas: "content" "preview" "design" "obj"; background: var(--card); }
  .panel-preview { position: static; border-left: 0; border-top: 1px solid var(--line); background: #f8fafb; }
  .panel { padding: 22px 20px; }
}

.step-title { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--navy); color: #fff; font: 700 14px var(--display); }

.field { display: grid; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field label, .label { font-weight: 600; font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.field-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row .field { margin-bottom: 0; }
@media (max-width: 560px) { .field-row, .field-row.two { grid-template-columns: 1fr; } }
.hint { margin: 0; font-size: 13px; color: var(--ink-3); }
.pill { font-weight: 600; font-size: 12.5px; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 9px; border-radius: 999px; }

input[type=url], input[type=text], textarea, select {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font-size: 16px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
textarea { resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: #98a2b3; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15, 157, 138, .14); outline: none; }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.input-icon input { padding-left: 42px; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px;
  border: 1px solid var(--line-2); background: #fff; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm);
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.chip .i { width: 16px; height: 16px; }
.chip:hover { border-color: #98a2b3; color: var(--ink); transform: translateY(-1px); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-on .i { color: var(--accent-2); }

.styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.style-btn, .fmt {
  display: grid; justify-items: center; gap: 8px; padding: 14px 6px; border: 1px solid var(--line-2); border-radius: 14px;
  background: #fff; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease);
}
.style-btn:hover, .fmt:hover { border-color: #98a2b3; transform: translateY(-2px); box-shadow: var(--shadow); }
.style-btn.is-on, .fmt.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(15, 157, 138, .14); }
@media (max-width: 420px) { .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ico { width: 30px; height: 30px; display: block; background-repeat: no-repeat; background-size: contain; }
.ico-clasico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath fill='%230f172a' d='M2 2h11v11H2zM17 2h5v5h-5zM23 8h5v5h-5zM2 17h5v5H2zM8 23h5v5H8zM17 17h11v11H17z'/%3E%3C/svg%3E"); }
.ico-redondeado { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='%230f172a'%3E%3Crect x='2' y='2' width='11' height='11' rx='4'/%3E%3Crect x='17' y='2' width='5' height='5' rx='2'/%3E%3Crect x='23' y='8' width='5' height='5' rx='2'/%3E%3Crect x='2' y='17' width='5' height='5' rx='2'/%3E%3Crect x='8' y='23' width='5' height='5' rx='2'/%3E%3Crect x='17' y='17' width='11' height='11' rx='4'/%3E%3C/g%3E%3C/svg%3E"); }
.ico-puntos { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='%230f172a'%3E%3Ccircle cx='7.5' cy='7.5' r='5.5'/%3E%3Ccircle cx='19.5' cy='4.5' r='2.5'/%3E%3Ccircle cx='25.5' cy='10.5' r='2.5'/%3E%3Ccircle cx='4.5' cy='19.5' r='2.5'/%3E%3Ccircle cx='10.5' cy='25.5' r='2.5'/%3E%3Ccircle cx='22.5' cy='22.5' r='5.5'/%3E%3C/g%3E%3C/svg%3E"); }
.ico-elegante { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='%230f172a'%3E%3Cpath d='M2 6a4 4 0 0 1 4-4h7v7a4 4 0 0 1-4 4H2z'/%3E%3Cpath d='M17 2h5v3a2 2 0 0 1-2 2h-3z'/%3E%3Cpath d='M23 10a2 2 0 0 1 2-2h3v5h-5z'/%3E%3Cpath d='M2 17h5v3a2 2 0 0 1-2 2H2z'/%3E%3Cpath d='M8 25a2 2 0 0 1 2-2h3v5H8z'/%3E%3Cpath d='M17 21a4 4 0 0 1 4-4h7v7a4 4 0 0 1-4 4h-7z'/%3E%3C/g%3E%3C/svg%3E"); }

.color-input { display: flex; align-items: center; gap: 10px; min-height: 46px; border: 1px solid var(--line-2); border-radius: 12px; padding: 6px 12px 6px 6px; background: #fff; box-shadow: var(--shadow-sm); }
.color-input input[type=color] { width: 40px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px; }
.color-input input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.color-input input[type=color]::-webkit-color-swatch { border: 1px solid rgba(0,0,0,.12); border-radius: 8px; }
.color-input code { font: 500 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); background: var(--c); cursor: pointer; padding: 0; transition: transform .2s var(--ease), box-shadow .2s; }
.swatches button:hover { transform: scale(1.15); box-shadow: 0 0 0 2px var(--accent); }

.icon-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1180px) { .icon-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ic { aspect-ratio: 1; min-height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; border-radius: 11px; cursor: pointer; padding: 0; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease); }
.ic .i { width: 20px; height: 20px; }
.ic:hover { border-color: #98a2b3; color: var(--ink); transform: translateY(-2px); }
.ic.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(15, 157, 138, .14); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
@media (max-width: 1180px) and (min-width: 961px), (max-width: 560px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fmt { padding: 14px 6px; text-align: center; }
.fmt svg { width: 48px; height: 36px; }
.fmt b { font-size: 14px; font-weight: 600; color: var(--ink); }
.fmt.is-on b { color: var(--accent-ink); }
.fmt small { color: var(--ink-3); font-weight: 400; font-size: 12px; line-height: 1.3; }

/* ----- preview ----- */
figure { margin: 0; }
.viewer {
  position: relative; aspect-ratio: 4 / 3.2; border-radius: 18px; overflow: hidden; touch-action: none; cursor: grab;
  background: radial-gradient(120% 90% at 50% 15%, #ffffff 0%, #eef1f4 55%, #dde3ea 100%);
  border: 1px solid var(--line); box-shadow: inset 0 -30px 60px -40px rgba(16, 24, 40, .25);
}
.viewer:active { cursor: grabbing; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; animation: fade .6s ease both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.viewer-msg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; margin: 0; padding: 16px; text-align: center; font-size: 14px; color: var(--ink-3); }
.viewer[data-state=ready] .viewer-msg { display: none; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #d5dbe3; border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.82); backdrop-filter: blur(6px); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink-2); pointer-events: none; }
.viewer-badge .i { width: 14px; height: 14px; }

.preview-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
@media (max-width: 480px) { .preview-row { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; } }
figcaption { margin-top: 6px; font-size: 12.5px; font-weight: 600; text-align: center; color: var(--ink-3); }
.qr-2d { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.qr-2d svg, .qr-2d canvas { width: 100% !important; height: auto !important; }
.dims { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }
.dims b { color: var(--ink); font-weight: 600; }

.warnings { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.warnings li { font-size: 13px; padding: 7px 10px 7px 30px; border-radius: 10px; position: relative; line-height: 1.45; animation: fade .4s ease both; }
.warnings li::before { content: ""; position: absolute; left: 11px; top: 12px; width: 8px; height: 8px; border-radius: 50%; }
.warnings .ok { background: var(--accent-soft); color: var(--accent-ink); }
.warnings .ok::before { background: var(--accent); }
.warnings .warn { background: var(--warn-bg); color: var(--warn-ink); }
.warnings .warn::before { background: #f59e0b; }
.warnings .bad { background: var(--bad-bg); color: var(--bad); }
.warnings .bad::before { background: var(--bad); }

.downloads { display: grid; gap: 10px; margin-top: 20px; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border-radius: 12px; border: 1px solid transparent; padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, box-shadow .25s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 157, 138, .7), inset 0 1px 0 rgba(255,255,255,.15); overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(15, 157, 138, .75); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-big { padding: 16px 22px; font-size: 16.5px; flex-wrap: wrap; }
.btn-big small { font-weight: 500; opacity: .8; font-size: 13px; }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.btn-link { background: none; border: 0; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; font-weight: 500; font-size: 14px; min-height: 0; }
.btn-sm { padding: 8px 14px; font-size: 14px; min-height: 40px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl-row .btn-ghost { flex: 1 1 100px; }
.status { margin: 0; min-height: 1.4em; font-size: 13.5px; color: var(--ink-2); text-align: center; }

.privacy { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 14px; color: var(--ink-2); margin: 22px 0 0; }
.privacy .i { color: var(--accent); }

/* ----- ad slots (placeholders) ----- */
.ad-slot {
  display: grid; place-items: center; align-content: center; gap: 2px; text-align: center;
  border: 1.5px dashed #c4cad4; border-radius: 14px; background: repeating-linear-gradient(45deg, #f1f3f6, #f1f3f6 10px, #eceff3 10px, #eceff3 20px);
  color: #8a93a3;
}
.ad-slot span { font: 700 14px var(--font); letter-spacing: .2em; }
.ad-slot small { font-size: 12px; }
.ad-leaderboard { min-height: 100px; max-width: 970px; margin: 30px auto 0; }
.ad-incontent { min-height: 250px; margin: 24px 0 0; }
.ad-popup { width: 300px; height: 250px; max-width: 100%; margin: 0 auto; }
.ad-corner { width: 300px; height: 100px; max-width: 100%; background-color: #fff; }

.ad-dialog { border: 0; border-radius: 20px; padding: 26px 24px 20px; width: min(370px, 100% - 32px); box-shadow: var(--shadow-lg); text-align: center; }
.ad-dialog[open] { animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.ad-dialog::backdrop { background: rgba(10, 15, 26, .6); backdrop-filter: blur(3px); }
.ad-dialog-ok { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; font-weight: 600; }
.ad-dialog-ok .i { color: var(--accent); stroke-width: 2.4; }
.ad-dialog .btn { margin-top: 16px; }
.ad-close {
  position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f0f2f5;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2); z-index: 2; transition: background .2s, transform .2s;
}
.ad-close:hover { background: #e3e6eb; transform: rotate(90deg); }
.ad-toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; background: #fff; border-radius: 16px; padding: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); width: 320px; max-width: calc(100% - 36px);
  animation: toast-in .5s var(--ease) both;
}
.ad-toast .ad-close { top: -10px; right: -10px; width: 28px; height: 28px; font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.2); background: #fff; }
.ad-toast .ad-corner { width: 100%; }
@keyframes toast-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .ad-toast { right: 10px; left: 10px; bottom: 10px; width: auto; max-width: none; } .ad-incontent { min-height: 200px; } }

/* ----- slicer strip ----- */
.slicers { padding: 56px 0 0; text-align: center; }
.slicers p { margin: 0 0 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.slicers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.slicers li { font: 700 18px var(--display); color: #98a2b3; letter-spacing: -.01em; transition: color .2s; }
.slicers li:hover { color: var(--ink); }

/* ----- content sections ----- */
.section { padding: 110px 0 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--accent); }
.section-head h2, .prose > h2, .cta-inner h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
@media (max-width: 600px) { .section { padding-top: 72px; } .section-head { margin-bottom: 32px; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.steps li, .idea {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.steps li:hover, .idea:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd6df; }
.step-ico, .idea-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--accent-2); margin-bottom: 22px; }
.step-ico .i, .idea-ico .i { width: 24px; height: 24px; }
.idea-ico { background: var(--accent-soft); color: var(--accent-ink); }
.step-n { position: absolute; top: 26px; right: 28px; font: 800 44px/1 var(--display); color: #eef1f5; letter-spacing: -.04em; }
.steps h3, .idea h3 { font-size: 19px; font-weight: 700; }
.steps p, .idea p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ideas { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps, .ideas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .ideas { grid-template-columns: 1fr; gap: 16px; } .steps li, .idea { padding: 24px 22px; } }

.prose { max-width: 820px; }
.prose > h2 { margin-bottom: 20px; }
.prose h3 { font-size: 21px; margin-top: 34px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .25s, box-shadow .25s; }
.faq details:hover { border-color: #cfd6df; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfd6df; }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 16.5px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; transition: transform .3s var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d8a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / contain;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); animation: rise .45s var(--ease) both; }

/* ----- CTA band ----- */
.cta-band { margin-top: 120px; background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 600px; height: 600px; right: -120px; top: -300px; border-radius: 50%; background: #0f9d8a; filter: blur(110px); opacity: .45; z-index: -1; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 72px 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { margin: 0; color: #aeb9cb; font-size: 17px; }
.cta-inner .btn .i { transition: transform .25s var(--ease); }
.cta-inner .btn:hover .i { transform: translateX(4px); }

.site-footer { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.06); padding: 36px 0 100px; font-size: 14px; color: #8d99ad; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
.footer-tag { margin: 0; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner nav a { color: #b8c2d3; text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }

/* ----- scroll reveal (JS adds .reveal-on to <html>; content stays visible without JS) ----- */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
}

/* legal pages */
.legal-page .hero-band { padding-bottom: 40px; }
.legal { max-width: 760px; padding: 48px 0; }
.legal h1 { font-size: 34px; font-weight: 800; }
.todo { background: var(--warn-bg); padding: 2px 6px; border-radius: 6px; }

/* ==========================================================================
   Living background
   ========================================================================== */
/* hero: aurora + floating QR modules (canvas) + scanner beam */
.g3 { width: 380px; height: 380px; left: 42%; top: 220px; background: #0ea5e9; opacity: .22; animation: drift 26s ease-in-out infinite alternate; }
.hero-bg::before {
  content: ""; position: absolute; inset: -40%; opacity: .35;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(20,184,166,.18) 60deg, transparent 140deg, rgba(56,189,248,.14) 220deg, transparent 300deg);
  animation: spin-slow 40s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
#hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(45,212,191,.07) 70%, rgba(94,234,212,.35) 99%, transparent 100%);
  border-bottom: 1px solid rgba(94,234,212,.35);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  animation: scan 7s cubic-bezier(.45,.05,.55,.95) infinite; opacity: 0;
}
@keyframes scan { 0% { transform: translateY(-140px); opacity: 0; } 10% { opacity: 1; } 70% { opacity: 1; } 85%, 100% { transform: translateY(620px); opacity: 0; } }
.fade-b { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, transparent, rgba(10,15,26,.85)); }
.hero-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(94,234,212,.5), transparent); }

/* page: technical dot grid + soft drifting light */
body {
  background-color: #f4f6f9;
  background-image: radial-gradient(rgba(15, 23, 42, .085) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
main { position: relative; isolation: isolate; }
.page-fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; }
.b1 { width: 560px; height: 560px; left: -180px; top: 900px; background: #5eead4; animation: drift 24s ease-in-out infinite alternate; }
.b2 { width: 520px; height: 520px; right: -160px; top: 1500px; background: #93c5fd; animation: drift 28s ease-in-out infinite alternate-reverse; }
.b3 { width: 480px; height: 480px; left: 20%; top: 2500px; background: #a5f3fc; animation: drift 30s ease-in-out infinite alternate; }
.b4 { width: 520px; height: 520px; right: 5%; top: 3500px; background: #99f6e4; animation: drift 26s ease-in-out infinite alternate-reverse; }

/* full-bleed tinted bands behind some sections */
.band { position: relative; padding-bottom: 110px; }
.band::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 18%, rgba(255,255,255,.75) 82%, rgba(255,255,255,0) 100%);
  border-top: 1px solid rgba(15,23,42,.04);
}
.band-white::before { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 14%, #fff 100%); }
@media (max-width: 600px) { .band { padding-bottom: 72px; } }

/* glassy cards over the textured ground */
.steps li, .idea { background: rgba(255,255,255,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.steps li::after, .idea::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: linear-gradient(135deg, rgba(20,184,166,.7), rgba(56,189,248,.5), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.steps li:hover::after, .idea:hover::after { opacity: 1; }

/* CTA: moving grid */
.cta-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; animation: grid-move 12s linear infinite;
  mask-image: radial-gradient(ellipse 60% 90% at 70% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 70% 50%, #000, transparent);
}
@keyframes grid-move { to { background-position: 40px 40px; } }
.cta-band { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { .scan, .hero-bg::before { display: none; } }

/* ----- hero call to action ----- */
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn-hero {
  min-height: 56px; padding: 15px 30px; font-size: 17.5px; font-weight: 700; border-radius: 14px; color: #04211d;
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 55%, #0ea5a0 100%);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, .55), 0 14px 34px -10px rgba(20, 184, 166, .8), inset 0 1px 0 rgba(255,255,255,.45);
  animation: cta-pulse 2.8s ease-out infinite; overflow: hidden;
}
.btn-hero .i { width: 20px; height: 20px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.btn-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite 1.5s; }
.btn-hero:hover { color: #04211d; transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 40px -10px rgba(20, 184, 166, .9), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-hero:hover .i { transform: translateX(4px); }
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .5), 0 14px 34px -10px rgba(20, 184, 166, .8), inset 0 1px 0 rgba(255,255,255,.45); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(45, 212, 191, 0), 0 14px 34px -10px rgba(20, 184, 166, .8), inset 0 1px 0 rgba(255,255,255,.45); }
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-hero-ghost { min-height: 56px; padding: 15px 26px; font-size: 16.5px; border-radius: 14px; color: #e6ebf2; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.btn-hero-ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); transform: translateY(-2px); }
.header-nav .nav-cta { display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 6px 18px -6px rgba(20, 184, 166, .8); }
.header-nav .nav-cta .i { width: 16px; height: 16px; }
.tool-card.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(20,184,166,.0); } 30% { box-shadow: var(--shadow-lg), 0 0 0 6px rgba(20,184,166,.45); } 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(20,184,166,0); } }
@media (max-width: 600px) {
  .hero-ctas { margin-top: 24px; flex-direction: column; align-items: stretch; padding: 0 8px; }
  .btn-hero, .btn-hero-ghost { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn-hero, .btn-hero::after { animation: none; } }

/* ----- related generators (internal links) ----- */
.related { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rel-card {
  position: relative; display: grid; gap: 6px; align-content: start; padding: 24px 22px 46px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.rel-card .idea-ico { margin-bottom: 10px; }
.rel-card b { font: 700 17px var(--display); letter-spacing: -.01em; }
.rel-card small { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.rel-arrow { position: absolute; left: 22px; bottom: 18px; color: var(--accent); transition: transform .25s var(--ease); }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd6df; }
.rel-card:hover .rel-arrow { transform: translateX(5px); }
@media (max-width: 1000px) { .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } }
.footer-tools { flex-wrap: wrap; }
.footer-inner nav { flex-wrap: wrap; }

/* ----- language: switch + suggestion ----- */
.header-nav .lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #dbe3ee; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; }
.header-nav .lang-switch .i { width: 15px; height: 15px; color: var(--accent-2); }
.header-nav .lang-switch:hover { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
.lang-hint {
  position: fixed; z-index: 40; top: 84px; left: 50%; transform: translate(-50%, -8px); opacity: 0;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px); padding: 10px 10px 10px 18px; border-radius: 14px;
  background: rgba(10, 15, 26, .92); color: #e6ebf2; font-size: 14.5px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lang-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
.lang-hint .i { width: 17px; height: 17px; color: var(--accent-2); flex: none; }
.lang-hint a { flex: none; color: #04211d; background: var(--accent-2); padding: 7px 13px; border-radius: 9px; font-weight: 600; text-decoration: none; }
.lang-hint a:hover { background: #2dd4bf; }
.lang-hint button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #9aa6b8; font-size: 20px; line-height: 1; cursor: pointer; }
.lang-hint button:hover { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .lang-hint { top: 78px; width: calc(100% - 20px); font-size: 14px; gap: 10px; } .lang-hint span { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .lang-hint { transition: none; } }
.header-nav .nav-cta { white-space: nowrap; }
@media (max-width: 560px) { .header-nav .nav-cta { padding: 8px 12px; font-size: 14px; gap: 6px; } .header-nav .lang-switch { padding: 7px 9px; } }
@media (max-width: 380px) { .header-nav .lang-switch .i, .header-nav .nav-cta .i { display: none; } .brand { font-size: 17px; } }

/* ----- video tutorial ----- */
#tutorial { padding-top: 40px; }
.tutorial { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.tut-video { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); }
.tut-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #111827; }
.tut-bar span { width: 11px; height: 11px; border-radius: 50%; background: #374151; }
.tut-bar span:first-child { background: #f87171; } .tut-bar span:nth-child(2) { background: #fbbf24; } .tut-bar span:nth-child(3) { background: #34d399; }
.tut-bar em { margin: 0 auto; transform: translateX(-24px); font-size: 12.5px; font-weight: 500; font-style: normal; color: #9ca3af; background: #1f2937; padding: 4px 18px; border-radius: 7px; }
.tut-video video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: #f4f6f8; }
.tut-play { position: absolute; left: 50%; top: calc(50% - 4px); width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--accent-2); color: #04211d; box-shadow: 0 0 0 10px rgba(20,184,166,.22), 0 20px 40px -10px rgba(10,15,26,.55); transition: transform .25s var(--ease), box-shadow .25s; }
.tut-play svg { width: 40px; height: 40px; margin-left: 5px; }
.tut-play:hover { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(20,184,166,.25), 0 20px 40px -10px rgba(10,15,26,.55); }
.tut-video.is-playing .tut-play { opacity: 0; pointer-events: none; transform: scale(.8); }
.tut-video figcaption { padding: 12px 18px 14px; font-size: 14px; color: #aeb9cb; background: #111827; }
.tut-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: none; }
.tut-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 14px 16px; border-radius: 14px; transition: background .25s; }
.tut-steps li:hover { background: rgba(255,255,255,.7); }
.tut-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--navy); color: var(--accent-2); font: 700 16px var(--display); }
.tut-steps h3 { margin: 4px 0 4px; font-size: 17px; }
.tut-steps p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.btn-hero-ghost .i { width: 20px; height: 20px; margin-right: 2px; }
@media (max-width: 960px) { .tutorial { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .tut-bar em { display: none; } .tut-play { width: 70px; height: 70px; margin: -35px 0 0 -35px; } .tut-play svg { width: 32px; height: 32px; } .tut-steps li { padding: 12px 6px; gap: 12px; } }

/* ----- printing tips ----- */
.section-lead { max-width: 620px; margin: 10px auto 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.tips { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: 1120px; margin: 0 auto; }
.tip { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 22px 22px 20px; border-radius: 18px; background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tip-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); }
.tip-ico .i { width: 23px; height: 23px; }
.tip h3 { font-size: 16.5px; margin: 2px 0 6px; }
.tip p { margin: 0 0 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.tip a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.tip a .i { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.tip a:hover { text-decoration: underline; } .tip a:hover .i { transform: translateX(3px); }
.tips-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }

/* tips: a highlighted band right below the tool + shortcut from the download area */
.tips-band { position: relative; margin-top: 56px; padding: 56px 48px 44px; border-radius: 28px;
  background: linear-gradient(135deg, #0b1322 0%, #0f2a2c 60%, #0c3b36 100%); box-shadow: var(--shadow-lg); overflow: hidden; }
.tips-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 85% 0%, rgba(45,212,191,.22), transparent 70%); pointer-events: none; }
.tips-band > * { position: relative; }
.tips-band .section-head { margin-bottom: 30px; }
.tips-band .kicker { color: #5eead4; }
.tips-band h2 { color: #fff; }
.tips-band .section-lead { color: #b6c3d4; }
.tips-band .tip { background: rgba(255,255,255,.97); border-color: transparent; }
.tips-band .tips-note { color: #8fa0b5; }
.tips-link { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 14.5px; border: 1px solid rgba(15,157,138,.18); transition: background .2s, transform .2s var(--ease); }
.tips-link span { flex: 1; } .tips-link b { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tips-link .i { width: 19px; height: 19px; flex: none; }
.tips-link:hover { background: #d5f3ee; transform: translateY(-1px); }
@media (max-width: 600px) { .tips-band { margin-top: 40px; padding: 44px 18px 32px; border-radius: 22px; } }
.tips-2, .tips-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.tips-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tip a { white-space: nowrap; }
@media (max-width: 900px) { .tips-3 { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 700px) { .tips-2, .tips-4 { grid-template-columns: 1fr; max-width: 560px; } }
