:root {
  --bg: #ffffff;
  --mist: #f3f4f6;
  --ink: #111111;
  --accent: #ff4f00;
  --hair: #111111;
  --glass: rgba(255, 255, 255, 0.58);
  --display: "Playfair Display", Georgia, serif;
  --text: Inter, "Helvetica Neue", Helvetica, sans-serif;
  --num: Oswald, "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
}

body {
  min-height: 100dvh;
  line-height: 1.55;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-bar,
.masthead,
.legal,
.site-foot,
.slots,
.flows,
.compare,
.dash-block,
.why,
.faq {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

.page {
  max-width: 960px;
  margin: 0 auto;
}

.site-bar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px auto 0;
  border: 1px solid rgb(255 255 255 / 0.7);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 16px;
  padding: 8px 20px;
}

.site-bar a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-bar span {
  color: var(--accent);
}

a {
  color: inherit;
}

h1,
h2,
h3,
.doc-title,
.plan-name {
  font-family: var(--display);
  font-weight: 500;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  max-width: 12em;
}

.doc-title {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
}

.lede {
  margin: 0 0 16px;
  max-width: 36em;
  line-height: 1.65;
}

.lede-follow {
  margin: 0 0 24px;
  max-width: 36em;
  line-height: 1.65;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.9fr);
  gap: 24px 28px;
  align-items: center;
  margin-top: 8px;
  padding-top: 40px;
  padding-bottom: 48px;
  isolation: isolate;
  overflow-x: clip;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -8vw 0;
  background:
    radial-gradient(ellipse 50% 60% at 88% 12%, rgb(255 79 0 / 0.28), transparent 62%),
    radial-gradient(ellipse 45% 50% at 8% 88%, rgb(243 244 246 / 1), transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgb(255 160 110 / 0.22), transparent 65%);
  pointer-events: none;
}

.hero-copy .lede {
  padding-top: 0;
  border-top: 0;
}

.hero-art {
  margin: 0;
  justify-self: end;
  width: min(100%, 340px);
  transform: rotate(3.5deg);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hair);
  border-radius: 6px 18px 10px 22px;
  box-shadow: 10px 14px 0 rgb(255 79 0 / 0.2);
  background: var(--mist);
}

.app-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--hair);
  max-width: 40em;
}

.app-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.app-note-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 12px;
}

.app-note-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 16px 0 0;
}

.hero-cta button {
  margin: 0;
}

.hero-cta .agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  max-width: 22em;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  min-height: 44px;
}

.hero-cta .agree input {
  appearance: checkbox;
  -webkit-appearance: checkbox;
  display: inline-block;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
  flex-shrink: 0;
}

.glass,
.creator-offer {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgb(255 255 255 / 0.75);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7);
}

.creator-offer {
  padding: 24px;
}

.creator-offer .yen {
  margin: 8px 0 0;
  font-family: var(--num);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.yen-unit {
  font-family: var(--text);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
}

.creator-offer p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.hint {
  margin: 12px 0 0;
  font-size: 13px;
}

.status {
  color: var(--accent);
  min-height: 1.4em;
  margin: 12px 0 0;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  background: var(--bg);
}

.compare h2 {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  font-size: 22px;
}

.compare article {
  padding-right: 24px;
}

.compare article + article {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--hair);
}

.compare h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.compare p {
  margin: 0;
  max-width: 28em;
  line-height: 1.65;
}

.dash-block h2,
.legal h2,
.slots h2,
.why h2,
.faq h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.why-grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--hair);
  min-height: 100%;
}

.why-card h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.why-art {
  height: 88px;
}

.why-art svg {
  display: block;
  width: 100%;
  height: 88px;
}

.why-art .mark {
  fill: var(--accent);
  stroke: none;
}

.why-card--crowd {
  background: #e8e8e8;
  transform: rotate(-0.6deg);
}

.why-card--own {
  background: #fff1e8;
  transform: rotate(0.8deg);
}

.why-card--after {
  background: #111111;
  color: #ffffff;
  transform: rotate(-0.4deg);
}

.why-card--ai {
  background: var(--accent);
  color: var(--ink);
  transform: rotate(0.5deg);
}

.why-card--ai .why-art .mark {
  fill: #ffffff;
}

.why,
.faq,
.slots {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  background: var(--bg);
}

.faq {
  margin-top: 48px;
  padding-top: 32px;
}

.why dl,
.faq dl {
  margin: 0;
}

.why dt,
.faq dt {
  margin-top: 20px;
  font-weight: 500;
  font-family: var(--display);
}

.why dt:first-of-type,
.faq dt:first-of-type {
  margin-top: 0;
}

.why dd,
.faq dd {
  margin: 6px 0 0;
  max-width: 40em;
  line-height: 1.65;
}

.slots p {
  max-width: 40em;
  line-height: 1.65;
}

.plan-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.plan-list.is-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-item {
  padding: 16px 24px 8px 0;
  border-top: 1px solid var(--hair);
}

.plan-item + .plan-item {
  padding-left: 24px;
  border-left: 1px solid var(--hair);
}

.plan-item.current {
  background: #fff4ee;
}

.plan-name {
  margin: 0 0 8px;
}

.plan-item .yen {
  margin: 0;
  font-family: var(--num);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.plan-item .year,
.plan-item p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.dash-block {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  background: var(--bg);
}

.dash-mast {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.dash-mast::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16px -8vw 0;
  height: 120px;
  background: radial-gradient(ellipse 60% 80% at 90% 0%, rgb(255 79 0 / 0.14), transparent 70%);
  pointer-events: none;
}

.legal h2 {
  margin: 32px 0 8px;
}

.legal p {
  max-width: 40em;
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--hair);
  padding-top: 16px;
  padding-bottom: 40px;
  background: var(--bg);
}

.site-foot a {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-foot .foot-action {
  font: inherit;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  background: none;
  color: inherit;
  border: 0;
  border-radius: 0;
  min-height: 44px;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.site-foot .foot-action:hover,
.site-foot .foot-action:active {
  transform: none;
}

label {
  display: block;
  margin: 16px 0 8px;
  font-size: 13px;
  line-height: 1.4;
}

input,
select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  background: var(--bg);
  appearance: none;
}

input::placeholder {
  color: #5c5c5c;
}

select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111111' d='M1.2 1.4 6 6.2l4.8-4.8 1.2 1.2L6 8.6 0 2.6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

input:hover,
select:hover {
  border-color: var(--accent);
}

button,
.ghost {
  font: inherit;
  background: var(--accent);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 12px 18px;
  margin: 16px 16px 0 0;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

button:hover {
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

button:disabled:hover {
  transform: none;
}

.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hair);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card {
  border-top: 1px solid var(--hair);
  padding: 20px 0;
}

.url {
  font-family: var(--num);
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.15;
  word-break: break-all;
  margin: 8px 0 16px;
  font-variant-numeric: tabular-nums;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.usage {
  margin: 0;
}

.usage p {
  margin: 0 0 4px;
  font-size: 13px;
}

.item-row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  border-top: 1px solid var(--hair);
  padding: 12px 0;
}

.item-row[data-kind="interExerciseRest"] {
  grid-template-columns: 1fr auto;
}

.item-row[hidden],
.tempo-field[hidden] {
  display: none;
}

.item-row .ghost {
  margin: 0;
}

.rise {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .hero,
  .compare,
  .why-grid,
  .plan-list,
  .plan-list.is-compact,
  .item-row,
  .item-row[data-kind="interExerciseRest"] {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-art {
    order: -1;
    justify-self: start;
    width: min(78%, 280px);
    transform: rotate(-2.5deg);
  }

  .compare article + article,
  .plan-item + .plan-item {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--hair);
  }

  .creator-offer .yen,
  .plan-item .yen {
    font-size: 32px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-bar,
  .glass,
  .creator-offer {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  button,
  .ghost {
    transition: none;
  }

  button:hover,
  button:active {
    transform: none;
  }
}
