@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/serif-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/serif-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/sans-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f8f4ea;
  --surface: #fffcf5;
  --muted: #f0eadf;
  --text: #27251f;
  --secondary: #655f55;
  --divider: #d9d1c3;
  --border: #8a8071;
  --accent: #bc3f2e;
  --accent-text: #a73426;
  --on-accent: #fffcf5;
  --tint: #f6e2d9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    1.125rem/1.6 'Source Sans 3',
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent-text);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a,
button,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
h1,
h2,
h3,
.brand,
.footer-brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
}
h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}
p {
  margin: 0 0 1.2rem;
}
.wrap {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--divider);
}
.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.35rem;
  line-height: 1.2;
}
.brand img {
  flex: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.site-header nav a {
  color: var(--secondary);
  font-size: 1rem;
  text-decoration: none;
  padding-block: 0.8rem;
}
.site-header nav a[aria-current='page'],
.site-header nav a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--surface);
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 12px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 5rem;
  padding-block: 4.5rem;
}
.hero-text {
  max-width: 710px;
}
.eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
}
.lede {
  font-size: 1.4rem;
  line-height: 1.45;
  max-width: 42rem;
}
.hero-text > p:not(.eyebrow):not(.lede) {
  max-width: 35rem;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-block: 1.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
}
.button:hover {
  filter: brightness(0.95);
}
.button.secondary {
  background: var(--surface);
  color: var(--accent-text);
  border-color: var(--border);
}
.text-link {
  font-weight: 600;
  padding-block: 0.8rem;
}
.small {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--secondary);
}
.release-note {
  border-left: 2px solid var(--divider);
  padding-left: 1rem;
}
figure {
  margin: 0;
}
.phone-shot img {
  width: 290px;
  border: 1px solid var(--border);
  border-radius: 28px;
}
figcaption {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}
.section {
  border-top: 1px solid var(--divider);
  padding-block: 4rem;
}
.section-heading {
  max-width: 680px;
  margin-bottom: 2rem;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
}
.step-label {
  display: block;
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.workflow p {
  color: var(--secondary);
  margin: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.features {
  margin: 0;
}
.features > div {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--divider);
}
.features > div:first-child {
  padding-top: 0;
}
dt {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
dd {
  margin: 0;
  color: var(--secondary);
}
.tablet-section {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: center;
}
.tablet-shot {
  width: 100%;
}
.tablet-shot img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.next-step {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}
.next-step > div {
  max-width: 660px;
}
.next-step .button {
  flex: none;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--divider);
  padding-block: 2.5rem;
  margin-top: 2rem;
}
.footer-brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
}
.site-footer p {
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 0.5rem 0 0;
}
.site-footer nav {
  font-size: 1rem;
  gap: 1.25rem;
  align-content: start;
}
.page-heading {
  padding-block: 4rem 3rem;
}
.page-heading > p {
  max-width: 700px;
}
.prose {
  max-width: 780px;
  padding-bottom: 3rem;
}
.prose h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
}
.prose li {
  margin-bottom: 0.6rem;
}
.policy {
  padding-top: 4rem;
}
.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 4rem;
  padding-bottom: 3rem;
}
.guide-aside nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid var(--divider);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.guide-aside a {
  color: var(--secondary);
  font-size: 1rem;
}
.guide-content {
  min-width: 0;
}
.guide-content h2 {
  font-size: 2rem;
}
.endpoint {
  padding: 1.75rem;
  background: var(--muted);
  border-radius: 12px;
}
.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
code {
  font:
    0.95rem/1.6 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.copy-button {
  font-size: 1rem;
}
#copy-status:empty {
  display: none;
}
#copy-status {
  margin: 0.75rem 0 0;
}
.guide-section {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--divider);
}
.instructions {
  padding-left: 1.5rem;
}
.instructions li {
  padding-left: 0.5rem;
  margin-bottom: 1.3rem;
}
.instructions li::marker {
  color: var(--accent-text);
  font-weight: 600;
}
.note {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--tint);
  margin-bottom: 1.5rem;
}
.note p {
  margin: 0;
}
blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
}
blockquote + button {
  margin-bottom: 1.5rem;
}
details {
  border-bottom: 1px solid var(--divider);
  padding-block: 1rem;
}
summary {
  font-weight: 600;
  min-height: 32px;
  cursor: pointer;
}
details p {
  margin: 1rem 0 0.5rem;
}
.guide-section > details:last-of-type {
  margin-bottom: 1.5rem;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
}
.support-grid h2 {
  font-size: 1.8rem;
}
form {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 2rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
input,
textarea {
  display: block;
  width: 100%;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  min-width: 0;
}
textarea {
  resize: vertical;
}
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.form-status {
  margin: 1rem 0 0;
}
.form-status.error {
  color: var(--accent-text);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211e1a;
    --surface: #2c2822;
    --muted: #373129;
    --text: #f4ede0;
    --secondary: #beb3a3;
    --divider: #4c4439;
    --border: #978978;
    --accent: #ef8c76;
    --accent-text: #ef8c76;
    --on-accent: #211e1a;
    --tint: #45312b;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .phone-shot img {
    width: 250px;
  }
  .workflow {
    gap: 1.5rem;
  }
  .details-grid,
  .tablet-section,
  .support-grid {
    gap: 2.5rem;
  }
  .tablet-section {
    grid-template-columns: 1fr 320px;
  }
  .guide-layout {
    gap: 2rem;
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .next-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-block: 1rem;
  }
  .site-header nav {
    gap: 1.25rem;
  }
  .site-header nav a {
    font-size: 0.95rem;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2.5rem;
    gap: 2rem;
  }
  .hero h1 br {
    display: none;
  }
  .phone-shot {
    width: min(280px, 100%);
    margin-inline: auto;
  }
  .phone-shot img {
    width: 100%;
  }
  .workflow,
  .details-grid,
  .tablet-section,
  .support-grid,
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .workflow {
    gap: 2rem;
  }
  .section {
    padding-block: 2.5rem;
  }
  .tablet-shot {
    width: min(400px, 100%);
    margin-inline: auto;
  }
  .site-footer {
    flex-direction: column;
  }
  .page-heading {
    padding-block: 2.5rem 2rem;
  }
  .guide-aside nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }
  .guide-aside > p {
    display: none;
  }
  .guide-layout {
    gap: 0.5rem;
  }
  .guide-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .endpoint,
  form {
    padding: 1.25rem;
  }
  .policy {
    padding-top: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
