:root {
  color-scheme: light;
  --paper: #f5ead5;
  --paper-soft: #fff9ed;
  --paper-deep: #ead9bc;
  --ink: #25201b;
  --muted: #706256;
  --seal: #c74132;
  --night: #15131a;
  --line: rgba(37, 32, 27, .18);
  --shadow: 0 24px 80px rgba(74, 47, 24, .13);
  --display: "Noto Serif TC", "Songti TC", PMingLiU, serif;
  --ui: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

[data-theme="night"] {
  color-scheme: dark;
  --paper: #15131a;
  --paper-soft: #211e25;
  --paper-deep: #302a32;
  --ink: #fff4e8;
  --muted: #c8b9ab;
  --seal: #ff5041;
  --line: rgba(255, 255, 255, .14);
  --shadow: 0 28px 90px rgba(0, 0, 0, .4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 4px, color-mix(in srgb, var(--ink) 1.8%, transparent) 4px 5px),
    var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 14px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 18px; color: var(--seal); font: 800 10px/1.35 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 4px; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  background: var(--night);
  color: #fff4e8;
  text-align: center;
}
html:not(.js) .loader { display: none; }
.loader-type { overflow: hidden; font-size: clamp(72px, 13vw, 190px); font-weight: 950; letter-spacing: -.1em; line-height: .9; }
.loader-type span, .loader-type b { display: inline-block; }
.loader-type b { color: #ff5041; }
.loader p { margin: 24px 0 0; color: #c8b9c8; font: 700 10px/1 var(--mono); letter-spacing: .18em; }
.loader-rule { width: min(320px, 65vw); height: 1px; margin: 24px auto 0; overflow: hidden; background: rgba(255,255,255,.16); }
.loader-rule i { display: block; width: 100%; height: 100%; background: #ff5041; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: baseline; gap: 11px; width: fit-content; text-decoration: none; }
.brand > span { font-size: 24px; font-weight: 950; letter-spacing: -.07em; }
.brand b { color: var(--seal); }
.brand small { color: var(--muted); font-family: var(--display); font-size: 10px; font-weight: 800; }
.site-nav { display: flex; gap: clamp(20px, 3vw, 42px); }
.site-nav a { color: var(--muted); font-size: 12px; font-weight: 850; text-decoration: none; }
.site-nav a:hover { color: var(--seal); }
.theme-toggle { justify-self: end; display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 12px; border: 1px dashed var(--line); border-radius: 999px; background: var(--paper-soft); color: var(--ink); cursor: pointer; }
.theme-toggle:hover { border-color: var(--seal); color: var(--seal); }
.theme-toggle span:last-child { font-size: 10px; font-weight: 900; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(120px, 12vw, 180px) clamp(22px, 6vw, 96px) clamp(80px, 8vw, 120px);
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0 0 auto auto;
  width: 47vw;
  height: 48vh;
  opacity: .11;
  background:
    linear-gradient(45deg, transparent 44%, var(--ink) 45% 47%, transparent 48%),
    linear-gradient(-45deg, transparent 44%, var(--ink) 45% 47%, transparent 48%);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom left, #000, transparent 72%);
}
.vertical-note { position: absolute; top: 118px; right: 24px; margin: 0; color: var(--muted); font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .18em; writing-mode: vertical-rl; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 0; overflow: hidden; font-family: var(--display); font-size: clamp(52px, 7vw, 104px); font-weight: 900; letter-spacing: -.065em; line-height: 1.02; }
.hero-line { display: block; }
.hero-line.accent { color: var(--seal); }
.hero-lead { max-width: 660px; margin: 34px 0 0; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); font-weight: 600; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; justify-content: space-between; gap: 40px; min-width: 248px; padding: 17px 18px; border: 1px solid var(--ink); text-decoration: none; font-size: 13px; font-weight: 900; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.primary:hover { border-color: var(--seal); background: var(--seal); color: #fff; }
.text-link { color: var(--muted); font-size: 12px; font-weight: 900; text-underline-offset: 5px; }
.text-link:hover { color: var(--seal); }

.hero-typecase { position: relative; z-index: 2; padding: clamp(18px, 2.5vw, 34px); border: 1px solid var(--line); background: var(--paper-soft); box-shadow: var(--shadow); transform: rotate(1.1deg); will-change: transform; }
.hero-typecase::before, .hero-typecase::after { content: ""; position: absolute; width: 64px; height: 18px; background: var(--paper-deep); opacity: .84; }
.hero-typecase::before { top: -9px; left: 10%; transform: rotate(-4deg); }
.hero-typecase::after { right: 8%; bottom: -9px; transform: rotate(3deg); }
.typecase-head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px dashed var(--line); color: var(--muted); font: 750 9px/1 var(--mono); letter-spacing: .1em; }
.typecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 14px; }
.type-tile { --tool: var(--seal); position: relative; display: grid; min-height: clamp(105px, 10vw, 145px); place-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--paper); text-decoration: none; will-change: transform; }
[data-theme="night"] .type-tile, [data-theme="night"] .day-card, [data-theme="night"] .product, [data-theme="night"] .handoff-strip span { --tool: var(--tool-night) !important; }
.type-tile:first-child { grid-column: span 2; grid-row: span 2; }
.type-tile::before, .type-tile::after { content: ""; position: absolute; opacity: .25; }
.type-tile::before { inset: 50% 6px auto; border-top: 1px dashed var(--tool); }
.type-tile::after { inset: 6px auto 6px 50%; border-left: 1px dashed var(--tool); }
.type-tile strong { position: relative; z-index: 1; color: var(--tool); font-family: var(--display); font-size: clamp(50px, 5.5vw, 80px); line-height: 1; }
.type-tile:first-child strong { font-size: clamp(96px, 10vw, 145px); }
.type-tile span { position: absolute; right: 7px; bottom: 6px; color: var(--muted); font: 700 8px/1 var(--mono); text-transform: uppercase; }
.type-tile:hover { z-index: 2; border-color: var(--tool); box-shadow: inset 0 0 0 2px var(--tool); transform: translateY(-3px); }
.hero-typecase > p { margin: 14px 0 0; color: var(--muted); font-family: var(--display); font-size: 12px; text-align: right; }
.hero-scroll { position: absolute; left: clamp(22px, 6vw, 96px); bottom: 25px; display: flex; align-items: center; gap: 12px; color: var(--muted); font: 700 8px/1 var(--mono); letter-spacing: .12em; }
.hero-scroll i { display: block; width: 50px; height: 1px; background: var(--seal); }

.friction { position: relative; padding: clamp(110px, 15vw, 220px) clamp(22px, 8vw, 130px); overflow: hidden; background: var(--ink); color: var(--paper); }
.friction .eyebrow { color: var(--paper-deep); }
.friction h2 { position: relative; z-index: 1; max-width: 1180px; margin: 0; font-family: var(--display); font-size: clamp(46px, 7.5vw, 112px); font-weight: 900; letter-spacing: -.06em; line-height: 1.02; }
.friction h2 span { color: var(--seal); }
.friction > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 720px; margin: 38px 0 0 auto; color: color-mix(in srgb, var(--paper) 70%, transparent); font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; line-height: 1.9; }
.friction-stamp { position: absolute; top: 12%; right: 8%; display: grid; width: clamp(110px, 15vw, 210px); height: clamp(110px, 15vw, 210px); place-items: center; border: 4px solid var(--seal); color: var(--seal); font-family: var(--display); font-size: clamp(68px, 9vw, 130px); font-weight: 900; opacity: .28; transform: rotate(8deg); }
.friction-ticker { position: absolute; left: 0; right: 0; bottom: 24px; overflow: hidden; border-block: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); white-space: nowrap; }
.friction-ticker div { width: max-content; padding: 10px 0; color: color-mix(in srgb, var(--paper) 36%, transparent); font: 700 10px/1 var(--mono); letter-spacing: .16em; }

.day-section { position: relative; background: var(--paper-soft); }
.section-heading { padding: clamp(100px, 13vw, 180px) clamp(22px, 6vw, 96px) 64px; }
.section-heading h2, .products-intro h2, .together h2 { margin: 0; font-family: var(--display); font-size: clamp(50px, 7.2vw, 104px); font-weight: 900; letter-spacing: -.06em; line-height: 1.03; }
.section-heading h2 span, .products-intro h2 span, .together h2 span { color: var(--seal); }
.section-heading > p:last-child { max-width: 620px; margin: 30px 0 0 auto; color: var(--muted); font-size: 17px; line-height: 1.85; }
.day-stage { height: auto; }
.day-pin { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 100svh; overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); }
.day-clock { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid var(--line); background: var(--paper-soft); }
.day-clock span { font: 900 clamp(24px, 3vw, 42px)/1 var(--mono); writing-mode: vertical-rl; }
.day-clock i { display: block; width: 1px; height: 120px; margin: 25px 0; background: var(--seal); }
.day-clock small { color: var(--muted); font: 700 8px/1 var(--mono); letter-spacing: .14em; writing-mode: vertical-rl; }
.day-track { display: flex; width: max-content; min-height: 100%; margin: 0; padding: 0; list-style: none; will-change: transform; }
.day-card { --tool: var(--seal); position: relative; display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; width: min(78vw, 980px); min-height: 100%; padding: clamp(50px, 7vw, 100px); overflow: hidden; border-right: 1px solid var(--line); background: var(--paper); }
.day-card::before { content: ""; position: absolute; inset: 0; opacity: .11; background: radial-gradient(circle at 70% 30%, var(--tool), transparent 37%); }
.day-card-no { position: absolute; top: 30px; left: 34px; color: var(--tool); font: 800 10px/1 var(--mono); }
.day-card-verb { position: relative; align-self: center; color: var(--tool); font-family: var(--display); font-size: clamp(170px, 22vw, 330px); font-weight: 900; line-height: .8; -webkit-text-stroke: 1px var(--tool); text-shadow: 8px 8px 0 color-mix(in srgb, var(--tool) 16%, transparent); }
.day-card-copy { position: relative; align-self: center; will-change: transform, opacity; }
.day-moment { color: var(--tool) !important; font: 800 11px/1.7 var(--mono) !important; }
.day-card-copy h3 { margin: 18px 0 0; font-family: var(--display); font-size: clamp(36px, 4.5vw, 68px); letter-spacing: -.05em; line-height: 1.12; }
.day-card-copy > p { margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.day-card-copy a { display: inline-flex; gap: 30px; margin-top: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--tool); color: var(--tool); font-size: 12px; font-weight: 900; text-decoration: none; }
.day-card-brand { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 800; }
.day-icon { width: 34px; height: 34px; border-radius: 8px; }
.day-progress { position: absolute; right: 0; bottom: 0; left: 168px; z-index: 4; height: 4px; background: var(--paper-deep); }
.day-progress i { display: block; width: 100%; height: 100%; background: var(--seal); transform: scaleX(0); transform-origin: left; }

.products-intro { min-height: 82vh; padding: clamp(120px, 16vw, 230px) clamp(22px, 8vw, 130px); background: var(--paper); }
.products-intro h2 { max-width: 1100px; }
.products-intro > p:last-child { max-width: 580px; margin: 36px 0 0 auto; color: var(--muted); font-size: 18px; line-height: 1.85; }
.product { --tool: var(--seal); position: relative; padding: 0 clamp(22px, 6vw, 96px) clamp(100px, 13vw, 190px); overflow: hidden; border-top: 1px solid var(--line); background: var(--paper); }
.product-banner { display: flex; gap: 4vw; width: max-content; margin-left: -8vw; color: transparent; font-family: var(--display); font-size: clamp(140px, 21vw, 320px); font-weight: 900; line-height: .78; white-space: nowrap; -webkit-text-stroke: 1px color-mix(in srgb, var(--tool) 52%, transparent); opacity: .33; will-change: transform; }
.product-banner i { align-self: center; color: color-mix(in srgb, var(--tool) 12%, transparent); font-family: var(--mono); font-size: .25em; font-style: normal; letter-spacing: .05em; -webkit-text-stroke: 0; }
.product-head { position: relative; z-index: 2; display: grid; grid-template-columns: auto .72fr 1.28fr; gap: clamp(25px, 4vw, 64px); align-items: end; margin-top: -1vw; padding-bottom: 54px; }
.product-seal { position: relative; display: grid; width: clamp(82px, 8vw, 118px); height: clamp(82px, 8vw, 118px); place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.48); border-radius: 22%; background: var(--tool); color: #fff; box-shadow: 0 16px 45px color-mix(in srgb, var(--tool) 28%, transparent); font-family: var(--display); font-size: clamp(48px, 5vw, 72px); font-weight: 900; will-change: transform, opacity; }
.product-seal::before, .product-seal::after { content: ""; position: absolute; opacity: .38; }
.product-seal::before { inset: 50% 5px auto; border-top: 1px dashed #fff; }
.product-seal::after { inset: 5px auto 5px 50%; border-left: 1px dashed #fff; }
.product-title-wrap h2 { margin: 0; font-size: clamp(32px, 4vw, 58px); letter-spacing: -.045em; }
.product-title-wrap .eyebrow { color: var(--tool); }
.product-tailo { margin: 8px 0 0; color: var(--muted); font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.pain-line { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.75; }
.product-promise h3 { margin: 15px 0 0; color: var(--tool); font-family: var(--display); font-size: clamp(30px, 3.5vw, 52px); letter-spacing: -.045em; line-height: 1.16; }
.emotion-line { margin: 16px 0 0; font-family: var(--display); font-size: 16px; font-weight: 800; line-height: 1.65; }

.product-spotlight { position: relative; display: grid; grid-template-columns: auto minmax(0, 1.35fr) minmax(220px, .65fr); gap: clamp(22px, 4vw, 58px); align-items: center; margin-bottom: 14px; padding: clamp(28px, 4vw, 58px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--tool) 70%, #000); background: var(--tool); color: #fff; box-shadow: var(--shadow); }
.product-spotlight::after { content: "↔"; position: absolute; right: -.03em; bottom: -.3em; color: rgba(255,255,255,.09); font: 900 clamp(180px, 24vw, 360px)/1 var(--display); }
.spotlight-mark { position: relative; z-index: 1; display: grid; width: clamp(72px, 8vw, 112px); height: clamp(72px, 8vw, 112px); place-items: center; border: 1px dashed rgba(255,255,255,.7); border-radius: 50%; font: 900 clamp(30px, 4vw, 58px)/1 var(--mono); }
.product-spotlight > div, .product-spotlight > strong { position: relative; z-index: 1; }
.product-spotlight .bento-eyebrow { color: #fff; opacity: .75; }
.product-spotlight h3 { max-width: 900px; margin: 16px 0 0; font-family: var(--display); font-size: clamp(34px, 4.5vw, 68px); letter-spacing: -.055em; line-height: 1.08; }
.product-spotlight p:not(.bento-eyebrow) { max-width: 800px; margin: 22px 0 0; font-size: 13px; line-height: 1.85; }
.product-spotlight > strong { padding: 20px 0 20px clamp(22px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.45); font-family: var(--display); font-size: clamp(18px, 2vw, 28px); line-height: 1.55; }

.product-demo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(250px, 4fr); min-height: 0; margin-bottom: 14px; border: 1px solid var(--line); background: var(--paper-soft); box-shadow: var(--shadow); }
.product:nth-child(even) .product-demo { grid-template-columns: minmax(250px, 4fr) minmax(0, 8fr); }
.product:nth-child(even) .demo-window { order: 2; }
.demo-window { min-width: 0; padding: clamp(14px, 2vw, 24px); background: color-mix(in srgb, var(--tool) 7%, var(--paper-deep)); }
.demo-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 14px 14px 0 0; background: #17141b; }
.demo-window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #ff6b5e; }
.demo-window-bar span:nth-child(2) { background: #ffd166; }
.demo-window-bar span:nth-child(3) { background: #80ffaa; }
.demo-window-bar b { margin-left: auto; color: #bdb2c4; font: 700 8px/1 var(--mono); letter-spacing: .08em; }
.demo-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-top: 0; border-radius: 0 0 14px 14px; background: #0e0c11; isolation: isolate; }
.media-track, .media-slide { position: absolute; inset: 0; }
.media-slide { z-index: 0; visibility: hidden; opacity: 0; }
.media-slide.is-active { z-index: 1; visibility: visible; opacity: 1; }
.media-asset { display: block; width: 100%; height: 100%; max-width: none; background: #0e0c11; object-fit: contain; object-position: center; }
.media-asset[data-fit="cover"] { object-fit: cover; }
.media-asset[data-position="top"] { object-position: top center; }
.gallery-arrow { position: absolute; z-index: 6; top: 50%; display: grid; width: clamp(42px, 4vw, 56px); height: clamp(42px, 4vw, 56px); place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(12,10,14,.78); color: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.28); cursor: pointer; font: 800 clamp(17px, 2vw, 24px)/1 var(--mono); transform: translateY(-50%); backdrop-filter: blur(12px); transition: background-color .2s ease, border-color .2s ease, scale .2s ease; }
.gallery-arrow.is-prev { left: 14px; }
.gallery-arrow.is-next { right: 14px; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { border-color: var(--tool); background: var(--tool); outline: none; scale: 1.06; }
.media-gallery[data-count="1"] .gallery-arrow { display: none; }
.gallery-chrome { position: absolute; z-index: 5; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px; padding: 7px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(12,10,14,.84); color: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.gallery-autoplay { display: grid; min-width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font: 800 14px/1 var(--mono); }
.gallery-autoplay:hover, .gallery-autoplay:focus-visible { background: var(--tool); outline: none; }
.gallery-status { display: flex; gap: 5px; align-items: baseline; padding: 0 4px; font: 700 9px/1 var(--mono); }
.gallery-status b { color: #fff; font-size: 12px; }
.gallery-status span { color: #938b99; }
.gallery-autoplay { width: auto !important; padding: 0 12px !important; border-left: 1px solid rgba(255,255,255,.18) !important; border-radius: 0 999px 999px 0 !important; }
.gallery-autoplay span { margin-right: 7px; font-size: 9px; }
.gallery-autoplay b { font: 700 9px/1 var(--ui); white-space: nowrap; }
.gallery-chrome.is-single .gallery-status, .gallery-dots.is-single { display: none; }
.gallery-chrome.is-single { display: none; }
.gallery-dots { position: absolute; z-index: 5; bottom: 22px; left: 20px; display: flex; gap: 6px; pointer-events: none; }
.gallery-dots i { width: 18px; height: 3px; background: rgba(255,255,255,.28); transition: width .25s ease, background-color .25s ease; }
.gallery-dots i.is-active { width: 36px; background: var(--tool); }
.demo-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 58px); border-left: 1px solid var(--line); }
.product:nth-child(even) .demo-copy { border-right: 1px solid var(--line); border-left: 0; }
.demo-copy .bento-eyebrow { color: var(--tool); }
.demo-copy blockquote { margin: 20px 0 0; font-family: var(--display); font-size: clamp(25px, 2.8vw, 40px); font-weight: 900; letter-spacing: -.035em; line-height: 1.4; }
.demo-copy > p:not(.bento-eyebrow) { margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.demo-copy > span { width: fit-content; margin-top: 28px; padding: 6px 9px; border: 1px dashed var(--tool); color: var(--tool); font: 800 9px/1 var(--mono); letter-spacing: .1em; }

.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 14px; }
.bento-card { position: relative; grid-column: span 4; min-height: 260px; padding: clamp(24px, 3vw, 40px); overflow: hidden; border: 1px solid var(--line); background: color-mix(in srgb, var(--tool) 6%, var(--paper-soft)); will-change: transform, opacity; }
.bento-lg { grid-column: span 8; min-height: 410px; }
.bento-wide { grid-column: span 8; }
.bento-number { position: absolute; top: 18px; right: 18px; color: color-mix(in srgb, var(--tool) 65%, var(--muted)); font: 800 9px/1 var(--mono); }
.bento-eyebrow { margin: 0; color: var(--tool); font: 800 9px/1.35 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.bento-card h3 { max-width: 620px; margin: 28px 0 0; font-family: var(--display); font-size: clamp(25px, 3vw, 43px); font-weight: 900; letter-spacing: -.045em; line-height: 1.18; }
.bento-lg h3 { font-size: clamp(38px, 5vw, 70px); }
.bento-body { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.benefit-stat { display: flex; height: 100%; flex-direction: column; justify-content: center; }
.benefit-stat del { color: var(--muted); font: 800 13px/1 var(--mono); }
.benefit-stat strong { margin-top: 20px; color: var(--tool); font: 900 clamp(70px, 8vw, 118px)/.8 var(--mono); letter-spacing: -.08em; }
.benefit-stat strong small { margin-left: 7px; font-size: .22em; letter-spacing: 0; }
.benefit-stat > span { margin-top: 28px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.5; }
.is-stat .bento-eyebrow, .is-stat > h3 { display: none; }

.product-depth { margin-top: 14px; border: 1px solid var(--line); background: var(--paper-soft); }
.product-depth summary { display: grid; grid-template-columns: 1fr auto auto; gap: 22px; align-items: center; padding: 22px clamp(22px, 3vw, 38px); cursor: pointer; list-style: none; }
.product-depth summary::-webkit-details-marker { display: none; }
.product-depth summary span { color: var(--muted); font-size: 11px; }
.product-depth summary b { font-family: var(--display); font-size: 16px; }
.product-depth summary i { color: var(--tool); font-size: 26px; font-style: normal; }
.depth-content { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(36px, 7vw, 100px); padding: 38px clamp(22px, 5vw, 70px) 58px; border-top: 1px solid var(--line); }
.depth-content h3 { margin: 0 0 20px; color: var(--tool); font-family: var(--display); font-size: 25px; }
.depth-content p, .depth-content li { color: var(--muted); font-size: 12px; line-height: 1.75; }
.depth-content dl { margin: 26px 0 0; }
.depth-content dl div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.depth-content dt { color: var(--muted); font-size: 10px; font-weight: 800; }
.depth-content dd { margin: 0; font-size: 11px; line-height: 1.6; }
.depth-content ol { margin: 0; padding-left: 18px; }
.version-note { margin-top: 28px; font-family: var(--mono); }
.download-panel { grid-column: 1 / -1; margin-top: 18px; padding-top: clamp(34px, 5vw, 66px); border-top: 1px solid var(--line); }
.download-heading { display: grid; grid-template-columns: 1fr minmax(260px, .72fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.download-heading h3 { margin: 12px 0 0; color: var(--ink); font-size: clamp(32px, 4vw, 56px); }
.download-heading > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.download-packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.download-packages:has(.download-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.download-card { position: relative; display: flex; min-height: 310px; flex-direction: column; padding: clamp(24px, 3vw, 38px); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.download-card.is-primary { background: color-mix(in srgb, var(--tool) 8%, var(--paper)); border-color: color-mix(in srgb, var(--tool) 45%, var(--line)); }
.download-card::after { content: "↓"; position: absolute; right: -.02em; bottom: -.28em; color: color-mix(in srgb, var(--tool) 9%, transparent); font: 900 170px/1 var(--mono); pointer-events: none; }
.download-card-head, .download-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 14px; font: 800 9px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.download-card-head span { color: var(--tool); }
.download-card-head b { color: var(--muted); text-align: right; }
.download-card h4 { position: relative; z-index: 1; margin: 28px 0 0; font-family: var(--display); font-size: clamp(25px, 3vw, 40px); line-height: 1.2; }
.download-card > p { position: relative; z-index: 1; max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.download-meta { justify-content: flex-start; margin-top: auto; padding-top: 24px; color: var(--muted); }
.download-button { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 15px 18px; background: var(--tool); color: #fff; font-family: var(--display); font-size: 15px; font-weight: 900; text-decoration: none; }
.download-button:hover, .download-button:focus-visible { filter: brightness(1.08); outline: 2px solid var(--tool); outline-offset: 3px; }
.download-button span { font: 900 18px/1 var(--mono); }
.checksum { position: relative; z-index: 1; margin-top: 14px; }
.checksum summary { width: fit-content; color: var(--muted); cursor: pointer; font: 700 9px/1.4 var(--mono); }
.checksum code { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--muted); font: 600 9px/1.55 var(--mono); user-select: all; }
.install-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.install-guide { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--paper); }
.install-guide h4 { margin: 0; color: var(--tool); font-family: var(--display); font-size: 21px; }
.install-guide ol { margin: 22px 0 0; padding-left: 20px; }
.install-guide li { padding-left: 6px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.install-guide li + li { margin-top: 10px; }
.beta-warning { margin: 12px 0 0 !important; padding: 16px 18px; border: 1px dashed color-mix(in srgb, var(--tool) 60%, var(--line)); color: var(--muted); font-size: 11px !important; line-height: 1.7 !important; }
.beta-warning strong { color: var(--tool); }

.together { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 8vw, 120px); padding: clamp(110px, 15vw, 220px) clamp(22px, 7vw, 115px); background: var(--paper-soft); border-top: 1px solid var(--line); }
.together-copy { position: sticky; top: 110px; align-self: start; }
.together-copy > p:last-child { margin: 30px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.together-cards { display: grid; gap: 12px; }
.principle-card { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 28px; border: 1px solid var(--line); background: var(--paper); will-change: transform, opacity; }
.principle-card > span { display: grid; width: 54px; height: 54px; place-items: center; border: 1px dashed var(--seal); border-radius: 50%; color: var(--seal); font: 800 10px/1 var(--mono); }
.principle-card h3 { margin: 4px 0 8px; font-family: var(--display); font-size: 24px; }
.principle-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.handoff-strip { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 20px; padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.handoff-strip > div { display: flex; align-items: center; gap: 9px; }
.handoff-strip span { --tool: var(--seal); display: grid; width: clamp(36px, 4vw, 54px); height: clamp(36px, 4vw, 54px); place-items: center; border: 1px solid var(--tool); color: var(--tool); font-family: var(--display); font-size: clamp(19px, 2.2vw, 30px); font-weight: 900; }
.handoff-strip i { color: var(--muted); font-style: normal; }
.handoff-strip p { margin: 0; text-align: right; }
.handoff-strip strong, .handoff-strip p > span { display: block; }
.handoff-strip strong { font-family: var(--display); font-size: 17px; }
.handoff-strip p > span { margin-top: 6px; color: var(--muted); font-size: 10px; }

.about { min-height: 100svh; padding: clamp(130px, 18vw, 250px) 22px 90px; overflow: hidden; background: var(--seal); color: #fff; text-align: center; }
.about .eyebrow { color: #fff; opacity: .72; }
.about-lockup { font-size: clamp(110px, 25vw, 360px); font-weight: 950; line-height: .72; letter-spacing: -.115em; }
.about-lockup b { color: var(--night); }
.about h2 { margin: 70px 0 0; font-family: var(--display); font-size: clamp(40px, 6vw, 82px); }
.about > p:not(.eyebrow) { max-width: 780px; margin: 28px auto 0; font-family: var(--display); font-size: clamp(17px, 2vw, 26px); font-weight: 800; line-height: 1.8; }
.about > a { display: inline-block; margin-top: 36px; font-size: 12px; font-weight: 900; text-underline-offset: 6px; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding: 26px clamp(20px, 4vw, 64px); background: var(--night); color: #c8b9c8; font: 700 9px/1.4 var(--mono); letter-spacing: .08em; }
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }
.site-footer strong { margin-right: 8px; color: #fff4e8; font-family: var(--ui); font-size: 17px; letter-spacing: -.04em; }

.motion-fallback .loader { display: none; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-typecase { width: min(720px, 100%); justify-self: center; }
  .product-head { grid-template-columns: auto 1fr; }
  .product-promise { grid-column: 1 / -1; padding-left: calc(clamp(82px, 8vw, 118px) + clamp(25px, 4vw, 64px)); }
  .product-demo, .product:nth-child(even) .product-demo { grid-template-columns: 1fr; }
  .product:nth-child(even) .demo-window { order: 0; }
  .demo-copy, .product:nth-child(even) .demo-copy { border-top: 1px solid var(--line); border-right: 0; border-left: 0; }
  .bento-card { grid-column: span 6; }
  .bento-lg { grid-column: span 8; }
  .bento-wide { grid-column: span 6; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 62px; }
  .site-header { min-height: 62px; padding-inline: 16px; }
  .brand small { display: none; }
  .hero { min-height: auto; padding-top: 110px; }
  .vertical-note { display: none; }
  .hero h1 { font-size: clamp(48px, 14vw, 78px); }
  .typecase-grid { grid-template-columns: repeat(3, 1fr); }
  .type-tile:first-child { grid-column: span 2; }
  .day-pin { display: block; min-height: auto; overflow: visible; border: 0; }
  .day-clock, .day-progress { display: none; }
  .day-track { display: grid; width: auto; padding: 0 18px 90px; gap: 12px; }
  .day-card { display: grid; grid-template-columns: 112px 1fr; width: 100%; min-height: 470px; padding: 55px 24px 42px; border: 1px solid var(--line); }
  .day-card-verb { font-size: 110px; }
  .day-card-brand { right: 18px; bottom: 16px; }
  .product-banner { font-size: 170px; }
  .product-head { margin-top: 20px; }
  .product-promise { padding-left: 0; }
  .product-spotlight { grid-template-columns: auto 1fr; }
  .product-spotlight > strong { grid-column: 2; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.45); border-left: 0; }
  .together { grid-template-columns: 1fr; }
  .together-copy { position: static; }
  .handoff-strip { flex-direction: column; align-items: stretch; }
  .handoff-strip > div { justify-content: center; }
  .handoff-strip p { text-align: center; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer p:last-child { text-align: center; }
}

@media (max-width: 650px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-typecase { padding: 14px; transform: none; }
  .type-tile { min-height: 92px; }
  .type-tile strong { font-size: 48px; }
  .type-tile:first-child strong { font-size: 92px; }
  .friction { padding-bottom: 150px; }
  .day-card { grid-template-columns: 1fr; min-height: 600px; }
  .day-card-verb { align-self: end; font-size: 130px; opacity: .5; }
  .day-card-copy { align-self: start; }
  .product { padding-inline: 16px; }
  .product-head { grid-template-columns: 72px 1fr; gap: 18px; }
  .product-seal { width: 72px; height: 72px; font-size: 43px; border-radius: 15px; }
  .product-title-wrap h2 { font-size: 28px; }
  .product-promise { grid-column: 1 / -1; }
  .product-demo { min-height: 0; }
  .demo-window { padding: 9px; }
  .demo-screen { aspect-ratio: 16 / 10; }
  .demo-copy { padding: 30px 22px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-lg, .bento-wide { grid-column: 1; min-height: 270px; }
  .bento-lg { min-height: 360px; }
  .depth-content { grid-template-columns: 1fr; }
  .product-depth summary { grid-template-columns: 1fr auto; }
  .product-depth summary span { display: none; }
  .download-heading { grid-template-columns: 1fr; }
  .download-packages, .install-guides { grid-template-columns: 1fr; }
  .download-card { min-height: 290px; }
  .product-spotlight { grid-template-columns: 1fr; }
  .spotlight-mark { width: 66px; height: 66px; }
  .product-spotlight > strong { grid-column: 1; }
  .gallery-chrome { right: 8px; bottom: 8px; }
  .gallery-dots { bottom: 15px; left: 12px; }
  .gallery-autoplay b { display: none; }
  .gallery-autoplay { padding-inline: 9px !important; }
  .handoff-strip > div { flex-wrap: wrap; }
  .handoff-strip i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .loader { display: none !important; }
  .hero-typecase, .product-banner, .day-track, .media-slide { transform: none !important; }
}
