/* noto.apps. — wygląd strony (kolory, font i układ jak w aplikacjach NOTO) */

@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url("fonts/geist-regular.woff") format("woff"); }
@font-face { font-family: "Geist"; font-weight: 600; font-display: swap; src: url("fonts/geist-semibold.woff") format("woff"); }
@font-face { font-family: "Geist"; font-weight: 700; font-display: swap; src: url("fonts/geist-bold.woff") format("woff"); }
@font-face { font-family: "Geist"; font-weight: 800 900; font-display: swap; src: url("fonts/geist-extrabold.woff") format("woff"); }

:root {
  --ink: #191919;
  --muted: #666;
  --orange: #ff7900;
  --orange-ink: #a64b00;
  --line: #e6e6e6;
  --bg: #f7f7f6;
  --danger: #b42318;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); font: 15px/1.5 "Geist", Arial, sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }
p a, li a, .fine a, label a { text-decoration: underline; text-underline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.shell { max-width: 1180px; margin: auto; padding: 0 36px; }
.dot { color: var(--orange); }
.muted { color: var(--muted); }
.mini { font-size: 12px; }
.fine { font-size: 12px; color: var(--muted); line-height: 1.5; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* nagłówek i stopka */
header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { font-weight: 900; letter-spacing: -.085em; font-size: 33px; white-space: nowrap; line-height: 1; }
.brand.small { font-size: 27px; }
nav { display: flex; gap: 24px; align-items: center; font-size: 13px; font-weight: 650; }
nav a:hover { color: var(--orange-ink); }
nav form { margin: 0; }
footer { border-top: 1px solid var(--line); margin-top: 40px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 36px; flex-wrap: wrap; }
.footlinks { display: flex; gap: 18px; font-size: 13px; flex-wrap: wrap; }
.footlinks a:hover { color: var(--orange-ink); }

/* przyciski */
.pill { border: 1px solid var(--ink); border-radius: 100px; padding: 12px 22px; background: var(--ink); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; text-decoration: none; }
.pill:hover { background: #373737; }
.pill.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.pill.secondary:hover { background: #eee; }
.pill[aria-disabled="true"] { background: #eee; color: #777; border-color: #eee; cursor: default; }
.pill.small { font-size: 12px; padding: 8px 14px; }
.pill.google { background: #fff; color: var(--ink); border-color: #d6d6d6; font-size: 14px; padding: 13px 24px; }
.pill.google:hover { background: #f4f4f4; }
.pill.danger-button { background: var(--danger); border-color: var(--danger); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* strona główna */
.hero { padding: 64px 0 70px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(54px, 8.2vw, 112px); letter-spacing: -.085em; line-height: .98; margin: 20px 0 28px; font-weight: 900; }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 0 30px; }
.sectionhead { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 54px 0 22px; }
.sectionhead h2 { font-size: 44px; letter-spacing: -.07em; margin: 0; line-height: 1; }
.sectionhead p { font-size: 13px; color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.product { grid-column: span 3; background: var(--bg); border: 1px solid #eee; border-radius: 22px; padding: 26px; min-height: 270px; display: flex; flex-direction: column; transition: background .15s, border-color .15s; }
.product.is-preview { grid-column: span 2; background: #fff; }
.product:hover { border-color: #ccc; background: #f2f2f1; }
.product .top { display: flex; justify-content: space-between; align-items: flex-start; }
.mark { width: 78px; height: 78px; display: block; margin-bottom: 26px; flex: none; }
.tag { color: #777; font-size: 11px; border: 1px solid #e1e1e1; border-radius: 20px; padding: 5px 9px; background: #fff; }
.product h3 { font-size: 32px; letter-spacing: -.07em; line-height: 1.1; margin: 0 0 9px; font-weight: 850; }
.product p { color: var(--muted); margin: 0 0 24px; font-size: 14px; max-width: 320px; }
.product .more { margin-top: auto; font-size: 13px; font-weight: 700; }
.product:hover .more { color: var(--orange-ink); }

.about { display: flex; justify-content: space-between; gap: 40px; align-items: end; padding: 60px 0 20px; }
.about h2 { font-size: 44px; letter-spacing: -.07em; line-height: 1; margin: 0; }
.about p { max-width: 460px; color: var(--muted); margin: 0; }

/* strona aplikacji */
.detail { padding: 14px 0 40px; }
.back { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 13px; margin: 22px 0 10px; }
.back:hover { color: var(--orange-ink); }
.detailHero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 25px 0 48px; border-bottom: 1px solid var(--line); }
.detailHero h1 { font-size: clamp(52px, 7vw, 94px); line-height: 1; letter-spacing: -.085em; margin: 12px 0 16px; }
.detailHero p { font-size: 18px; color: var(--muted); max-width: 580px; }
.symbolPanel { min-height: 290px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 26px; }
.symbolPanel .mark { width: 156px; height: 156px; margin: 0; }
.detailsGrid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; margin-top: 38px; }
.detail h2 { font-size: 28px; letter-spacing: -.05em; margin: 0 0 18px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature, .infoPanel { border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.feature b { display: block; font-size: 15px; margin-bottom: 6px; }
.feature p { font-size: 13px; margin: 0; color: var(--muted); line-height: 1.55; }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding: 11px 0; font-size: 13px; }
.spec span { color: var(--muted); }
.spec strong { text-align: right; }

/* logowanie, konto, komunikaty */
.narrow { max-width: 560px; padding: 60px 0 40px; }
.narrow h1, .account h1, .legal h1 { font-size: clamp(48px, 7vw, 72px); line-height: 1; letter-spacing: -.075em; margin: 10px 0 20px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 26px; }
.account { max-width: 780px; padding: 40px 0 30px; }
.account.wide { max-width: none; }
.account h2 { font-size: 26px; letter-spacing: -.05em; margin: 42px 0 14px; }
.rows { border: 1px solid var(--line); border-radius: 18px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.row + .row { border-top: 1px solid var(--line); }
.row b { font-size: 16px; }
.row .right { margin: 0; flex: none; }
.badge { font-size: 12px; border-radius: 30px; padding: 4px 10px; border: 1px solid; white-space: nowrap; }
.badge.on { color: #1c6b38; border-color: #b7dcc3; background: #f1faf4; }
.badge.off { color: #777; border-color: #ddd; }
.empty { padding: 26px; border: 1px dashed #ddd; border-radius: 18px; }
.empty p { margin: 0 0 8px; }
.notice-box { padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; font-size: 14px; }
.notice-box.warn { border-left-color: var(--danger); }
.danger { margin-top: 42px; border: 1px solid #f0c9c5; border-radius: 18px; padding: 16px 20px; }
.danger summary { cursor: pointer; font-weight: 700; color: var(--danger); }
.danger form { display: grid; gap: 10px; max-width: 420px; }
.danger input { padding: 10px 12px; border: 1px solid #ccc; border-radius: 10px; }
.danger button { justify-self: start; }

.legal { max-width: 760px; padding: 40px 0 20px; }
.legal h2 { font-size: 22px; letter-spacing: -.04em; margin: 34px 0 10px; }
.legal li { margin-bottom: 6px; }

/* panel administratora */
.admin header { background: #fbfbfa; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.stat { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; }
.stat strong { font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); padding: 8px 10px; }
.table td { border-bottom: 1px solid var(--line); padding: 8px 10px; }

@media (max-width: 850px) {
  .shell { padding: 0 22px; }
  .product, .product.is-preview { grid-column: span 3; }
  .detailHero, .detailsGrid { grid-template-columns: 1fr; }
  .symbolPanel { min-height: 200px; }
  .symbolPanel .mark { width: 120px; height: 120px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .product, .product.is-preview { grid-column: 1; min-height: 230px; }
  .nav { min-height: 70px; }
  nav { gap: 14px; }
  .brand { font-size: 29px; }
  .hero { padding: 48px 0; }
  .sectionhead { flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: 1fr; }
  .row { flex-direction: column; align-items: flex-start; }
}
