/* Findes — log & backup storage (2026) */
:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --accent: #3538cd;
  --accent-ink: #ffffff;
  --ok: #067647;
  --ok-bg: #ecfdf3;
  --dark: #0c1116;
  --dark-2: #161d26;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 24px -12px rgba(16, 24, 40, .12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 17px; }
p { margin: .4em 0 1em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.kicker { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.subtle { color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .logo { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-inner .btn { margin-left: auto; }

/* buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 9px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #2b2ea8; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: #c8cdd6; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }

/* hero */
.hero { padding: 88px 0 56px; }
.badge { display: inline-flex; gap: 8px; align-items: center; background: var(--ok-bg); color: var(--ok); border: 1px solid #abefc6; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.hero-cta { display: flex; gap: 12px; margin: 26px 0 10px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 12px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.card .ico { width: 38px; height: 38px; border-radius: 10px; background: #eef0ff; color: var(--accent); display: flex; align-items: center; justify-content: center; }

/* steps */
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; margin-bottom: 26px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-top: 3px; }
pre.code {
  background: var(--dark); color: #d6deea; border-radius: 10px;
  padding: 16px 18px; overflow-x: auto; line-height: 1.55;
  border: 1px solid #232c38;
}
pre.code .c { color: #6b7a8d; }
pre.code .m { color: #7dd3a8; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 22px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: #344054; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .tag { float: right; font-size: 11.5px; font-weight: 700; color: var(--accent); background: #eef0ff; border-radius: 999px; padding: 2px 10px; text-transform: uppercase; letter-spacing: .06em; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }

/* cta band */
.band { background: var(--dark); color: #e6ebf2; border-radius: 16px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { margin: 0; color: #fff; }

/* footer */
.footer { background: var(--dark); color: #98a2b3; margin-top: 48px; padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.footer a { color: #98a2b3; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand .logo { color: #8f96ff; }
.footer-note { margin-top: 10px; font-size: 13.5px; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #1d2632; margin-top: 36px; padding-top: 18px; font-size: 13px; flex-wrap: wrap; }
.ok-link { color: #4ade80; }

/* login */
.auth-wrap { min-height: 72vh; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 32px; }
.auth-card h1 { font-size: 24px; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.field input:focus { outline: 2px solid #c3c6f5; border-color: var(--accent); }
.btn-block { width: 100; text-align: center; }
.auth-alt { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.form-error { display: none; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; border-radius: 8px; padding: 9px 12px; font-size: 13.5px; margin-bottom: 14px; }
.sso { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0 4px; }
.sso::before, .sso::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* docs */
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.doc-toc { position: sticky; top: 84px; font-size: 14px; }
.doc-toc a { display: block; color: var(--muted); padding: 5px 0; }
.doc-toc a:hover { color: var(--accent); }
.endpoint { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.m { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 3px 9px; letter-spacing: .04em; }
.m-post { background: #eef0ff; color: #3538cd; }
.m-get { background: #e8f5ec; color: #067647; }
.m-post.get, .m.get { background: #e8f5ec; color: #067647; }
.m-put { background: #fdf2e2; color: #b54708; }
.m-del { background: #fef3f2; color: #b42318; }
table.params { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14px; }
table.params th, table.params td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.params th { background: #f9fafb; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.params tr:last-child td { border-bottom: 0; }
td code, p code { background: #eef0f4; border-radius: 5px; padding: 1px 6px; font-size: 12.5px; }

/* status */
.status-banner { border-radius: 14px; background: var(--ok-bg); border: 1px solid #abefc6; color: var(--ok); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.uptime-grid { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin: 8px 0 4px; }
.u-cell { height: 26px; border-radius: 3px; background: #12b76a; }
.u-cell.warn { background: #fdb022; }
.u-cell.down { background: #f04438; }
.u-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 26px; }
.comp { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.comp:last-child { border-bottom: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #12b76a; display: inline-block; margin-right: 9px; }
.comp .state { color: var(--ok); font-weight: 600; font-size: 14px; }

/* 404 */
.err-wrap { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 16px; }
.err-code { font-size: 88px; font-weight: 700; letter-spacing: -.04em; color: var(--accent); line-height: 1; }

/* language switcher */
.lang { display: flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; margin-left: auto; }
.lang .on { color: var(--ink); padding: 3px 9px; background: #e9ebf0; border-radius: 6px; }
.lang a { color: var(--muted); padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; }
.lang a:hover { color: var(--ink); text-decoration: none; border-color: #c8cdd6; }
.nav-inner .btn { margin-left: 0; }
.nav-inner .lang + .btn { margin-left: 0; }

@media (max-width: 860px) {
  .grid-3, .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
