/* wilko.cz landing. Tokens mirror the app (src/app/globals.css). */
:root {
  --brand: #1d6b47;
  --brand-hover: #175a3b;
  --brand-active: #14502f;
  --brand-tint: #e6f1eb;
  --ink: #17201b;
  --ink-muted: #4f5b55;
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-muted: #eef1ef;
  --line: #dce2de;
  --line-strong: #b9c3bd;
  --warn-text: #8a3506;
  --warn-tint: #fcefe5;
  --danger-text: #8f1c13;
  --radius: 12px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.5 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--brand);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 8px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}

/* Header */
.top {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: 8px;
}
.nav a:hover {
  background: var(--surface-muted);
}
.nav a[aria-current="page"] {
  color: var(--brand-active);
  font-weight: 700;
}
.nav .hide-sm {
  display: none;
}
@media (min-width: 720px) {
  .nav .hide-sm {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-hover);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: var(--surface-muted);
}
.btn-sm {
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
}

/* Sections */
main {
  display: block;
}
section {
  padding: 40px 0;
}
h1 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  margin: 0 0 16px;
}
h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  margin: 0 0 6px;
}
p {
  margin: 0 0 12px;
}
.lead {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 640px;
}
.muted {
  color: var(--ink-muted);
}
.small {
  font-size: 13px;
}
@media (min-width: 720px) {
  h1 {
    font-size: 36px;
    line-height: 44px;
  }
  section {
    padding: 56px 0;
  }
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1.2fr 1fr;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.shot {
  justify-self: center;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(23, 32, 27, 0.08);
  max-width: 300px;
  overflow: hidden;
}
.shot img {
  display: block;
}

.grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card p {
  margin: 0;
}
.card .more {
  margin-top: auto;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.card-link {
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  border-color: var(--line-strong);
}
.badge {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface-muted);
  color: var(--ink);
}
.badge-live {
  background: var(--brand-tint);
  color: var(--brand-active);
}
.badge-soon {
  background: var(--warn-tint);
  color: var(--warn-text);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.steps .card {
  padding-left: 56px;
}
.steps li {
  padding-left: 0;
}

/* Pricing */
.price {
  font-size: 26px;
  font-weight: 700;
  margin: 4px 0;
}
.price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
}
.features {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.features li {
  padding-left: 24px;
  position: relative;
}
.features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.plan-current {
  border: 2px solid var(--brand);
}
.notice {
  background: var(--brand-tint);
  color: var(--brand-active);
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
}

/* FAQ */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
details + details {
  margin-top: 8px;
}
summary {
  cursor: pointer;
  padding: 14px 20px;
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: var(--ink-muted);
}
details[open] summary::after {
  content: "-";
}
details > div {
  padding: 0 20px 16px;
  color: var(--ink-muted);
}

/* Waitlist form */
.waitlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
}
.waitlist label {
  font-weight: 600;
  font-size: 14px;
}
.waitlist .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.waitlist input[type="email"] {
  flex: 1 1 220px;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  background: var(--surface);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-msg {
  font-weight: 600;
  min-height: 24px;
}
.form-msg.ok {
  color: var(--brand-active);
}
.form-msg.err {
  color: var(--danger-text);
}

/* Text pages */
.prose {
  max-width: 720px;
}
.prose h2 {
  margin-top: 24px;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 0;
  font-size: 15px;
}
.foot .wrap {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .foot .wrap {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot li a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--ink);
}
.nav a.btn-primary {
  color: #fff;
  margin-left: 4px;
}
.nav a.btn-primary:hover {
  background: var(--brand-hover);
}
@media (max-width: 479px) {
  .nav .hide-xs {
    display: none;
  }
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 15px;
}
.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}
.legal th {
  background: var(--surface-muted);
}
.legal ul {
  padding-left: 20px;
}
