:root {
  --bg: #f7f3ee;
  --bg-top: #f0a05a;
  --bg-bottom: #f7f3ee;
  --fg: #1c1916;
  --muted: #5c554e;
  --accent: #cc5500;
  --rule: rgba(28, 25, 22, 0.12);
  --card: #fffdf9;
  --bezel: #1c1916;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161311;
    --bg-top: #5c240c;
    --bg-bottom: #161311;
    --fg: #f4eee8;
    --muted: #b7aea4;
    --accent: #f26b1a;
    --rule: rgba(244, 238, 232, 0.14);
    --card: #1e1a17;
    --bezel: #0d0b0a;
  }
}

* {
  box-sizing: border-box;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg-bottom);
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--fg);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

a {
  color: var(--accent);
}

a:hover {
  text-decoration-thickness: 2px;
}

.site {
  width: min(68rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0 1.5rem;
  font-family: var(--sans);
}

.site-nav-brand {
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav-end {
  justify-content: flex-end;
}

.kicker {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lede {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.15rem;
}

h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 0.5rem 0 2.5rem;
  max-width: 38rem;
}

.icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(204, 85, 0, 0.28);
}

.hero h1 {
  margin-bottom: 0.45rem;
}

.site-simple {
  width: min(36rem, calc(100% - 2.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-simple .site-nav {
  width: 100%;
  justify-content: center;
}

.hero-simple {
  justify-items: center;
  padding-bottom: 1.6rem;
  text-align: center;
}

.hero-simple .lede {
  margin-inline: auto;
}

.site-simple .highlights {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.site-simple .site-footer {
  width: 100%;
}

.site-simple .site-footer nav {
  justify-content: center;
}

.highlights {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.highlight-icon {
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.18rem;
  overflow: visible;
  color: var(--accent);
}

.highlight h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.highlight p {
  margin: 0.12rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.35;
}

.app-store {
  display: inline-block;
  margin: 0.25rem 0 2rem;
  line-height: 0;
}

.hero .app-store {
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 2.75rem;
}

.app-store-badge-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .app-store-badge-light {
    display: none;
  }

  .app-store-badge-dark {
    display: block;
  }
}

.shots-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.shots-head h2 {
  margin: 0;
}

.shots-head p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.section-lede {
  margin: -0.35rem 0 1.1rem;
  max-width: 38rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.shots {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.35rem;
  overflow: visible;
  padding: 0.5rem 0 1.75rem;
}

.shot {
  flex: 0 0 auto;
  width: min(12.25rem, 56vw);
  margin: 0;
}

.shot-ipad {
  width: min(26rem, 86vw);
}

.carousel {
  max-width: none;
  margin: 0 0 1.75rem;
}

.shots-carousel {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 1rem;
  overflow-x: scroll;
  padding: 0.2rem 0 1.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: var(--accent) rgba(28, 25, 22, 0.14);
}

.shots-carousel::-webkit-scrollbar {
  height: 12px;
}

.shots-carousel::-webkit-scrollbar-track {
  background: rgba(28, 25, 22, 0.12);
  border-radius: 99px;
}

.shots-carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 99px;
}

.shots-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17.5rem, 100%), 1fr));
  align-items: start;
  gap: 1.15rem;
  overflow: visible;
  padding: 0.15rem 0 2rem;
}

.shot-card {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  padding: 0.7rem 0.7rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(28, 25, 22, 0.08);
}

.shots-carousel .shot-card {
  flex: 0 0 auto;
  width: min(17rem, 70%);
  max-width: none;
  margin: 0;
}

.shots-carousel .shot-card-ipad {
  width: min(28.5rem, 84%);
  max-width: none;
}

.shot-card-icloud {
  width: min(42rem, 100%);
  max-width: none;
  margin: 0 auto 2rem;
}

.shot-card-copy {
  text-align: center;
  margin: 0 0 0.3rem;
}

.shot-card-copy h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.shot-card-copy p {
  margin: 0.1rem 0 0;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}


.device {
  position: relative;
  background: var(--bezel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 16px 36px rgba(28, 25, 22, 0.22);
}

.device-screen {
  line-height: 0;
  overflow: hidden;
  background: #000;
}

.device-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.phone {
  padding: 0.55rem 0.48rem 0.62rem;
  border-radius: 2.15rem;
}

.phone .device-screen {
  border-radius: 1.58rem;
}

.ipad {
  padding: 0.72rem 0.68rem 0.82rem;
  border-radius: 1.15rem;
}

.ipad .device-screen {
  border-radius: 0.28rem;
}

.ipad::before {
  content: "";
  position: absolute;
  top: 0.28rem;
  left: 50%;
  z-index: 1;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #2e2a26;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.watch {
  padding: 0.42rem 0.34rem;
  border-radius: 1.85rem;
  background: linear-gradient(160deg, #6a645c, #1c1916 38%, #2e2a26);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 16px 36px rgba(28, 25, 22, 0.22);
}

.watch .device-screen {
  border-radius: 1.45rem;
}

.watch::after {
  content: "";
  position: absolute;
  top: 24%;
  right: -0.32rem;
  width: 0.32rem;
  height: 1.35rem;
  border-radius: 0.12rem;
  background: linear-gradient(180deg, #8a847c, #3c3732);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.watch::before {
  content: "";
  position: absolute;
  top: 48%;
  right: -0.22rem;
  width: 0.2rem;
  height: 0.7rem;
  border-radius: 0.08rem;
  background: #4a453f;
}

.icloud-devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.85rem;
}

.icloud-devices .phone,
.icloud-devices .ipad,
.icloud-devices .watch {
  flex: 0 0 auto;
}

.icloud-devices .phone {
  width: 5.6rem;
}

.icloud-devices .ipad {
  width: 26rem;
}

.icloud-devices .watch {
  width: 4rem;
}

.shot-watch {
  width: min(178px, 52vw);
  padding-right: 8px;
}

.shot figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.shot-photo {
  display: block;
  width: 100%;
  height: auto;
}

.shot-widget {
  flex: 0 0 auto;
  width: min(22rem, 100%);
  margin: 0;
}

.shot-widget img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(28, 25, 22, 0.16);
}

.shot-widget figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.widget-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(204, 85, 0, 0.16), transparent 42%),
    linear-gradient(160deg, #d7e4ee, #c9d6c4 55%, #e8d5c4);
  border-radius: 22px;
}

@media (prefers-color-scheme: dark) {
  .widget-shelf {
    background:
      radial-gradient(circle at 20% 20%, rgba(242, 107, 26, 0.22), transparent 42%),
      linear-gradient(160deg, #24303a, #2a3328 55%, #3a2c22);
  }
}

.ios-widget {
  width: min(20.5rem, 100%);
  min-height: 9.6rem;
  padding: 0.9rem 1rem;
  background: rgba(247, 247, 247, 0.94);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(28, 25, 22, 0.16);
  font-family: var(--sans);
  color: #1c1916;
}

.ios-widget h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ios-widget .widget-add {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

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

.ios-widget li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.28rem 0;
}

.ios-widget li + li {
  border-top: 1px solid rgba(28, 25, 22, 0.08);
}

.ios-widget .mark {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.12rem;
  border: 1.5px solid rgba(28, 25, 22, 0.28);
  border-radius: 50%;
}

.ios-widget .name {
  font-size: 0.88rem;
  font-weight: 650;
}

.ios-widget .meta {
  color: #6b7280;
  font-size: 0.75rem;
}

.progress-row {
  display: grid;
  gap: 0.28rem;
}

.progress-row strong {
  font-size: 0.88rem;
}

.bar {
  height: 0.38rem;
  overflow: hidden;
  background: rgba(28, 25, 22, 0.1);
  border-radius: 99px;
}

.bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

.widget-note {
  margin: 0 0 2.5rem;
  max-width: 40rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
}

.site-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-weight: 600;
}

.guide-hero {
  max-width: 38rem;
  padding: 0.5rem 0 1.75rem;
}

.guide-hero .lede {
  margin-top: 0.35rem;
}

.step {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  margin: 0 0 2.4rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--rule);
}

.step:last-of-type {
  border-bottom: 0;
}

.step-copy p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.98rem;
}

.step-copy h2 {
  margin: 0.15rem 0 0.55rem;
}

.step-shots {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.step .shot {
  width: min(12rem, 52vw);
}

.step .shot-ipad {
  width: min(24rem, 86vw);
}

.step .shot-watch {
  width: min(150px, 44vw);
}

@media (min-width: 840px) {
  .step {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.site-policy {
  width: min(42rem, calc(100% - 2.5rem));
}

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

.policy ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.policy li + li {
  margin-top: 0.35rem;
}

.policy .updated {
  margin-top: 2.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
}

