:root {
  --ink: #0b0b0c;
  --paper: #ffffff;
  --mute: #555b63;
  --line: #e3e5e9;
  --panel: #f4f5f7;
  --blue: #00247d;
  --yellow: #fcc917;
  --red: #d52b1e;
  --radius: 10px;
  --head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 6 Q6 0 12 6 T24 6 T36 6 T48 6' fill='none' stroke='%2300247D' stroke-width='2.4'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 .75em; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }
main:focus { outline: none; }

/* banner */
.banner { background: var(--blue); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; line-height: 1.35; }
.banner b { color: var(--yellow); }

/* header + lockup */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.lockup { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font-size: 22px; flex: none; min-height: 44px; }
.lockup img { height: 1.55em; width: auto; }
.word { position: relative; display: inline-block; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 800; letter-spacing: -0.04em; line-height: 1; padding-right: .42em; white-space: nowrap; }
.leaf { position: absolute; top: -.08em; right: 0; width: .34em; height: .34em; fill: var(--red); }
.lockup.small { font-size: 20px; cursor: default; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; }
.nav a:hover { background: var(--panel); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; }
.cart-btn:hover { background: #26282c; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--yellow); color: var(--ink); font-size: 13px; line-height: 22px; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 2px solid var(--ink); background: var(--ink); color: #fff; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: #26282c; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--panel); }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.yellow:hover { background: #ffd53e; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* hero */
.hero { padding: 40px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero .lockup { font-size: clamp(34px, 6.4vw, 76px); cursor: default; gap: .4em; }
.hero h1 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; margin: 22px 0 10px; max-width: 22ch; }
.hero p.lead { color: var(--mute); max-width: 44ch; font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-art { position: relative; padding: 28px; border-radius: 18px; background: var(--panel); overflow: hidden; }
.hero-art img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto 18px; }
.waves { height: 12px; background: var(--wave) repeat-x center / 48px 12px; }
.hero-art .waves { position: absolute; left: 0; right: 0; bottom: 18px; }
.flagbar { display: flex; height: 6px; }
.flagbar i { flex: 1; }
.flagbar i:nth-child(1) { background: var(--blue); }
.flagbar i:nth-child(2) { background: var(--yellow); }
.flagbar i:nth-child(3) { background: var(--red); }

/* sections */
.section { padding: 44px 0 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 4vw, 36px); }
.sec-head p { color: var(--mute); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-link { display: block; text-decoration: none; }
.thumb { position: relative; aspect-ratio: 1 / 1; background: var(--panel); display: grid; place-items: center; overflow: hidden; }
.thumb svg, .thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb img { padding: 8%; }
.tag { position: absolute; left: 10px; bottom: 10px; background: #fff; border: 1px solid var(--line); color: var(--mute); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.badge { position: absolute; left: 10px; top: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 18px; letter-spacing: -0.01em; }
.card-body .sub { color: var(--mute); font-size: 14px; margin: 0; }
.price { font-weight: 800; font-size: 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price s { color: var(--mute); font-weight: 500; font-size: 15px; }
.price .now-sale { color: var(--red); }
.card-body .btn { margin-top: auto; }
.card-body .price { margin: 6px 0 10px; }

/* bundle */
.bundle { background: var(--ink); color: #fff; border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.bundle h2 { font-size: clamp(26px, 4vw, 38px); }
.bundle p { color: #d4d7dc; margin: 8px 0 0; max-width: 46ch; }
.bundle .big { font-family: var(--head); font-weight: 800; font-size: 44px; color: var(--yellow); line-height: 1; }
.bundle .save { color: #d4d7dc; font-size: 14px; margin: 6px 0 14px; }
.bundle .waves { position: absolute; left: 0; right: 0; bottom: 0; opacity: .5; filter: invert(1) brightness(2); }
.bundle .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.bundle .btn:hover { background: #ffd53e; }

.bundles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bundle h3 { font-size: clamp(22px, 3vw, 30px); }
.bundles .bundle { grid-template-columns: 1fr; gap: 16px; align-content: start; padding-bottom: 36px; }
.wpick { display: flex; gap: 8px; margin: 6px 0 4px; flex-wrap: wrap; }
.wbtn { min-height: 44px; min-width: 76px; padding: 0 16px; border: 2px solid #b9bec6; background: #fff; border-radius: 999px; font-weight: 700; cursor: pointer; }
.wbtn:hover { background: var(--panel); }
.wbtn[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.thumb .tag { max-width: calc(100% - 20px); }
p.lab { font-size: 14px; font-weight: 700; margin: 16px 0 2px; }

/* wholesale + signup */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: var(--panel); border-radius: 16px; padding: 24px; }
.panel h2 { font-size: 26px; margin-bottom: 8px; }
.panel p { color: var(--mute); }
.emailrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.email { user-select: all; -webkit-user-select: all; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font: 600 17px/1.2 ui-monospace, Menlo, monospace; word-break: break-all; }
.status { min-height: 1.4em; font-size: 14px; color: var(--mute); margin: 8px 0 0; }
.status.ok { color: #0a6b2d; font-weight: 600; }
.status.err { color: var(--red); font-weight: 600; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid #b9bec6; border-radius: 8px; background: #fff; }
.field:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-row .field { flex: 1 1 200px; width: auto; }
label.lab { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }

/* product detail */
.crumbs { padding: 20px 0 0; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 8px 0 40px; align-items: start; }
.detail .thumb { border-radius: 16px; aspect-ratio: 1 / 1; }
.detail h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 10px; }
.detail .price { font-size: 28px; margin: 8px 0 14px; }
.detail .price s { font-size: 20px; }
.detail .desc { color: var(--mute); font-size: 18px; }
.buyrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #b9bec6; border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; cursor: pointer; border-radius: 999px; }
.qty button:hover { background: var(--panel); }
.qty output, .qty input { min-width: 36px; text-align: center; font-weight: 700; border: 0; background: transparent; width: 40px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts span:first-child { color: var(--mute); }

/* drawer */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; opacity: 0; transition: opacity .2s; }
.backdrop.on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.drawer.on { transform: none; visibility: visible; }
.drawer:focus { outline: none; }
.d-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.d-head h2 { font-size: 22px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.icon-btn:hover { background: var(--panel); }
.d-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.d-foot { border-top: 1px solid var(--line); padding: 14px 20px 18px; background: #fff; }
.empty { text-align: center; color: var(--mute); padding: 40px 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line .mini { width: 64px; height: 64px; background: var(--panel); border-radius: 8px; overflow: hidden; }
.line .mini svg, .line .mini img { width: 100%; height: 100%; object-fit: contain; }
.line h3 { font-size: 15px; letter-spacing: 0; font-family: var(--body); font-weight: 700; }
.line .each { font-size: 13px; color: var(--mute); }
.line .lt { font-weight: 700; }
.line .ctl { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.line .qty { border-radius: 8px; }
.line .qty button { width: 44px; height: 44px; font-size: 20px; border-radius: 8px; }
.line .qty output { min-width: 28px; }
.linkbtn { background: none; border: 0; padding: 0 10px; min-height: 44px; color: var(--mute); text-decoration: underline; cursor: pointer; font-size: 14px; }
.linkbtn:hover { color: var(--ink); }
.promo { display: flex; gap: 8px; margin: 12px 0 2px; }
.promo .field { flex: 1; text-transform: uppercase; }
.promo .btn { padding: 0 16px; }
.totals { margin: 12px 0; display: grid; gap: 4px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .disc { color: #0a6b2d; font-weight: 600; }
.totals .grand { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.totals .hint { color: var(--mute); font-size: 13px; display: block; }
.prov { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; }
.prov select { min-height: 44px; padding: 0 8px; border: 1.5px solid #b9bec6; border-radius: 8px; background: #fff; flex: 1; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; padding: 8px 0 48px; align-items: start; }
.checkout h1 { font-size: clamp(30px, 4vw, 40px); margin: 6px 0 18px; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.checkout legend { font-family: var(--head); font-weight: 800; font-size: 20px; margin-bottom: 10px; padding: 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid .full { grid-column: 1 / -1; }
.summary { background: var(--panel); border-radius: 16px; padding: 20px; position: sticky; top: 88px; }
.summary h2 { font-size: 22px; margin-bottom: 8px; }
.sline { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.notice { background: var(--yellow); color: var(--ink); border-radius: 10px; padding: 14px 16px; font-weight: 700; margin: 0 0 14px; }
.demo-pay h2 { font-size: 20px; margin-bottom: 10px; }
.confirm { max-width: 640px; margin: 0 auto; padding: 48px 0 64px; text-align: center; }
.confirm h1 { font-size: clamp(30px, 5vw, 44px); margin: 10px 0; }
.ordno { display: inline-block; background: var(--panel); border-radius: 8px; padding: 10px 18px; font: 700 20px ui-monospace, Menlo, monospace; margin: 8px 0 18px; }
.confirm .summary { text-align: left; position: static; margin: 20px 0; }

/* footer */
.site-footer { margin-top: 56px; border-top: 6px solid var(--blue); background: var(--panel); padding: 28px 0 36px; }
.foot { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; }
.foot p { margin: 0 0 6px; }
.foot-brand p { color: var(--mute); }
.regs { color: var(--mute); max-width: 44ch; }
.foot-demo { grid-column: 1 / -1; color: var(--mute); font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid, .detail, .checkout, .two { grid-template-columns: 1fr; }
  .hero-art { order: -1; padding: 20px; }
  .hero-art img { max-width: 240px; }
  .summary { position: static; }
  .bundle { grid-template-columns: 1fr; }
  .bundles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-art { padding: 14px; }
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .lockup { font-size: 19px; }
  .hero { padding-top: 20px; }
  .hero .lockup { font-size: 38px; }
  .hero p.lead { font-size: 16px; }
  .grid { gap: 14px; }
  .card-body { padding: 10px 10px 12px; }
  .card-body h3 { font-size: 15px; }
  .card-body .btn { padding: 0 8px; font-size: 14px; }
  .fgrid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .panel, .bundle { padding: 20px; }
  .detail { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
