:root {
  --paper: #f3f1eb;
  --paper-2: #ebe8df;
  --ink: #151618;
  --muted: #6f716f;
  --line: rgba(21, 22, 24, 0.12);
  --dark: #151719;
  --dark-2: #202327;
  --white: #fffdfa;
  --blue: #315cff;
  --blue-soft: #e8ecff;
  --lime: #d8ff66;
  --orange: #ff8a4c;
  --shadow: 0 22px 70px rgba(28, 29, 31, 0.12);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 4%, rgba(49, 92, 255, 0.05), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(255, 138, 76, 0.05), transparent 22%),
    var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: 100;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.hidden { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--white); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header {
  width: min(1240px, calc(100% - 28px));
  height: 72px;
  margin: 14px auto 0;
  padding: 0 14px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 12px;
  z-index: 40;
  border: 1px solid rgba(21, 22, 24, 0.09);
  background: rgba(249, 247, 241, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(21, 22, 24, 0.06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 840; letter-spacing: -0.05em; font-size: 22px; }
.brand-symbol { width: 32px; height: 32px; display: grid; place-items: center; background: var(--ink); color: var(--white); border-radius: 10px; }
.brand-symbol svg { width: 23px; height: 23px; }
.desktop-nav { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.36); }
.desktop-nav a { padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 650; color: #555856; transition: background .2s ease, color .2s ease; }
.desktop-nav a:hover { background: var(--white); color: var(--ink); }
.header-cta { justify-self: end; border: 0; background: var(--ink); color: var(--white); padding: 12px 17px; border-radius: 13px; font-size: 13px; font-weight: 720; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.header-cta:hover { background: #2a2d31; transform: translateY(-1px); }
.header-cta:active { transform: translateY(0) scale(.98); }

.hero { min-height: 690px; padding: 92px 0 76px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); align-items: center; gap: 72px; }
.hero-copy { max-width: 610px; }
.status-chip { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 720; letter-spacing: .01em; background: rgba(255,255,255,.38); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #20a25a; box-shadow: 0 0 0 4px rgba(32,162,90,.12); }
.hero h1 { margin: 30px 0 24px; font-size: clamp(54px, 6.5vw, 92px); line-height: .93; letter-spacing: -.075em; font-weight: 780; }
.hero h1 span { display: inline-block; color: transparent; -webkit-text-stroke: 1.4px var(--ink); font-weight: 670; }
.hero-copy > p { max-width: 620px; margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: #5f625f; letter-spacing: -.02em; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button { min-height: 44px; border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 18px; cursor: pointer; font-weight: 740; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease; }
.button svg { width: 19px; height: 19px; }
.button:active { transform: scale(.98); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(49,92,255,.24); }
.button-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(49,92,255,.30); }
.button-ghost { background: rgba(255,255,255,.45); border: 1px solid var(--line); color: var(--ink); box-shadow: none; }
.button-ghost:hover:not(:disabled) { background: var(--white); transform: translateY(-1px); }
.button-large { min-height: 54px; padding: 15px 21px; border-radius: 16px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: #747773; font-size: 12px; }
.hero-proof span { display: inline-flex; gap: 5px; align-items: baseline; }
.hero-proof strong { color: var(--ink); font-size: 13px; }

.hero-stage { min-height: 500px; position: relative; display: grid; place-items: center; isolation: isolate; }
.stage-glow { position: absolute; inset: 4% 2% 4% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(49,92,255,.20), rgba(49,92,255,.02) 55%, transparent 72%); filter: blur(18px); }
.stage-grid { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; opacity: .24; background-image: linear-gradient(rgba(21,22,24,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(21,22,24,.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle, black 25%, transparent 70%); -webkit-mask-image: radial-gradient(circle, black 25%, transparent 70%); transform: rotate(-8deg); }
.conversion-console { position: relative; z-index: 2; width: min(100%, 520px); background: var(--dark); color: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 38px 90px rgba(16,18,22,.28), 0 0 0 1px rgba(255,255,255,.08) inset; transform: rotate(1.2deg); }
.console-header, .console-footer { height: 54px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; padding: 0 18px; color: rgba(255,255,255,.53); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.08); }
.console-footer { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.08); grid-template-columns: 1fr auto; letter-spacing: .06em; text-transform: none; }
.console-lights { display: flex; gap: 5px; }
.console-lights i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.console-lights i:first-child { background: var(--orange); }
.console-live { justify-self: end; display: flex; align-items: center; gap: 6px; }
.console-live i, .console-footer i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(216,255,102,.8); }
.console-body { padding: 28px 24px 24px; background: radial-gradient(circle at 90% 0, rgba(49,92,255,.20), transparent 38%); }
.console-file { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.055); }
.file-output { background: rgba(216,255,102,.07); border-color: rgba(216,255,102,.22); }
.file-format { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .04em; }
.file-output .file-format { background: var(--lime); color: var(--ink); }
.console-file-copy { min-width: 0; }
.console-file-copy strong, .console-file-copy span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-file-copy strong { font-size: 14px; letter-spacing: -.02em; }
.console-file-copy span { margin-top: 5px; color: rgba(255,255,255,.48); font-size: 10px; }
.file-state { color: rgba(255,255,255,.34); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.output-check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); }
.output-check svg { width: 17px; height: 17px; }
.transfer-lane { padding: 26px 10px; }
.lane-label, .lane-meta { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.42); font-size: 9px; }
.lane-label strong { color: var(--lime); font-size: 11px; }
.lane-track { height: 5px; margin: 10px 0; position: relative; border-radius: 999px; background: rgba(255,255,255,.09); overflow: hidden; }
.lane-track i { position: absolute; inset: 0 auto 0 0; width: 84%; background: linear-gradient(90deg, var(--blue), var(--lime)); border-radius: inherit; animation: lane-breathe 2.5s ease-in-out infinite; }
.lane-track b { position: absolute; top: 50%; left: 84%; width: 12px; height: 12px; transform: translate(-50%,-50%); border: 2px solid var(--dark); border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(216,255,102,.65); animation: node-pulse 1.8s ease-in-out infinite; }
.floating-format { position: absolute; z-index: 3; padding: 12px 14px; border: 1px solid rgba(21,22,24,.1); background: rgba(255,253,250,.84); backdrop-filter: blur(16px); border-radius: 14px; box-shadow: 0 15px 40px rgba(21,22,24,.11); font-size: 11px; font-weight: 830; letter-spacing: .03em; animation: float 5s ease-in-out infinite; }
.floating-format span { margin: 0 6px; color: var(--blue); }
.format-a { right: -3%; top: 17%; animation-delay: -.8s; }
.format-b { left: -3%; bottom: 20%; animation-delay: -2s; }
.format-c { right: 7%; bottom: 2%; animation-delay: -3.4s; }

.popular-section, .tools-section, .privacy-section { padding: 90px 0; }
.section-intro { display: grid; grid-template-columns: 1fr minmax(280px, 430px); gap: 50px; align-items: end; margin-bottom: 34px; }
.overline { display: block; margin-bottom: 12px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-intro h2, .privacy-copy h2 { margin: 0; font-size: clamp(36px, 4.8vw, 62px); line-height: 1; letter-spacing: -.06em; font-weight: 760; }
.section-intro > p { margin: 0 0 3px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.popular-rail { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.popular-card { min-height: 190px; padding: 19px; display: flex; flex-direction: column; text-align: left; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.42); cursor: pointer; position: relative; overflow: hidden; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.popular-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -55px; bottom: -65px; border-radius: 50%; background: var(--tool-soft); transition: transform .35s ease; }
.popular-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 18px 42px rgba(21,22,24,.08); }
.popular-card:hover::after { transform: scale(1.22); }
.popular-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.popular-card-index { font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #8a8d88; }
.popular-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--tool-color); background: var(--tool-soft); }
.popular-icon svg { width: 24px; height: 24px; }
.popular-card h3 { margin: auto 0 8px; font-size: 21px; letter-spacing: -.04em; }
.popular-card p { margin: 0; max-width: 90%; color: var(--muted); font-size: 12px; line-height: 1.45; }

.tools-section { border-top: 1px solid var(--line); }
.tools-intro { align-items: center; }
.tool-search { height: 52px; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 0 13px 0 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.47); transition: border .2s ease, background .2s ease, box-shadow .2s ease; }
.tool-search:focus-within { background: var(--white); border-color: rgba(49,92,255,.45); box-shadow: 0 0 0 4px rgba(49,92,255,.09); }
.tool-search svg { width: 20px; color: #777a76; }
.tool-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.tool-search input::placeholder { color: #999b97; }
.tool-search kbd { min-width: 36px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.55); color: #8b8d89; font: 600 10px/1 ui-monospace, monospace; text-align: center; }
.filter-row { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 22px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; min-height: 38px; padding: 9px 14px; border: 1px solid var(--line); background: transparent; border-radius: 999px; color: #666966; font-size: 12px; font-weight: 720; cursor: pointer; transition: all .2s ease; }
.filter:hover { background: rgba(255,255,255,.6); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool-card { min-height: 218px; padding: 20px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 12px; text-align: left; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.36); cursor: pointer; position: relative; overflow: hidden; transition: transform .25s ease, border .25s ease, box-shadow .25s ease, background .25s ease; }
.tool-card::before { content: ""; position: absolute; width: 150px; height: 150px; right: -82px; top: -85px; border-radius: 50%; background: var(--card-soft); opacity: .8; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.tool-card:hover { transform: translateY(-4px); border-color: rgba(21,22,24,.19); background: rgba(255,255,255,.75); box-shadow: 0 17px 45px rgba(21,22,24,.075); }
.tool-card:hover::before { transform: scale(1.3); }
.tool-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--card-color); background: var(--card-soft); position: relative; z-index: 1; }
.tool-icon svg { width: 26px; height: 26px; }
.tool-meta { justify-self: end; display: flex; align-items: center; gap: 6px; position: relative; z-index: 1; }
.tool-badge { padding: 6px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 8px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.tool-card-copy { grid-column: 1 / -1; align-self: end; position: relative; z-index: 1; }
.tool-card h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.045em; }
.tool-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 88%; }
.tool-card-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 13px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.tool-formats { color: #858783; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; text-transform: uppercase; }
.tool-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .25s ease; }
.tool-arrow svg { width: 15px; height: 15px; }
.tool-card:hover .tool-arrow { transform: translateX(3px); }
.empty-state { min-height: 220px; display: grid; place-content: center; text-align: center; border: 1px dashed rgba(21,22,24,.2); border-radius: 24px; }
.empty-state strong { font-size: 20px; }
.empty-state span { margin-top: 8px; color: var(--muted); font-size: 13px; }

.process-story { padding: 30px 0 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.story-card { min-height: 260px; padding: 22px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.48); display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 20px; overflow: hidden; position: relative; }
.story-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.story-accent { background: var(--lime); border-color: rgba(21,22,24,.08); }
.story-number { font: 700 10px/1 ui-monospace, monospace; color: #91938f; }
.story-dark .story-number { color: rgba(255,255,255,.42); }
.story-card > div:nth-child(2) { align-self: end; }
.story-card strong { display: block; font-size: 22px; letter-spacing: -.04em; }
.story-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 240px; }
.story-dark p { color: rgba(255,255,255,.53); }
.story-glyph, .story-wave, .story-download { grid-column: 1 / -1; align-self: end; }
.story-glyph { display: flex; gap: 8px; }
.story-glyph span { height: 44px; flex: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.055); transform: translateY(10px); }
.story-glyph span:nth-child(2) { transform: translateY(0); background: var(--blue); border-color: var(--blue); }
.story-wave { height: 56px; display: flex; align-items: center; gap: 8px; }
.story-wave i { flex: 1; border-radius: 999px; background: var(--blue); height: 14%; animation: wave 1.9s ease-in-out infinite; }
.story-wave i:nth-child(2) { height: 60%; animation-delay: -.2s; }
.story-wave i:nth-child(3) { height: 90%; animation-delay: -.4s; }
.story-wave i:nth-child(4) { height: 45%; animation-delay: -.6s; }
.story-wave i:nth-child(5) { height: 75%; animation-delay: -.8s; }
.story-wave i:nth-child(6) { height: 35%; animation-delay: -1s; }
.story-wave i:nth-child(7) { height: 55%; animation-delay: -1.2s; }
.story-download { width: 72px; height: 72px; margin-left: auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 16px 30px rgba(21,22,24,.18); }
.story-download svg { width: 31px; height: 31px; }

.privacy-section { border-top: 1px solid var(--line); }
.privacy-panel { padding: 46px; display: grid; grid-template-columns: 120px 1.3fr 1fr; align-items: center; gap: 38px; background: var(--dark); color: #fff; border-radius: 34px; box-shadow: 0 28px 80px rgba(21,22,24,.17); position: relative; overflow: hidden; }
.privacy-panel::after { content: ""; position: absolute; right: -180px; bottom: -240px; width: 520px; height: 520px; border: 1px solid rgba(216,255,102,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(216,255,102,.025), 0 0 0 110px rgba(216,255,102,.018); }
.privacy-seal { width: 100px; height: 100px; display: grid; place-items: center; border-radius: 28px; background: var(--lime); color: var(--ink); transform: rotate(-4deg); }
.privacy-seal svg { width: 56px; height: 56px; }
.privacy-copy { position: relative; z-index: 1; }
.privacy-copy .overline { color: var(--lime); }
.privacy-copy h2 { font-size: clamp(38px, 4.5vw, 59px); }
.privacy-copy p { margin: 18px 0 0; max-width: 620px; color: rgba(255,255,255,.57); font-size: 14px; line-height: 1.65; }
.privacy-stats { position: relative; z-index: 1; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.11); }
.privacy-stats div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.privacy-stats strong, .privacy-stats span { display: block; }
.privacy-stats strong { font-size: 14px; }
.privacy-stats span { margin-top: 4px; color: rgba(255,255,255,.43); font-size: 10px; }

.site-footer { min-height: 160px; padding: 34px 0 max(34px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #777975; }
.site-footer .brand { color: var(--ink); }
.site-footer p { margin: 0; font-size: 12px; text-align: center; }
.site-footer > span { justify-self: end; font-size: 11px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(9,10,12,.54); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: backdrop-in .22s ease both; }
.modal-shell { width: min(820px, 100%); max-height: min(850px, calc(100dvh - 48px)); display: flex; flex-direction: column; position: relative; border-radius: 30px; background: #faf9f5; box-shadow: 0 40px 120px rgba(0,0,0,.34); overflow: hidden; animation: modal-in .32s cubic-bezier(.22,.8,.24,1) both; }
.modal-grabber { display: none; }
.modal-close { position: absolute; right: 18px; top: 18px; z-index: 2; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.7); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.modal-close:hover { background: #fff; transform: rotate(4deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-header { padding: 27px 72px 23px 27px; display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.modal-tool-icon { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; }
.modal-tool-icon svg { width: 31px; height: 31px; }
.modal-heading-copy { min-width: 0; }
.modal-kicker { display: block; margin-bottom: 5px; font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.modal-header h2 { margin: 0; font-size: 27px; letter-spacing: -.045em; }
.modal-header p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.modal-body { padding: 24px 27px; overflow: auto; overscroll-behavior: contain; }
.dropzone { min-height: 210px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1.5px dashed rgba(21,22,24,.22); border-radius: 22px; background: rgba(235,232,223,.38); cursor: pointer; outline: 0; transition: border .2s ease, background .2s ease, transform .2s ease; }
.dropzone:hover, .dropzone:focus-visible, .dropzone.dragover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-1px); }
.drop-visual { width: 72px; height: 63px; position: relative; margin-bottom: 17px; }
.drop-file { position: absolute; width: 49px; height: 58px; left: 50%; top: 50%; border: 1px solid rgba(21,22,24,.14); border-radius: 12px; background: #fff; }
.drop-file-back { transform: translate(-64%,-54%) rotate(-9deg); background: var(--paper-2); }
.drop-file-front { transform: translate(-36%,-48%) rotate(5deg); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(21,22,24,.12); }
.drop-file-front span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 17px; font-weight: 600; }
.dropzone strong { font-size: 16px; letter-spacing: -.02em; }
.dropzone > span { margin-top: 4px; color: #858783; font-size: 11px; }
.dropzone small { margin-top: 12px; padding: 6px 9px; border-radius: 999px; background: rgba(21,22,24,.055); color: #777a76; font-size: 9px; }
.selected-files { margin-top: 13px; display: grid; gap: 8px; }
.file-row { min-height: 62px; padding: 9px 10px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.62); }
.file-type { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: #fff; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.file-meta { min-width: 0; }
.file-meta strong, .file-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta strong { font-size: 12px; }
.file-meta span { margin-top: 4px; color: #858783; font-size: 9px; }
.file-remove { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #777a76; cursor: pointer; }
.file-remove:hover { background: rgba(21,22,24,.06); color: var(--ink); }
.file-remove svg { width: 16px; height: 16px; }
.tool-options { margin-top: 18px; padding: 19px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.56); }
.option-title { margin: 0 0 15px; font-size: 13px; letter-spacing: -.02em; }
.option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.field { display: grid; gap: 7px; }
.field label, .field-label { color: #666966; font-size: 9px; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; outline: 0; color: var(--ink); font-size: 12px; transition: border .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(49,92,255,.5); box-shadow: 0 0 0 4px rgba(49,92,255,.08); }
.field-note { color: #898b87; font-size: 9px; line-height: 1.45; }
.range-row { min-height: 43px; display: grid; grid-template-columns: 1fr 45px; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; }
.range-row input { min-height: 0; padding: 0; border: 0; box-shadow: none; accent-color: var(--blue); }
.range-value { color: #666966; font-size: 10px; text-align: right; }
.checkbox-row { min-height: 42px; display: flex; align-items: center; gap: 9px; color: #5f625f; font-size: 11px; }
.checkbox-row input { width: 17px; height: 17px; accent-color: var(--blue); }
.option-wide { grid-column: 1 / -1; }
.cover-preview, .crop-preview { grid-column: 1 / -1; overflow: hidden; border-radius: 16px; background: var(--dark); }
.cover-preview canvas, .crop-preview canvas { width: 100%; height: auto; display: block; }
.crop-preview { min-height: 180px; display: grid; place-items: center; background: repeating-conic-gradient(#d9d9d9 0 25%, #f2f2f2 0 50%) 0 / 18px 18px; }
.pdf-summary { grid-column: 1 / -1; padding: 12px; border-radius: 12px; background: var(--paper-2); color: #666966; font-size: 10px; line-height: 1.5; }
.process-panel { margin-top: 18px; padding: 18px; display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; border: 1px solid rgba(49,92,255,.16); border-radius: 18px; background: var(--blue-soft); position: relative; overflow: hidden; }
.process-orbit { width: 55px; height: 55px; display: grid; place-items: center; position: relative; border-radius: 50%; background: #fff; }
.process-orbit i { position: absolute; inset: 4px; border: 2px solid transparent; border-top-color: var(--blue); border-right-color: var(--blue); border-radius: 50%; animation: spin 1.1s linear infinite; }
.process-orbit span { font-size: 9px; font-weight: 800; }
.process-copy strong { display: block; font-size: 12px; }
.process-copy p { margin: 5px 0 0; color: #666b7a; font-size: 9px; line-height: 1.45; }
.progress-track { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: rgba(49,92,255,.12); overflow: hidden; }
.progress-track div { height: 100%; width: 0; border-radius: inherit; background: var(--blue); transition: width .28s ease; }
.result-panel { margin-top: 18px; padding: 18px; border-radius: 18px; border: 1px solid rgba(32,162,90,.18); background: #eaf8ef; }
.result-header { display: flex; gap: 11px; align-items: center; margin-bottom: 13px; }
.result-check { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #21a35d; color: #fff; }
.result-check svg { width: 19px; height: 19px; }
.result-header strong, .result-header span { display: block; }
.result-header strong { font-size: 12px; }
.result-header div > span { margin-top: 3px; color: #5d7566; font-size: 9px; }
.result-list { display: grid; gap: 7px; }
.result-file { min-height: 52px; padding: 8px 8px 8px 11px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; border-radius: 12px; background: rgba(255,255,255,.72); }
.result-file strong, .result-file span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-file strong { font-size: 10px; }
.result-file span { margin-top: 3px; color: #758078; font-size: 8px; }
.download-button { min-height: 34px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 9px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 760; cursor: pointer; }
.download-button svg { width: 14px; height: 14px; }
.error-panel { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(185,50,50,.18); border-radius: 14px; background: #fff0f0; color: #9b3131; font-size: 11px; line-height: 1.5; }
.modal-footer { min-height: 74px; padding: 13px 27px calc(13px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); background: rgba(250,249,245,.94); }
.local-note { display: flex; align-items: center; gap: 7px; color: #777a76; font-size: 9px; }
.local-note span { width: 7px; height: 7px; border-radius: 50%; background: #20a25a; }
.footer-actions { display: flex; gap: 8px; }
.toast-region { position: fixed; z-index: 120; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: min(330px, calc(100vw - 36px)); padding: 12px 15px; border-radius: 13px; background: var(--ink); color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.22); font-size: 11px; animation: toast-in .25s ease both; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-11px) rotate(1deg); } }
@keyframes lane-breathe { 0%,100% { filter: brightness(.92); } 50% { filter: brightness(1.25); } }
@keyframes node-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(216,255,102,.28), 0 0 14px rgba(216,255,102,.65); } 50% { box-shadow: 0 0 0 8px rgba(216,255,102,0), 0 0 22px rgba(216,255,102,.75); } }
@keyframes wave { 0%,100% { transform: scaleY(.75); } 50% { transform: scaleY(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { padding-top: 70px; grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { max-width: 700px; }
  .hero-stage { width: min(640px, 100%); justify-self: center; }
  .popular-rail { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .privacy-panel { grid-template-columns: 90px 1fr; }
  .privacy-stats { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); }
  .privacy-stats div { padding: 16px; border: 0; border-left: 1px solid rgba(255,255,255,.11); }
  .privacy-stats div:first-child { border-left: 0; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 24px); --radius-xl: 28px; }
  body::before { opacity: .11; }
  .site-header { width: calc(100% - 16px); height: 62px; top: 8px; margin-top: 8px; padding: 0 8px 0 13px; border-radius: 18px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-symbol { width: 29px; height: 29px; border-radius: 9px; }
  .brand-symbol svg { width: 21px; height: 21px; }
  .header-cta { padding: 10px 12px; border-radius: 11px; font-size: 11px; }
  .hero { min-height: 0; padding: 64px 0 58px; gap: 50px; }
  .status-chip { font-size: 10px; }
  .hero h1 { margin-top: 24px; font-size: clamp(47px, 14vw, 68px); }
  .hero h1 span { -webkit-text-stroke-width: 1px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button-large { min-height: 50px; padding: 13px 14px; font-size: 12px; }
  .hero-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
  .hero-proof span { display: block; }
  .hero-proof strong { display: block; margin-bottom: 3px; }
  .hero-stage { min-height: 390px; }
  .conversion-console { width: calc(100% - 10px); border-radius: 24px; transform: rotate(.6deg); }
  .console-header { height: 47px; padding: 0 13px; }
  .console-header > span { font-size: 7px; }
  .console-body { padding: 20px 14px 17px; }
  .console-file { grid-template-columns: 45px 1fr auto; gap: 10px; padding: 10px; border-radius: 15px; }
  .file-format { width: 45px; height: 45px; border-radius: 12px; font-size: 9px; }
  .console-file-copy strong { font-size: 11px; }
  .console-file-copy span { font-size: 8px; }
  .transfer-lane { padding: 20px 8px; }
  .console-footer { height: 44px; padding: 0 13px; font-size: 7px; }
  .floating-format { font-size: 8px; padding: 9px 10px; border-radius: 10px; }
  .format-a { right: -2px; top: 9%; }
  .format-b { left: -2px; bottom: 13%; }
  .format-c { right: 8%; bottom: -2%; }
  .popular-section, .tools-section, .privacy-section { padding: 68px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 26px; }
  .section-intro h2, .privacy-copy h2 { font-size: 42px; }
  .section-intro > p { font-size: 13px; }
  .popular-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -12px; padding-right: 12px; }
  .popular-rail::-webkit-scrollbar { display: none; }
  .popular-card { min-width: 255px; min-height: 180px; scroll-snap-align: start; }
  .tools-intro { gap: 25px; }
  .tool-search { width: 100%; }
  .tool-search kbd { display: none; }
  .filter-row { margin-right: -12px; padding-right: 12px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 178px; }
  .tool-card h3 { font-size: 20px; }
  .process-story { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 72px; scrollbar-width: none; margin-right: -12px; width: calc(100% + 12px); }
  .process-story::-webkit-scrollbar { display: none; }
  .story-card { min-width: 285px; min-height: 240px; scroll-snap-align: start; }
  .privacy-panel { padding: 28px 22px; grid-template-columns: 1fr; gap: 24px; border-radius: 28px; }
  .privacy-seal { width: 78px; height: 78px; border-radius: 22px; }
  .privacy-seal svg { width: 45px; height: 45px; }
  .privacy-stats { grid-column: auto; grid-template-columns: 1fr; }
  .privacy-stats div { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.11); }
  .site-footer { min-height: 190px; grid-template-columns: 1fr auto; align-content: center; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .modal-backdrop { padding: 0; align-items: end; background: rgba(9,10,12,.48); }
  .modal-shell { width: 100%; max-height: calc(100dvh - 18px); border-radius: 26px 26px 0 0; animation-name: sheet-in; }
  .modal-grabber { display: block; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 999px; background: rgba(21,22,24,.18); }
  .modal-close { top: 14px; right: 14px; }
  .modal-header { padding: 22px 58px 18px 18px; gap: 12px; }
  .modal-tool-icon { width: 49px; height: 49px; border-radius: 14px; }
  .modal-tool-icon svg { width: 27px; height: 27px; }
  .modal-header h2 { font-size: 23px; }
  .modal-header p { font-size: 10px; }
  .modal-body { padding: 18px; }
  .dropzone { min-height: 180px; }
  .tool-options { padding: 15px; }
  .option-grid { grid-template-columns: 1fr; }
  .option-wide, .cover-preview, .crop-preview, .pdf-summary { grid-column: auto; }
  .modal-footer { padding: 11px 14px calc(11px + env(safe-area-inset-bottom)); }
  .local-note { display: none; }
  .footer-actions { width: 100%; display: grid; grid-template-columns: .8fr 1.2fr; }
  .footer-actions .button { width: 100%; }
  .toast-region { left: 12px; right: 12px; }
  .toast { max-width: 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 { opacity: 1; transform: none; }
}

@keyframes sheet-in { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: translateY(0); } }

.file-row.has-order { grid-template-columns: 42px minmax(0,1fr) auto auto; }
.file-order { display: inline-flex; gap: 3px; }
.file-order button { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.7); color: #666966; cursor: pointer; font-size: 12px; line-height: 1; }
.file-order button:hover:not(:disabled) { background: var(--white); color: var(--ink); }
.file-order button:disabled { opacity: .28; cursor: default; }
.result-header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; }
.download-all { min-height: 32px; padding: 7px 10px; border: 1px solid rgba(32,162,90,.22); border-radius: 9px; background: rgba(255,255,255,.72); color: #247046; font-size: 9px; font-weight: 760; cursor: pointer; }
.download-all:hover { background: #fff; }
@media (max-width: 520px) {
  .file-row.has-order { grid-template-columns: 42px minmax(0,1fr) auto; }
  .file-row.has-order .file-order { grid-column: 2; justify-self: start; margin-top: -3px; }
  .file-row.has-order .file-remove { grid-column: 3; grid-row: 1 / span 2; }
  .result-header { grid-template-columns: auto minmax(0,1fr); }
  .download-all { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
}

/* FLUX 3 product layer ---------------------------------------------------- */
html[data-theme="dark"] {
  --paper: #0d0f12;
  --paper-2: #15181d;
  --ink: #f5f6f8;
  --muted: #9a9ea7;
  --line: rgba(255,255,255,.11);
  --dark: #060709;
  --dark-2: #11141a;
  --white: #191c22;
  --blue-soft: #1b244b;
  --shadow: 0 22px 70px rgba(0,0,0,.34);
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 8% 4%, rgba(80,116,255,.12), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(255,138,76,.08), transparent 22%),
    var(--paper);
}
html[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .07; }
html[data-theme="dark"] .site-header { background: rgba(16,18,22,.76); border-color: var(--line); box-shadow: 0 12px 44px rgba(0,0,0,.28); }
html[data-theme="dark"] .desktop-nav,
html[data-theme="dark"] .button-ghost,
html[data-theme="dark"] .status-chip,
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .popular-card,
html[data-theme="dark"] .story-card:not(.story-dark):not(.story-accent),
html[data-theme="dark"] .link-studio-card,
html[data-theme="dark"] .tool-options,
html[data-theme="dark"] .file-row { background: rgba(255,255,255,.045); }
html[data-theme="dark"] .desktop-nav a { color: #b2b6c0; }
html[data-theme="dark"] .desktop-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
html[data-theme="dark"] .hero-copy > p,
html[data-theme="dark"] .tool-card p,
html[data-theme="dark"] .section-intro > p,
html[data-theme="dark"] .story-card p { color: var(--muted); }
html[data-theme="dark"] .hero h1 span { -webkit-text-stroke-color: var(--ink); }
html[data-theme="dark"] .floating-format { background: rgba(21,24,29,.84); border-color: var(--line); }
html[data-theme="dark"] .tool-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
html[data-theme="dark"] .modal-shell,
html[data-theme="dark"] .panel-shell,
html[data-theme="dark"] .onboarding-shell { background: #12151a; }
html[data-theme="dark"] .modal-footer { background: rgba(18,21,26,.94); }
html[data-theme="dark"] .modal-close,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .range-row,
html[data-theme="dark"] .large-field input,
html[data-theme="dark"] .assist-command,
html[data-theme="dark"] .assistant-compose,
html[data-theme="dark"] .link-input-row input { background: #191d23; color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .dropzone { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.18); }
html[data-theme="dark"] .drop-file { background: #20242b; border-color: var(--line); }
html[data-theme="dark"] .drop-file-back { background: #16191e; }
html[data-theme="dark"] .result-file,
html[data-theme="dark"] .download-all { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .result-panel { background: #10241a; }
html[data-theme="dark"] .error-panel { background: #2b1518; color: #ff9da4; }
html[data-theme="dark"] .pdf-summary { background: #171b21; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 7px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.4); color: var(--ink); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.icon-button:hover { background: var(--white); transform: translateY(-1px); }
.icon-button svg { width: 20px; height: 20px; }
.profile-button { height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px 4px 5px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.4); cursor: pointer; font-size: 12px; font-weight: 720; }
.profile-button > span:first-child { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--blue), #8d69ff); color: #fff; }

.assist-command { min-height: 62px; margin-top: 32px; padding: 8px 8px 8px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1px solid rgba(49,92,255,.18); border-radius: 19px; background: rgba(255,255,255,.68); box-shadow: 0 18px 46px rgba(38,52,109,.10); }
.assist-command-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-size: 17px; }
.assist-command input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.assist-command button { width: 45px; height: 45px; display: grid; place-items: center; border: 0; border-radius: 13px; background: var(--ink); color: var(--white); cursor: pointer; }
.assist-command button svg { width: 19px; height: 19px; }

.link-studio { padding: 20px 0 90px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.link-studio-copy h2 { margin: 10px 0 16px; max-width: 540px; font-size: clamp(42px,5vw,68px); line-height: .98; letter-spacing: -.065em; }
.link-studio-copy p { margin: 0; max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.platform-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.platform-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 740; background: rgba(255,255,255,.34); }
.link-studio-card { padding: 28px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.55); box-shadow: 0 25px 70px rgba(21,22,24,.08); position: relative; overflow: hidden; }
.link-studio-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -120px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(49,92,255,.22), transparent 70%); }
.link-studio-card > label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.link-input-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: relative; z-index: 1; }
.link-input-row input { min-width: 0; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--ink); outline: 0; }
.link-input-row input:focus { border-color: rgba(49,92,255,.55); box-shadow: 0 0 0 4px rgba(49,92,255,.08); }
.link-input-row button { min-width: 100px; border: 0; border-radius: 15px; background: var(--ink); color: var(--white); font-weight: 760; cursor: pointer; }
.link-status { margin-top: 14px; padding: 14px; display: grid; grid-template-columns: auto 1fr; gap: 11px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.35); }
.status-indicator { width: 10px; height: 10px; margin-top: 3px; border-radius: 50%; background: #7b7f87; box-shadow: 0 0 0 5px rgba(123,127,135,.10); }
.link-status[data-type="success"] .status-indicator { background: #20a25a; box-shadow: 0 0 0 5px rgba(32,162,90,.12); }
.link-status[data-type="warning"] .status-indicator { background: #f3a62c; box-shadow: 0 0 0 5px rgba(243,166,44,.13); }
.link-status[data-type="error"] .status-indicator { background: #e3545d; box-shadow: 0 0 0 5px rgba(227,84,93,.12); }
.link-status[data-type="loading"] .status-indicator { background: var(--blue); animation: node-pulse 1.4s ease-in-out infinite; }
.link-status p { margin: 0; }
.link-status strong, .link-status small { display: block; }
.link-status strong { font-size: 12px; }
.link-status small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.link-actions { margin-top: 13px; display: flex; gap: 8px; }

.mobile-nav { display: none; }
.product-panel-open { overflow: hidden; }
.product-panel-open .consent-banner, .tool-modal-open .consent-banner { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px); }
.product-overlay { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 22px; background: rgba(7,8,10,.58); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: backdrop-in .2s ease both; }
.onboarding-shell, .panel-shell { width: min(660px,100%); max-height: calc(100dvh - 44px); overflow: auto; border-radius: 30px; background: #faf9f5; box-shadow: 0 38px 120px rgba(0,0,0,.34); animation: modal-in .32s cubic-bezier(.22,.8,.24,1) both; }
.onboarding-shell { min-height: 560px; padding: 34px; display: flex; flex-direction: column; position: relative; }
.onboarding-progress { display: flex; gap: 7px; }
.onboarding-progress i { width: 36px; height: 4px; border-radius: 99px; background: var(--line); transition: background .25s ease, width .25s ease; }
.onboarding-progress i.active { width: 52px; background: var(--blue); }
.onboarding-skip { position: absolute; right: 28px; top: 26px; border: 0; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.onboarding-step { margin: auto 0; padding: 52px 0 38px; }
.onboarding-symbol { width: 72px; height: 72px; margin-bottom: 27px; display: grid; place-items: center; border-radius: 23px; background: var(--ink); color: var(--white); font-size: 30px; font-weight: 860; letter-spacing: -.08em; box-shadow: 0 20px 48px rgba(21,22,24,.18); }
.onboarding-step h2, .panel-shell h2 { margin: 9px 0 15px; font-size: clamp(36px,6vw,58px); line-height: .98; letter-spacing: -.06em; }
.onboarding-step > p, .panel-shell > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.65; }
.onboarding-footer { margin-top: auto; display: flex; justify-content: flex-end; gap: 9px; }
.choice-grid, .theme-choice { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 28px; }
.choice-grid button, .theme-choice button { min-height: 72px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.45); text-align: left; font-weight: 760; cursor: pointer; transition: border .2s ease, background .2s ease, transform .2s ease; }
.choice-grid button:hover, .theme-choice button:hover { transform: translateY(-1px); }
.choice-grid button.selected, .theme-choice button.selected { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); box-shadow: 0 0 0 3px rgba(49,92,255,.08); }
.theme-choice { grid-template-columns: repeat(3,1fr); }
.large-field { display: grid; gap: 8px; margin-top: 24px; color: var(--muted); font-size: 10px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.large-field > span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.large-field input { min-height: 54px; padding: 0 15px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--ink); outline: 0; font-size: 15px; text-transform: none; letter-spacing: 0; }
.large-field input:focus { border-color: rgba(49,92,255,.55); box-shadow: 0 0 0 4px rgba(49,92,255,.08); }
.privacy-hint { margin-top: 13px !important; font-size: 11px; }

.panel-shell { position: relative; padding: 34px; }
.panel-close { position: absolute; right: 20px; top: 20px; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font-size: 24px; line-height: 1; }
.profile-panel { width: min(560px,100%); }
.profile-stats { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-stats div { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.35); }
.profile-stats strong, .profile-stats span { display: block; }
.profile-stats strong { font-size: 24px; letter-spacing: -.04em; }
.profile-stats span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.panel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }

.assistant-drawer { position: fixed; z-index: 160; top: 14px; right: 14px; bottom: 14px; width: min(410px, calc(100% - 28px)); display: grid; grid-template-rows: auto 1fr auto auto; border: 1px solid var(--line); border-radius: 26px; background: #111419; color: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.42); overflow: hidden; animation: drawer-in .3s cubic-bezier(.22,.8,.24,1) both; }
.assistant-header { min-height: 72px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); }
.assistant-header > div { display: flex; align-items: center; gap: 10px; }
.assistant-header span span { display: block; }
.assistant-header strong, .assistant-header small { display: block; }
.assistant-header small { margin-top: 3px; color: rgba(255,255,255,.45); font-size: 9px; }
.assistant-header button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.05); color: #fff; font-size: 22px; cursor: pointer; }
.assistant-spark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; background: var(--lime); color: #111; }
.assistant-body { padding: 18px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.assistant-message { max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: 12px; line-height: 1.5; }
.assistant-system { align-self: flex-start; background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); border-bottom-left-radius: 5px; }
.assistant-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.assistant-suggestions { padding: 0 14px 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.assistant-suggestions::-webkit-scrollbar { display: none; }
.assistant-suggestions button { white-space: nowrap; padding: 8px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.74); font-size: 9px; cursor: pointer; }
.assistant-compose { margin: 0 12px 12px; padding: 7px 7px 7px 13px; display: grid; grid-template-columns: 1fr auto; gap: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.055); }
.assistant-compose input { min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 12px; }
.assistant-compose button { width: 39px; height: 39px; border: 0; border-radius: 11px; background: var(--lime); color: #111; font-weight: 900; cursor: pointer; }
.product-toast { position: fixed; z-index: 220; right: 18px; bottom: 18px; padding: 12px 15px; border-radius: 13px; background: var(--ink); color: var(--white); box-shadow: 0 16px 48px rgba(0,0,0,.28); font-size: 11px; }

@keyframes drawer-in { from { opacity: 0; transform: translateX(30px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }

@media (max-width: 1120px) {
  .profile-button #profile-label { display: none; }
  .profile-button { padding-right: 5px; }
  .header-actions { gap: 5px; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .link-studio { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-header .icon-button, .site-header .profile-button { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { display: block; }
  .header-cta { display: block; }
  .assist-command { min-height: 58px; margin-top: 25px; padding-left: 12px; }
  .assist-command input { font-size: 12px; }
  .link-studio { padding: 4px 0 64px; }
  .link-studio-copy h2 { font-size: 43px; }
  .link-studio-card { padding: 18px; border-radius: 24px; }
  .link-input-row { grid-template-columns: 1fr; }
  .link-input-row button { min-height: 48px; }
  .link-actions { display: grid; grid-template-columns: 1fr; }
  .mobile-nav { position: fixed; z-index: 80; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); height: 62px; padding: 5px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 19px; background: rgba(249,247,241,.86); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 18px 48px rgba(21,22,24,.15); }
  html[data-theme="dark"] .mobile-nav { background: rgba(15,17,21,.88); }
  .mobile-nav a, .mobile-nav button { border: 0; border-radius: 14px; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 8px; font-weight: 740; cursor: pointer; }
  .mobile-nav span { font-size: 17px; color: var(--ink); }
  .product-overlay { padding: 0; align-items: end; }
  .onboarding-shell, .panel-shell { width: 100%; max-height: calc(100dvh - 10px); border-radius: 27px 27px 0 0; }
  .onboarding-shell { min-height: min(680px, calc(100dvh - 10px)); padding: 24px 18px calc(20px + env(safe-area-inset-bottom)); }
  .onboarding-skip { top: 20px; right: 18px; }
  .onboarding-step { padding: 45px 0 28px; }
  .onboarding-step h2, .panel-shell h2 { font-size: 42px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .theme-choice { grid-template-columns: 1fr; }
  .panel-shell { padding: 27px 18px calc(24px + env(safe-area-inset-bottom)); }
  .panel-actions { display: grid; grid-template-columns: 1fr; }
  .assistant-drawer { inset: auto 0 0 0; width: 100%; height: min(720px, calc(100dvh - 10px)); border-radius: 27px 27px 0 0; animation-name: sheet-in; }
  .site-footer { padding-bottom: 70px; }
}

/* FLUX 4 — account, monetization and trust layer */
.ad-zone {
  min-height: 132px;
  margin-top: 8px;
  margin-bottom: 38px;
  padding: 17px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.18));
  overflow: hidden;
  position: relative;
}
.ad-zone::after { content: ""; position: absolute; width: 190px; height: 190px; right: -70px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(49,92,255,.12), transparent 70%); pointer-events: none; }
.ad-zone-compact { min-height: 112px; margin-top: 64px; margin-bottom: 18px; }
.ad-label { width: fit-content; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ad-content { min-height: 72px; padding: 12px 16px; display: flex; align-items: center; gap: 14px; border: 1px dashed rgba(21,22,24,.15); border-radius: 17px; position: relative; z-index: 1; }
.ad-content strong, .ad-content p { display: block; margin: 0; }
.ad-content strong { font-size: 13px; letter-spacing: -.02em; }
.ad-content p { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.ad-mark { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--ink); color: var(--white); font-size: 9px; font-weight: 900; letter-spacing: -.02em; }
.ad-live { min-height: 160px; }
.adsbygoogle { width: 100%; min-height: 110px; }

.onboarding-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.onboarding-proof span { padding: 9px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.42); color: var(--muted); font-size: 10px; font-weight: 720; }
.onboarding-account-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.account-option { min-height: 105px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.42); text-align: left; cursor: pointer; transition: transform .2s ease, border .2s ease, background .2s ease; }
.account-option:hover { transform: translateY(-1px); }
.account-option.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(49,92,255,.08); }
.account-option strong, .account-option span { display: block; }
.account-option strong { font-size: 14px; }
.account-option span { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.onboarding-account-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.onboarding-account-fields .large-field:last-child { grid-column: 1 / -1; }
.onboarding-error, .auth-error { margin-top: 13px; padding: 11px 13px; border: 1px solid rgba(190,54,54,.24); border-radius: 13px; background: rgba(190,54,54,.08); color: #a22f2f; font-size: 11px; line-height: 1.45; }

.account-panel { width: min(720px,100%); }
.auth-tabs { margin-top: 26px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.28); }
.auth-tabs button { min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 760; cursor: pointer; }
.auth-tabs button.selected { background: var(--ink); color: var(--white); box-shadow: 0 8px 22px rgba(21,22,24,.13); }
.auth-form { margin-top: 8px; }
.auth-submit { width: 100%; margin-top: 19px; min-height: 52px; }
.remember-row, .terms-row { margin-top: 16px; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.45; cursor: pointer; }
.remember-row input, .terms-row input { margin-top: 1px; accent-color: var(--blue); }
.guest-continue { width: 100%; margin-top: 17px; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.password-meter { margin-top: 13px; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; align-items: center; }
.password-meter i { height: 4px; border-radius: 99px; background: var(--line); transition: background .2s ease; }
.password-meter i.active { background: var(--blue); }
.password-meter span { grid-column: 1 / -1; color: var(--muted); font-size: 9px; }
.account-profile-head { display: flex; align-items: center; gap: 18px; padding-right: 44px; }
.account-profile-head h2 { margin: 5px 0 3px; font-size: clamp(34px,5vw,48px); }
.account-profile-head p { margin: 0; color: var(--muted); font-size: 11px; }
.account-avatar-large { width: 70px; height: 70px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 23px; background: linear-gradient(145deg, var(--ink), #30343a); color: #fff; font-size: 26px; font-weight: 850; box-shadow: 0 18px 40px rgba(21,22,24,.18); }
.account-status { width: fit-content; margin-top: 17px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(28,151,84,.2); border-radius: 999px; background: rgba(28,151,84,.08); color: #197b48; font-size: 9px; font-weight: 760; }
.account-status span { width: 7px; height: 7px; border-radius: 50%; background: #1c9754; box-shadow: 0 0 0 4px rgba(28,151,84,.1); }
.account-user-view .profile-stats { grid-template-columns: repeat(3,1fr); }
.account-section { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.3); }
.account-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-section-head strong { font-size: 13px; }
.account-section-head span { color: var(--muted); font-size: 9px; }
.account-section .button { width: 100%; margin-top: 16px; }
.recent-tools { margin-top: 12px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.recent-tools button { min-height: 68px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.48); text-align: left; cursor: pointer; }
.recent-tools span, .recent-tools strong { display: block; }
.recent-tools span { color: var(--blue); font-size: 8px; font-weight: 850; letter-spacing: .06em; }
.recent-tools strong { margin-top: 5px; font-size: 11px; }
.account-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.danger-button { min-height: 44px; padding: 10px 14px; border: 1px solid rgba(190,54,54,.22); border-radius: 14px; background: rgba(190,54,54,.06); color: #a22f2f; font-size: 11px; font-weight: 760; cursor: pointer; }

.privacy-settings-panel, .legal-panel { width: min(650px,100%); }
.settings-list { margin-top: 24px; display: grid; gap: 9px; }
.settings-list > div, .settings-list > label { min-height: 72px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.34); }
.settings-list strong, .settings-list small { display: block; }
.settings-list strong { font-size: 12px; }
.settings-list small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.settings-list b { color: var(--muted); font-size: 9px; }
.settings-list input { width: 42px; height: 24px; accent-color: var(--blue); }
.privacy-warning { margin-top: 13px; padding: 12px 14px; border-radius: 14px; background: rgba(255,138,76,.1); color: #8a4b28; font-size: 10px; line-height: 1.5; }
.legal-content { color: var(--muted); font-size: 12px; line-height: 1.7; }
.legal-content h3 { margin: 24px 0 7px; color: var(--ink); font-size: 14px; }
.legal-content p { margin: 0; }

.consent-banner { position: fixed; z-index: 210; left: 18px; right: 18px; bottom: 18px; width: min(820px, calc(100% - 36px)); margin: auto; padding: 17px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 21px; background: rgba(17,20,25,.96); color: #fff; box-shadow: 0 26px 80px rgba(0,0,0,.34); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); animation: consent-in .35s cubic-bezier(.22,.8,.24,1) both; }
.consent-banner strong, .consent-banner p { display: block; margin: 0; }
.consent-banner strong { margin-top: 6px; font-size: 13px; }
.consent-banner p { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.5; }
.consent-banner .ad-label { color: rgba(255,255,255,.42); }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .button-ghost { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: #fff; }

.site-footer { min-height: 180px; grid-template-columns: 1fr auto auto; }
.footer-brand-block p { margin: 12px 0 0; text-align: left; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.footer-links button { padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.footer-links button:hover { background: rgba(255,255,255,.5); color: var(--ink); }

html[data-theme="dark"] .ad-zone,
html[data-theme="dark"] .account-section,
html[data-theme="dark"] .settings-list > div,
html[data-theme="dark"] .settings-list > label,
html[data-theme="dark"] .auth-tabs,
html[data-theme="dark"] .account-option,
html[data-theme="dark"] .onboarding-proof span,
html[data-theme="dark"] .recent-tools button { background: rgba(255,255,255,.045); }
html[data-theme="dark"] .ad-content { border-color: rgba(255,255,255,.13); }
html[data-theme="dark"] .auth-tabs button.selected { background: #f5f4ef; color: #111; }
html[data-theme="dark"] .account-option.selected { background: rgba(49,92,255,.18); }
html[data-theme="dark"] .account-status { color: #75d6a3; }
html[data-theme="dark"] .privacy-warning { color: #efad7f; }
html[data-theme="dark"] .onboarding-error,
html[data-theme="dark"] .auth-error { color: #ff9a9a; }

@keyframes consent-in { from { opacity: 0; transform: translateY(25px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 700px) {
  .ad-zone { width: calc(100% - 24px); min-height: 122px; margin-bottom: 28px; padding: 13px; border-radius: 19px; }
  .ad-zone-compact { margin-top: 40px; }
  .ad-content { padding: 11px; }
  .ad-content p { font-size: 9px; }
  .onboarding-account-options, .onboarding-account-fields { grid-template-columns: 1fr; }
  .onboarding-account-fields .large-field:last-child { grid-column: auto; }
  .account-user-view .profile-stats { grid-template-columns: repeat(3,1fr); }
  .profile-stats div { padding: 13px 9px; }
  .profile-stats strong { font-size: 21px; }
  .recent-tools { grid-template-columns: 1fr; }
  .account-actions { display: grid; grid-template-columns: 1fr; }
  .account-actions > * { width: 100%; }
  .consent-banner { left: 8px; right: 8px; bottom: calc(78px + env(safe-area-inset-bottom)); width: auto; padding: 15px; grid-template-columns: 1fr; border-radius: 20px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding-bottom: 92px; }
  .site-footer > span { justify-self: start; }
  .footer-links { justify-content: flex-start; }
}

/* Account security and installability refinements */
.password-input { position: relative; display: block; }
.password-input input { width: 100%; padding-right: 88px; }
.password-input button { position: absolute; top: 50%; right: 9px; min-width: 70px; min-height: 36px; transform: translateY(-50%); border: 0; border-radius: 11px; background: rgba(21,22,24,.06); color: var(--muted); font-size: 9px; font-weight: 800; cursor: pointer; }
.password-input button:hover { background: rgba(49,92,255,.1); color: var(--blue); }
.data-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.data-actions .button { margin-top: 14px; }
.assistant-system-pending { opacity: .62; font-style: italic; }
.assistant-system-pending::after { content: ''; display: inline-block; width: 1.2em; animation: flux-dots 1.1s steps(4,end) infinite; }
#install-app { color: var(--blue); font-weight: 760; }
html[data-theme="dark"] .password-input button { background: rgba(255,255,255,.08); color: var(--muted); }
html[data-theme="dark"] .password-input button:hover { background: rgba(73,111,255,.18); color: #9db1ff; }
@keyframes flux-dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%,100% { content: '...'; } }
@media (max-width: 520px) {
  .data-actions { grid-template-columns: 1fr; }
  .data-actions .button + .button { margin-top: 0; }
}
.footer-links a { color: inherit; text-decoration: none; font: inherit; }
.footer-links a:hover { color: var(--text-strong, currentColor); }
.settings-list .button { flex: 0 0 auto; }
.terms-row a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.guide-section{padding-top:72px;padding-bottom:72px}.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.guide-grid>a{display:flex;flex-direction:column;min-height:210px;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:inherit;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.guide-grid>a:hover{transform:translateY(-3px);border-color:rgba(49,92,255,.35);box-shadow:0 18px 50px rgba(20,24,34,.08)}.guide-grid span{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--accent);font-weight:750}.guide-grid strong{margin-top:12px;font-size:20px;letter-spacing:-.025em}.guide-grid p{margin-top:auto;color:var(--muted);font-size:14px;line-height:1.55}@media(max-width:920px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.guide-section{padding-top:48px;padding-bottom:48px}.guide-grid{grid-template-columns:1fr}.guide-grid>a{min-height:170px}}

.home-faq{padding:76px 0;border-top:1px solid var(--line)}.home-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-faq details{padding:20px 22px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.home-faq summary{cursor:pointer;font-weight:750;letter-spacing:-.015em}.home-faq p{margin:12px 0 0;color:var(--muted);line-height:1.6}.consent-banner{transition:opacity .2s ease,transform .2s ease,visibility .2s ease}@media(max-width:680px){.home-faq{padding:52px 0}.home-faq-grid{grid-template-columns:1fr}}


/* FLUX 7 quality, accessibility and responsive containment ---------------- */
html { overflow-x: clip; }
body, main, section, aside, header, footer { min-width: 0; max-width: 100%; }
[id] { scroll-margin-top: 104px; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 72%, white); outline-offset: 3px; }
.brand, .desktop-nav a, .header-cta, .icon-button, .profile-button, .filter, .footer-links a, .footer-links button { min-height: 44px; }
.brand { padding-block: 5px; }
.desktop-nav a, .footer-links a, .footer-links button { display: inline-flex; align-items: center; }
.hero-copy, .hero-stage, .section-intro > *, .link-studio > *, .privacy-panel > *, .tool-card, .popular-card { min-width: 0; }
.link-studio-card, .link-status, .link-status p, .link-status small, .privacy-copy, .privacy-copy p { overflow-wrap: anywhere; }
.field-help { margin: 8px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

@media (max-width: 700px) {
  .popular-section, .tools-section, .process-story, .filter-row { min-width: 0; max-width: 100%; }
  .popular-section { overflow: clip; }
  .popular-rail,
  .filter-row,
  .process-story {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .popular-rail { scroll-padding-inline: 0; }
  .popular-card { min-width: min(255px, calc(100vw - 48px)); }
  .story-card { min-width: min(285px, calc(100vw - 48px)); }
  .filter { min-height: 44px; padding-inline: 15px; }
  .header-actions { min-width: 0; }
  .header-cta { min-height: 44px; }
  .site-footer .brand, .footer-links a, .footer-links button { min-height: 44px; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(21,22,24,.34); }
  html[data-theme="dark"] { --line: rgba(255,255,255,.30); }
  .button, .tool-card, .popular-card, .link-studio-card, .privacy-panel { border-width: 2px; }
}

@media (forced-colors: active) {
  .status-dot, .console-live i, .console-footer i, .ad-mark { forced-color-adjust: none; }
  .button, .tool-card, .popular-card, .filter, .icon-button, .profile-button { border: 1px solid ButtonText; }
}
.footer-links a, .footer-links button { min-width: 44px; justify-content: center; }
