:root {
  color: #302821;
  background: #f6f2e9;
  font-family: "Segoe UI", sans-serif;
  --petrol: #285f60;
  --line: #e1d2c0;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, .tab-input:focus-visible + label { outline: 3px solid #b76545; outline-offset: 4px; }
.wrap { width: min(1100px, calc(100% - 44px)); margin-inline: auto; }
header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
header img { display: block; max-width: 100%; height: auto; }
nav, .languages { display: flex; align-items: center; gap: 12px; }
nav a { text-decoration: none; font-weight: 600; }
.languages { gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.languages a { padding: 7px 9px; border-radius: 7px; font-size: .84rem; }
.languages a[aria-current] { background: var(--petrol); color: white; }
.heading { padding: clamp(44px, 8vw, 96px) 0 36px; }
h1, h2 { font-family: Baskervville, Georgia, serif; font-weight: 500; letter-spacing: -.04em; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; margin: 0 0 16px; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.65rem); line-height: 1.08; margin: 0 0 10px; }
p { line-height: 1.6; margin: 0; }
.heading p { font-size: 1.16rem; max-width: 56ch; }
.products, .features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product, .feature { border: 1px solid var(--line); background: #fffaf1; border-radius: 20px; }
.product { overflow: hidden; }
.swatch { height: clamp(100px, 18vw, 205px); background: linear-gradient(148deg, #d2b494, #ead9c2 62%, #f2e6d6); }
.swatch.printer { background: linear-gradient(150deg, #bd8d71, #e5bea5 62%, #f0d9c9); }
.copy { padding: 27px; }
.button { display: inline-block; margin-top: 20px; background: var(--petrol); color: white; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.button:hover { background: #174849; }
.muted { margin-top: 22px; color: #705c4d; }
.back { display: inline-block; margin-bottom: 20px; color: var(--petrol); }
.panels { border: 1px solid var(--line); border-radius: 18px; background: #f0e5d7; padding: 14px; }
.tab-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tab { display: inline-block; padding: 9px 13px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.tab-input:checked + .tab { background: var(--petrol); color: white; }
.panel { display: none; padding: 20px 8px 8px; }
#prep:checked ~ .preparation, #cnc:checked ~ .cnc, #settings:checked ~ .settings { display: block; }
.features { margin-top: 18px; gap: 12px; }
.feature { display: flex; align-items: flex-start; gap: 14px; padding: 19px; }
.feature h3 { margin: 0 0 5px; }
.icon { flex: 0 0 36px; text-align: center; padding-block: 6px; background: #e6d6c5; color: #62432e; border-radius: 8px; font-weight: 700; }
footer { margin-top: 55px !important; padding-block: 20px; border-top: 1px solid var(--line); color: #705c4d; }
@media (max-width: 680px) { header { padding-block: 14px; flex-wrap: wrap; } .products, .features { grid-template-columns: 1fr; } }


.site-footer { display: grid; gap: 7px; font-size: .88rem; }
.site-footer img { max-width: 100%; height: auto; }
.site-footer a { color: var(--petrol); }

.languages, header, nav { flex-wrap: wrap; }
.languages { max-width: 100%; }

.language-menu { position: relative; }
.language-menu summary {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  list-style: none; border: 1px solid var(--line); border-radius: 9px;
  padding: 8px 11px; background: #fffaf1; font-size: .88rem; font-weight: 600;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:focus-visible { outline: 3px solid #b76545; outline-offset: 4px; }
.language-menu .languages {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 5;
  display: grid; min-width: 150px; max-width: none; padding: 4px;
  background: #fffaf1; box-shadow: 0 6px 18px #30282120;
}
.language-menu .languages a:hover:not([aria-current]) { background: #f0e5d7; }
