/* Preduzetnik — marketing site. Same palette as the app: ink-green, faintly green paper, amber for attention. */
:root {
  --ink: #12392d;
  --green: #1d6b51;
  --green-dark: #164f3d;
  --paper: #f3f6f4;
  --paper-deep: #e6ede9;
  --amber: #f4b740;
  --text: #1b2a24;
  --muted: #55665f;
  --line: #d6dfda;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(18 57 45 / 0.06), 0 12px 32px -12px rgb(18 57 45 / 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.6rem; }
p { margin: 0 0 1rem; max-width: 62ch; }

.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--white); padding: 0.5rem 1rem; border-radius: 8px; }
.skip:focus { left: 0.5rem; z-index: 10; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--green); color: var(--white); text-decoration: none; font-weight: 600;
  padding: 0.75rem 1.25rem; border-radius: 10px; border: 2px solid var(--green);
  transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--paper-deep); border-color: var(--green); }
.btn-big { padding: 1rem 1.6rem; font-size: 1.08rem; }
.btn-small { padding: 0.45rem 0.95rem; font-size: 0.95rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgb(243 246 244 / 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand-small { font-size: 1rem; }
.top-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.top-nav a:hover { color: var(--green); }
@media (max-width: 700px) { .top-nav { display: none; } .top-row .btn { margin-left: auto; } }

/* Hero */
.hero { padding: 4.5rem 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr); gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.lead { font-size: 1.25rem; color: var(--muted); margin-top: 1.4rem; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.fineprint { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }

/* The memorable bit: the next real deadline, computed in the visitor's browser. */
.deadline {
  background: var(--ink); color: #e9f2ee; border-radius: 20px; padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.deadline::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgb(244 183 64 / 0.22), transparent 70%);
}
.deadline-head { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: #b9d3c8; }
.deadline-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgb(244 183 64 / 0.2); }
.deadline-date { display: flex; align-items: baseline; gap: 0.7rem; margin-top: 0.6rem; }
.deadline-day { font-size: 5rem; font-weight: 700; line-height: 1; color: var(--white); letter-spacing: -0.03em; }
.deadline-month { font-size: 1.6rem; font-weight: 600; color: var(--amber); }
.deadline-what { font-size: 1.15rem; color: var(--white); margin: 0.6rem 0 0.2rem; }
.deadline-in { color: #b9d3c8; margin: 0; min-height: 1.6em; }
.deadline-foot { border-top: 1px solid rgb(255 255 255 / 0.12); margin-top: 1.2rem; padding-top: 1rem; font-size: 0.92rem; color: #b9d3c8; }

.shot-hero { margin-top: 4rem; }
.shot-hero img, .feature-shot img {
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white);
}
.shot-hero img { margin-bottom: -6rem; position: relative; }

/* Features */
.features { background: var(--white); padding: 10rem 0 5rem; border-bottom: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3.5rem; align-items: center; padding: 3rem 0; }
.feature + .feature { border-top: 1px solid var(--paper-deep); }
.feature.flip .feature-text { order: 2; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 1.5rem; } .feature.flip .feature-text { order: 0; } }
.feature-shot { margin: 0; }
.feature-text p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 1.1rem; height: 0.6rem;
  border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); border-radius: 1px;
}

/* Data */
.data { padding: 5rem 0; }
.data-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; }
@media (max-width: 900px) { .data-grid { grid-template-columns: 1fr; gap: 0; } }
.data p { color: var(--muted); }

/* Pricing */
.pricing { padding: 5rem 0; background: var(--paper-deep); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-sync { border: 2px solid var(--green); }
.price { font-size: 2.2rem; font-weight: 700; color: var(--ink); margin: 0.2rem 0 0; }
.price span { font-size: 1.05rem; font-weight: 500; color: var(--muted); }
.plan-sub { color: var(--muted); }
.plan .ticks { margin-bottom: 1.6rem; }
.trust { background: #fdf3dc; border-radius: 10px; padding: 0.8rem 1rem; font-size: 0.97rem; margin-bottom: 1.6rem; }

/* Download */
.download { padding: 5rem 0; }
.section-lead { color: var(--muted); margin-top: -0.8rem; margin-bottom: 2rem; }
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 900px) { .os-grid { grid-template-columns: 1fr; } }
.os { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; }
.os p { color: var(--muted); margin-bottom: 0.6rem; }
.os .btn { width: 100%; }
.os.is-current { border: 2px solid var(--green); }
.note { margin-top: 2rem; background: var(--white); border-left: 4px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.3rem 1.6rem; }
.note h3 { font-size: 1.1rem; }
.note p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { padding: 5rem 0; background: var(--white); border-top: 1px solid var(--line); }
.faq h2, .faq details { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.12rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-weight: 700; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 0.8rem 0 0; }

/* Footer */
.foot { padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.92rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; }
.foot p { margin: 0; }
