:root {
  color-scheme: light;
  --ink: #172921;
  --deep: #152d23;
  --green: #315b45;
  --muted: #4a5b52;
  --paper: #faf8f2;
  --gold: #f2c76d;
  --line: #dbdfd2;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: var(--green); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible { outline: 3px solid #956412; outline-offset: 3px; }
.wrap { width: min(100% - 3rem, 76rem); margin: 0 auto; }
.narrow { width: min(100% - 3rem, 49rem); }
.skip { position: absolute; left: 1rem; top: -10rem; padding: .5rem; background: white; z-index: 10; }
.skip:focus { top: 1rem; }
.demo { background: #f9e7bb; padding: .3rem 1rem; text-align: center; font-size: .875rem; }
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-inner { min-height: 5.25rem; display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; }
.top nav, .access, .footer-inner nav, .actions, .admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.1rem; }
.top nav a, .access a, .footer-inner a, .brand { color: inherit; text-decoration: none; }
.top nav a:hover, .account-link:hover, .footer-inner nav a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 0; font-size: 1.26rem; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.brand > span:last-child { color: var(--green); }
.mark {
  display: inline-grid; place-items: center; margin-right: .55rem; width: 2.05rem; height: 2.2rem;
  background: var(--gold); color: var(--deep); clip-path: polygon(50% 0, 95% 24%, 95% 76%, 50% 100%, 5% 76%, 5% 24%);
}
.access { font-weight: 650; }
.cloud-link { background: var(--deep); border-radius: .4rem; padding: .55rem .8rem; }
.access .cloud-link { color: #fff; }
.language { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.language select, .language button { padding: .36rem .5rem; font-size: .875rem; }
.language button { background: transparent; border-color: #a3ae9f; }
.language button:hover { background: #eef0e8; }
main { min-height: 68vh; }
main > section.wrap, main > article.wrap { padding-block: 3.8rem; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(2.65rem, 6vw, 5.1rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { overflow-wrap: anywhere; }
small { font-size: .875rem; }
.intro { margin-bottom: 2rem; }
.intro .lead:empty { display: none; }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(3.35rem, 6.2vw, 6.15rem); line-height: .98; }
.hero h1 em { color: var(--green); }
.kicker { color: var(--green); font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .85rem; }
.lead { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 43rem; margin: 1.25rem 0 1.65rem; }
figure { margin: 0; }
.hero img { display: block; width: 100%; height: clamp(23rem, 34vw, 33rem); object-fit: cover; object-position: 62% center; border-radius: 1rem; }
.button, button {
  cursor: pointer; display: inline-flex; justify-content: center; align-items: center; width: fit-content;
  padding: .72rem 1rem; border-radius: .4rem; border: 1px solid transparent; text-decoration: none;
  color: var(--ink); background: var(--gold); font: inherit; font-weight: 750;
}
.button:hover, button:hover { background: #f7d58e; }
.outline { border-color: #a3ae9f; background: transparent; }
.outline:hover { background: #eef0e8; }
.features { background: #e9eee3; padding: 3.8rem 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; margin-top: 1.5rem; }
.cards article, .cloud-card { border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); padding: clamp(1rem, 3vw, 1.65rem); }
.cards article a { font-weight: 700; }
.cards article p { color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: #eee6d0; color: var(--deep); border-radius: .45rem; margin-bottom: .9rem; font-weight: 800; }
.band, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.band p:last-child { margin-bottom: 0; }
footer { padding: 2rem 0; color: #fff; background: var(--deep); }
footer .brand > span:last-child { color: var(--gold); }
footer p { margin: .4rem 0 0; color: #d5e1d7; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.cloud-card { background: #e9eee3; }
.cloud-card h2, .shop-layout h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.product { padding-block: 1.1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .75rem 1.2rem; flex-wrap: wrap; }
.product h2 { font-size: 1.9rem; }
.product small { color: var(--muted); }
.product p, .product label { margin: .2rem 0 0; }
.product input { max-width: 8rem; }
.checkout { padding: 1.2rem; margin-block: 1.2rem .25rem; border: 1px solid var(--line); border-radius: .65rem; }
form { max-width: 47rem; }
label { display: grid; gap: .25rem; margin-block: .75rem; font-weight: 650; }
label.check { display: flex; gap: .65rem; align-items: baseline; }
input, textarea, select { max-width: 100%; background: white; color: var(--ink); font: inherit; padding: .55rem .65rem; border: 1px solid #869287; border-radius: .35rem; }
input[type=checkbox] { accent-color: var(--green); }
textarea { min-height: 6.5rem; resize: vertical; }
.actions { margin-block: 1rem; }
.pre { white-space: pre-wrap; }
.error { color: #951d13; }
.admin-nav { padding: .85rem 0; margin-bottom: 1.5rem; border-block: 1px solid var(--line); }
.admin-nav a { display: inline-block; padding: .25rem; font-weight: 650; }
.record { margin-block: .65rem; border: 1px solid var(--line); border-radius: .55rem; padding: .7rem .85rem; overflow-wrap: anywhere; }
summary { font-weight: 700; cursor: pointer; }
.record form { margin: .8rem 0; }
.translation { min-width: 0; border: 1px solid var(--line); border-radius: .45rem; margin: 1rem 0; padding: .5rem .85rem; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: .45rem; overflow-wrap: anywhere; }
@media (max-width: 62rem) {
  .top-inner { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .8rem; }
  .top nav { order: 3; width: 100%; }
}
@media (max-width: 47rem) {
  .hero, .cards, .shop-layout { grid-template-columns: 1fr; }
  main > section.wrap, main > article.wrap, .features { padding-block: 2.5rem; }
  .hero { gap: 1.1rem; }
  .hero img { height: clamp(13rem, 60vw, 25rem); }
}
@media (max-width: 32rem) {
  .wrap, .narrow { width: calc(100% - 1.5rem); }
  .access { font-size: .875rem; }
  .top nav { gap: .45rem .8rem; }
}
