:root {
  color-scheme: light;
  --black: #1d1d1f;
  --white: #ffffff;
  --ink: #1d1d1f;
  --body: #424245;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --border: #d2d2d7;
  --paper: #f5f5f7;
  --soft: #fbfbfd;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-light: #e8f2ff;
  --blue-dark: #004c99;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05),
    0 1px 3px rgba(15, 23, 42, 0.1);
  --shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--white);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  display: block;
  max-width: 100%;
}

p,
h1,
ol {
  margin: 0;
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: -100px;
  left: 16px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: top 200ms ease-out;
}

.skip-link:focus {
  top: 16px;
}

.shortcut-main {
  min-height: calc(100svh - 153px);
  padding: 72px 32px 88px;
  background: var(--white);
}

.product-hero {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
  grid-column: 1 / span 7;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.eyebrow-icon {
  width: 24px;
  height: 24px;
  flex: none;
  object-fit: contain;
}

.hero-copy h1 {
  max-width: 820px;
  margin-top: 24px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.04;
}

.hero-copy h1 span {
  color: var(--muted);
}

.hero-lead {
  max-width: 620px;
  margin-top: 28px;
  color: var(--body);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 34px;
}

.download-button {
  display: flex;
  width: min(100%, 520px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-lg);
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background-color 200ms ease-out,
    border-color 200ms ease-out;
}

.download-button:hover {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
}

.download-button:active {
  box-shadow: var(--shadow-sm);
  transform: scale(0.98);
}

.download-button.is-disabled {
  border-color: var(--line);
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.download-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.download-copy > span {
  font-size: 18px;
  line-height: 1.3;
}

.download-copy small {
  margin-top: 4px;
  color: #e6f1ff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.download-button.is-disabled .download-copy small {
  color: var(--muted);
}

.download-status {
  min-height: 24px;
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-scope-note {
  max-width: 620px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.quick-start {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 48px;
  padding: 0;
  list-style: none;
}

.quick-start li {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background-color 200ms ease-out,
    border-color 200ms ease-out;
}

.quick-start li:hover {
  border-color: var(--border);
  background: var(--soft);
}

.quick-start span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.quick-start strong {
  display: block;
  color: var(--body);
  font-size: 13px;
  line-height: 1.45;
}

.workflow-preview {
  min-width: 0;
  grid-column: 9 / span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.workflow-preview-head {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.workflow-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.workflow-app-icon {
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: contain;
}

.workflow-preview-head p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.workflow-preview-head strong {
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  min-height: 116px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 200ms ease-out;
}

.workflow-list li:last-child {
  border-bottom: 0;
}

.workflow-list li:hover {
  background: var(--blue-light);
}

.workflow-list li > span:first-child {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.workflow-list strong {
  display: block;
  font-size: 16px;
  line-height: 1.4;
}

.workflow-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.shortcut-scope {
  padding: 72px 32px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}

.shortcut-quick-guide {
  margin-bottom: clamp(16px, 3vw, 36px);
}

.shortcut-scope-inner {
  display: grid;
  width: min(100%, 1280px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
  margin: 0 auto;
}

.shortcut-scope-copy h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.shortcut-scope-detail {
  max-width: 650px;
}

.shortcut-scope-detail p {
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}

.shortcut-scope-detail a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  transition: color 200ms ease-out;
}

.shortcut-scope-detail a:hover {
  color: var(--blue-dark);
}

@media (max-width: 1024px) {

  .shortcut-main {
    padding: 64px 24px 76px;
  }

  .shortcut-scope {
    padding: 64px 24px;
  }

  .shortcut-scope-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .shortcut-scope-copy h2 {
    font-size: 38px;
  }

  .hero-shell {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
  }

  .hero-copy {
    grid-column: 1 / span 8;
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: 56px;
  }

  .workflow-preview {
    grid-column: 1 / span 8;
    margin-top: 28px;
  }

  .workflow-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-list li {
    grid-template-columns: 28px minmax(0, 1fr);
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .workflow-list li:last-child {
    border-right: 0;
  }

}

@media (max-width: 720px) {

  .shortcut-main {
    align-items: flex-start;
    padding: 52px 16px calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .product-hero {
    padding-bottom: 64px;
  }

  .shortcut-scope {
    padding: 56px 16px calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .shortcut-scope-copy h2 {
    font-size: 34px;
  }

  .shortcut-scope-detail p {
    font-size: 16px;
  }

  .hero-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-copy,
  .workflow-preview {
    grid-column: 1 / span 4;
  }

  .hero-copy h1 {
    margin-top: 18px;
    font-size: 44px;
    line-height: 1.06;
  }

  .eyebrow-icon {
    width: 22px;
    height: 22px;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .download-button {
    min-height: 72px;
    padding: 14px;
  }

  .download-copy > span {
    font-size: 16px;
  }

  .quick-start {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 30px 0;
  }

  .quick-start li {
    display: grid;
    min-height: 56px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
  }

  .quick-start span {
    margin-bottom: 0;
  }

  .workflow-preview {
    margin-top: 32px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    min-height: 104px;
    grid-template-columns: 32px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-list li:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 420px) {

  .hero-copy h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
