@font-face {
  font-family: Manrope;
  src: url('./assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: #201c20;
  background: #fff;
  --wine: #801d45;
  --line: #e4dfe1;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #8b3762; outline-offset: 4px; }
.wrap { width: min(82rem, 100%); margin-inline: auto; padding-inline: clamp(1.4rem, 5.5vw, 5rem); }
.masthead { border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.masthead-inner { min-height: 5.4rem; display: flex; align-items: center; gap: 1.4rem; }
.wordmark { display: block; width: 10.65rem; height: auto; }
.product { color: #574a52; border-left: 1px solid #cfc6ca; padding-left: 1.4rem; letter-spacing: -.02em; font-size: 1.05rem; }
.hero {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center;
  gap: clamp(2rem, 5.5vw, 5.5rem); min-height: min(52rem, calc(100svh - 5.4rem));
  padding-block: clamp(2.75rem, 7vh, 6rem);
}
.intro { min-width: 0; }
h1 { margin: 0; font-weight: 750; font-size: clamp(3.4rem, 5.55vw, 5.3rem); letter-spacing: -.068em; line-height: 1.04; }
h1 span { display: block; color: #6c5c65; font-weight: 450; letter-spacing: -.06em; margin-bottom: .08em; }
.description { margin: 1.65rem 0 0; color: #5b555a; font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.65; max-width: 25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.05rem; }
.primary, .secondary {
  display: inline-flex; justify-content: center; align-items: center; gap: .55rem;
  min-height: 3.2rem; padding: .75rem 1.35rem; border: 1px solid transparent; border-radius: .78rem;
  font-size: .97rem; font-weight: 720; letter-spacing: -.016em; line-height: 1.35; text-decoration: none;
}
.primary { background: var(--wine); color: #fff; }
.secondary { border-color: #d5cdd1; background: #fff; color: #372c32; }
@media (hover:hover) {
  .primary:hover { background: #641335; }
  .secondary:hover, .close:hover { background: #f8f3f5; border-color: #baaab2; }
}
.hero-art { overflow: hidden; border-radius: clamp(1rem, 1.6vw, 1.65rem); background: #ccd0d3; }
.hero-art img { display: block; width: 100%; height: clamp(24.5rem, 40vw, 35rem); object-fit: cover; object-position: 49% center; }
#status { margin: 1.1rem 0 0; color: #674555; font-size: .95rem; line-height: 1.5; }
#status:empty { display: none; }
dialog { color: inherit; border: 1px solid var(--line); border-radius: 1.35rem; width: min(28rem, calc(100% - 2rem)); padding: 1.65rem; max-height: 87vh; overflow: auto; box-shadow: 0 24px 95px #22101e24; }
dialog::backdrop { background: #21181f61; }
.guide-head { display: flex; justify-content: space-between; align-items: flex-start; }
.guide-head img { width: 3.1rem; height: 3.1rem; border: 1px solid var(--line); border-radius: .8rem; }
.close { border: 1px solid var(--line); background: #fff; color: #3f343b; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; }
h2 { margin: 1.1rem 0; font-size: 1.65rem; font-weight: 730; line-height: 1.17; letter-spacing: -.055em; }
.device-label { display: block; font-size: .875rem; color: #635861; margin-bottom: .35rem; }
select { min-height: 2.8rem; border: 1px solid #cfc6cb; background-color: #fff; color: #292126; border-radius: .6rem; width: 100%; padding: .5rem .65rem; }
.steps { padding-inline-start: 1.65rem; margin: 1.3rem 0 .3rem; }
.steps li { padding-left: .12rem; margin-top: .75rem; font-size: 1rem; line-height: 1.55; color: #484047; }
.steps li::marker { color: var(--wine); font-weight: 750; }
.steps strong { font-weight: 730; color: #2a2228; }
.guide-action { margin-top: 1rem; width: 100%; }
#ios-icon { margin-top: 1rem; border-top: 1px solid var(--line); }
#ios-icon summary { padding-block: .85rem; color: var(--wine); cursor: pointer; font-weight: 650; }
#ios-icon p { margin: 0; font-size: .94rem; line-height: 1.6; }
#ios-icon a { color: var(--wine); }
@media (max-width: 740px) {
  .masthead-inner { min-height: 4.3rem; gap: 1rem; }
  .wordmark { width: 8.5rem; }
  .product { font-size: .95rem; padding-left: 1rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; min-height: 0; padding-block: 2.65rem max(1.4rem, env(safe-area-inset-bottom)); }
  h1 { font-size: clamp(3rem, 12.7vw, 4.5rem); }
  .description { margin-top: 1.1rem; max-width: 27rem; }
  .actions { margin-top: 1.4rem; }
  .primary, .secondary { min-height: 3rem; padding-inline: 1.07rem; }
  .hero-art img { height: clamp(10rem, 48vw, 19rem); object-position: center 48%; }
}
@media (max-width: 345px) {
  .wrap { padding-inline: 1.15rem; }
  .actions { gap: .45rem; }
  .primary, .secondary { font-size: .91rem; padding-inline: .75rem; }
}
