/* myfilehub.com — shared styles for the landing page, guides and privacy page. Fonts are self-hosted (the server's CSP allows fonts only from this site). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-display: swap; src: url(fonts/bricolage-grotesque-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); }

:root {
  --page: #F4F6FC;
  --card: #FFFFFF;
  --ink: #14152A;
  --ink-soft: #4A4F68;
  --muted: #6B7090;
  --line: #DADFEE;
  --blue: #3550B8;
  --blue-hover: #273F9B;
  --violet: #9D7FE0;
  --night: #0D0E1C;
  --night-2: #171932;
  --night-ink: #E8EAF7;
  --night-soft: #A9AFD3;
  --glow-a: #7AA2F7;
  --glow-b: #C0A6FF;
  --ok: #1F8A5B;
  --bad: #C4314B;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 18px/1.6 var(--body); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(13, 14, 28, .82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand:hover { color: #fff; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { color: var(--night-soft); text-decoration: none; font-size: 16px; }
.top nav a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; border: 0; cursor: pointer;
  font: 700 17px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; }
.btn.primary { background: linear-gradient(135deg, #4D6BE0, #7B5FE0); color: #fff; box-shadow: 0 10px 30px -10px rgba(98, 104, 230, .7); }
.btn.primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(98, 104, 230, .85); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn.small { height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1000px 640px at 20% 0%, #2D3270 0%, rgba(45, 50, 112, 0) 70%), radial-gradient(900px 600px at 95% 30%, rgba(157, 127, 224, .28) 0%, rgba(157, 127, 224, 0) 70%), var(--night); color: var(--night-ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--glow-a); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glow-b); box-shadow: 0 0 0 4px rgba(192, 166, 255, .2); }
.hero h1 { font: 800 clamp(40px, 4.3vw, 62px)/1.02 var(--display); letter-spacing: -.035em; margin: 0 0 20px; color: #fff; }
.grad { background: linear-gradient(90deg, var(--glow-a), var(--glow-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 20px; color: var(--night-soft); margin: 0 0 30px; max-width: 34em; }
.signup { display: flex; gap: 10px; max-width: 520px; }
.signup input[type=email] { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: 17px var(--body); }
.signup input[type=email]::placeholder { color: #8A90B8; }
.signup input[type=email]:focus { outline: none; border-color: var(--glow-a); background: rgba(255, 255, 255, .09); }
.signup .btn { height: 52px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 15px; color: #8A90B8; margin: 12px 0 0; }
.form-msg { font-size: 16px; margin: 12px 0 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #86E0B0; } .form-msg.err { color: #FF9AAE; }
.light .form-msg.ok { color: var(--ok); } .light .form-msg.err { color: var(--bad); }
.shot { position: relative; border-radius: 16px; padding: 7px; background: linear-gradient(160deg, rgba(122, 162, 247, .45), rgba(192, 166, 255, .25) 40%, rgba(255, 255, 255, .06)); box-shadow: 0 40px 100px -30px rgba(70, 80, 220, .55); }
.shot video, .shot img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #14152A; }
.shot .play { position: absolute; right: 18px; bottom: 18px; height: 36px; padding: 0 14px; border-radius: 18px; border: 0; background: rgba(13, 14, 28, .78); color: #fff; font: 700 14px var(--body); cursor: pointer; }

/* ---------- proof strip ---------- */
.proof { background: var(--night-2); color: var(--night-ink); }
.proof ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof li { display: grid; gap: 2px; }
.proof b { font: 800 30px/1.05 var(--display); letter-spacing: -.02em; color: #fff; }
.proof span { color: var(--night-soft); font-size: 15px; }

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.kicker { font: 700 14px/1 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
h2 { font: 800 clamp(34px, 4vw, 52px)/1.04 var(--display); letter-spacing: -.03em; margin: 0 0 18px; }
h3 { font: 700 22px/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 8px; }
.intro { max-width: 46em; color: var(--ink-soft); font-size: 19px; margin: 0; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 72px; }
.feature.flip > :first-child { order: 2; }
.feature p { color: var(--ink-soft); margin: 0 0 14px; }
.feature ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.feature li { margin-bottom: 6px; }
.frame { border-radius: var(--radius); padding: 6px; background: var(--night); box-shadow: 0 30px 70px -32px rgba(20, 21, 42, .65); }
.frame img { border-radius: 9px; width: 100%; }
.tag { display: inline-block; font: 700 13px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--violet); background: rgba(157, 127, 224, .12); padding: 7px 10px; border-radius: 6px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16.5px; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(77, 107, 224, .14), rgba(157, 127, 224, .18)); margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- safety ---------- */
.safety { background: var(--night); color: var(--night-ink); }
.safety h2 { color: #fff; }
.safety .intro { color: var(--night-soft); }
.safety .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.safety .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.safety .card h3 { color: #fff; }
.safety .card p { color: var(--night-soft); }
.safety .card .ic svg { stroke: var(--glow-a); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: 0 30px 70px -40px rgba(20, 21, 42, .45); }
.price-card .amount { font: 800 64px/1 var(--display); letter-spacing: -.04em; margin: 0; }
.price-card .amount small { font: 600 20px/1 var(--body); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price-card .status { display: inline-block; font: 700 13px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; background: #FFF4D6; color: #8A5A00; padding: 7px 10px; border-radius: 6px; margin-bottom: 16px; }
.price-card ul { padding: 0; list-style: none; margin: 20px 0 26px; }
.price-card li { padding-left: 28px; position: relative; margin-bottom: 9px; color: var(--ink-soft); }
.price-card li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.price-card .btn { width: 100%; }
.price-card .light .signup input[type=email] { background: var(--page); color: var(--ink); border-color: var(--line); }
.price-card .light .signup input[type=email]::placeholder { color: var(--muted); }
.price-card .light .signup input[type=email]:focus { border-color: var(--blue); }
.price-card .form-note { color: var(--muted); }
.price-card .light .signup { flex-direction: column; max-width: none; }
.price-card .light .signup input[type=email] { flex: none; }

/* ---------- guides ---------- */
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.guide-list a { display: block; text-decoration: none; color: inherit; }
.guide-list a:hover h3 { color: var(--blue); }
.guide-list .card { height: 100%; transition: border-color .15s, transform .15s; }
.guide-list a:hover .card { border-color: var(--blue); transform: translateY(-2px); }
.guide-list small { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 820px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 28px/0.8 var(--display); color: var(--blue); transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- ads ---------- */
.ad-slot { margin: 0 auto; padding: 28px 0; max-width: 1000px; text-align: center; }
.ad-slot::before { content: "Advertisement"; display: block; font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ad-slot[hidden] { display: none; }

/* ---------- article (guides, privacy) ---------- */
.article-hero { background: var(--night); color: var(--night-ink); padding: 64px 0 56px; }
.article-hero h1 { font: 800 clamp(36px, 4.6vw, 58px)/1.04 var(--display); letter-spacing: -.03em; margin: 10px 0 16px; color: #fff; max-width: 20em; }
.article-hero p { color: var(--night-soft); margin: 0; max-width: 42em; font-size: 19px; }
.crumbs { font-size: 15px; color: var(--night-soft); }
.crumbs a { color: var(--night-soft); }
.article { max-width: 760px; padding: 56px 0 72px; }
.article h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 52px; }
.article h3 { margin-top: 28px; }
.article p, .article li { color: #2B2E45; }
.article ol, .article ul { padding-left: 1.3em; }
.article li { margin-bottom: 8px; }
.article kbd { font: 600 15px/1 ui-monospace, Consolas, monospace; background: var(--card); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 7px; }
.article .note { background: #EEF2FF; border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.article .note p { margin: 0; }
.article figure { margin: 28px 0; }
.article figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.cta-box { background: var(--night); color: var(--night-ink); border-radius: 18px; padding: 30px; margin: 44px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.cta-box h3 { color: #fff; margin: 0 0 4px; }
.cta-box p { color: var(--night-soft) !important; margin: 0; }

/* ---------- footer ---------- */
footer.site { background: var(--night); color: var(--night-soft); padding: 48px 0 56px; font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer.site a { color: var(--night-soft); }
footer.site a:hover { color: #fff; }
footer.site .brand { font-size: 18px; margin-right: auto; }

@media (max-width: 960px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero .wrap, .feature, .pricing { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 56px; }
  .feature.flip > :first-child { order: 0; }
  .signup { flex-direction: column; }
  .signup input[type=email] { flex: none; }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid, .guide-list, .safety .grid { grid-template-columns: minmax(0, 1fr); }
  section.block { padding: 64px 0; }
  .feature { margin-top: 52px; }
  .cta-box { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- demos page ---------- */
.block.demos-page { padding-top: 36px; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.demo-chips a { font: 700 14.5px/1 var(--body); text-decoration: none; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); padding: 9px 13px; border-radius: 999px; }
.demo-chips a:hover { color: var(--blue); border-color: var(--blue); }
.demo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.demo-text h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 10px; }
.demo-text p { color: var(--ink-soft); margin: 0 0 14px; }
.demo-text ol { padding-left: 1.3em; margin: 0; }
.demo-text li { margin-bottom: 7px; color: #2B2E45; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(700px 400px at 25% 15%, #2d3270 0%, #15162d 60%, #0c0d19 100%); box-shadow: 0 30px 70px -32px rgba(20, 21, 42, .65); }
.yt iframe, .yt button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt button { padding: 0; cursor: pointer; background: #000; }
.yt button img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .15s; }
.yt button:hover img { opacity: 1; }
.yt button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 14px; background: rgba(13, 14, 28, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center / 30px no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.yt button:hover::after { background-color: var(--blue); }
.yt-soon { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 8px; padding: 28px 32px; color: #fff; }
.yt-soon .n { font: 800 15px/1 var(--display); letter-spacing: .12em; color: var(--glow-a); }
.yt-soon b { font: 800 clamp(20px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; max-width: 18em; }
.yt-soon small { font: 700 14px/1 var(--body); color: var(--night-soft); background: rgba(122, 162, 247, .14); border: 1px solid rgba(122, 162, 247, .4); padding: 8px 12px; border-radius: 8px; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; } }
.price-card .amount .was { display: block; font: 600 17px/1.3 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 10px; }

/* ---------- thanks page ---------- */
.thanks .key-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 8px 0 18px; }
.thanks .key-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.thanks code#key { font: 700 clamp(18px, 2.6vw, 26px)/1.2 ui-monospace, Consolas, monospace; letter-spacing: .04em; background: #EEF2FF; padding: 10px 14px; border-radius: 10px; color: var(--ink); }
.thanks .muted { color: var(--muted); margin: 0; }
.thanks .err { color: var(--bad); margin: 0; }
.form-note.sale-note { color: #FFD27A; font-weight: 600; }
