@font-face {
  font-family: Inter;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('../fonts/roboto-slab-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

.ios-landing {
  --paper: #faf5e8;
  --ink: #040e20;
  --onyx: #181d26;
  --copy: #333840;
  --rust: #aa2d00;
  --sapphire: #254fad;
  --forest: #0a2e0e;
  --peach: #fcab79;
  --rule: #d8d1c3;
  --display: 'Roboto Slab', Georgia, serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  background: var(--paper);
  color: var(--copy);
  color-scheme: light;
  font: 400 1rem/1.55 Inter, system-ui, sans-serif;
}

.ios-landing :is(a[href], button, summary, select, label[for], label:has(input:is([type=checkbox], [type=radio])), input:is([type=checkbox], [type=radio])):not(.tailwind-plus *) { cursor: pointer; }
.ios-landing :disabled:not(.tailwind-plus *) { cursor: not-allowed; }
.ios-landing :is(a, button, input, select, summary, textarea):focus-visible:not(.tailwind-plus *),
.ios-landing label:has(:focus-visible):not(.tailwind-plus *) { outline: 2px solid currentColor; outline-offset: 4px; }

.ios-container {
  width: min(75rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.ios-header { border-bottom: 1px solid var(--rule); background: #fff; }
.ios-header-inner {
  display: grid;
  min-height: 4.5rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.ios-header nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(.75rem, 3vw, 2rem); }
.ios-header nav a, .ios-footer a { display: inline-flex; min-height: 2.75rem; align-items: center; color: inherit; }
.ios-header nav a[aria-current], .ios-header nav a:hover, .ios-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.ios-header-action { justify-self: end; }
.ios-wordmark {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-self: start;
  color: var(--ink);
  font: 900 1.875rem/1 var(--display);
}

.ios-skip { position: absolute; inset: .5rem auto auto .5rem; z-index: 60; transform: translateY(-150%); }
.ios-skip:focus { transform: none; }
.ios-hero { padding-top: clamp(3rem, 7vw, 5rem); text-align: center; }
.ios-edition {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--onyx);
  font-size: .875rem;
  font-weight: 600;
}
.ios-edition::before { width: .625rem; height: .625rem; background: var(--rust); content: ''; }
.ios-landing h1:not(.tailwind-plus *),
.ios-landing .ios-chapter-intro h2,
.ios-landing #beschikbaarheid h2:not(.tailwind-plus *) { color: var(--ink); font-family: var(--display); font-weight: 900; text-wrap: balance; }
.ios-landing h1:not(.tailwind-plus *) {
  max-width: 15ch;
  margin: .875rem auto 0;
  font-size: clamp(2.65rem, 7vw, 5.75rem);
  line-height: 1.03;
}
.ios-intro { max-width: 34rem; margin: 1.25rem auto 0; font-size: clamp(1.0625rem, 2vw, 1.25rem); text-wrap: pretty; }
.ios-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.ios-landing .ios-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 1px solid var(--onyx);
  border-radius: .75rem;
  background: var(--onyx);
  color: #fff;
  font: 600 .9375rem/1.25 Inter, system-ui, sans-serif;
  text-align: center;
}
.ios-landing .ios-button:focus-visible {
  outline: 2px solid var(--onyx);
  outline-offset: 4px;
}
.ios-landing .ios-button-ghost { background: #fff; color: var(--onyx); }
.ios-landing .ios-button:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.ios-landing .ios-button:active { transform: translateY(1px); }

.ios-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 2rem clamp(2rem, 7vw, 6rem);
  border-radius: 1rem;
  background: var(--onyx);
  color: #fff;
  text-align: left;
  scroll-margin-top: 1rem;
}
.ios-stage-label { margin-bottom: .75rem; color: var(--peach); font-size: .875rem; font-weight: 600; }
.ios-stage h2 { font: 900 clamp(1.875rem, 4vw, 3.25rem)/1.13 var(--display); }
.ios-stage-copy > p:last-child { max-width: 27ch; margin-top: 1rem; color: #e0e2e6; }
.ios-phone {
  width: min(100%, 17rem);
  justify-self: center;
  padding: .4375rem;
  border: 1px solid #666b76;
  border-radius: 1.875rem;
  background: #111318;
  box-shadow: 0 .75rem 2rem #0005;
}
.ios-phone-screen { min-height: 21rem; padding: .625rem .75rem 1rem; border-radius: 1.375rem; background: var(--paper); color: var(--ink); }
.ios-phone-top { display: flex; position: relative; min-height: 1.625rem; align-items: center; margin-inline: .375rem; font-size: .6875rem; font-weight: 700; }
.ios-phone-island { position: absolute; left: 50%; width: 3.75rem; height: 1rem; transform: translateX(-50%); border-radius: 1rem; background: var(--onyx); }
.ios-phone-label { margin-top: .75rem; color: var(--rust); font-size: .75rem; font-weight: 700; }
.ios-phone h3 { margin-top: .25rem; font: 900 1.5rem/1.12 var(--display); }
.ios-phone-note { margin-top: .625rem; color: var(--copy); font-size: .8125rem; }
.ios-tasks { min-width: 0; margin-top: 1rem; }
.ios-tasks legend { margin-bottom: .25rem; font-size: .75rem; font-weight: 700; }
.ios-tasks label { display: flex; min-height: 2.75rem; align-items: center; gap: .625rem; border-top: 1px solid var(--rule); font-size: .8125rem; }
.ios-tasks label:hover span { text-decoration: underline; }
.ios-tasks input { width: 1rem; height: 1rem; flex: none; accent-color: var(--forest); }
.ios-tasks input:checked + span { color: var(--forest); text-decoration: line-through; }

.ios-chapters { display: grid; gap: 1.75rem; padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.ios-landing .ios-chapter-intro h2 { max-width: 20ch; margin-top: .5rem; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.12; }
.ios-chapter-intro > p:last-child { max-width: 42rem; margin-top: .75rem; }
.ios-chapter-selector {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 2.5fr);
  grid-template-rows: repeat(3, max-content) 1fr;
  align-items: start;
  column-gap: clamp(1.25rem, 4vw, 3.5rem);
}
.ios-chapter-option {
  display: flex;
  min-height: 3.5rem;
  grid-column: 1;
  align-items: center;
  gap: .75rem;
  padding: .625rem .875rem;
  border-bottom: 1px solid var(--rule);
  border-radius: .75rem;
  font-weight: 600;
}
.ios-chapter-option span { font-variant-numeric: tabular-nums; font-size: .8125rem; }
.ios-chapter-option:has(:checked) { border-color: var(--onyx); background: var(--onyx); color: #fff; }
.ios-chapter-option:has(:checked):focus-within { outline-color: var(--onyx); }
.ios-chapter-option:hover { text-decoration: underline; text-underline-offset: .2em; }
.ios-chapter-panel {
  display: none;
  min-width: 0;
  min-height: 19rem;
  grid-area: 1 / 2 / -1;
  align-self: stretch;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 1.5rem;
  background: var(--rust);
  color: #fff;
}
.ios-chapter-option:has(:checked) + .ios-chapter-panel { display: block; }
.ios-chapter-blue { background: var(--sapphire); }
.ios-chapter-green { background: var(--forest); }
.ios-chapter-panel h3 { font: 900 clamp(1.5rem, 3vw, 2.25rem)/1.15 var(--display); }
.ios-chapter-panel > p { max-width: 42ch; margin-top: .75rem; }
.ios-chapter-example { max-width: 36rem; margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: 1rem; background: #fff; color: var(--onyx); }
.ios-chapter-example p { margin-bottom: .375rem; font-size: .875rem; font-weight: 700; }
.ios-chapter-example li { padding-block: .375rem; border-top: 1px solid #e0e2e6; font-size: .875rem; }

.ios-availability { margin-bottom: clamp(3rem, 7vw, 6rem); }
.marketing-cta { padding: clamp(1.5rem, 5vw, 4rem); border-radius: 1.5rem; background: var(--peach); }
.marketing-cta h2 { color: var(--ink); font: 900 clamp(2rem, 5vw, 3.75rem)/1.12 var(--display); }
.marketing-cta > p { max-width: 55ch; margin-top: .75rem; }
.marketing-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.marketing-cta-actions:not(:empty) { margin-top: 1.5rem; }
.marketing-cta-actions p { margin: 0; }
.ios-footer {
  border-top: 1px solid var(--rule);
  background: var(--footer-background, var(--onyx));
  color: var(--footer-foreground, var(--paper));
}
.ios-footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 2rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
.ios-footer-brand p { max-width: 26ch; margin-top: .5rem; }
.ios-footer-group > p:first-child { font-weight: 700; }
.ios-footer-group { overflow-wrap: anywhere; }
.ios-footer-group ul { margin-top: .375rem; }
.ios-footer-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; padding-block: .75rem; border-top: 1px solid currentColor; font-size: .875rem; }

.marketing-page { padding-bottom: clamp(3rem, 7vw, 6rem); }
.marketing-intro { padding-block: clamp(2rem, 6vw, 4.75rem) clamp(1.75rem, 4vw, 3rem); }
.ios-landing .marketing-intro h1 { max-width: 21ch; margin: .5rem 0 0; font-size: clamp(2.25rem, 6vw, 4.75rem); overflow-wrap: anywhere; }
.marketing-label { margin-top: .75rem; color: var(--rust); font-size: .875rem; font-weight: 700; }
.marketing-lead { max-width: 45rem; margin-top: 1rem; font-size: clamp(1.0625rem, 2vw, 1.25rem); text-wrap: pretty; }
.marketing-back { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .625rem; text-decoration: underline; text-underline-offset: .25em; }
.marketing-back::before { content: '‹'; font-size: 1.25em; }
.marketing-intro img { width: min(100%, 54rem); height: auto; margin-top: 2rem; border-radius: 1rem; }
.marketing-article { overflow-wrap: anywhere; }
.marketing-article > :where(:not(.not-prose)) { padding-inline: var(--gutter); }
.marketing-article > h2 { color: var(--ink); font: 900 clamp(1.5rem, 3vw, 2.25rem)/1.2 var(--display); }
.marketing-article > figure :is(video, iframe) { width: min(100%, 48rem); height: auto; aspect-ratio: 16 / 9; }
.marketing-article :where(p, li, figcaption) a:hover:not(.tailwind-plus *) { text-decoration: underline; }
.marketing-article > section :where(h2) { font-family: var(--display); }
.marketing-article > section.section-py { padding-block: clamp(1.5rem, 5vw, 3.5rem); }

.catalog-index { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1rem, 4vw, 2rem); align-items: start; }
.catalog-chapter { overflow: hidden; border: 1px solid var(--rule); border-radius: 1rem; background: #fff; }
.catalog-chapter h2 { padding: 1.25rem 1.5rem; background: var(--rust); color: #fff; font: 900 clamp(1.25rem, 3vw, 1.625rem)/1.2 var(--display); }
.catalog-chapter + .catalog-chapter h2 { background: var(--sapphire); }
.catalog-chapter li + li { border-top: 1px solid var(--rule); }
.catalog-chapter a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; color: var(--ink); }
.catalog-chapter a:is(:hover, :focus-visible) { background: var(--paper); outline-offset: -4px; }
.catalog-chapter a:hover strong { text-decoration: underline; }
.catalog-chapter small { display: block; margin-top: .25rem; color: var(--copy); font-size: .875rem; }
.catalog-empty { padding: 1.25rem 1.5rem; }

.marketing-faq { padding-block: 2rem; }
.marketing-faq h2 { margin-bottom: 1.25rem; color: var(--ink); font: 900 clamp(1.625rem, 4vw, 2.75rem)/1.15 var(--display); }
.marketing-faq details { border-top: 1px solid var(--rule); }
.marketing-faq details:last-child { border-bottom: 1px solid var(--rule); }
.marketing-faq summary { min-height: 2.75rem; padding-block: .875rem; font-weight: 700; }
.marketing-faq summary:hover { text-decoration: underline; text-underline-offset: .22em; }
.marketing-faq details > div { max-width: 60ch; padding: 0 1rem 1rem; }

.product-site .tailwind-plus :is(a[href], button) { cursor: pointer; }
.product-site .tailwind-plus :is(a[href], button):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.product-site .tailwind-plus :is(nav a, header [command], el-dialog-panel a, a.rounded-md, [command^="--"]) { min-height: 44px; min-width: 44px; }
.product-site .tailwind-plus :is(nav a, el-dialog-panel a, a.rounded-md) { align-content: center; }
.product-site .tailwind-plus :is(nav, el-dialog-panel) a:is(:hover, [aria-current]) { text-decoration: underline; text-underline-offset: .25em; }
.product-site .tailwind-plus a:is(:hover, :focus-visible) > span.absolute.inset-0 { outline: inherit; outline-offset: inherit; }
.product-site .tailwind-plus footer nav + div:not(:has(a)) { display: none; }
.product-site .tailwind-plus nav img, .product-site .tailwind-plus el-dialog-panel a img { aspect-ratio: 1; }
.product-site .tailwind-plus :is([href^="mailto:"], [href^="tel:"]) { overflow-wrap: anywhere; }
.product-site :is(.page-title, .product-not-found) h1 { overflow-wrap: anywhere; hyphens: auto; }
.product-site .tailwind-plus [data-faq-answer]:has(> el-disclosure[hidden]) { display: none; }
.product-site .article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline; padding-bottom: 2rem; }
.product-site .article-meta img { flex-basis: 100%; width: min(100%, 48rem); height: auto; max-height: 28rem; object-fit: cover; border-radius: .75rem; }
.product-site .marketing-article > :is(h2,h3,p,ul,ol), .product-site .product-prose {
  width: min(100%, 52rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.product-site .product-prose { padding-bottom: 3rem; overflow-wrap: anywhere; hyphens: auto; }
.product-site .product-not-found a { display: inline-flex; min-height: 44px; align-items: center; gap: .25em; }
.product-site .marketing-article > :is(h2,h3,p) a { color: var(--rust); text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  html:has(.product-site) { scroll-behavior: smooth; }
  .product-site .tailwind-plus :is(a, button) { transition: background-color 150ms ease, color 150ms ease; }
  .product-site .tailwind-plus el-dialog-panel { transition: opacity 150ms ease, translate 150ms ease; }
  .product-site .tailwind-plus el-dialog-panel[data-enter] { opacity: 0; translate: 1rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-site .tailwind-plus *, .product-site .tailwind-plus *::before, .product-site .tailwind-plus *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

@media (max-width: 42rem) {
  .ios-header-inner { display: flex; flex-wrap: wrap; gap: .125rem 1rem; padding-block: .5rem; }
  .ios-header .ios-wordmark { flex-basis: 100%; }
  .ios-header nav { justify-content: start; gap: 0 1rem; font-size: .9375rem; }
  .ios-header .ios-header-action { font-size: .875rem; }
  .ios-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .ios-footer-brand { grid-column: 1 / -1; }
  .catalog-index { grid-template-columns: 1fr; }
  .ios-stage { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem 1rem; }
  .ios-stage h2 br { display: none; }
  .ios-chapter-selector { display: flex; flex-wrap: wrap; gap: .5rem; }
  .ios-chapter-option { flex: 1 1 auto; min-height: 2.75rem; padding-inline: .625rem; font-size: .875rem; }
  .ios-chapter-panel { order: 1; flex: 0 0 100%; margin-top: .375rem; }
}

@media (max-width: 24rem) {
  .ios-footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ios-landing :not(.tailwind-plus, .tailwind-plus *),
  .ios-landing :not(.tailwind-plus, .tailwind-plus *)::before,
  .ios-landing :not(.tailwind-plus, .tailwind-plus *)::after { scroll-behavior: auto !important; transition: none !important; }
}
