:root {
  --color-bg: #fbf8f3;
  --color-surface: #ffffff;
  --color-text: #1d1d1f;
  --color-muted: #6e6e73;
  --color-border: #e3ded7;
  --color-accent: #a93424;
  --color-accent-hover: #8f2b1e;
  --color-accent-soft: #f5e5df;
  --color-accent-deep: #6f2218;
  --color-cool: #e8eef0;
  --color-cool-text: #35535a;
  --color-success: #2f6f55;
  --radius-card: 8px;
  --radius-button: 999px;
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.045);
  --shadow-panel: 0 18px 46px rgba(69, 45, 32, 0.09);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
  color: var(--color-muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 7vw, 4.65rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: 1.15rem;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 40px, 850px);
}

.centered {
  text-align: center;
}

.section {
  padding: 92px 0;
}

.section-band {
  background: #f3eee7;
  border-block: 1px solid var(--color-border);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: var(--radius-button);
  background: var(--color-text);
  color: #ffffff;
  padding: 10px 16px;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.86);
  border-bottom: 1px solid rgba(227, 222, 215, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--color-accent) url("../brand/chicklee-rooster-icon-48.png") center / cover no-repeat;
  box-shadow: inset 0 -5px 0 rgba(111, 34, 24, 0.18);
}

.brand-mark::before {
  content: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--color-muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.nav-menu a {
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  padding: 12px 21px;
  font-weight: 760;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-disabled,
.button-disabled:hover {
  cursor: default;
  transform: none;
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible,
.nav-menu a:focus-visible,
.faq-item summary:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(169, 52, 36, 0.26);
  outline-offset: 3px;
}

.button-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(169, 52, 36, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-accent-hover);
}

.button-secondary {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.74);
  color: var(--color-text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #d5ccc2;
  background: #ffffff;
}

.button-small {
  min-height: 38px;
  padding: 9px 15px;
  font-size: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.centered-row {
  justify-content: center;
}

.eyebrow {
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 76px 0 82px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(251, 248, 243, 0.96));
}

.hero-inner {
  display: grid;
  gap: 52px;
  align-items: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.hero-subtitle {
  max-width: 720px;
  font-size: clamp(1.17rem, 2vw, 1.45rem);
}

.trust-line {
  color: var(--color-cool-text);
  font-size: 0.96rem;
  font-weight: 720;
}

.product-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(82px, 0.7fr) minmax(90px, 0.8fr) minmax(210px, 1.8fr);
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  width: min(100%, 780px);
  min-height: 250px;
  margin-inline: auto;
  padding: clamp(18px, 3.6vw, 30px);
  border: 1px solid rgba(227, 222, 215, 0.76);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-panel);
}

.device {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.phone {
  width: min(100%, 136px);
  aspect-ratio: 9 / 16;
  justify-self: end;
  border-radius: 24px;
  padding: 16px 12px;
}

.phone-status {
  width: 38px;
  height: 5px;
  margin-inline: auto;
  border-radius: 999px;
  background: #d7d0c7;
}

.phone-row,
.phone-icons span,
.backup-lines span {
  display: block;
  border-radius: 999px;
  background: var(--color-cool);
}

.phone-row {
  height: 10px;
  margin-top: 28px;
}

.phone-row.short {
  width: 68%;
  margin-top: 10px;
}

.phone-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 26px;
}

.phone-icons span {
  aspect-ratio: 1;
  border-radius: 8px;
}

.phone-icons span:nth-child(2) {
  background: var(--color-accent-soft);
}

.transfer-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.transfer-path span {
  width: clamp(14px, 2vw, 22px);
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0.85;
}

.mac-window {
  min-height: 220px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.window-controls {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding-left: 14px;
  border-bottom: 1px solid var(--color-border);
  background: #f6f3ee;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8d0c6;
}

.window-controls span:first-child {
  background: var(--color-accent);
}

.folder-preview {
  position: relative;
  width: 92px;
  height: 70px;
  margin: 35px auto 22px;
}

.folder-tab,
.folder-body {
  position: absolute;
  display: block;
  background: #d9b45f;
}

.folder-tab {
  top: 0;
  left: 7px;
  width: 38px;
  height: 18px;
  border-radius: 8px 8px 0 0;
}

.folder-body {
  left: 0;
  bottom: 0;
  width: 92px;
  height: 56px;
  border-radius: 12px;
  background: #e7c676;
}

.backup-lines {
  display: grid;
  gap: 10px;
  width: min(72%, 260px);
  margin-inline: auto;
}

.backup-lines span {
  height: 9px;
}

.backup-lines span:nth-child(2) {
  width: 74%;
}

.backup-lines span:nth-child(3) {
  width: 56%;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 34px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.step-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
}

.step-card p,
.timeline-item p,
.prose-card p,
.story-section p,
.faq-content p,
.help-callout p,
.trust-card p {
  font-size: 1.02rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
  align-items: center;
  gap: 44px;
}

.split-layout > div:first-child {
  display: grid;
  gap: 14px;
}

.code-panel {
  overflow: auto;
  border: 1px solid #d8cfc5;
  border-radius: var(--radius-card);
  background: #282624;
  box-shadow: var(--shadow-soft);
}

.code-panel pre {
  margin: 0;
  padding: 24px;
}

.code-panel code {
  color: #fff8ed;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.94rem;
  line-height: 1.7;
}

.code-panel.compact pre {
  padding: 18px;
}

.trust-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 5vw, 44px);
}

.trust-card.compact {
  max-width: 930px;
}

.trust-card > div:last-child {
  display: grid;
  gap: 12px;
}

.trust-icon {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: var(--color-accent-soft);
}

.trust-icon::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 30px;
  height: 39px;
  border: 5px solid var(--color-accent);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.trust-icon::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 13px;
  width: 18px;
  height: 14px;
  border: 5px solid var(--color-accent);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.text-link {
  color: var(--color-accent);
  font-weight: 760;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.page-hero {
  padding: 92px 0 62px;
}

.page-hero .narrow,
.success-hero .narrow {
  display: grid;
  gap: 18px;
}

.page-hero h1,
.success-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

.page-subtitle {
  max-width: 730px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.centered .page-subtitle {
  margin-inline: auto;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 880px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.timeline-item div {
  display: grid;
  gap: 8px;
}

.help-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.help-callout > div {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.success-hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 96px 0 78px;
}

.success-mark {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 4px;
  border-radius: 18px;
  background: var(--color-accent-soft);
}

.success-mark span {
  position: absolute;
  left: 31px;
  top: 45px;
  width: 44px;
  height: 22px;
  border-left: 7px solid var(--color-success);
  border-bottom: 7px solid var(--color-success);
  transform: rotate(-45deg);
}

.small-note,
.last-updated {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.story-section {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--color-border);
  padding-top: 48px;
}

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

.prose-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.prose-card h2 {
  font-size: 1.35rem;
}

.prose-card:last-child {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: var(--color-text);
  font-size: 1.16rem;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-content {
  display: grid;
  gap: 16px;
  padding: 0 24px 24px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--color-success);
  border-bottom: 3px solid var(--color-success);
  transform: rotate(-45deg);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #f6f1ea;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  min-height: 132px;
  padding-block: 28px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer-brand {
  color: var(--color-text);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--color-muted);
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-text);
}

.footer-copy {
  display: grid;
  justify-items: end;
  gap: 9px;
  text-align: right;
}

.footer-note {
  max-width: 760px;
  color: var(--color-muted);
}

.footer-contact {
  color: var(--color-muted);
}

@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;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 4px;
  }

  .nav-menu .button {
    margin-top: 10px;
  }

  .product-scene {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .phone {
    justify-self: center;
    width: 120px;
  }

  .transfer-path {
    transform: rotate(90deg);
    min-height: 38px;
  }

  .mac-window {
    width: min(100%, 430px);
    justify-self: center;
  }

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

  .split-layout {
    grid-template-columns: 1fr;
  }

  .help-callout,
  .footer-inner {
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    justify-items: start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .button-row,
  .centered-row {
    width: 100%;
    justify-content: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .product-scene {
    padding: 16px;
    border-radius: var(--radius-card);
  }

  .step-grid,
  .prose-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
  }

  .trust-card {
    grid-template-columns: 1fr;
  }

  .trust-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .prose-card:last-child {
    grid-column: auto;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
