:root {
  color-scheme: light;
  --ink: #322011;
  --secondary: #654c36;
  --accent: #85431f;
  --paper: #fffcf5;
  --rule: #e8d3af;
  --honey: #f2c77b;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #9b4e23; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.top { min-height: 5.4rem; display: flex; align-items: center; justify-content: space-between; gap: .9rem; flex-wrap: wrap; padding-block: .65rem; }
.brand { display: inline-flex; gap: .3rem; align-items: center; font-size: 1.55rem; font-weight: 790; letter-spacing: -.04em; text-decoration: none; }
.mark { display: block; width: 48px; height: 48px; background: linear-gradient(145deg, #a44624, #b97924); mask: url("/amblem.png") center / cover no-repeat luminance; }
.top nav { display: flex; gap: clamp(.75rem, 3vw, 1.65rem); align-items: center; flex-wrap: wrap; }
.top nav a, .top nav button { font-size: .88rem; font-weight: 650; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent; border-radius: .65rem; padding: .68rem 1rem; background: #f0c170; color: #382111; font-weight: 720; text-decoration: none; cursor: pointer; }
.button:hover { background: #ebaf56; }
.button.secondary { border-color: #d9ad6d; background: #fff9ec; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 6.5vw, 5.3rem); line-height: .99; font-weight: 780; letter-spacing: -.07em; }
.form-card, .workspace-card { background: #fffaf0; padding: 1.25rem; border: 1px solid var(--rule); border-radius: .9rem; }
.workspace-card p { margin-top: .55rem; line-height: 1.55; color: var(--secondary); }
footer { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-block: 1.15rem; font-size: .85rem; color: var(--secondary); }
.language-bar { display: flex; flex-wrap: wrap; gap: .75rem; }
.language-bar a[aria-current="page"] { font-weight: 750; }
.area { margin-block: 1.5rem 3rem; }
.area h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.area > p { color: var(--secondary); margin-top: .65rem; }
.form-card, .workspace-card { margin-top: 1rem; }
.form-card { max-width: 34rem; margin-inline: auto; padding: clamp(1.15rem, 4vw, 2rem); }
.form-card p { margin-top: .75rem; color: var(--secondary); line-height: 1.5; }
.form-card form, .workspace-card form { display: grid; gap: .95rem; margin-top: 1.25rem; }
label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 650; }
input:not([type="hidden"]) { width: 100%; border: 1px solid #d9b98b; background: #fffefa; border-radius: .55rem; padding: .7rem; }
.notice { color: #7c321c !important; }
.account-list { padding-left: 1.15rem; line-height: 1.6; overflow-wrap: anywhere; }
.actions { margin-top: 1rem; }
@media (max-width: 740px) {
  .wrap { width: min(100% - 2rem, 76rem); }
}
@media (max-width: 375px) {
  .top nav { gap: .65rem; }
}

/* Košnica showcase */
.front-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4.8rem);
  padding: clamp(1.6rem, 4.3vw, 3.7rem);
  border: 1px solid #e7cfaa;
  border-radius: 1.35rem;
  background: radial-gradient(ellipse at 100% 4%, #f8d79d, transparent 51%), #fff1d7;
}
.front-copy h1 { font-size: clamp(2.45rem, 5.6vw, 5rem); }
.front-copy h1 span { display: block; }
.front-copy h1 span:last-child { color: #884523; }
.front-copy p { max-width: 30rem; margin-block: 1rem 1.45rem; color: var(--secondary); line-height: 1.6; font-size: clamp(1rem, 1.8vw, 1.12rem); }
.primary-action { min-height: 3rem; }
.hero-showcase { position: relative; min-width: 0; margin: 0; padding: .48rem; background: #fffaf0; border: 1px solid #e3c394; border-radius: .98rem; box-shadow: 0 21px 50px #7b49182c; }
.chrome-strip { display: flex; align-items: center; justify-content: space-between; gap: .45rem; min-height: 2.05rem; padding: .25rem .45rem .42rem; color: #694c30; font-size: .75rem; font-weight: 690; }
.chrome-dots { width: .34rem; height: .34rem; border-radius: 50%; margin-left: .15rem; background: #955128; box-shadow: .56rem 0 #c48544, 1.12rem 0 #e5b978; }
.hero-photo { overflow: hidden; border-radius: .65rem; aspect-ratio: 1.49; background: #ecd1a3; }
.hero-photo img, .example-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { animation: reveal-photo .72s ease-out both; }
.hero-showcase figcaption { position: absolute; bottom: .95rem; right: .95rem; padding: .34rem .55rem; border: 1px solid #f5e0c0; border-radius: .35rem; color: #553722; background: #fff7e8; font-size: .72rem; font-weight: 680; }
@keyframes reveal-photo { from { opacity: .68; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
.front-section { margin-block: clamp(2rem, 6vw, 4.25rem); scroll-margin-top: .8rem; }
.front-section h2 { font-size: clamp(1.65rem, 4vw, 2.75rem); letter-spacing: -.053em; }
.front-section header p { margin-top: .38rem; color: var(--secondary); line-height: 1.5; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: .85rem; margin-top: 1rem; }
.service-choices { display: grid; gap: .65rem; align-content: start; }
.service-choice { padding: .8rem 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .25rem .55rem; border: 1px solid var(--rule); border-radius: .75rem; text-decoration: none; background: #fffbf2; }
.service-choice strong { font-size: 1rem; }
.service-choice span { grid-column: 1; color: var(--secondary); font-size: .88rem; line-height: 1.45; }
.service-choice i { grid-column: 2; grid-row: 1; color: var(--accent); font-style: normal; }
.service-choice:hover, .service-choice[aria-current="true"] { background: #fbe9c8; border-color: #d5a669; }
.demo-stage { min-width: 0; border: 1px solid var(--rule); border-radius: .85rem; background: #fff8ea; }
.demo-panel { padding: clamp(.85rem, 3vw, 1.35rem); scroll-margin-top: .75rem; }
.demo-panel + .demo-panel:not([hidden]) { border-top: 1px solid var(--rule); }
.demo-panel[hidden] + .demo-panel { border-top: 0; }
.demo-panel header h3 { letter-spacing: -.025em; }
.demo-panel header p { font-size: .88rem; }
.example-frame { width: 100%; margin: .8rem auto 0; max-width: 100%; padding: .32rem; border: 1px solid #e0c59d; border-radius: .6rem; background: #fffaf1; transition: width .25s ease; }
.example-frame.is-mobile { width: 13.5rem; }
.example-cover { position: relative; overflow: hidden; height: clamp(7.7rem, 20vw, 13rem); border-radius: .4rem; background: #eed3a8; }
.example-frame.is-mobile .example-cover { height: 13rem; }
.example-cover img { object-position: center 58%; }
.example-title { position: absolute; left: .4rem; bottom: .4rem; max-width: 95%; padding: .28rem .45rem; border-radius: .35rem; background: #fff8ea; color: #4c2c16; font-weight: 750; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: .7rem; }
.pills button { background: #fff9ed; color: #55361e; border: 1px solid #e7c79a; border-radius: .45rem; padding: .34rem .64rem; font-size: .83rem; font-weight: 650; cursor: pointer; }
.pills button[aria-pressed="true"] { background: #f4d79f; border-color: #c99650; }
.host-flow { display: grid; margin: .9rem 0 0; }
.host-flow > div { display: grid; gap: .3rem .55rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: .78rem .2rem; border-top: 1px solid var(--rule); }
.host-flow dt { color: var(--secondary); }
.host-flow dd { margin: 0; font-weight: 680; }
.module { margin-top: .6rem; padding: .65rem .75rem; border: 1px solid var(--rule); border-radius: .55rem; background: #fffdf7; }
.module summary { cursor: pointer; font-weight: 680; }
.module ul { margin: .5rem 0 .2rem; padding-left: 1.25rem; color: var(--secondary); line-height: 1.5; }
.process-section { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding-left: 1.5rem; }
.steps li { padding-left: .25rem; }
.steps li::marker { color: #89512b; font-weight: 750; }
.steps h3 { font-size: .97rem; }
.steps p { margin-top: .3rem; max-width: 20rem; line-height: 1.52; color: var(--secondary); font-size: .88rem; }
@media (max-width: 740px) {
  .front-hero, .demo-layout { grid-template-columns: minmax(0, 1fr); }
  .front-hero { border-radius: 1rem; }
  .hero-showcase { max-width: 34rem; }
  .steps { grid-template-columns: 1fr; }
  .top nav a { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
  .example-frame { transition: none; }
}
