/* tarifar.rs — the site (page 27, T1-3 and T1-10). Colours, type and tone: docs/brand/identitet.html. */
:root {
  --paper: #e6e9e3;
  --paper-2: #f0f2ed;
  --field: #fbfcfa;
  --white: #fff;
  --ink: #15262f;
  --ink-2: #435a66;
  --ink-3: #6a7d86;
  --rule: #c3ccc4;
  --rule-2: #d8dfd8;
  --stamp: #2b5c8a;
  --stamp-dark: #1f4468;
  --stamp-bg: #eaf0f5;
  --stamp-on-dark: #7fa8cf;
  --ok: #3f7150;
  --ok-ink: #2f5a3e;
  --ok-bg: #e1ede5;
  --warn: #b07a1e;
  --warn-ink: #7a5410;
  --warn-bg: #f7f0df;
  --alert: #9e2b25;
  --alert-bg: #f5e6e5;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: 96px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--stamp); }
a:hover { color: var(--stamp-dark); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; }
img, svg { display: block; }
h1, h2, h3, p, ul { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--ink-2); text-transform: uppercase; }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }

/* header */
.top { height: 76px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--mono); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.top nav { display: flex; gap: 28px; margin-left: 24px; font-size: 15px; }
.top nav a, .top .login { color: var(--ink-2); text-decoration: none; }
.top nav a:hover, .top .login:hover { color: var(--ink); }
.top nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.top .login { margin-left: auto; font-size: 15px; color: var(--ink); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--rule); background: var(--field); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: flex; }
.menu-panel { display: none; position: absolute; right: 0; top: 52px; min-width: 220px; flex-direction: column; background: var(--field); border: 1px solid var(--rule); box-shadow: 0 16px 32px -20px rgba(21, 38, 47, 0.5); z-index: 5; }
.menu-panel a { padding: 14px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
.menu-panel a:last-child { border-bottom: 0; }

/* buttons */
.btn { height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--stamp); background: var(--stamp); color: var(--white); }
.btn:hover { background: var(--stamp-dark); border-color: var(--stamp-dark); color: var(--white); }
.btn.lg { height: 52px; padding: 0 26px; font-size: 17px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.light { background: var(--white); color: var(--ink); border-color: var(--white); font-weight: 700; }
.btn.light:hover { background: var(--paper); color: var(--ink); }

/* hero */
.hero { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: 60px; line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.lead { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.small { font-size: 14px; color: var(--ink-2); }

/* the app, drawn */
.shot { margin: 0; background: var(--field); border: 1px solid var(--rule); box-shadow: 0 24px 48px -28px rgba(21, 38, 47, 0.45); }
.shot-bar { height: 40px; background: var(--ink); display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.shot-bar b { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--field); }
.shot-bar span { margin-left: 16px; font-size: 12px; color: var(--rule); }
.shot-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.shot table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.shot th.col-pos { width: 34px; }
.shot th.col-code { width: 110px; }
.shot th.col-state { width: 92px; }
.shot td.desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); border-bottom: 1px solid var(--rule); padding: 8px 8px; }
.shot td { padding: 10px 8px; border-bottom: 1px solid var(--rule-2); vertical-align: middle; }
.shot td.code { font-size: 12px; }
.shot tr.sel td { background: var(--stamp-bg); }
.shot tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--stamp); }
.shot .code { font-family: var(--mono); white-space: nowrap; }
.shot .muted { color: var(--ink-3); }
.lines { border-right: 1px solid var(--rule-2); }
.keys { padding: 12px; font-size: 12px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 14px; }
kbd { font-family: var(--mono); font-size: 12px; background: var(--white); border: 1px solid var(--rule); border-bottom-width: 2px; padding: 0 5px; }
.why { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.why h4 { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.why p { font-size: 13px; line-height: 1.45; }
.why p.serif { font-size: 14px; line-height: 1.5; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 7px; border: 1px solid; white-space: nowrap; }
.tag.g { color: var(--ok-ink); background: var(--ok-bg); border-color: var(--ok); }
.tag.y { color: var(--warn-ink); background: var(--warn-bg); border-color: var(--warn); }
.tag.r { color: var(--alert); background: var(--alert-bg); border-color: var(--alert); }

/* bands and sections */
.band { background: var(--ink); color: var(--field); padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.band .eyebrow { color: var(--stamp-on-dark); }
.band p.big { font-size: 22px; line-height: 1.35; font-weight: 600; margin-top: 10px; }
.section { padding-top: 104px; padding-bottom: 96px; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section h2 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--field); border: 1px solid var(--rule); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card .num { font-family: var(--mono); font-size: 40px; font-weight: 600; color: var(--stamp); line-height: 1; }
.card h3 { font-size: 24px; font-weight: 700; }
.card p { font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.points h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.points p { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* prices */
.price-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.price-head .head { margin-bottom: 0; flex-grow: 1; }
.price-head > p { max-width: 360px; font-size: 15px; color: var(--ink-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan { background: var(--field); border: 1px solid var(--rule); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan.main { background: var(--white); border: 2px solid var(--stamp); }
.plan h3 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.plan h3 small { font-size: 12px; font-weight: 600; color: var(--white); background: var(--stamp); padding: 3px 8px; }
.amount { display: flex; align-items: baseline; gap: 8px; }
.amount b { font-family: var(--mono); font-size: 38px; font-weight: 600; }
.amount span { font-size: 15px; color: var(--ink-2); }
.plan ul { padding-left: 18px; font-size: 16px; line-height: 1.7; }
.plan .btn { margin-top: auto; height: 48px; }
.note { margin-top: 24px; font-size: 15px; color: var(--ink-2); }

/* questions */
.faq { display: flex; flex-direction: column; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.faq summary { font-size: 19px; font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }

/* call to action, footer */
.cta { background: var(--stamp); color: var(--white); padding-top: 88px; padding-bottom: 88px; display: flex; align-items: center; gap: 48px; }
.cta div { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.cta p { font-family: var(--serif); font-size: 19px; color: var(--stamp-bg); }
.foot { padding-top: 48px; padding-bottom: 48px; display: flex; align-items: flex-start; gap: 64px; font-size: 14px; color: var(--ink-2); }
.foot .brand span { font-size: 17px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.foot nav a { color: var(--ink-2); }
.foot .who { display: flex; flex-direction: column; gap: 10px; }

/* about */
.about-hero { padding-top: 96px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: end; }
.about-hero h1 { font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; margin-top: 22px; }
.about-hero p { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.people { padding-bottom: 88px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { background: var(--field); border: 1px solid var(--rule); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.person h2 { font-size: 26px; font-weight: 700; }
.person .role { font-family: var(--mono); font-size: 13px; color: var(--stamp); }
.person p { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.rules { background: var(--ink); color: var(--field); padding-top: 88px; padding-bottom: 88px; }
.rules h2 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 40px; }
.rules .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.rules .grid4 div { border-top: 2px solid var(--stamp-on-dark); padding-top: 18px; }
.rules h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.rules p { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--rule); }
.contact { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.contact h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.contact p { font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.contact .mails { display: flex; flex-direction: column; gap: 12px; font-size: 17px; }

/* narrower screens */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero, .split, .about-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: 48px; }
  .rules .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .top { height: 60px; gap: 10px; }
  .top nav, .top .login, .top > .btn { display: none; }
  .menu { display: block; }
  .brand span { font-size: 18px; }
  .hero { padding-top: 36px; padding-bottom: 32px; gap: 28px; }
  .hero h1, .about-hero h1 { font-size: 36px; line-height: 1.06; }
  .lead, .about-hero p { font-size: 18px; }
  .actions .btn { width: 100%; }
  .shot-body { grid-template-columns: minmax(0, 1fr); }
  .shot .why, .shot .col-code, .shot .col-pos, .shot-bar span { display: none; }
  .lines { border-right: 0; }
  .band, .steps, .points, .plans, .people, .contact { grid-template-columns: minmax(0, 1fr); }
  .band { gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .section { padding-top: 48px; padding-bottom: 44px; }
  .section h2, .cta h2 { font-size: 28px; line-height: 1.12; }
  .head { margin-bottom: 24px; }
  .card { padding: 22px; }
  .price-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .cta { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
  .cta .btn { width: 100%; }
  .foot { flex-direction: column; gap: 20px; }
  .foot nav { margin-left: 0; }
  .rules .grid4 { grid-template-columns: minmax(0, 1fr); }
  .rules h2 { font-size: 28px; }
}
