/* =========================================================
   RAGDEMO.WIN — Apple-inspired product index
   Vanilla CSS. No external fonts, no tracking, no dependencies.
   ========================================================= */

:root {
  --blue: #0066cc;
  --blue-hover: #0071e3;
  --blue-dark: #2997ff;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --muted-48: #7a7a7a;
  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --tile: #272729;
  --hairline: #e0e0e0;
  --hairline-dark: rgba(255, 255, 255, 0.16);
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro TC", "PingFang TC", "Heiti TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro TC", "PingFang TC", "Heiti TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --nav-height: 44px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(0, 102, 204, 0.18);
}

:focus-visible {
  outline: 2px solid var(--blue-hover);
  outline-offset: 3px;
  border-radius: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 9999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Global navigation ---------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--nav-height);
  background: #000;
  color: #fff;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  width: 100%;
  max-width: 1024px;
  height: var(--nav-height);
  margin: 0 auto;
  padding: 0 22px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-brand:hover {
  color: #fff;
}

.brand-mark {
  width: 15px;
  height: 15px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-meta {
  display: flex;
  align-items: center;
  justify-self: end;
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  transition: color 0.2s ease;
}

.nav-github:hover {
  color: #fff;
}

.nav-github .external-icon {
  opacity: 0.55;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.site-header :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--blue-dark);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
  overflow-y: auto;
}

.mobile-menu::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.mobile-menu[open] {
  animation: menu-in 0.35s var(--ease-out);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  min-height: 100%;
  margin: 0 auto;
  padding: 0 22px 36px;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  flex: none;
}

.mobile-menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.mobile-menu-links a {
  display: block;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu-links a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu-links .label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.mobile-menu-links .desc {
  display: block;
  margin-top: 5px;
  color: #a1a1a6;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
}

.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 48px;
  color: #86868b;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
}

.mobile-menu-foot a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

/* ---------- Shared type ---------- */

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-head {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.section-head h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-sub {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.br-desktop {
  display: initial;
}

.br-mobile {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.95);
}

.btn-icon {
  flex: none;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-text {
  min-height: 44px;
  padding: 11px 2px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--blue);
}

.btn-text:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-ghost {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue);
}

.btn-ghost:hover {
  background: rgba(0, 102, 204, 0.06);
}

.btn-on-dark {
  color: var(--blue-dark);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(104px, 15vh, 170px) 24px clamp(76px, 9vw, 116px);
  background: var(--canvas);
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.hero h1 {
  max-width: 900px;
  margin: 18px auto 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.75rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 18px;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.hero-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 790px;
  margin: 54px auto 0;
  text-align: left;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 42px;
  color: #6e6e73;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.hero-scroll svg {
  animation: chevron-drift 2.2s ease-in-out infinite;
}

@keyframes chevron-drift {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

.app-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 15px 18px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--canvas);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.app-tile:hover {
  border-color: #b7b7bc;
  transform: translateY(-2px);
}

.app-icon {
  display: block;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.17);
}

.app-icon img {
  width: 100%;
  height: 100%;
}

.app-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.app-kicker {
  color: var(--blue);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.app-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.app-desc {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-arrow {
  flex: none;
  margin-left: auto;
  color: #86868b;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}

.app-tile:hover .app-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* ---------- Tools intro ---------- */

.tools {
  padding: clamp(84px, 10vw, 124px) 24px clamp(48px, 6vw, 72px);
  background: var(--tile);
  color: #fff;
}

.tools .eyebrow {
  color: var(--blue-dark);
}

.tools .section-sub {
  color: #a1a1a6;
}

/* ---------- Product tiles ---------- */

.product {
  padding: clamp(80px, 10vw, 132px) 24px;
  scroll-margin-top: 60px;
}

.product-light {
  background: var(--parchment);
}

.product-dark {
  background: var(--tile);
  color: #fff;
}

.product-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  max-width: 1200px;
  margin: 0 auto;
}

.product-copy {
  max-width: 540px;
}

.product-index {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.product-dark .product-index {
  color: var(--blue-dark);
}

.product-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.product-icon {
  display: block;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.product-icon img {
  width: 100%;
  height: 100%;
}

.product h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.product-tagline {
  max-width: 520px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.product-desc {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  text-wrap: pretty;
}

.product-dark .product-desc {
  color: #cccccc;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-bottom: 32px;
}

.spec-grid > div {
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}

.product-dark .spec-grid > div {
  border-color: var(--hairline-dark);
}

.spec-grid dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.spec-grid dd {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0;
}

.product-dark .spec-grid dt {
  color: #fff;
}

.product-dark .spec-grid dd {
  color: #a1a1a6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 14px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}

.stats li {
  min-width: 0;
  padding: 0 14px;
  border-left: 1px solid var(--hairline-dark);
}

.stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.stats span {
  display: block;
  margin-top: 6px;
  color: #a1a1a6;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.stats-note {
  margin-bottom: 30px;
  color: #a1a1a6;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.product-meta {
  margin-top: 16px;
  color: #6e6e73;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.product-dark .product-meta {
  color: #a1a1a6;
}

.product-visual {
  position: relative;
  min-width: 0;
}

.app-window {
  position: relative;
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #fff;
  box-shadow: 3px 5px 30px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.app-window img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.app-window-dark {
  border-color: rgba(255, 255, 255, 0.14);
  background: #000;
  box-shadow: 3px 5px 30px rgba(0, 0, 0, 0.5);
}

.visual-note {
  margin-top: 14px;
  color: #6e6e73;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: right;
}

.product-dark .visual-note {
  color: #a1a1a6;
}

/* ---------- Closing ---------- */

.closing {
  padding: clamp(100px, 14vw, 170px) 24px;
  background: var(--canvas);
  color: var(--ink);
  text-align: center;
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.closing .eyebrow {
  color: var(--blue);
}

.closing h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.closing-sub {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.closing-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.closing :focus-visible {
  outline-color: var(--blue-hover);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 24px 40px;
  background: #000;
  color: #a1a1a6;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.footer-brand .brand-mark {
  color: #fff;
}

.footer-brand > p:last-child {
  max-width: 280px;
  margin-top: 12px;
  color: #a1a1a6;
  line-height: 1.6;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #a1a1a6;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 24px;
  color: #86868b;
}

.site-footer :focus-visible {
  outline-color: var(--blue-dark);
}

/* ---------- 404 ---------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 120px 24px 72px;
  text-align: center;
}

.error-inner {
  max-width: 620px;
}

.error-code {
  margin: 0;
  color: #d2d2d7;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.error-page h1 {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.error-page .error-inner > p:not(.error-code) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ---------- Reveal motion ---------- */

.will-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.will-reveal.delay-1 {
  transition-delay: 0.07s;
}

.will-reveal.delay-2 {
  transition-delay: 0.14s;
}

.will-reveal.delay-3 {
  transition-delay: 0.21s;
}

.will-reveal.delay-4 {
  transition-delay: 0.28s;
}

.will-reveal.delay-5 {
  transition-delay: 0.35s;
}

.will-reveal.delay-6 {
  transition-delay: 0.42s;
}

/* ---------- Responsive ---------- */

@media (max-width: 1068px) {
  .product-inner {
    gap: 48px;
  }
}

@media (max-width: 980px) {
  .product-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .product-copy {
    max-width: 640px;
  }

  .product-visual {
    max-width: 820px;
  }

  .product-tagline,
  .product-desc {
    max-width: 640px;
  }
}

@media (max-width: 833px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-meta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .section-head h2 {
    text-wrap: balance;
  }
}

@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 44px;
  }

  .hero {
    padding: 96px 20px 72px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 12vw, 4rem);
    letter-spacing: -0.045em;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.55;
  }

  .br-desktop {
    display: none;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-apps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 40px;
  }

  .hero-scroll {
    margin-top: 32px;
  }

  .app-tile {
    min-height: 80px;
    padding: 13px 15px;
  }

  .app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .tools {
    padding: 76px 20px 40px;
  }

  .section-head {
    padding: 0;
  }

  .section-head h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .section-sub {
    font-size: 17px;
  }

  .br-mobile {
    display: initial;
  }

  .product {
    padding: 72px 20px;
  }

  .product h2 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .product-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .product-tagline {
    font-size: 21px;
  }

  .product-desc {
    font-size: 16px;
  }

  .spec-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .stats li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stats li:nth-child(even) {
    padding-left: 18px;
  }

  .product-actions {
    gap: 12px 18px;
  }

  .app-window {
    border-radius: 14px;
  }

  .visual-note {
    font-size: 10px;
  }

  .closing {
    padding: 96px 20px;
  }

  .closing h2 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .closing-sub {
    font-size: 17px;
  }

  .site-footer {
    padding: 52px 20px 32px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }

  .mobile-menu-inner {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.2rem);
  }

  .nav-inner {
    padding: 0 18px;
  }

  .mobile-menu-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (hover: hover) {
  .product-visual:hover .app-window {
    transform: translateY(-3px);
  }

  .app-window {
    transition: transform 0.7s var(--ease-out);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }
}
