:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --line: rgba(0, 0, 0, 0.06);
  --ink: #1d1d1f;
  --muted: #86868b;
  --blue: #0071e3;
  --green: #34c759;
  --pink: #ff2d55;
  --orange: #ff9500;
  --purple: #af52de;
  --red: #ff3b30;
  --yellow: #ffcc00;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 36px rgba(0, 0, 0, 0.10);
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1120px;
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

body {
  min-width: 320px;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 700;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-indicator {
  position: absolute;
  top: 8px;
  left: 0;
  height: 32px;
  border-bottom: 3px solid var(--blue);
  transition: transform 220ms ease, width 220ms ease;
  pointer-events: none;
}

.nav-link {
  position: relative;
  z-index: 1;
  height: 48px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.mega-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: -42px;
  width: 760px;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.mega-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.mega-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mega-features {
  display: flex;
  gap: 8px;
  padding: 14px 16px 0;
  flex-wrap: wrap;
}

.mega-features span {
  font-size: 12px;
  color: var(--muted);
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: 980px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.page-shell {
  min-height: calc(100vh - 73px);
}

.page-panel {
  display: none;
  padding: 48px 0 80px;
}

.page-panel.active {
  display: block;
}

.section-tag {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-tag.inverse {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 32px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 21px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 16px;
  font-weight: 600;
}

p {
  line-height: 1.6;
}

.page-intro,
.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}

.page-intro p,
.section-head p {
  color: var(--muted);
  max-width: 680px;
  font-size: 17px;
  line-height: 1.5;
}

.page-intro.centered {
  text-align: center;
  justify-items: center;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 16px;
  margin-bottom: 20px;
}

.hero-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #fafdf5 0%, #f2f7e9 52%, #e8f0e4 100%);
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  padding: 46px 40px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.hero-lead {
  max-width: 300px;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.hero-points span {
  position: relative;
  padding-left: 14px;
}

.hero-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  transform: translateY(-50%);
}

.hero-visual {
  padding: 28px;
  display: grid;
  align-items: end;
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 40px rgba(74, 99, 138, 0.14);
}

.hero-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(272px, 1fr);
  gap: 16px;
}

.story-tile {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 36px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.story-tile:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.tile-icon {
  margin-bottom: 4px;
}

.story-tile span {
  color: var(--muted);
  font-size: 14px;
}

.story-tile strong {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.story-tile.wide {
  grid-column: span 2;
  min-height: 180px;
}

.product-matrix {
  padding-top: 10px;
}

.home-product-grid,
.icon-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.product-card {
  min-height: 168px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background var(--transition);
}

.product-card:hover {
  background: var(--surface-soft);
}

.home-product-grid .product-card:nth-child(4n),
.icon-shelf .product-card:nth-child(4n) {
  border-right: 0;
}

.product-card .product-title {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
}

.product-card .product-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.icon-shelf.compact .product-card {
  min-height: 132px;
  padding: 22px 18px;
}

.product-story {
  margin-top: 26px;
}

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

.workflow-step {
  padding: 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.workflow-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.workflow-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #edf2ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.workflow-step h3 {
  margin-top: 18px;
}

.workflow-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

.shot-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.shot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.shot-copy {
  padding: 18px;
}

.shot-copy p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.platform-band {
  margin: 48px 0;
  padding: 80px 0;
  background: linear-gradient(135deg, #000428 0%, #004e92 100%);
}

.platform-band-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 0.95fr);
  align-items: end;
  gap: 28px;
}

.platform-copy {
  color: white;
}

.platform-copy p:last-child {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.platform-window {
  justify-self: end;
  width: min(100%, 620px);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 24px 40px rgba(25, 42, 71, 0.18);
}

.window-top {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #f5f7fb;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d5dae4;
}

.window-body {
  padding: 18px 22px 26px;
}

.mini-button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.mini-stage {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 220px;
}

.mini-stage img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
}

.mini-stage p {
  width: min(340px, 100%);
  text-align: center;
  color: var(--ink);
  font-size: 14px;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.trust-copy p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 480px;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  min-height: 84px;
  color: #c8d0de;
  font-size: 22px;
  font-weight: 700;
}

.catalog-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 300px;
  gap: 20px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.catalog-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.catalog-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.catalog-text span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.catalog-aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  display: grid;
  align-content: start;
  gap: 16px;
}

.catalog-aside p {
  color: var(--muted);
}

.catalog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.download-strip.single-product {
  grid-template-columns: 1fr;
}

.download-tab {
  min-height: 146px;
  padding: 22px 16px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  cursor: pointer;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
}

.download-strip.single-product .download-tab {
  grid-template-columns: 72px minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  min-height: 116px;
  padding: 24px;
}

.download-strip.single-product .download-tab span {
  text-align: left;
}

.download-tab:last-child {
  border-right: 0;
}

.download-tab span {
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.download-tab.active {
  box-shadow: inset 0 -3px 0 var(--blue);
}

.download-tables {
  margin-top: 24px;
  display: grid;
  gap: 30px;
}

.download-notes {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.note-card {
  min-height: 112px;
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.note-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.download-section h3 {
  margin-bottom: 18px;
}

.download-table {
  border-top: 1px solid var(--line);
}

.version-history {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.version-history-list {
  margin-top: 24px;
}

.version-history-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 16px;
}

.version-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.version-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}

.version-date {
  font-size: 14px;
  color: var(--muted);
}

.version-changelog {
  margin: 0 0 16px;
  line-height: 1.5;
  color: var(--ink);
}

.version-downloads {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.version-download-link {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  transition: all 180ms ease;
}

.version-download-link:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.version-download-link[href="#"] {
  opacity: 0.6;
  cursor: not-allowed;
  text-decoration: none;
}

.download-row,
.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 140px 140px 120px 120px;
  align-items: center;
  gap: 16px;
}

.download-row {
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.table-head {
  color: var(--muted);
  font-size: 12px;
  min-height: 42px;
}

.download-os {
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-stage {
  padding: 30px 0 48px;
  background:
    linear-gradient(140deg, transparent 0 30%, #dcecb2 30% 48%, transparent 48% 56%, #f2c96e 56% 72%, transparent 72% 100%),
    linear-gradient(40deg, transparent 0 54%, #f18c62 54% 74%, transparent 74% 100%),
    #f4f5f8;
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.help-card {
  min-height: 164px;
  padding: 28px 24px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.help-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.help-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 16px;
}

.help-card span {
  color: var(--muted);
  font-size: 14px;
}

.help-card.active {
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.help-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  padding-top: 26px;
}

.help-sidebar {
  display: grid;
  gap: 6px;
  align-content: start;
}

.help-category {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.help-category.active {
  border-left-color: var(--blue);
  color: var(--ink);
}

.help-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
}

.help-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}

.help-topic {
  min-height: 86px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-topic span {
  color: var(--ink);
  font-size: 15px;
}

.help-content-detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  line-height: 1.6;
  grid-column: 1 / -1;
}

.help-content-detail h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.help-content-body h3 {
  margin: 24px 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}

.help-content-body h4 {
  margin: 16px 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.help-content-body p {
  margin: 8px 0;
  color: var(--ink);
}

.help-content-body ol, .help-content-body ul {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--ink);
}

.help-content-body li {
  margin: 6px 0;
}

.faq-item, .troubleshoot-item {
  margin: 20px 0;
  padding: 16px;
  background: var(--surface-soft);
  border-radius: 6px;
  border-left: 4px solid var(--blue);
}

.faq-item h4, .troubleshoot-item h4 {
  margin: 0 0 8px 0;
  color: var(--blue);
  font-weight: 600;
}

.faq-item p, .troubleshoot-item p {
  margin: 8px 0;
}

.help-content-body strong {
  color: var(--blue);
  font-weight: 600;
}

.feedback-form {
  margin: 24px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 180ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 114, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.newsletter-message {
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.pricing-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: var(--surface);
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.save-badge {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 4px 10px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 980px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.price {
  margin-top: 16px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-card ul,
.side-list,
.footer-grid ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.pricing-card li,
.side-list li,
.footer-grid li {
  margin-bottom: 10px;
}

.compare-table {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.compare-head,
.compare-row {
  min-height: 56px;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
}

.compare-head {
  color: var(--muted);
  font-size: 12px;
}

.compare-row {
  border-top: 1px solid var(--line);
}

.account-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.account-side {
  padding: 32px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
  gap: 16px;
}

.account-main {
  display: grid;
}

.account-panel {
  padding: 32px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-top,
.panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-actions {
  margin-top: 18px;
}

label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.device-list {
  margin-top: 18px;
}

.device {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.status-line {
  margin-top: 14px;
  color: var(--muted);
}

.hidden {
  display: none;
}

.btn,
.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 980px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

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

.btn.primary:hover {
  background: #0077ed;
}

.btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn.block {
  width: 100%;
}

.footer-link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  justify-content: flex-start;
  color: #a1a1a6;
  border-radius: 0;
}

.footer-link:hover {
  color: #f5f5f7;
  border-color: transparent;
}

.product-badge {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.product-badge.small {
  width: 46px;
  height: 46px;
  font-size: 13px;
}

.product-badge.green {
  background: var(--green);
}

.product-badge.pink {
  background: var(--pink);
}

.product-badge.orange {
  background: var(--orange);
}

.product-badge.blue {
  background: #4f7cf0;
}

.product-badge.purple {
  background: var(--purple);
}

.product-badge.red {
  background: var(--red);
}

.product-badge.teal {
  background: #3db3a2;
}

.product-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
  object-fit: cover;
}

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

.new-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8e36d;
  color: #5a4a0f;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  background: #1d1d1f;
  color: #d2d2d7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}

.footer-grid h4 {
  margin-bottom: 16px;
  color: #f5f5f7;
}

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

.footer-grid li {
  margin-bottom: 10px;
  color: #a1a1a6;
  font-size: 13px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 980px;
}

.newsletter input {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f5f5f7;
  padding: 10px 16px;
  font-size: 13px;
}

.newsletter input::placeholder {
  color: #6e6e73;
}

.newsletter .btn {
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: var(--blue);
  color: white;
  font-size: 13px;
}

.footer-bottom {
  min-height: 66px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6e6e73;
  font-size: 12px;
}

@media (max-width: 1280px) {
  .hero-feature {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    align-items: start;
  }

  .home-product-grid,
  .icon-shelf,
  .download-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-product-grid .product-card:nth-child(4n),
  .icon-shelf .product-card:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .home-product-grid .product-card:nth-child(3n),
  .icon-shelf .product-card:nth-child(3n),
  .download-tab:nth-child(3n) {
    border-right: 0;
  }

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

@media (max-width: 1080px) {
  .container {
    width: calc(100vw - 28px);
  }

  .header-inner {
    min-height: auto;
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-area {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .main-nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .mega-menu {
    display: none;
  }

  .home-hero,
  .catalog-showcase,
  .platform-band-inner,
  .trust-section,
  .account-layout,
  .help-layout,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .help-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid,
  .download-strip,
  .help-topic-grid,
  .workflow-grid,
  .shot-grid,
  .download-notes {
    grid-template-columns: 1fr;
  }

  .download-row {
    grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .story-tile,
  .help-card,
  .product-card,
  .download-tab,
  .account-panel,
  .catalog-grid,
  .catalog-aside,
  .account-side,
  .pricing-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy {
    padding: 28px 18px;
  }

  .hero-side,
  .help-cards,
  .home-product-grid,
  .icon-shelf,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-product-grid .product-card,
  .icon-shelf .product-card,
  .download-tab {
    border-right: 0;
  }

  .download-row,
  .compare-head,
  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    padding: 14px 0;
  }

  .table-head {
    display: none;
  }

  .download-row > span:not(.download-os),
  .compare-head > span,
  .compare-row > span {
    font-size: 13px;
  }

  .footer-bottom {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .newsletter .btn {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
