@font-face {
  font-family: "EarShots Wordmark";
  src: url("EarshotsWordmark-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "EarShots Rounded";
  src: url("rounded-headings.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf6ff;
  --ink: #2b1946;
  --muted: #59436d;
  --violet: #633cb9;
  --deep: #382268;
  --lilac: #e4d4ff;
  --pink: #ffdeee;
  --lime: #e5fa9a;
  --cream: #fffaf1;
  --logo: "EarShots Wordmark", system-ui, sans-serif;
  --display: "EarShots Rounded", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
section[id] { scroll-margin-top: 1.5rem; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #5423a0;
  outline-offset: 6px;
}

.shell {
  width: min(100% - 5rem, 79rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: white;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 6.1rem;
  gap: 1.5rem;
  padding-block: 0.8rem 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  min-height: 2.75rem;
  color: #5d36a7;
  font: 900 clamp(1.65rem, 3vw, 2.25rem)/1 var(--logo);
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 29%;
  box-shadow: 0 0.24rem 0.3rem #613cb13b;
}

.masthead nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #f1e7ff;
  box-shadow: inset 0 2px 4px #8060ad21, 0 1px 0 #fff;
}

.masthead nav a, .masthead-support, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: 0.95rem;
  border-radius: 999px;
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.masthead nav a:hover, .masthead-support:hover, .site-footer nav a:hover {
  background: #e4d4ff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: clamp(33rem, 49vw, 40rem);
  padding: clamp(2.7rem, 5.8vw, 5.3rem);
  border: 1px solid #eee0ff;
  border-radius: clamp(2.2rem, 5vw, 4.6rem);
  background:
    radial-gradient(ellipse at 70% 37%, #f6dbff 0%, transparent 44%),
    radial-gradient(ellipse at 91% 100%, #dca6f9 0%, transparent 51%),
    linear-gradient(133deg, #e2cfff 9%, #c7a9fa 68%, #b08deb 100%);
  box-shadow: inset 0 2px 2px #fff8, inset 0 -8px 16px #8d59c02c, 0 0.6rem 0 #a481d8, 0 1.35rem 2.5rem #9c70ce30;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-tag {
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.85rem;
  border: 1px solid #fffbff;
  border-radius: 999px;
  background: #f5e5ff;
  color: #4b287c;
  box-shadow: 0 0.19rem 0 #ac80d8;
  font-size: clamp(0.875rem, 1.45vw, 1rem);
  font-weight: 800;
  line-height: 1.35;
}

.hero h1, h2 {
  font-family: var(--display);
  font-weight: 900;
}

.hero h1 {
  padding-bottom: 0.1em;
  margin-top: 1.3rem;
  font-size: clamp(4.1rem, 8.5vw, 8.05rem);
  line-height: 0.98;
  letter-spacing: -0.095em;
  white-space: nowrap;
}

.hero h1 span {
  color: var(--cream);
  -webkit-text-stroke: 1px #54328a;
  paint-order: stroke fill;
  text-shadow: 0 0.035em #c1a3e7, 0 0.055em #9067c7, 0 0.082em #6744a1, 0 0.11em 0.14em #61368b66;
}

.hero-description {
  max-width: 23em;
  margin-top: 1.65rem;
  color: #382558;
  font-size: clamp(1rem, 1.49vw, 1.14rem);
  font-weight: 650;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.05rem;
  margin-top: 1.65rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid #754bba;
  border-radius: 999px;
  background: linear-gradient(#6844a9, #4b2e7f);
  color: white;
  box-shadow: inset 0 2px 1px #e3ccff5c, 0 0.24rem 0 #372059, 0 0.55rem 0.8rem #59347749;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(3px); box-shadow: 0 0.1rem 0 #372059; }
.availability { color: #492b6c; font-size: 0.875rem; font-weight: 750; }

.hero-art {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 25rem;
  margin: -2.4rem -2.5rem -2.2rem -0.4rem;
}

.hero-earbud {
  position: relative;
  z-index: 2;
  width: min(75%, 28rem);
  height: auto;
  aspect-ratio: 0.81;
  object-fit: contain;
  transform: translate(2%, -6%) rotate(-10deg);
  filter: drop-shadow(1rem 1.3rem 1.05rem #56388945);
}

.hero-shadow {
  position: absolute;
  inset: auto 16% 9% 19%;
  height: 12%;
  border-radius: 50%;
  background: #62418c;
  opacity: 0.33;
  filter: blur(23px);
  transform: rotate(-6deg);
}

.orbit {
  position: absolute;
  inset: 25% 1% 21% 1%;
  border: clamp(0.5rem, 1.35vw, 1.15rem) solid #fff0fb;
  border-radius: 50%;
  opacity: 0.9;
  box-shadow: inset 0 0 0.14rem #b88be9, 0 0.45rem 0 #aa72d0, 0 0.8rem 1.3rem #8146ad56;
  transform: rotate(-25deg) scaleY(0.56);
}

.hero-sparkle {
  position: absolute;
  z-index: 3;
  width: 16%;
  height: auto;
  top: 9%;
  right: 3%;
  transform: rotate(15deg);
  filter: drop-shadow(0.25rem 0.45rem 0.55rem #7942ad70);
}

.hero-camera {
  position: absolute;
  z-index: 3;
  width: 35%;
  height: auto;
  right: 0;
  bottom: 12%;
  transform: rotate(15deg);
  filter: drop-shadow(0.4rem 0.65rem 0.65rem #65398c67);
}

.shutter-demo {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 3%;
  display: grid;
  justify-items: center;
  width: clamp(6rem, 13vw, 10rem);
  transform: rotate(-10deg);
}

.demo-button {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 42%;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0.3rem 0.55rem 0.55rem #51366d77);
  transition: transform 210ms cubic-bezier(0.2, 0.65, 0.3, 1.3), filter 180ms ease-out;
}

.demo-button:hover { transform: translateY(-0.45rem) rotate(-4deg) scale(1.06); }
.demo-button:active { transform: translateY(0.2rem) scale(0.96); }
.demo-button img { width: 100%; height: auto; }

.demo-feedback {
  position: relative;
  min-width: max-content;
  margin-top: -0.36rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: var(--deep);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transform: rotate(3deg);
}

.shutter-demo[data-fired] .demo-feedback { background: #e5fa9a; color: #382268; }

.hero-flash {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: #fffef6;
}

h2 {
  font-size: clamp(2.7rem, 5.7vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.076em;
}

.how { padding-block: clamp(4.7rem, 9vw, 8.5rem) clamp(4rem, 7vw, 6.5rem); }

.how-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 0 2.1rem clamp(0rem, 2.7vw, 2.7rem);
}

.how-header h2 span { color: var(--violet); }

.how-header p {
  max-width: 24em;
  padding-right: clamp(0rem, 3vw, 3rem);
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.8;
}

.how-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4.15rem);
}

.steps {
  display: grid;
  gap: 1.03rem;
  margin: 0;
  padding: 0 0 0 clamp(0rem, 2.7vw, 2.7rem);
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 1.05rem;
  min-height: 6.6rem;
  padding: 1rem 1.25rem;
  border: 1px solid #fff;
  border-radius: 1.9rem;
  background: var(--step-bg);
  box-shadow: inset 0 1px 2px #fffd, 0 0.38rem 0 var(--step-edge), 0 0.55rem 1.18rem #6d438d1c;
}

.step-lilac { --step-bg: #eee1ff; --step-edge: #c8a4eb; --step-disc: #8d5dde; }
.step-pink { --step-bg: #ffe0ec; --step-edge: #e9adc8; --step-disc: #b84a84; margin-left: 1rem; }
.step-lime { --step-bg: #edfabd; --step-edge: #c8dc7c; --step-disc: #526f23; margin-right: 1rem; }

.step-number {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--step-disc);
  color: white;
  box-shadow: inset 0 2px 2px #fff6, inset 0 -4px 6px #2c154c38, 0 0.23rem 0 #432b6544;
  font: 900 1.6rem/1 var(--logo);
}

.step h3 { font-size: 1.08rem; line-height: 1.42; }
.step p { margin-top: 0.26rem; color: #4e385d; line-height: 1.6; }

.how-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 27rem;
  padding: 2rem;
  border: 1px solid #fff;
  border-radius: 3.5rem;
  background:
    radial-gradient(ellipse at 45% 16%, #fff0f6 3%, transparent 53%),
    radial-gradient(ellipse at 80% 90%, #eeb5e7, transparent 54%),
    #f7cada;
  box-shadow: inset 0 3px 5px #fff9, inset 0 -0.5rem 1rem #b960a52e, 0 0.53rem 0 #e3a8cf;
}

.screen-frame {
  position: relative;
  width: min(61%, 13.5rem);
  padding: 0.35rem;
  border: 1px solid #bba0e5;
  border-radius: 1.45rem;
  background: linear-gradient(135deg, #9264d3, #f7dbfb 45%, #b17cda);
  box-shadow: inset 0 0.16rem 0.25rem #fff8, 0.45rem 0.7rem 0 #a56aa0, 0.9rem 1.3rem 1.7rem #70405657;
  transform: rotate(10deg) translateY(-0.45rem);
}

.screen-frame img { width: 100%; height: auto; border-radius: 1.1rem; }

.how-shutter {
  position: absolute;
  z-index: 1;
  width: 25%;
  height: auto;
  left: 7%;
  bottom: 11%;
  transform: rotate(-15deg);
  filter: drop-shadow(0.35rem 0.6rem 0.45rem #70405661);
}

.how-visual figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 0.94rem;
  color: #573252;
  font-size: 0.84rem;
  font-weight: 750;
}

.pro-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.3rem, 5.2vw, 5rem);
  min-height: 28rem;
  padding: clamp(2.4rem, 5.7vw, 5rem);
  border: 1px solid #a986f1;
  border-radius: clamp(2.2rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse at 8% 100%, #9265d6 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, #ad76ed 0%, transparent 43%),
    #7652c0;
  box-shadow: inset 0 0.26rem 0.45rem #ebd8ff72, inset 0 -0.6rem 1rem #492c8f66, 0 0.62rem 0 #54378e, 0 1rem 1.75rem #61449f38;
  color: white;
}

.pro-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 18rem;
  aspect-ratio: 1.13;
  border: 1px solid #d1affff0;
  border-radius: 36% 30% 36% 31%;
  background: radial-gradient(ellipse at 47% 35%, #fae1ff 0%, #d5a0f4 53%, #ba8deb 100%);
  box-shadow: inset 0 0.5rem 0.65rem #fff8, inset 0 -0.85rem 0.85rem #8f51a64d, 0 0.35rem 0 #4d2c91;
}

.pro-halo {
  position: absolute;
  inset: 12% 13%;
  border-radius: 50%;
  background: #fff2fb;
  opacity: 0.7;
  filter: blur(1.75rem);
}

.video-icon {
  position: relative;
  width: 78%;
  height: auto;
  transform: rotate(-9deg);
  filter: drop-shadow(0.58rem 0.95rem 0.75rem #65429176);
}

.pro-sparkle {
  position: absolute;
  width: 19%;
  height: auto;
  top: 1%;
  right: 4%;
  transform: rotate(13deg);
  filter: drop-shadow(0.2rem 0.35rem 0.4rem #64439868);
}

.pro-copy {
  padding: clamp(1.15rem, 2.6vw, 2.15rem);
  border-radius: 2.25rem;
  background: #382160;
  box-shadow: 0 0.35rem 0 #2e194a, inset 0 2px 2px #d8b4ff2b;
}

.pro-wordmark {
  width: fit-content;
  color: #f4d5ff;
  font: 900 clamp(1.45rem, 2.85vw, 2.4rem)/1 var(--logo);
  letter-spacing: -0.04em;
}

.pro-wordmark span {
  display: inline-block;
  margin-left: 0.15em;
  color: #e5fa9a;
  font-size: 0.54em;
  vertical-align: super;
}

.pro h2 {
  margin-top: 0.8rem;
  color: #fff9ed;
  font-size: clamp(2.7rem, 5.3vw, 4.85rem);
  text-shadow: 0 0.055em #522584;
}

.pro-copy > p:not(.pro-wordmark) { margin-top: 0.75rem; color: #f8eaff; line-height: 1.65; }

.pro-details {
  display: grid;
  gap: 0.72rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.pro-details li {
  display: grid;
  gap: 0.13rem;
  padding-top: 0.7rem;
  border-top: 1px solid #ddc4ff47;
}

.pro-details strong { color: #e5fa9a; }
.pro-details span { color: #f7ecff; line-height: 1.6; }

.faq {
  display: grid;
  justify-items: center;
  gap: 1.8rem;
  padding-block: clamp(5rem, 8.8vw, 8rem);
}

.faq h2 { text-align: center; font-size: clamp(2.45rem, 5vw, 4.4rem); }
.faq-list { display: grid; gap: 0.85rem; width: min(100%, 43rem); }

.faq details {
  border: 1px solid #fff;
  border-radius: 1.5rem;
  background: #f2e7ff;
  box-shadow: inset 0 1px 1px #fff, 0 0.25rem 0 #dbc5f2;
}

.faq summary {
  position: relative;
  min-height: 3.55rem;
  padding: 0.96rem 3.65rem 0.96rem 1.15rem;
  border-radius: inherit;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.55;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet); }

.faq summary::after {
  content: "";
  position: absolute;
  display: grid;
  place-items: center;
  top: 0.71rem;
  right: 0.8rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background:
    linear-gradient(#452075, #452075) center / 0.75rem 2px no-repeat,
    linear-gradient(#452075, #452075) center / 2px 0.75rem no-repeat,
    #d9c1ff;
  box-shadow: inset 0 2px 3px #fff9, 0 2px 0 #bb9ee3;
}

.faq details[open] summary::after {
  background: linear-gradient(#452075, #452075) center / 0.75rem 2px no-repeat #d9c1ff;
}
.faq details p { padding: 0.15rem 1.15rem 1.1rem; color: var(--muted); line-height: 1.75; }

.help-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #592e99;
  font-weight: 800;
  text-underline-offset: 0.24em;
}

.site-footer {
  padding-block: 1.55rem;
  border-top: 1px solid #fff;
  background: #eddeff;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer nav { display: flex; flex-wrap: wrap; }
.site-footer small { color: var(--muted); font-size: 0.82rem; }

@media (max-width: 1100px) {
  .shell { width: min(100% - 3rem, 79rem); }
  .hero { padding-inline: 2.75rem; }
  .hero-art { margin-right: -1.3rem; }
  .hero-actions { align-items: start; flex-direction: column; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 1.9rem, 36rem); }
  .masthead { min-height: 4.65rem; gap: 0.55rem; padding-block: 0.55rem; }
  .masthead .brand { gap: 0.4rem; }
  .masthead .brand img { width: 2rem; height: 2rem; }
  .masthead nav { gap: 0; padding: 0; border: none; background: none; box-shadow: none; }
  .masthead nav a { padding-inline: 0.45rem; }
  .masthead-support { display: none; }
  .hero { grid-template-columns: 1fr; padding: 1.85rem 1.35rem 1.3rem; }
  .hero h1 { font-size: clamp(3.8rem, 15vw, 6.65rem); margin-top: 0.85rem; }
  .hero-description { margin-top: 1.05rem; }
  .hero-actions { flex-flow: row wrap; align-items: center; margin-top: 1rem; }
  .hero-art { margin: 0 -0.45rem; min-height: 16rem; aspect-ratio: 1.12; }
  .hero-earbud { width: 53%; max-width: 14.1rem; transform: translate(3%, -3%) rotate(-10deg); }
  .hero-camera { width: 32%; max-width: 9.4rem; right: 3.2%; bottom: 14%; }
  .hero-sparkle { top: 9%; right: 11%; }
  .shutter-demo { left: 2%; bottom: 8%; width: clamp(5.5rem, 24vw, 7.35rem); }
  .demo-feedback { font-size: 0.78rem; }
  .how-header { display: block; margin-left: 0.4rem; }
  .how-header p { margin-top: 0.72rem; }
  .how-board, .pro-stage { grid-template-columns: 1fr; }
  .how-visual { min-height: 24rem; margin-top: 0.7rem; }
  .screen-frame { width: min(58%, 11.25rem); }
  .how-visual figcaption { right: auto; }
  .pro-stage { padding: 1.4rem; gap: 1.15rem; }
  .pro-copy { grid-row: 1; }
  .pro-art { width: min(100%, 23rem); min-height: 12rem; margin: 0 auto; }
  .faq { gap: 1.4rem; }
  .footer-layout, .site-footer nav { column-gap: 0.8rem; }
  .site-footer nav a { padding-inline: 0.25rem; }
}

@media (max-width: 390px) {
  .masthead .brand { font-size: 1.43rem; }
  .masthead nav a { padding-inline: 0.35rem; font-size: 0.86rem; }
  .hero { padding-inline: 1rem; }
  .hero-art { margin-inline: 0; }
  .step { gap: 0.7rem; padding-inline: 0.85rem; }
  .step-pink { margin-left: 0.4rem; }
  .step-lime { margin-right: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .demo-button { transition: none; }
}
