@font-face {
  font-family: Gelasio;
  src: url('./assets/gelasio-bold.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Sync Site Mermaid';
  src: url('./assets/mermaid-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Gelasio;
  src: url('./assets/gelasio-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('./assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #2d2d2d;
  --muted: #655f59;
  --line: #dcd6ce;
  --soft: #f6f5f3;
  --serif: 'Mermaid', 'Gelasio', Georgia, serif;
  color-scheme: light;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: white;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, ol { margin: 0; }
body { -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; }
[hidden], .in-app-only, [data-browser='in-app'] .standard-only { display: none !important; }
[data-browser='in-app'] .in-app-only { display: block !important; }
:focus-visible { outline: 2px solid #466395; outline-offset: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.masthead {
  padding: 16px 24px;
  background: #000;
  color: #fff;
}
.wordmark {
  display: block;
  filter: brightness(0) invert(1);
}
@media (min-width: 800px) {
  .masthead { padding: 20px 48px; }
}
.layout { padding-top: clamp(1.55rem, 4.75vw, 4.5rem); }
.intro {
  min-width: 0;
  /* The source site renders its single Mermaid Bold face without synthetic italics. */
  font-synthesis: none;
}
.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #333;
  font: italic 400 20px/1.55 'Sync Site Mermaid', var(--serif);
  letter-spacing: normal;
}
h1 {
  max-width: 16ch;
  margin: 0 0 8px;
  font: 500 clamp(44px, 7.2vw, 92px)/1.02 'Sync Site Mermaid', var(--serif);
  letter-spacing: -.025em;
}
.lede {
  max-width: 884px;
  font: 400 clamp(18px, 1.8vw, 21px)/1.55 Inter, system-ui, sans-serif;
  color: #6b655f;
  letter-spacing: normal;
}
.install { width: min(100%, 25.5rem); margin-top: clamp(1.2rem, 3vw, 2.35rem); }
.hint, .menu-hint, .status {
  font-size: .875rem;
  line-height: 1.45;
  color: var(--muted);
}
.hint { margin-bottom: .58rem; }
.action {
  display: flex;
  width: 100%;
  min-height: 3.1rem;
  justify-content: center;
  align-items: center;
  padding: .8rem 1.35rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
}
.action:hover { background: #444; border-color: #444; }
.action:active { background: #181818; }
.text-action {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: #aaa39b;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
.text-action:hover { text-decoration-color: currentColor; }
.secondary { display: block; min-height: 2.75rem; margin: 0 auto; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.prompt-box { margin-top: .6rem; }
.prompt-box textarea, .grok-guide input {
  display: block;
  width: 100%;
  padding: .6rem .8rem;
  border: 1px dashed #bdb7b0;
  border-radius: .6rem;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.36;
  font-size: 1rem;
}
.prompt-box textarea { resize: vertical; overflow-wrap: anywhere; }
.status:not(:empty) { margin-top: .5rem; }
.external { text-align: center; }
.external summary { padding: .64rem .2rem .35rem; }
.menu-hint { margin-top: .05rem; font-size: .81rem; }
.external:has(details[open]) .menu-hint { display: none; }
.browser-guide, .grok-guide {
  padding: .85rem 1rem;
  background: var(--soft);
  border-radius: .6rem;
  text-align: left;
  font-size: .9rem;
  line-height: 1.5;
}
.browser-guide { margin-top: .3rem; }
.menu-example { max-width: 15rem; margin-top: .75rem; padding: .5rem; border: 1px solid var(--line); border-radius: .55rem; background: white; font-size: .8rem; }
.example-bar { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.menu-item { width: fit-content; margin: .4rem 0 0 auto; padding: .3rem .55rem; border-radius: .3rem; background: var(--soft); }
.menu-icon {
  display: inline-block;
  padding: 0 .32rem;
  border: 1px solid var(--line);
  border-radius: .24rem;
  background: white;
  line-height: 1.18;
  letter-spacing: .03em;
}
.try-browser { display: inline-block; margin-top: .6rem; }

.guide { margin-top: 1.15rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
h2 { font: 500 clamp(1.45rem, 2.5vw, 2.15rem)/1.14 var(--serif); letter-spacing: -.025em; }
.steps {
  display: grid;
  gap: .58rem;
  margin-top: .9rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: .25rem;
  counter-increment: step;
  font-size: 1rem;
  line-height: 1.42;
}
.steps li::before { content: counter(step) '.'; color: var(--muted); font-variant-numeric: tabular-nums; }
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 1.25rem;
  row-gap: .35rem;
  margin: clamp(1.05rem, 4.75vw, 4.5rem) 0 0;
  padding: .65rem 0 max(1.1rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.alternatives { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem; }
.alternatives summary, .alternatives > a { display: inline-block; padding: .5rem 0; }
.separator, .availability { color: var(--muted); }
.availability { font-size: .875rem; }
.availability span { margin: 0 .25rem; }
.grok[open] { width: 100%; }
.grok[open] ~ .separator { display: none; }
.grok-guide { max-width: 29rem; }
.grok-guide input { margin: .6rem 0; }
.grok-guide button { min-height: 2rem; }

@media (min-width: 48rem) {
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, .85fr);
    align-items: start;
    column-gap: clamp(2rem, 6vw, 5rem);
    row-gap: clamp(1.2rem, 3vw, 2.35rem);
  }
  .intro { grid-column: 1 / -1; }
  .install { margin-top: 0; }
  .guide { margin: 0; padding: 0 0 .8rem clamp(1.4rem, 3.5vw, 3rem); border: 0; border-left: 1px solid var(--line); }
  .steps { margin-top: 1.25rem; gap: 1.05rem; }
  .footer { padding-top: 1rem; }
}
@media (max-width: 33.999rem) {
  .footer { display: block; }
  .availability { margin-top: .1rem; }
}
@media (max-width: 33.999rem) and (max-height: 54rem) {
  .layout { padding-top: 1.05rem; }
  .install { margin-top: .95rem; }
  .guide { margin-top: .85rem; padding-top: .85rem; }
  .steps { margin-top: .65rem; gap: .4rem; }
  .footer { margin-top: .8rem; padding-top: .4rem; }
}
@media (min-width: 48rem) and (max-height: 48rem) {
  .layout { padding-top: 2.1rem; }
  .footer { margin-top: 1.6rem; }
}
@media (max-width: 33.999rem) and (max-height: 44rem) {
  .page { padding-inline: 1rem; }
  .layout { padding-top: .65rem; }
  .install { margin-top: .65rem; }
  .hint { margin-bottom: .35rem; }
  .action { min-height: 2.8rem; padding: .65rem 1.1rem; }
  .prompt-box { margin-top: .4rem; }
  .prompt-box textarea { padding: .35rem .65rem; line-height: 1.2; }
  .external summary { padding: .45rem .2rem .25rem; }
  .guide { margin-top: .4rem; padding-top: .4rem; }
  .steps { margin-top: .35rem; gap: .24rem; }
  .steps li { font-size: .9375rem; line-height: 1.28; }
  .footer { display: flex; margin-top: .4rem; padding: .25rem 0 max(.5rem, env(safe-area-inset-bottom)); column-gap: .65rem; }
  .alternatives { column-gap: .4rem; }
  .footer .text-action, .availability { font-size: .8125rem; }
}
