:root {
  color-scheme: light;
  --paper: #fffdf7;
  --ink: #203b3a;
  --muted: #48625e;
  --teal: #006c66;
  --mint: #e5f2eb;
  --line: #cddbd3;
  --accent: #9c4a29;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 19px;
  line-height: 1.9;
}
a { color: var(--teal); text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: 1rem; padding: .5rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap, .reading { width: min(calc(100% - 36px), 940px); margin-inline: auto; }
.reading { max-width: 700px; }
.site-header, .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .3rem 1rem;
  padding-block: 1rem;
  font-size: 16px;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.brand { color: var(--teal); font-size: 21px; font-weight: 800; }
.breadcrumbs, .byline { color: var(--muted); font-size: 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; }
.byline time { margin-inline-start: .4rem; white-space: nowrap; }
.hero {
  background: linear-gradient(120deg, #edf6ee, #f7f7ec);
  padding-block: clamp(2rem, 6vw, 4.5rem);
}
.eyebrow { margin: 0 0 .6rem; color: var(--teal); font-size: 16px; font-weight: 750; }
h1, h2 { line-height: 1.4; overflow-wrap: anywhere; }
h1 { margin: 0 0 1rem; font-size: clamp(34px, 7.5vw, 64px); }
h2 { margin: 0 0 1rem; font-size: clamp(25px, 4vw, 34px); }
p { margin: 0 0 1rem; }
.intro { max-width: 38em; }
.choices { margin: 1.9rem 0 0; }
.choices figcaption { font-size: 16px; color: var(--muted); margin-bottom: .55rem; }
.choices ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .65rem .9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .6rem;
  text-decoration: none;
}
.choices a:hover { border-color: var(--teal); }
.choices span { font-size: 16px; color: var(--muted); }
.choices strong { text-decoration: underline; }
.reading > section { padding-block: 2.4rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1.25rem; }
.example {
  margin-top: 1.25rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--accent);
  background: #f9f0e4;
}
.example span { display: block; color: var(--accent); font-size: 16px; font-weight: 750; }
.example p, .notice p, .app-card p:last-child { margin-bottom: 0; }
.device-steps { margin-top: 1.25rem; }
details { margin-top: .6rem; border: 1px solid var(--line); border-radius: .6rem; padding: .65rem 1rem; }
summary { cursor: pointer; color: var(--teal); font-weight: 750; }
details p { margin: .55rem 0 .25rem; }
.reading .app-card { margin: 2rem 0; padding: 1.3rem; border: 0; border-radius: .65rem; background: var(--mint); }
.store-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
.store-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  border: 1px solid var(--teal);
  border-radius: .45rem;
  background: var(--teal);
  color: white;
  font: inherit;
  font-weight: 700;
  padding: .4rem .9rem;
}
.store-button:hover { background: #07534e; }
@media (max-width: 580px) {
  .choices ul { grid-template-columns: 1fr; }
  .choices a { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 .65rem; }
  .reading > section { padding-block: 1.8rem; }
}
