:root {
  color: #10212b;
  background: #eef6f4;
  font-family: "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.app {
  width: min(100%, 560px);
}

.breathing-card {
  background: #ffffff;
  border: 1px solid #cfe1dc;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(22, 68, 72, 0.13);
  padding: clamp(22px, 5vw, 42px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: #087b70;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 48px);
  letter-spacing: 0;
}

.lead {
  margin: 14px auto 22px;
  max-width: 24em;
  color: #5b6c79;
  line-height: 1.7;
}

.stage {
  position: relative;
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.aura {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: #dff6ef;
  transform: scale(var(--breath-scale, 1));
  transition: transform 0.25s ease, background 0.25s ease;
}

.kokyurun {
  position: relative;
  width: 132px;
  height: 118px;
  border-radius: 48% 48% 44% 44%;
  background: #fff8ed;
  border: 8px solid #df9d6f;
  transform: scale(var(--breath-scale, 1));
  transition: transform 0.25s ease;
}

.ear {
  position: absolute;
  top: -24px;
  width: 44px;
  height: 44px;
  background: #df9d6f;
  border-radius: 12px 26px 12px 26px;
}

.ear-left {
  left: 10px;
  transform: rotate(-22deg);
}

.ear-right {
  right: 10px;
  transform: scaleX(-1) rotate(-22deg);
}

.face {
  position: absolute;
  inset: 0;
}

.eye {
  position: absolute;
  top: 45px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #24323a;
}

.eye-left {
  left: 36px;
}

.eye-right {
  right: 36px;
}

.mouth {
  position: absolute;
  left: 50%;
  top: 68px;
  width: 22px;
  height: 12px;
  border-bottom: 4px solid #24323a;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.readout {
  display: grid;
  gap: 8px;
  margin: 8px 0 18px;
}

.readout strong {
  font-size: 28px;
}

.readout span,
.complete {
  color: #5b6c79;
}

button {
  width: min(100%, 260px);
  border: 0;
  border-radius: 999px;
  background: #087b70;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 15px 24px;
}

button:disabled {
  cursor: default;
  opacity: 0.7;
}

.complete {
  margin: 18px 0 0;
  font-weight: 700;
}

.site-footer {
  padding: 18px 8px 0;
  text-align: center;
}

.site-footer a,
.policy-page a {
  color: #087b70;
  text-underline-offset: 3px;
}

.policy-page {
  display: block;
  padding: 0;
  background: #f3f7f5;
}

.policy-header {
  background: #16333a;
  color: #ffffff;
}

.policy-header-inner,
.policy-content,
.policy-footer {
  width: min(calc(100% - 32px), 760px);
  margin-inline: auto;
}

.policy-header-inner {
  padding: 56px 0 48px;
}

.policy-back {
  display: inline-block;
  margin-bottom: 28px;
  color: #bfe8df;
  font-size: 14px;
}

.policy-kicker {
  margin: 0 0 8px;
  color: #f4b184;
  font-size: 14px;
  font-weight: 700;
}

.policy-header h1 {
  font-size: clamp(32px, 8vw, 52px);
}

.policy-summary {
  max-width: 42em;
  margin: 18px 0 0;
  color: #d9e8e5;
  line-height: 1.8;
}

.policy-content {
  padding: 46px 0 24px;
}

.policy-section {
  padding: 0 0 34px;
  border-bottom: 1px solid #d4e1dd;
  margin-bottom: 34px;
}

.policy-section:last-child {
  border-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 14px;
  color: #18373d;
  font-size: 21px;
}

.policy-section p,
.policy-section li {
  color: #43575c;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.policy-section p {
  margin: 0 0 12px;
}

.policy-section ul {
  margin: 0;
  padding-left: 1.4em;
}

.policy-section li + li {
  margin-top: 6px;
}

.policy-note {
  padding: 18px 20px;
  border-left: 4px solid #e58d5b;
  background: #ffffff;
}

.policy-footer {
  padding: 12px 0 42px;
  color: #687a7e;
  font-size: 13px;
}

@media (max-width: 520px) {
  body {
    padding: 12px;
  }

  .stage {
    height: 220px;
  }

  .policy-header-inner {
    padding: 34px 0 32px;
  }

  .policy-header h1 {
    font-size: 28px;
  }

  .policy-content {
    padding-top: 34px;
  }
}
