:root {
  color-scheme: light;
  --ink: #0a0b10;
  --muted: #667085;
  --line: #dfe4ea;
  --soft: #f5f7fa;
  --soft-blue: #eef6ff;
  --blue: #0a66ff;
  --blue-deep: #0044be;
  --cyan: #1fb9ff;
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(37, 55, 86, .14);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 12px max(22px, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid rgba(223, 228, 234, .86);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(20px) saturate(1.4);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.045em;
}
.logo svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo > span > span { color: var(--blue); }
.site-header nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 38px); }
.site-header nav a { position: relative; padding: 10px 0; color: #303746; font-size: 13px; font-weight: 760; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  transition: left .2s ease, right .2s ease;
}
.site-header nav a:hover::after { left: 0; right: 0; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.header-tools select {
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}
.cart-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 11, 16, .14);
}
.cart-button b {
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: clamp(35px, 5vw, 86px);
  padding: clamp(78px, 8vw, 130px) max(24px, calc((100vw - 1480px) / 2));
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 66%, #fff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 8% -15% auto 35%;
  z-index: -1;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,185,255,.22), rgba(10,102,255,.08) 42%, transparent 70%);
  filter: blur(12px);
}
.aurora {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(55px);
  opacity: .35;
}
.a1 { width: 260px; height: 260px; left: -70px; top: 120px; background: #84dcff; }
.a2 { width: 320px; height: 220px; right: 8%; bottom: 4%; background: #9ebdff; }
.hero-copy { position: relative; z-index: 3; max-width: 760px; }
.signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #d8e8ff;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(238, 246, 255, .85);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}
.signal i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(10,102,255,.11); }
.hero h1 {
  margin: 23px 0 22px;
  font-size: clamp(58px, 6.6vw, 108px);
  line-height: .91;
  letter-spacing: -.072em;
}
.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, var(--blue-deep), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}
.hero-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-actions a,
.hero-actions button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-actions a:hover,
.hero-actions button:hover { transform: translateY(-2px); }
.primary { color: #fff; background: var(--blue); box-shadow: 0 16px 34px rgba(10,102,255,.25); }
.secondary { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.75); }
.hero-metrics { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 54px); margin-top: 42px; }
.hero-metrics span { display: grid; gap: 3px; }
.hero-metrics b { font-size: 23px; letter-spacing: -.04em; }
.hero-metrics small { color: var(--muted); font-size: 11px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.hero-stage {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: min(610px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fff 0 8%, #edf6ff 30%, #dbeaff 62%, rgba(219,234,255,0) 72%);
}
.hero-stage img {
  position: relative;
  z-index: 2;
  width: min(760px, 112%);
  border-radius: 34px;
  box-shadow: 0 42px 100px rgba(35, 54, 85, .22);
}
.product-orbit {
  position: absolute;
  z-index: 1;
  width: min(590px, 84%);
  aspect-ratio: 1;
  border: 1px solid rgba(10,102,255,.15);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.product-orbit::before,
.product-orbit::after { content: ""; position: absolute; inset: 62px; border: 1px dashed rgba(10,102,255,.13); border-radius: 50%; }
.product-orbit::after { inset: 150px; }
.product-orbit span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px rgba(10,102,255,.1); }
.product-orbit span:nth-child(1) { left: 20%; top: 8%; }
.product-orbit span:nth-child(2) { right: 2%; top: 47%; }
.product-orbit span:nth-child(3) { left: 18%; bottom: 8%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-label {
  position: absolute;
  right: 2%;
  bottom: 7%;
  z-index: 5;
  min-width: 270px;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(223,228,234,.8);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 55px rgba(37,55,86,.16);
  backdrop-filter: blur(16px);
}
.hero-label small { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.hero-label span { color: var(--muted); font-size: 12px; }

.marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); color: #6f7785; background: #fbfcfe; white-space: nowrap; }
.marquee div { width: max-content; min-width: 100%; text-align: center; font-size: 12px; font-weight: 820; letter-spacing: .14em; }
.marquee i { display: inline-block; width: 5px; height: 5px; margin: 0 34px; border-radius: 50%; background: var(--blue); }

.feature-story {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
  padding: clamp(105px, 10vw, 160px) max(24px, calc((100vw - 1480px) / 2));
  background: #fff;
}
.story-image { min-height: 520px; display: grid; place-items: center; overflow: hidden; border-radius: 34px; background: #f1f3f6; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.story-copy h2,
.section-heading h2,
.service h2 { margin: 16px 0 18px; font-size: clamp(45px, 5vw, 76px); line-height: .99; letter-spacing: -.06em; }
.story-copy p,
.section-heading p,
.service p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.text-link { margin-top: 17px; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-weight: 850; }

.collection { padding: clamp(100px, 10vw, 155px) max(24px, calc((100vw - 1480px) / 2)); background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.section-heading > div { max-width: 900px; }
.section-heading > p { max-width: 520px; margin: 0 0 11px; }
.discovery-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 47px 0 34px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d8dee7;
  border-radius: 999px;
  color: #414957;
  background: #fff;
  font-weight: 800;
}
.filters button.active { border-color: var(--ink); color: #fff; background: var(--ink); }
.search { min-width: 260px; display: flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid #d8dee7; border-radius: 999px; background: #fff; }
.search span { color: var(--blue); font-size: 20px; }
.search input { width: 100%; min-height: 44px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.product-card {
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(45, 62, 88, .07);
  transition: transform .28s ease, box-shadow .28s ease;
}
.product-card:nth-child(1),
.product-card:nth-child(4) { grid-column: span 8; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-media { position: relative; height: 320px; display: grid; place-items: center; overflow: hidden; background: #eef1f5; }
.product-card:nth-child(1) .product-media,
.product-card:nth-child(4) .product-media { height: 400px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-media img.contain { object-fit: contain; padding: 7%; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #fff;
  background: rgba(10,11,16,.76);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-copy { min-height: 245px; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.product-copy small { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-copy h3 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }
.product-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 12px; }
.product-actions button { min-height: 44px; border: 1px solid #dce2ea; border-radius: 12px; color: var(--ink); background: #fff; font-weight: 850; }
.product-actions .add { border-color: var(--blue); color: #fff; background: var(--blue); }

.service { padding: clamp(105px, 10vw, 160px) max(24px, calc((100vw - 1480px) / 2)); background: linear-gradient(135deg, #edf6ff, #f8fbff 45%, #fff); }
.service > div:first-child { max-width: 900px; }
.service-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 62px; }
.service-points article { min-height: 230px; padding: 29px; border: 1px solid #dce7f5; border-radius: 24px; background: rgba(255,255,255,.76); box-shadow: 0 12px 35px rgba(51,86,132,.06); }
.service-points b { color: var(--blue); font-size: 14px; }
.service-points h3 { margin: 45px 0 10px; font-size: 23px; letter-spacing: -.03em; }
.service-points p { margin: 0; font-size: 15px; }

footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1480px) / 2));
  border-top: 1px solid var(--line);
  color: #6f7785;
  background: #fff;
}
footer p { margin: 0; }
footer > a:last-child { font-size: 13px; }

/* Product dialog */
dialog {
  width: min(1000px, calc(100% - 28px));
  max-height: 92vh;
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 40px 120px rgba(27, 40, 60, .28);
}
dialog::backdrop { background: rgba(29, 38, 52, .48); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border: 1px solid #dce2ea; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.9); font-size: 24px; }
.dialog-layout { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 570px; }
.dialog-layout > img { width: 100%; height: 100%; max-height: 680px; object-fit: cover; background: #eef1f5; }
.dialog-layout > img.contain { object-fit: contain; padding: 8%; }
.dialog-info { display: flex; flex-direction: column; padding: clamp(36px, 5.5vw, 68px); }
.dialog-info h2 { margin: 14px 0 17px; font-size: clamp(36px, 4.3vw, 56px); line-height: 1; letter-spacing: -.055em; }
.dialog-info > p { color: var(--muted); line-height: 1.7; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 22px 0; }
.specs span { padding: 13px; border: 1px solid #e1e6ed; border-radius: 13px; color: #4e5867; font-size: 13px; }
.dialog-info > button { min-height: 50px; margin-top: auto; border: 0; border-radius: 13px; color: #fff; background: var(--blue); font-weight: 900; }

/* Inquiry drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.cart-drawer.open { pointer-events: auto; }
.cart-backdrop { position: absolute; inset: 0; border: 0; background: rgba(29,38,52,.5); opacity: 0; transition: opacity .25s ease; }
.cart-drawer.open .cart-backdrop { opacity: 1; }
.cart-drawer aside { position: absolute; top: 0; right: 0; width: min(500px, 100%); height: 100%; display: flex; flex-direction: column; background: #fff; box-shadow: -25px 0 60px rgba(29,38,52,.2); transform: translateX(100%); transition: transform .32s ease; }
.cart-drawer.open aside { transform: none; }
.cart-drawer aside > header { display: flex; justify-content: space-between; gap: 20px; padding: 25px; border-bottom: 1px solid var(--line); }
.cart-drawer h2 { margin: 6px 0 0; font-size: 31px; letter-spacing: -.045em; }
.cart-drawer header button { border: 0; background: transparent; font-size: 28px; }
.cart-items { flex: 1; overflow: auto; display: grid; align-content: start; gap: 12px; padding: 20px; }
.cart-empty { grid-column: 1 / -1; padding: 65px 20px; color: var(--muted); text-align: center; }
.cart-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; }
.cart-row img { width: 74px; height: 74px; object-fit: contain; border-radius: 11px; background: #f1f3f6; }
.cart-row small { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cart-row h4 { margin: 4px 0 8px; font-size: 15px; line-height: 1.25; }
.qty { display: inline-flex; align-items: center; gap: 7px; }
.qty button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.remove { border: 0; color: #8a93a0; background: transparent; font-size: 20px; }
.note { display: grid; gap: 8px; padding: 0 20px 18px; color: var(--muted); font-size: 13px; font-weight: 750; }
.note textarea { min-height: 86px; resize: vertical; padding: 12px; border: 1px solid var(--line); border-radius: 13px; outline: 0; color: var(--ink); background: #fff; }
.cart-actions { padding: 18px 20px 24px; border-top: 1px solid var(--line); }
.cart-actions p { margin: 0 0 13px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cart-actions > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cart-actions button { min-height: 44px; border: 1px solid #dce2ea; border-radius: 12px; color: var(--ink); background: #fff; font-weight: 850; }
.cart-actions .clear { width: 100%; margin-top: 8px; color: var(--muted); background: #f7f8fa; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: calc(100% - 30px); padding: 12px 18px; border-radius: 999px; color: #fff; background: var(--ink); font-weight: 850; opacity: 0; transform: translate(-50%, 18px); transition: .22s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto auto; }
  .site-header nav { display: none; }
  .header-tools { justify-self: end; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 900px; }
  .hero-stage { min-height: 560px; }
  .feature-story { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(4) { grid-column: span 6; }
  .product-card:nth-child(1) .product-media,
  .product-card:nth-child(4) .product-media,
  .product-media { height: 340px; }
  .service-points { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { min-height: 68px; padding: 9px 15px; }
  .logo { font-size: 18px; }
  .logo svg { width: 31px; height: 31px; }
  .header-tools select { width: 62px; padding-inline: 7px; }
  .cart-button { width: 44px; padding: 0; justify-content: center; }
  .cart-button span { display: none; }
  .hero { min-height: 0; padding: 62px 18px 90px; }
  .hero h1 { font-size: clamp(53px, 16vw, 76px); }
  .hero-actions { flex-direction: column; }
  .hero-actions > * { text-align: center; }
  .hero-stage { min-height: 390px; }
  .hero-stage img { width: 115%; border-radius: 24px; }
  .product-orbit { width: 360px; }
  .hero-label { right: 0; bottom: 0; min-width: 0; max-width: 290px; }
  .marquee div { text-align: left; padding-left: 20px; }
  .feature-story,
  .collection,
  .service { padding: 88px 18px; }
  .story-image { min-height: 320px; }
  .story-copy h2,
  .section-heading h2,
  .service h2 { font-size: 43px; }
  .discovery-bar { align-items: stretch; flex-direction: column; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; }
  .search { width: 100%; }
  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(4) { grid-column: span 12; }
  .product-media,
  .product-card:nth-child(1) .product-media,
  .product-card:nth-child(4) .product-media { height: 310px; }
  footer { align-items: flex-start; flex-direction: column; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-layout > img { height: 330px; }
  .dialog-info { padding: 28px 23px; }
  .specs { grid-template-columns: 1fr; }
}
