/* Hallmark · built: the project · redesign: polish · genre: editorial · theme: brand · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, retained composition; real product media carries the page */
:root {
  --harbor-page: #0b111e;
  --harbor-card: #111a2e;
  --harbor-raised: #16243b;
  --harbor-rule: #29374d;
  --harbor-control: #506884;
  --harbor-title: #f1f5f9;
  --harbor-copy: #b2bfd0;
  --harbor-caption: #a5b2c5;
  --harbor-link: #a3d4ff;
  --harbor-action: #0b84f3;
  --harbor-action-hover: #3898ff;
  --harbor-action-ink: #061728;
  --harbor-selected: #203d5b;
  --harbor-glass: rgba(11, 17, 30, .96);
  --harbor-no-color: transparent;
  --harbor-duration: 240ms;
  --harbor-enter: 360ms;
  --harbor-ease: cubic-bezier(.22, 1, .36, 1);
  --harbor-radius: 16px;
}

html, body { overflow-x: clip; }
body { color: var(--harbor-title); font-family: var(--font-body); }
[hidden] { display: none !important; }
h1, h2, h3 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--harbor-link);
  outline-offset: 4px;
  transition: none !important;
}
button:disabled, [aria-disabled=true] { cursor: not-allowed; }
button[aria-busy=true] { cursor: progress; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button, .showcase-tab, .billing-switch button {
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.section-shell, .header-inner { max-width: 1200px; }
.site-header, .site-header.header-scrolled {
  background: var(--harbor-glass) !important;
  border-color: var(--harbor-rule) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transition: transform var(--harbor-duration) var(--harbor-ease);
}
.site-header nav, .header-account { color: var(--harbor-copy); }
#site-nav a::after {
  background: var(--harbor-link);
  box-shadow: none;
  height: 1px;
}
.header-download { min-height: 44px; }
.scroll-progress { height: 2px; background: var(--harbor-action) !important; box-shadow: none; }
.hero-copy h1 { margin-block: 0 24px; color: var(--harbor-title); }
.hero-copy h1 > .hero-emphasis { color: inherit; }
.hero-subtitle { font-size: 18px; line-height: 1.65; color: var(--harbor-copy); max-width: 40ch; }
.hero-meta { font-size: 13px; color: var(--harbor-caption); gap: 24px; }
.hero-meta > span + span::before { display: none; }
.hero-ctas { margin-top: 32px; gap: 16px; }
.hero .hero-tour-link { font-size: 14px; min-height: 48px; }
.button.store-badge { min-height: 52px; padding: 6px 16px; line-height: 1.25; }
.button.store-badge > span { gap: 2px; }
.button.store-badge small { line-height: 1.3; }
.pricing-grid .price-card .store-badge { min-height: 52px; padding: 6px 16px; }
.pricing-grid .price-card .store-badge small { font-size: 12px; line-height: 1.3; }
.store-badge small { font-size: 12px; color: var(--harbor-copy); }
.store-badge > span > span { white-space: nowrap; }
.header-download.store-badge { min-height: 44px; }
.product-surface {
  padding: 0;
  background: var(--harbor-no-color);
  border: 0;
  border-radius: var(--harbor-radius);
}
.product-stage-label { padding: 0 0 16px; color: var(--harbor-caption); font-size: 13px; }
.product-stage-label > span:last-child { font-size: 12px; color: inherit; }
.product-surface .product-frame {
  border: 0;
  border-radius: var(--harbor-radius);
  box-shadow: none;
}
.product-stage figcaption { font-size: 12px; padding-top: 16px; }
.product-stage figcaption > a { min-height: 44px; font-size: 13px; color: var(--harbor-link); }
.product-principles { padding-block: 24px; gap: 24px; }
.product-principles > span, .product-principles > span:hover {
  padding: 12px 0;
  background: var(--harbor-no-color);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: none;
  color: var(--harbor-copy);
}
.product-principles > span + span { border-inline-start: 1px solid var(--harbor-rule); }
.product-principles .icon { color: var(--harbor-link); filter: none; }
.section-heading h2, .faq-heading h2 { margin-block: 0 20px; }
.section-heading > p, .faq-heading > p { color: var(--harbor-copy); font-size: 16px; }
.features .bento-card, .tool-gif-card {
  background: var(--harbor-card);
  color: var(--harbor-title);
  border-color: var(--harbor-rule);
  border-radius: var(--harbor-radius);
  box-shadow: none !important;
}
.feature-icon { background: var(--harbor-no-color); border: 0; width: 28px; height: 28px; color: var(--harbor-link); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-copy h3, .backup-copy h3 { margin-block: 20px 16px; font-size: 28px; line-height: 1.2; }
.feature-copy > p, .backup-copy > p { color: var(--harbor-copy); font-size: 16px; line-height: 1.7; }
.card-caption { font-size: 13px; color: var(--harbor-caption); letter-spacing: 0; }
.feature-shot { border: 0; background: var(--harbor-no-color); border-radius: 8px; }
.features .bento-card .feature-shot { box-shadow: none; }
.backup-file { border: 0; padding: 16px 0; background: var(--harbor-no-color); }
.backup-file span, .backup-file bdi { color: var(--harbor-copy); font-size: 14px; }
.backup-privacy { font-size: 13px; color: var(--harbor-caption); border-color: var(--harbor-rule); }
.library-preview { padding: 0; border: 0; background: var(--harbor-no-color); box-shadow: none !important; }
.library-preview img { border: 0; border-radius: var(--harbor-radius); }
.library-preview figcaption { font-size: 13px; padding-block: 20px; color: var(--harbor-caption); }
.tool-gif-heading { color: var(--harbor-link); }
.tool-gif-card > p { font-size: 16px; color: var(--harbor-copy); line-height: 1.7; }
.showcase-tabs {
  max-width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--harbor-rule);
  background: var(--harbor-no-color);
  backdrop-filter: none;
  box-shadow: none;
  padding: 0 0 16px;
  gap: 8px;
}
.showcase-tab { color: var(--harbor-copy); min-height: 44px; font-size: 14px; }
.showcase-tab:hover { color: var(--harbor-title); background: var(--harbor-raised); }
.showcase-tab.active { color: var(--harbor-title); background: var(--harbor-selected); border-color: var(--harbor-control); box-shadow: none; }
.showcase-gif-panel { border-color: var(--harbor-rule); border-radius: var(--harbor-radius); }
.showcase-footer { background: var(--harbor-card); color: var(--harbor-title); padding: 24px 28px; }
.showcase-desc-box p { color: var(--harbor-copy); font-size: 16px; line-height: 1.7; }
.stack-card-badge { margin-top: 24px; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--harbor-caption); }
.stack-card-step { color: var(--harbor-link); font-size: 16px; font-variant-numeric: tabular-nums; }
.stack-card-tag { background: var(--harbor-no-color); border-color: var(--harbor-rule); color: var(--harbor-caption); font-size: 12px; text-transform: none; letter-spacing: 0; }
.stacking-card { background: var(--harbor-card) !important; color: var(--harbor-title); border-color: var(--harbor-rule) !important; box-shadow: none !important; }
.stack-card-body h3 { color: var(--harbor-title); font-size: 28px; }
.stack-card-body p { color: var(--harbor-copy); font-size: 16px; line-height: 1.7; }
.billing-switch { background: var(--harbor-no-color); border: 1px solid var(--harbor-control); box-shadow: none; backdrop-filter: none; }
.billing-switch button { font-size: 14px; min-height: 44px; color: var(--harbor-copy); }
.billing-switch button[aria-pressed=true] { background: var(--harbor-selected); color: var(--harbor-title); border-color: var(--harbor-control); box-shadow: none; }
.price-card, .studio-edition-card { background: var(--harbor-card); color: var(--harbor-title); border-color: var(--harbor-rule); box-shadow: none !important; backdrop-filter: none; }
.price-card.price-featured { border-color: var(--harbor-control); }
.popular-badge { background: var(--harbor-selected); color: var(--harbor-title); border: 1px solid var(--harbor-control); font-size: 12px; letter-spacing: 0; text-transform: none; }
.price-card h3 { margin-top: 0; }
.price-amount { font-variant-numeric: tabular-nums; color: var(--harbor-title); font-weight: 600; }
.stack-card-body h3 { font-weight: 600 !important; }
.button, .showcase-tab, .billing-switch button, .studio-edition-details h3 { font-weight: 600; }
#checkout-continue { white-space: nowrap; }
.plan-subtitle, .price-period, .plan-note, .plan-devices, .region-status { color: var(--harbor-copy); font-size: 14px; }
.price-card ul, .price-card li, .price-card li > span { font-size: 14px; line-height: 1.65; }
.price-card .button, .studio-edition-card .button { font-size: 14px; min-height: 52px; }
.button.primary:not(.store-badge) { background: var(--harbor-action); color: var(--harbor-action-ink); border-color: var(--harbor-action); box-shadow: none; }
.button.primary:not(.store-badge):hover:not(:disabled) { background: var(--harbor-action-hover); border-color: var(--harbor-action-hover); }
.studio-section-heading h2 { margin-block-start: 0; }
.studio-edition-details h3 { color: var(--harbor-title); margin-top: 0; }
.studio-edition-card::before { display: none; }
.studio-edition-purchase small, .studio-license-scope, .pricing-footnotes p { font-size: 13px; color: var(--harbor-caption); }
.faq-list summary { font-size: 16px; line-height: 1.5; min-height: 64px; padding-block: 20px; }
.faq-answer p { font-size: 16px; color: var(--harbor-copy); line-height: 1.7; }
body[data-home] .bottom-cta { background: var(--harbor-card); color: var(--harbor-title); border-color: var(--harbor-rule); border-radius: var(--harbor-radius); box-shadow: none !important; }
.release-label, .release-details small, .release-details p { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--harbor-caption); }
.site-footer { color: var(--harbor-title); background: var(--harbor-page); }
.footer-bottom { font-size: 13px; color: var(--harbor-caption); }

/* One arrival per section; media and hover surfaces stay still. */
.scroll-motion .motion-reveal { transition: opacity var(--harbor-enter) ease, transform var(--harbor-enter) var(--harbor-ease) !important; transition-delay: 0ms !important; }
.scroll-motion .motion-reveal:not(.motion-seen) { transform: translateY(12px) !important; }
.scroll-motion .motion-reveal.motion-seen { transform: none !important; }
.scroll-motion .section-heading::after { display: none; }
.scroll-motion :is(.feature-shot, .folder-preview, .backup-file, .library-preview img, .tool-gif-card .media-view) { transform: none !important; opacity: 1 !important; transition: none !important; }
.bento-card:hover, .tool-gif-card:hover, .price-card:hover, .studio-edition-card:hover { transform: none !important; box-shadow: none !important; }
.living-ink-stroke { filter: none; }
.hero-emphasis:hover .living-ink-hover { opacity: 0; }

@media (max-width: 900px) {
  .hero-composition, .features .f1-card { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { margin-block-start: 0; }
  .product-stage { margin-top: 0; }
}
@media (max-width: 800px) {
  .header-account { min-height: 44px; }
  .header-download.store-badge { display: none; }
  .feature-copy h3, .backup-copy h3, .stack-card-body h3 { font-size: 24px; }
  .hero-copy h1 > .hero-emphasis { white-space: normal; }
  .product-stage-label { font-size: 13px; }
  .hero-meta { font-size: 13px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 32px; }
  .hero-copy h1 { font-size: 44px; margin-block: 0 24px; }
  .hero-subtitle { font-size: 17px; }
  .hero-composition { gap: 32px; }
  .hero-ctas { margin-top: 24px; gap: 12px; }
  .store-badge, .download-button { max-width: 100%; font-size: 14px; }
  .store-badge small, .download-button small { font-size: 12px; }
  .product-stage figcaption > a { margin-inline-start: auto; }
  .product-stage-label > span:last-child { display: none; }
  .product-principles > span + span { border: 0; }
  .product-principles { gap: 4px; }
  .features .bento-card { padding: 24px 20px; }
  .feature-shot { margin-top: 24px; }
  .showcase-tab { flex: 1 1 calc(50% - 8px); }
  .showcase-footer { padding: 24px 20px; }
  .stack-card-tag { font-size: 12px; }
  .price-amount { font-size: 36px; }
  .studio-license-scope { text-align: start; }
  .faq-list summary { font-size: 16px; }
  .footer-bottom nav { gap: 16px; }
  html[lang=ar] .hero-copy h1 { font-family: var(--font-arabic-display); font-size: 36px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-motion .motion-reveal, .scroll-motion .motion-reveal:not(.motion-seen) { opacity: 1 !important; transform: none !important; }
}
