/* InFrame Studio — wstępna strona (2026-10-11). Kolory jak w aplikacji; logo Magdy dojdzie później. */
:root {
  --navy: #0d2136;
  --ink: #22303e;
  --muted: #5c6a77;
  --gold: #c19a3f;
  --gold-soft: #dcc389;
  --bg: #f6f3ee;
  --card: #fffdf9;
  --line: rgba(20, 48, 76, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 600 20px/1 var(--serif); letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; align-items: center; }
.top nav a { color: var(--gold-soft); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: #fff; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 600;
  text-decoration: none; border: 0; }
.btn:hover { background: var(--gold-soft); }
.btn.ghost { background: transparent; color: var(--gold-soft); border: 1px solid rgba(220, 195, 137, .5); }

/* hero */
.hero { background: var(--navy); color: #fff; padding: 72px 0 88px; position: relative; overflow: hidden; }
/* the "frame" motif: kept inside the content width, beside the headline (hidden on narrow screens) */
.hero .wrap { position: relative; }
.hero .wrap::after { content: ""; position: absolute; right: 40px; top: 50%; width: 240px; height: 240px; margin-top: -120px;
  border: 2px solid rgba(193, 154, 63, .55); }
.hero .wrap::before { content: ""; position: absolute; right: 120px; top: 50%; width: 80px; height: 80px; margin-top: -40px;
  background: rgba(220, 195, 137, .35); }
@media (max-width: 980px) { .hero .wrap::after, .hero .wrap::before { display: none; } }
.overline { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font: 400 clamp(36px, 6vw, 60px)/1.1 var(--serif); margin: 0 0 20px; max-width: 760px; }
.hero p.lead { font-size: 20px; color: #d9dee5; max-width: 640px; margin: 0 0 32px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* sections */
section { padding: 72px 0; }
h2 { font: 400 clamp(28px, 4vw, 40px)/1.2 var(--serif); margin: 0 0 12px; color: var(--navy); }
.sub { color: var(--muted); max-width: 680px; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card .ico { width: 44px; height: 44px; border: 2px solid var(--gold); display: grid; place-items: center; margin-bottom: 16px; font-size: 20px; }
.card h3 { margin: 0 0 8px; font: 600 19px/1.3 var(--sans); color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { counter-reset: s; display: grid; gap: 16px; max-width: 760px; }
.steps li { list-style: none; counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 70px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft); display: grid; place-items: center; font-weight: 600; }
.steps { padding: 0; margin: 0; }
.alt { background: #efe9df; }
.for { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.beta { background: var(--navy); color: #fff; border-radius: 18px; padding: 44px; display: grid; gap: 16px; }
.beta h2 { color: #fff; }
.beta p { color: #d9dee5; margin: 0; max-width: 680px; }

/* footer */
footer { background: var(--navy); color: #aab4bf; font-size: 14px; padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer a { color: var(--gold-soft); }

/* document pages (privacy) */
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 5vw, 56px); margin: 48px auto; max-width: 860px; }
.doc h1 { font: 400 clamp(30px, 5vw, 42px)/1.2 var(--serif); color: var(--navy); margin: 0 0 8px; }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--navy); }
.doc .meta { color: var(--muted); font-size: 15px; }
.table-wrap { overflow-x: auto; }

@media (max-width: 640px) {
  .top nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 64px; }
  section { padding: 52px 0; }
  .beta { padding: 28px; }
}

/* getting-started guide (/jak-zaczac/) */
.hero-sm { padding: 48px 0 56px; }
.hero-sm .wrap::after, .hero-sm .wrap::before { display: none; }
.guide { display: grid; gap: 56px; }
.step { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.5fr); gap: 36px; align-items: center; }
.step:nth-child(even) .step-text { order: 2; }
.step figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(13, 33, 54, .12); background: #fff; }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); font-weight: 600; margin-bottom: 12px; }
.step h2 { font-size: clamp(24px, 3vw, 32px); }
.step p { margin: 0 0 12px; }
.muted-note { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) {
  .step { grid-template-columns: 1fr; gap: 18px; }
  .step:nth-child(even) .step-text { order: 0; }
}
.step img { width: 100%; height: auto; }
