:root{--ink:#2b2433;--sun:#f4d35f;--cream:#fbf6e9;--teal:#0f7b6c;--muted:#5d5566}
.wrapper{max-width:1000px}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center;background:var(--sun);border-radius:20px;padding:2.5rem;margin:1rem 0 2.5rem}
.hero h1{font-size:2.6rem;line-height:1.1;margin:0 0 .6rem;color:var(--ink)}
.hero p{color:var(--ink);font-size:1.15rem;margin:0 0 1.2rem}
.hero video,.hero img{width:100%;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.badge{display:inline-block;background:var(--ink);color:#fff;padding:.7rem 1.2rem;border-radius:12px;font-weight:600;text-decoration:none}
.badge:hover{text-decoration:none;opacity:.9}
.gallery{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.8rem;margin-bottom:2rem}
.gallery a{flex:0 0 min(300px,70%);scroll-snap-align:start}
.gallery img{width:100%;border-radius:12px;display:block}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:2.5rem}
.feature{background:var(--cream);border-radius:14px;padding:1.2rem}
.feature h3{margin:0 0 .4rem;font-size:1.1rem}
.feature p{margin:0;color:var(--muted);font-size:.95rem}
.faq dt{font-weight:700;margin-top:1rem}
.faq dd{margin:.2rem 0 0}
.kit{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.kit figure{margin:0}
.kit img{width:100%;border-radius:10px;display:block}
.kit figcaption{font-size:.85rem;color:var(--muted);margin-top:.3rem}
@media(max-width:700px){.hero{grid-template-columns:1fr;padding:1.5rem}.hero h1{font-size:2rem}}
.gallery-title{font-size:1.2rem;margin:0 0 .6rem}
.gallery-phone a{flex-basis:min(220px,55%)}
.kit.phone{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.shot{position:relative;margin:1rem 0 1.5rem}
.shot img{width:100%;display:block;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.12)}
.shot.rail{width:150px;float:left;margin:0 1.5rem 1rem 0}
.shot.rail img,.shot.bar img{box-shadow:none;border:1px solid #e6dfcf}
.shot.bar{max-width:460px}
.shot .n{position:absolute;transform:translate(-50%,-50%);min-width:1.5rem;height:1.5rem;padding:0 .2rem;box-sizing:border-box;border-radius:.75rem;background:var(--teal);color:#fff;font-size:.8rem;font-weight:700;line-height:1.5rem;text-align:center;box-shadow:0 0 0 2px #fff}
.keys{counter-reset:k;list-style:none;padding:0;margin-left:0;overflow:hidden}
.keys>li{counter-increment:k;margin:0 0 .55rem 2.1rem;position:relative}
.keys>li::before{content:counter(k);position:absolute;left:-2.1rem;top:.1rem;min-width:1.5rem;height:1.5rem;border-radius:.75rem;background:var(--teal);color:#fff;font-size:.8rem;font-weight:700;line-height:1.5rem;text-align:center}
.clear{clear:both}
.guides{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin:1rem 0 2rem}
.guides a{display:block;background:var(--cream);border-radius:14px;padding:1.1rem;color:var(--ink);text-decoration:none}
.guides a:hover{text-decoration:none;box-shadow:0 0 0 2px var(--sun)}
.guides strong{display:block;font-size:1.05rem;margin-bottom:.3rem}
.guides span{color:var(--muted);font-size:.93rem}
.guide-nav{margin-top:2.5rem;padding-top:1rem;border-top:1px solid #e6dfcf;font-size:.95rem}
@media(max-width:600px){.shot.rail{width:110px;margin-right:1rem}}
.shot.portrait{max-width:560px}
.shot.sheet{max-width:420px}
.shot.rail{width:120px}
.phone-shot{max-width:280px;margin:1rem 0 1.5rem}
.phone-shot img{width:100%;display:block;border-radius:22px;box-shadow:0 4px 16px rgba(0,0,0,.15)}
.phone-shot figcaption{font-size:.88rem;color:var(--muted);margin-top:.5rem}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin:1.5rem 0}
.cta span{color:var(--muted);font-size:.95rem}
.lede{font-size:1.15rem;color:var(--ink)}
.side-by-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;align-items:start}
table.ref{border-collapse:collapse;margin:1rem 0 1.5rem;font-size:.95rem}
table.ref th,table.ref td{border-bottom:1px solid #e6dfcf;padding:.4rem .8rem;text-align:left;vertical-align:top}
table.ref th{background:var(--cream)}
.calc{background:var(--cream);border-radius:14px;padding:1.2rem 1.4rem;margin:1rem 0 2rem}
.calc label{display:block;font-weight:600;margin:.7rem 0 .25rem}
.calc select,.calc input{font:inherit;padding:.35rem .5rem;border:1px solid #cfc6b2;border-radius:8px;background:#fff;min-width:12rem}
.calc .row{display:flex;flex-wrap:wrap;gap:0 1.5rem}
.calc output{display:block;margin-top:1.2rem;font-size:1.1rem;background:#fff;border-radius:10px;padding:.9rem 1rem}
.calc output strong{font-size:1.4rem}
.calc .note{font-size:.88rem;color:var(--muted);margin-top:.6rem}
.patterns{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1.2rem;margin:1.2rem 0 2rem}
.pattern{margin:0;background:var(--cream);border-radius:14px;padding:.9rem}
.pattern img{width:100%;height:auto;display:block;border-radius:6px;image-rendering:pixelated}
.pattern figcaption{display:flex;flex-direction:column;gap:.2rem;margin-top:.6rem;font-size:.92rem}
.pattern figcaption span{color:var(--muted)}.pattern .meta{font-size:.82rem}
.pattern .dl{align-self:flex-start;margin-top:.4rem;background:var(--teal);color:#fff;padding:.35rem .8rem;border-radius:8px;font-weight:600;text-decoration:none}
.diagram{margin:1.2rem 0 1.6rem}.diagram img{width:100%;height:auto;display:block;border:1px solid #eee5d3;border-radius:12px;background:#fff}.diagram figcaption{font-size:.88rem;color:var(--muted);margin-top:.4rem}

/* App icon beside the site name in the top bar. */
.site-header .site-title::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: -7px;
  border-radius: 7px;
  background: url("/assets/icons/apple-touch-icon.png") center / cover no-repeat;
}
.gallery-pad a{flex-basis:min(460px,88%)}
.kit.pad{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
