/* ===== Design tokens =====
   Modelled on shadow.tech/us (chosen by the user on 2026-10-05); colours, radii and button details are measured from it.
   Layered navy bands (deep, navy-dark, navy), lighter navy cards, white type, a blue pill button with a white rim light
   and a cyan glow in its lower right, glossy icons, real photos of the machines.
   Lime is kept from the brand for whatever is switched on: the LED, check marks, the 主打 badge, the sent chat bubble. */
@font-face {
  font-family: "Geek Sans";
  src: url("../fonts/SourceHanSansCN-Medium-sub.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geek Sans";
  src: url("../fonts/SourceHanSansCN-Bold-sub.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --deep: #101322;
  --navy-dark: #1D233E;
  --navy: #2B335B;
  --card: #3E4A7A;
  --line: #4A5577;
  --text: #FFFFFF;
  --text-2: #C9D2E6;
  --text-3: #B4BEC8;
  --text-4: #D1D5DB;
  --lav: #9BA9E6;
  --blue: #3653CC;
  --glow: rgba(45, 175, 255, .8);
  --lime: #C8F53C;
  --on-lime: #15180B;
  --gutter: 16px;
  --wrap: 1120px;
  --cards: 840px;
  --bar-h: 58px;
  --head: "Geek Sans", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body { margin: 0; background: var(--deep); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.page { min-height: 100dvh; overflow-x: clip; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 4px; }

.led { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px rgba(200, 245, 60, .2), 0 0 8px rgba(200, 245, 60, .9); }

/* ===== Type ===== */
.eyebrow { font-size: 13px; line-height: 1.5; letter-spacing: .08em; color: var(--lav); }
.h1 { margin-top: 10px; font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.3; letter-spacing: .01em; }
.h2 { font-family: var(--head); font-weight: 500; font-size: 28px; line-height: 1.35; letter-spacing: .01em; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
.h2--sm { font-size: 24px; }
.sub { margin-top: 12px; max-width: 34em; color: var(--text-3); }
.lead { margin-top: 14px; max-width: 30em; color: var(--text-2); text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }

/* ===== Buttons: blue pill, rim light along two edges, cyan glow in the lower right ===== */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: radial-gradient(121px 55px at 84% 100%, var(--glow) 0%, rgba(45, 175, 255, 0) 100%), var(--blue);
  color: #fff; font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: box-shadow .35s ease, transform .2s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 1.4px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(23deg, rgba(255, 255, 255, .01) 73%, rgba(255, 255, 255, .5) 86%), linear-gradient(213deg, rgba(255, 255, 255, .01) 79%, rgba(255, 255, 255, .5) 93%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn:hover { box-shadow: 0 8px 26px rgba(45, 140, 255, .4); }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn--lg { height: 54px; font-size: 17px; }
.btn--sm { height: 36px; padding: 0 18px; font-size: 14.5px; }
.btn--xs { height: 36px; padding: 0 16px; font-size: 14.5px; }
.btn--glow { box-shadow: 0 10px 30px rgba(45, 140, 255, .28); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn--ghost::before { content: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
/* Shadow's row buttons: label on the left, arrow on the right */
.btn--row { justify-content: space-between; width: 100%; height: 48px; padding: 0 22px 0 26px; }
.btn--soft { background: var(--card); }
.btn--soft::before { content: none; }
.btn--block-sm { width: 100%; }
.link { font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.link:hover { text-decoration-color: #fff; }

/* ===== Header: one sticky bar; the logo carries 日本实机租赁 under the name ===== */
.hd { position: sticky; top: 0; z-index: 30; background: var(--navy-dark); box-shadow: 0 1px 0 rgba(0, 0, 0, .45); }
.hd__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1; letter-spacing: .04em; }
.brand__text { display: grid; gap: 4px; }
.hd .brand__name { font-size: 18px; }
.brand__tag { font-size: 11px; line-height: 1; letter-spacing: .06em; color: var(--lav); }
.hd__wx { display: none; font-size: 14px; font-weight: 600; color: var(--text-3); }
.hd__wx:hover { color: #fff; }
.hd__nav { display: none; }
.hd__actions { display: flex; align-items: center; gap: 10px; }
.hd__more { display: none; }
.hd__menu { display: grid; align-content: center; gap: 6px; width: 40px; height: 40px; margin-right: -6px; padding: 0 5px; border: 0; background: none; cursor: pointer; }
.hd__menu i { display: block; height: 2px; border-radius: 1px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.hd__menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hd__menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.hd__menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; padding: 6px var(--gutter) 18px; background: var(--navy-dark); box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
.menu[hidden] { display: none; }
.menu a { display: block; padding: 14px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; font-weight: 500; }
.menu a:last-child { border-bottom: 0; color: var(--lav); }

/* ===== Hero: Mt Fuji at blue hour fading into the page, the two machines as photo cards in front of it ===== */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 56px; }
.hero__bg {
  position: absolute; z-index: -1; left: calc(50% + 24vw); top: -38vw; width: 180vw; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: radial-gradient(52% 48% at 50% 44%, #000 55%, transparent 100%);
  mask-image: radial-gradient(52% 48% at 50% 44%, #000 55%, transparent 100%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero__text { position: relative; margin-top: 20px; }
.cta { display: grid; justify-items: center; gap: 16px; margin-top: 24px; }
.cta .btn { width: 100%; }
/* You (white dot) and the machine in Japan (lime LED) joined by a dotted line, like the logo, then the latency */
.ping { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.ping__you { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.ping__link { flex: none; width: 30px; height: 2px; margin: 0 2px; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--lav) 0 3px, transparent 3px 7px); }
.ping__ms { margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ping__note { font-size: 11.5px; color: var(--text-3); opacity: .8; }

/* The machines as photo cards, staggered and slightly turned. They keep the light they were shot in:
   cut out and placed in the landscape they read as a collage. */
.hero__cards { position: relative; height: 70vw; margin-top: 12vw; }
.pcard { position: absolute; margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px rgba(4, 6, 16, .6), 0 0 0 1px rgba(255, 255, 255, .25); }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcard figcaption { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(16, 19, 34, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; line-height: 1.4; }
.pcard--mac { left: 2%; top: 0; width: 64%; transform: rotate(-5deg); }
.pcard--win { right: 0; top: 26%; width: 56%; transform: rotate(4deg); }

/* ===== Bands ===== */
.sec { position: relative; padding: 56px 0; }
.sec--navy { background: var(--navy); }
.sec--dark { background: var(--navy-dark); }
.sec--deep { background: var(--deep); }
.sec--flush { padding-top: 0; }
/* The planet-rim glow Shadow puts behind its plan cards and FAQ: the top edge of a huge dark disc, lit blue */
.sec--glow { isolation: isolate; overflow: hidden; }
.sec--glow::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 300px; width: 1200px; height: 1200px; margin-left: -600px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--deep) 90%, #1A2145 98.6%, #3D5BFF 100%);
  box-shadow: 0 -6px 30px rgba(61, 91, 255, .55), 0 -30px 90px rgba(61, 91, 255, .32);
}

/* ===== Four points: glossy icons, centred ===== */
.sec--feats { padding: 44px 0 52px; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
.feats li { text-align: center; }
.gico { display: block; width: 60px; height: 60px; margin: 0 auto; filter: drop-shadow(0 8px 18px rgba(70, 96, 220, .45)); }
.feats h3 { margin-top: 10px; font-family: var(--head); font-weight: 500; font-size: 17px; line-height: 1.4; }
.feats p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--text-3); text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }

/* ===== Machines: plan-style cards, one above the other on phones (scrolled down, not sideways), side by side from 640px ===== */
.cards { display: grid; gap: 16px; margin-top: 28px; padding: 0 var(--gutter); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: var(--navy); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.card--lead { background: var(--card); }
.card__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 24px; }
.card__name { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 500; font-size: 22px; line-height: 1.3; }
.badge { padding: 2px 10px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-family: var(--font); font-size: 12px; font-weight: 700; line-height: 1.5; }
.spec { margin-top: 4px; font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.checks { margin: 10px 0 18px; }
.checks li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; color: var(--text-4); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23C8F53C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.checks b { display: block; color: var(--text); font-size: 15.5px; font-weight: 600; }
.card__buy { margin-top: auto; }
.price { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--text-3); }
.price b { margin: 0 3px 0 4px; font-family: var(--head); font-weight: 700; font-size: 32px; line-height: 1; color: var(--text); }
.price span { white-space: nowrap; }
.price__alt { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.price__alt b { margin: 0 2px 0 3px; font-size: 17px; font-weight: 600; color: var(--text); }
.card__btn { align-self: center; margin-top: 22px; }
/* Side by side, and where subgrid works, the cards share their rows (photo, name, spec, list, price, button), so prices
   and buttons line up even when one card says more; elsewhere the flex column above pushes the price block down instead */
@media (min-width: 640px) {
  @supports (grid-template-rows: subgrid) {
    .cards { grid-template-rows: repeat(6, auto); row-gap: 0; }
    .card { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; }
    .card__body { grid-row: 2 / -1; display: grid; grid-template-rows: subgrid; align-content: start; }
    .card__buy { margin-top: 0; }
    .card__btn { justify-self: center; align-self: start; }
  }
}

/* ===== Feature card: the two apps, their download links and the desktop animation ===== */
.fcard { overflow: hidden; border-radius: 12px; background: var(--navy); }
.fcard__text { padding: 32px 24px 28px; }
.stack { display: grid; gap: 10px; margin-top: 26px; }
/* The download links of the two apps open under their button */
.dl summary { list-style: none; }
.dl summary::-webkit-details-marker { display: none; }
.dl__chev { transition: transform .25s ease; }
.dl[open] .dl__chev { transform: rotate(180deg); }
.dl__list { display: grid; gap: 8px; margin-top: 10px; }
.dl__list a { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 14px; background: rgba(16, 19, 34, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 15px; font-weight: 600; }
.dl__list a:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.dl__list span { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--text-3); }
/* The animation of using the Mac in Japan, with its latency readout (assets/img/desktop.webp, 3:2) */
.demo { margin: 0 16px 16px; overflow: hidden; border-radius: 10px; aspect-ratio: 3 / 2; background: var(--navy-dark); }
.demo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Two-column bands: text and an illustration ===== */
.split { display: grid; gap: 36px; }
.split .h2 + * { margin-top: 18px; }
.dash li { position: relative; padding-left: 24px; color: var(--text-3); }
.dash li + li { margin-top: 12px; }
.dash li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 2px; border-radius: 1px; background: var(--lav); }
.frame { display: grid; place-items: center; padding: 24px 16px; border-radius: 12px; background: radial-gradient(80% 70% at 50% 0%, rgba(110, 134, 242, .32), rgba(110, 134, 242, 0) 70%), var(--deep); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* The animation of connecting with a device code and password (assets/img/connect.webp, 3:2) */
.frame--anim { display: block; padding: 0; overflow: hidden; }
.frame--anim img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }


/* ===== How to start: three steps on a dotted timeline (the dots echo the logo's arc), the message to send under step 1 ===== */
.start { display: grid; grid-template-areas: "title" "steps" "cta"; }
.start .h2 { grid-area: title; }
.steps { grid-area: steps; margin-top: 26px; }
.step { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 48px; bottom: 8px; border-left: 2px dotted rgba(155, 169, 230, .6); }
.step__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(40px 22px at 80% 100%, var(--glow), rgba(45, 175, 255, 0)), var(--blue); box-shadow: 0 0 0 5px rgba(54, 83, 204, .22); font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1; color: #fff; }
/* the last step is where the machine is switched on for you: lime, like the LED */
.step:last-child .step__n { background: var(--lime); color: var(--on-lime); box-shadow: 0 0 0 5px rgba(200, 245, 60, .16), 0 0 16px rgba(200, 245, 60, .45); }
.step__title { padding-top: 6px; font-family: var(--head); font-weight: 500; font-size: 18px; line-height: 1.5; }
.step .chat { margin-top: 14px; }
.start__cta { grid-area: cta; margin-top: 32px; }
/* The message to send, drawn as a WeChat-style chat (the example is literally what the customer sends) */
.chat { width: min(100%, 320px); overflow: hidden; border-radius: 14px; background: #EDEFF5; color: #1B1F2E; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.chat__head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #DDE1EA; font-size: 15px; }
.chat__head b { font-weight: 600; }
.chat__body { display: grid; gap: 10px; padding: 16px 14px 18px; }
.chat__hint { justify-self: center; padding: 2px 10px; border-radius: 6px; background: #DCE0EA; font-size: 12px; color: #5B6275; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__chips span { padding: 3px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #D5DAE6; font-size: 13px; }
.chat__bubble { justify-self: end; max-width: 88%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--lime); color: var(--on-lime); font-size: 14.5px; line-height: 1.6; }

/* Other models: a row under the machine cards */
.more { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 12px 12px 12px 18px; border-radius: 12px; background: var(--navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.more__text { font-family: var(--head); font-weight: 500; font-size: 16px; line-height: 1.4; }

/* ===== Rental notes: Shadow's FAQ card ===== */
.faq { margin-top: 28px; padding: 6px 18px; border-radius: 12px; background: var(--navy); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 6px; font-size: 16px; font-weight: 500; line-height: 1.5; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; transition: transform .25s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 5l4.5 4.5L11.5 5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 6px 20px; margin-top: -6px; color: var(--text-3); }

/* ===== Contact ===== */
.end {
  display: grid; justify-items: center; padding: 40px 22px 30px; border-radius: 16px; text-align: center;
  background: radial-gradient(90% 60% at 50% 0%, rgba(95, 118, 214, .5), rgba(95, 118, 214, 0) 70%), var(--navy);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.end img { width: 56px; height: 56px; }
.end__brand { margin-top: 14px; font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: .06em; }
.end__line { margin-top: 4px; color: var(--text-2); }
.end__btn { width: 100%; max-width: 380px; margin-top: 24px; }
.end__wx { margin-top: 16px; color: var(--text-3); font-size: 14px; }
.end__wx b { color: var(--text); letter-spacing: .03em; }
.copy--mini { margin-left: 6px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: transparent; color: var(--text); font-size: 12.5px; cursor: pointer; }
.copy--mini[data-state="done"] { border-color: var(--lime); background: var(--lime); color: var(--on-lime); }

/* ===== Footer ===== */
.ft { padding: 44px 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--navy); }
.ft__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 24px 12px; margin-top: 28px; }
.ft__head { margin-bottom: 6px; font-family: var(--head); font-weight: 500; font-size: 17px; color: var(--lav); }
.ft__cols a { display: block; padding: 6px 0; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.ft__cols a:hover { color: #fff; }
.ft__copy { position: relative; margin-top: 36px; padding-top: 22px; text-align: center; font-size: 12px; color: var(--lav); }
.ft__copy::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(110, 134, 242, 0), rgba(110, 134, 242, .9) 50%, rgba(110, 134, 242, 0)); }

/* ===== Wider phones and tablets ===== */
@media (min-width: 640px) {
  .cta { grid-auto-flow: column; justify-content: start; align-items: center; gap: 28px; }
  .cta .btn { width: auto; padding-inline: 34px; }
  .ping { justify-content: flex-start; }
  .hero__text { max-width: 560px; }
  .hero__cards { width: 100%; max-width: 600px; height: 420px; margin: 36px auto 0; }
  .feats { gap: 48px 32px; }
  .gico { width: 76px; height: 76px; }
  .feats h3 { margin-top: 14px; font-size: 20px; }
  .feats p { margin-top: 10px; font-size: 16px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; max-width: calc(var(--cards) + 2 * var(--gutter)); margin-inline: auto; }
  .more { max-width: var(--cards); margin-inline: auto; }
  .btn--block-sm { width: auto; padding-inline: 34px; }
  .stack { grid-template-columns: repeat(2, max-content); }
  .btn--row { width: auto; min-width: 220px; gap: 28px; }
}

/* ===== Wide screens ===== */
@media (min-width: 960px) {
  :root { --gutter: 32px; --bar-h: 64px; }
  .h1 { font-size: 48px; line-height: 1.25; }
  .h2 { font-size: 40px; line-height: 1.3; }
  .h2--sm { font-size: 32px; }
  .h2--center-lg { text-align: center; }
  .sec { padding: 104px 0; }
  .sec--flush { padding-top: 0; }

  .hd .brand__name { font-size: 20px; }
  .brand__tag { font-size: 12px; }
  .hd__wx { display: inline; margin-right: 6px; }
  .hd__nav { display: flex; gap: 28px; margin-left: 48px; margin-right: auto; }
  .hd__nav a { font-size: 15px; font-weight: 500; color: var(--text-3); }
  .hd__nav a:hover { color: #fff; }
  .hd__more { display: inline-flex; }
  .hd__menu, .menu { display: none; }

  .hero { padding: 0 0 112px; }
  .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px; }
  .hero__text { order: -1; margin-top: 0; padding-top: 104px; }
  .hero__bg { left: auto; right: -9vw; top: -15vw; width: 78vw; transform: none; -webkit-mask-image: radial-gradient(48% 54% at 54% 42%, #000 45%, transparent 100%); mask-image: radial-gradient(48% 54% at 54% 42%, #000 45%, transparent 100%); }
  .hero__cards { max-width: none; height: 430px; margin: 110px 0 0; }
  .pcard--mac { width: 58%; }
  .pcard--win { top: 30%; width: 50%; }
  .pcard figcaption { left: 12px; bottom: 12px; font-size: 14px; }
  .lead { font-size: 17px; }

  .sec--feats { padding: 72px 0 88px; }
  .feats { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1240px; gap: 32px 16px; }
  .feats p { font-size: 15px; }


  .cards { column-gap: 24px; }
  .card__body { padding: 24px 26px 28px; }
  .sec--glow::before { top: 380px; width: 2400px; height: 2400px; margin-left: -1200px; }

  .fcard { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 32px; padding: 40px; }
  .fcard__text { padding: 0 0 0 8px; }
  .demo { margin: 0; }
  .stack { grid-template-columns: repeat(2, max-content); }

  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
  /* title and button sit beside the timeline, centred on it */
  .start { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr 1fr; grid-template-areas: "title steps" "cta steps"; column-gap: 72px; }
  .start .h2 { align-self: end; }
  .steps { margin-top: 0; align-self: center; }
  .start__cta { align-self: start; justify-self: start; margin-top: 24px; }

  .more { margin-top: 32px; padding: 16px 18px 16px 28px; }
  .more__text { font-size: 18px; }

  .faq { max-width: 840px; margin: 36px auto 0; padding: 8px 28px; }
  .faq summary { padding: 22px 6px; }

  .end { max-width: 640px; margin-inline: auto; padding: 56px 40px 40px; }

  .ft__top { float: left; width: 30%; }
  .ft__cols { grid-template-columns: repeat(3, 1fr); margin-top: 0; margin-left: 30%; }
  .ft__copy { clear: both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .hd__menu i, .faq summary::after, .dl__chev { transition: none; }
}
