:root {
  --paper: #f5f1eb;
  --white: #fff;
  --ink: #11100f;
  --muted: #706a64;
  --line: rgba(17, 16, 15, .15);
  --red: #ff3b20;
  --shell: min(100% - 48px, 1480px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a, button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 15px; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.brand img, .footer-brand img { border-radius: 11px; box-shadow: 0 7px 18px rgba(65, 20, 10, .16); }
.simple-header { position: sticky; z-index: 50; top: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; min-height: 76px; padding: 10px max(24px, calc((100vw - 1480px) / 2)); border-bottom: 1px solid var(--line); background: rgba(245,241,235,.9); backdrop-filter: blur(16px); }
.simple-header nav { display: flex; justify-content: center; gap: 30px; }
.simple-header nav a, .learn-links a { color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; }
.simple-header nav a:hover, .learn-links a:hover { color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; letter-spacing: -.01em; text-decoration: none; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .simple-header a:focus-visible, .motion-toggle:focus-visible, .learn-links a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-compact { min-height: 42px; padding-inline: 17px; font-size: 12px; }
.button-store { min-height: 64px; padding: 8px 25px; background: var(--ink); color: var(--white); }
.button-store .apple { font-size: 27px; }
.button-store > span:last-child { display: grid; line-height: 1.02; text-align: left; font-size: 18px; }
.button-store small { font-size: 10px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 900; text-decoration: none; }
.section-kicker { margin: 0 0 18px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }

.simple-hero { min-height: 680px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 0 90px; text-align: center; }
.simple-hero > img { margin-bottom: 24px; border-radius: 19px; box-shadow: 0 16px 40px rgba(65,20,10,.18); }
.simple-hero h1 { max-width: 1120px; margin: 0; font-size: clamp(64px, 8.6vw, 138px); line-height: .86; letter-spacing: -.085em; }
.simple-hero h1 em { color: var(--red); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.065em; }
.simple-hero > p:not(.section-kicker) { max-width: 680px; margin: 28px 0 30px; color: var(--muted); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }

.gallery-section { padding: 80px 0 120px; scroll-margin-top: 80px; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.gallery-heading h2 { margin: 0; font-size: clamp(44px, 5.5vw, 82px); line-height: .95; letter-spacing: -.065em; }
.motion-toggle { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.masonry-grid { columns: 4 280px; column-gap: 14px; }
.media-tile { break-inside: avoid; margin: 0 0 14px; overflow: hidden; border-radius: 18px; background: #ddd6ce; }
.media-tile img, .media-tile video { width: 100%; height: auto; }

.simple-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); padding: 130px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.simple-about h2, .simple-download h2 { max-width: 780px; margin: 0; font-size: clamp(44px, 5.8vw, 88px); line-height: .95; letter-spacing: -.065em; }
.simple-about ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.simple-about li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.simple-about li > span { padding-top: 4px; color: var(--red); font-size: 10px; font-weight: 900; }
.simple-about strong { font-size: 22px; letter-spacing: -.03em; }
.simple-about li p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.simple-download { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; padding: 120px 0; }
.simple-download .button { min-width: 220px; }
.learn-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.learn-links > span { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.simple-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px max(24px, calc((100vw - 1480px) / 2)); background: var(--ink); color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand span { color: #9a948e; font-size: 11px; }
.simple-footer p { margin: 0; color: #817b76; font-size: 10px; }

/* Guide pages */
.article-page { background: #fbf8f4; }
.site-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; min-height: 84px; padding: 12px max(24px, calc((100vw - 1480px) / 2)); border-bottom: 1px solid var(--line); }
.site-header .site-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.site-header .site-nav a, .site-footer nav a { color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; }
.site-header .header-cta { justify-self: end; min-height: 44px; padding-inline: 18px; background: var(--ink); color: var(--white); font-size: 12px; }
.menu-button { display: none; }
.article-shell { width: min(100% - 40px, 1120px); margin: 0 auto; padding: 70px 0 110px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; color: var(--muted); font-size: 13px; font-weight: 700; }
.breadcrumbs a { text-underline-offset: 4px; }
.article-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; margin-bottom: 85px; }
.article-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -.065em; }
.article-dek { color: var(--muted); font-size: 21px; line-height: 1.55; }
.article-visual img { width: min(100%, 360px); margin: auto; border-radius: 28px; box-shadow: 0 25px 60px rgba(20,12,8,.18); }
.article-body { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 70px; justify-content: center; }
.article-toc { position: sticky; top: 24px; align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.article-toc strong { display: block; margin-bottom: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.article-toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.article-content h2 { margin: 70px 0 20px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; scroll-margin-top: 25px; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin: 34px 0 12px; font-size: 23px; letter-spacing: -.025em; }
.article-content p, .article-content li { color: #4f4944; font-size: 18px; line-height: 1.75; }
.article-content ul, .article-content ol { padding-left: 24px; }
.tip { margin: 34px 0; padding: 24px 26px; border-left: 5px solid var(--red); background: #fff0e8; border-radius: 0 18px 18px 0; }
.tip strong { display: block; margin-bottom: 6px; }
.article-cta { margin-top: 70px; padding: 44px; border-radius: 24px; background: var(--red); color: var(--white); }
.article-cta h2 { margin: 0 0 14px; }
.article-cta p { color: rgba(255,255,255,.82); }
.article-cta .button { margin-top: 10px; background: var(--white); color: var(--ink); }
.related-guides { margin-top: 80px; padding-top: 45px; border-top: 1px solid var(--line); }
.related-guides h2 { margin-top: 0; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-links a { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); font-weight: 800; text-decoration: none; }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 42px max(24px, calc((100vw - 1480px) / 2)); background: var(--ink); color: var(--white); }
.site-footer .footer-brand { display: flex; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: #d8d2cc; }
.site-footer > p { grid-column: 1/-1; color: #817b76; font-size: 10px; }

@media (max-width: 900px) {
  .simple-header { grid-template-columns: 1fr auto; }
  .simple-header nav { display: none; }
  .simple-hero { min-height: 620px; }
  .simple-about { grid-template-columns: 1fr; gap: 55px; }
  .simple-download { grid-template-columns: 1fr; align-items: start; }
  .simple-download .button { justify-self: start; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-header .site-nav { display: none; }
  .article-hero { grid-template-columns: 1fr; }
  .article-visual { display: none; }
}

@media (max-width: 600px) {
  :root { --shell: min(100% - 28px, 1480px); }
  .simple-header { min-height: 68px; padding-inline: 14px; }
  .simple-header .brand img { width: 36px; height: 36px; }
  .simple-header .button { min-height: 40px; padding-inline: 14px; }
  .simple-hero { min-height: 560px; padding: 76px 0 70px; }
  .simple-hero h1 { font-size: clamp(56px, 17vw, 78px); }
  .simple-hero > p:not(.section-kicker) { font-size: 16px; }
  .gallery-section { padding-top: 55px; padding-bottom: 90px; }
  .gallery-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .masonry-grid { columns: 2 140px; column-gap: 9px; }
  .media-tile { margin-bottom: 9px; border-radius: 12px; }
  .simple-about { padding: 90px 0; }
  .simple-about h2, .simple-download h2 { font-size: 48px; }
  .simple-download { padding: 90px 0; }
  .learn-links { align-items: flex-start; flex-direction: column; }
  .simple-footer { align-items: flex-start; flex-direction: column; }
  .article-shell { padding-top: 40px; }
  .article-body { grid-template-columns: 1fr; gap: 35px; }
  .article-toc { position: static; }
  .article-content p, .article-content li { font-size: 17px; }
  .article-cta { padding: 30px 24px; }
  .related-links { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}

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