:root {
  color-scheme: light dark;
  --base: #f5f5fb;
  --complete: #235a9b;
  --edge: #e3e5f1;
  --glass: #fdfdff;
  --raised: #ebeaf5;
  --primary: #191a2b;
  --secondary: #57586d;
  --accent: #7135ab;
  --selection: #ede2fc;
  --line: #d4d3e4;
  --glass-edge: rgba(255, 255, 255, .95);
  --shadow: rgba(54, 43, 94, .1);
  --sleeve: rgba(253, 253, 255, .55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--primary); font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-size: 18px; line-height: 1.95; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
h1, h2, h3, dt { font-feature-settings: "palt"; }
h1, h2, h3 { overflow-wrap: normal; line-height: 1.55; letter-spacing: .015em; }
h1 { font-size: clamp(38px, 4.1vw, 60px); font-weight: 650; line-height: 1.48; letter-spacing: -.025em; }
h1 span { display: block; white-space: nowrap; }
.phrase { display: inline-block; white-space: nowrap; }
h2 { font-size: 34px; font-weight: 600; }
h3 { font-size: 30px; font-weight: 600; }
p, dd { overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .3em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.masthead { display: flex; align-items: center; gap: 40px; padding-top: 34px; }
.brand { display: flex; align-items: center; gap: 13px; font-size: 23px; font-weight: 650; letter-spacing: -.04em; }
.brand img { border-radius: 13px; box-shadow: 0 2px 8px var(--shadow); }
.masthead-line { flex: 1; height: 1px; background: var(--line); }
.hero { display: grid; grid-template-columns: 1.18fr 1fr; gap: 46px; align-items: center; padding-block: 55px 90px; }
.hero-copy { padding-bottom: 12px; }
.hero-description { max-width: 30em; margin-top: 30px; color: var(--secondary); font-size: 19px; line-height: 2; }
.download-placement { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 32px; }
/* App Store の公式バッジ（Apple Marketing Tools の日本語版・無加工）。高さは 40px 以上、周りの余白はバッジの高さの 1/4 以上（ガイドライン） */
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; }
.store-badge img { display: block; width: auto; height: 48px; }
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.small { color: var(--secondary); font-size: 13px; line-height: 1.7; }
.screen-stage { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; padding: 28px; }
.glass-sleeve { position: relative; padding: 12px; width: 314px; max-width: 100%; border: 1px solid var(--glass-edge); border-radius: 34px; background: var(--sleeve); box-shadow: inset 0 0 0 1px rgba(141, 129, 164, .07), 0 20px 42px -22px var(--shadow); }
.glass-sleeve::before { content: ""; position: absolute; z-index: -1; inset: -12px -18px; border-radius: 44px; background: linear-gradient(145deg, rgba(192,132,252,.2), rgba(244,114,182,.1) 48%, rgba(96,165,250,.19)); transform: rotate(-5deg); border: 1px solid var(--glass-edge); }
.app-screen { display: block; width: 100%; height: auto; }
.hero-stage { min-width: 0; }
.hero-stage .glass-sleeve { width: 312px; }
.hero-stage::after { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, #c084fc, #f472b6, #60a5fa); position: absolute; bottom: 0; }
.section { padding-block: 100px; }
.reason { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 100px; border-top: 1px solid var(--line); }
.section-signal { width: 40px; height: 5px; border-radius: 4px; background: var(--accent); margin-bottom: 25px; grid-column: 1 / -1; }
.reason h2 { max-width: 13em; }
.prose p { color: var(--secondary); }
.prose p + p { margin-top: 22px; }
.how { padding-top: 74px; padding-bottom: 0; background: linear-gradient(180deg, var(--raised), var(--base) 330px); }
.how-title { padding-bottom: 45px; }
.steps { padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; padding: 58px 38px 68px 0; border-bottom: 1px solid var(--line); }
.step-copy { max-width: 510px; }
.step-number { display: inline-flex; justify-content: center; align-items: center; width: 46px; height: 46px; border: 1px solid var(--glass-edge); border-radius: 50%; background: var(--selection); color: var(--accent); font-size: 20px; font-weight: 500; margin-bottom: 28px; box-shadow: 0 3px 9px var(--shadow); }
.step p { color: var(--secondary); margin-top: 22px; }
.step .screen-stage { padding: 20px; }
.step:nth-child(2) .glass-sleeve::before { transform: rotate(4deg); background: linear-gradient(145deg, rgba(192,132,252,.19), rgba(96,165,250,.1)); }
.step:nth-child(3) .glass-sleeve::before { transform: rotate(-4deg); background: linear-gradient(145deg, rgba(96,165,250,.17), rgba(192,132,252,.12)); }
.step:nth-child(4) .glass-sleeve::before { transform: rotate(4deg); }
.split { display: grid; grid-template-columns: .85fr 1.3fr; column-gap: 115px; align-items: start; }
.split h2 { max-width: 13em; }
.rule-list { list-style: none; padding: 0; }
.rule-list li { display: flex; gap: 22px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rule-list li:first-child { padding-top: 0; }
.rule-number { color: var(--accent); font-size: 19px; flex: 0 0 20px; }
.rule-list h3 { font-size: 22px; }
.rule-list p { color: var(--secondary); font-size: 16px; margin-top: 10px; }
.rules-note { color: var(--secondary); font-size: 16px; margin-top: 27px; }
.interrupt, .features, .faq { border-top: 1px solid var(--line); }
.description-list > div { padding-block: 26px; border-bottom: 1px solid var(--line); }
.description-list > div:first-child { padding-top: 0; }
.description-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.description-list dt { font-size: 23px; font-weight: 600; line-height: 1.65; margin-bottom: 12px; }
.description-list dd { color: var(--secondary); }
.compact-list dt, .faq-list dt { font-size: 20px; }
.privacy { background: var(--raised); border-block: 1px solid var(--glass-edge); }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 27px; font-size: 16px; }
.link-arrow { display: inline-block; width: 13px; height: 13px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.faq { border-top: 0; }
.closing { padding-block: 15px 95px; }
.closing-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 65px; border-top: 1px solid var(--glass-edge); border-radius: 28px; padding: 55px 62px; background: var(--glass); box-shadow: 0 16px 40px -30px var(--shadow); }
.closing-inner::before { content: ""; position: absolute; inset: auto 35px -1px; height: 2px; background: linear-gradient(90deg, transparent, #c084fc, #f472b6, #60a5fa, transparent); opacity: .55; }
.closing h2 { max-width: 20em; font-size: 28px; }
.closing .download-placement { margin-top: 0; }
.footer { padding-top: 30px; padding-bottom: 42px; border-top: 1px solid var(--line); font-size: 13px; color: var(--secondary); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--secondary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 29px; }
.operator { line-height: 1.9; }
.copyright { white-space: nowrap; }
/* Each diagram follows the approved script; its text stays in the document. */
.completion-flow { width: 100%; max-width: 430px; justify-self: center; padding: 28px 18px; }
.focus-card { position: relative; min-height: 148px; display: flex; align-items: center; padding: 30px 32px; border: 1px solid var(--glass-edge); border-radius: 23px; background: var(--glass); box-shadow: 0 14px 34px -27px var(--shadow); }
.focus-card::before { content: ""; position: absolute; inset: 26px auto 26px 0; width: 3px; border-radius: 3px; background: var(--accent); }
.focus-card .task-name { margin: 0; color: var(--primary); font-size: 23px; font-weight: 600; line-height: 1.7; }
.completion-bridge { position: relative; display: flex; align-items: center; justify-content: center; height: 100px; }
.completion-bridge::before { content: ""; position: absolute; width: 1px; height: 100%; background: var(--line); }
.completion-label { position: relative; padding: 6px 24px; border: 1px solid var(--glass-edge); border-radius: 99px; background: var(--selection); color: var(--accent); font-size: 16px; }
.flow-arrow { position: absolute; bottom: 7px; width: 8px; height: 8px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: rotate(45deg); }
.focus-card-after::before { background: var(--complete); }
.rules > h2 { max-width: 24em; margin-bottom: 48px; }
.rules-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.queue-figure { list-style: none; padding: 0; display: grid; gap: 10px; }
.queue-figure li { display: flex; align-items: center; gap: 20px; padding: 18px 23px; min-height: 80px; border: 1px solid var(--glass-edge); border-radius: 15px; background: var(--glass); }
.queue-figure li:first-child { background: var(--selection); }
.queue-rule { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); font-size: 15px; }
.queue-content { min-width: 0; font-size: 18px; line-height: 1.7; }
.queue-content .task-name { display: inline; font-size: 18px; font-weight: 600; line-height: 1.7; }
.task-attribute { display: inline-block; white-space: nowrap; font-size: 14px; color: var(--secondary); line-height: 1.7; }
.interrupt > h2 { max-width: 24em; margin-bottom: 38px; }
.interrupt .description-list { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.interrupt .description-list > div { padding: 22px 0 0; border: 0; border-top: 1px solid var(--line); }
.interrupt .description-list dt { color: var(--accent); }
.features > h2 { margin-bottom: 34px; }
.features .description-list > div { display: grid; grid-template-columns: 240px 1fr; column-gap: 40px; padding: 23px 0; }
.features .description-list dt { margin: 0; }
.features .description-list > div:last-child { padding-bottom: 0; }
.privacy-reading { max-width: 850px; }
.privacy h2 { max-width: 23em; margin-bottom: 30px; }
.privacy .prose { max-width: 43em; }
.faq { max-width: 850px; }
.faq > h2 { margin-bottom: 38px; }
.faq .description-list > div { padding-block: 26px; }
.faq .description-list > div:first-child { padding-top: 0; }
.faq .description-list > div:last-child { padding-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .85s ease-out both; }
  .hero-stage { animation: arrive 1s .12s ease-out both; }
  .glass-sleeve::before { transition: transform .8s ease; }
  .step.is-current .glass-sleeve::before { transform: rotate(0); }
  @keyframes arrive { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 16px; grid-template-columns: 1.15fr 1fr; }
  h1 { font-size: 43px; }
  h2 { font-size: 30px; }
  h3 { font-size: 28px; }
  .split { column-gap: 60px; }
  .rules-layout { gap: 60px; }
  .reason { column-gap: 60px; }
  .step { gap: 60px; padding-right: 0; }
  .closing-inner { padding: 44px; gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.95; }
  .wrap { width: calc(100% - 40px); }
  .masthead { padding-top: 23px; gap: 26px; }
  .brand { gap: 10px; font-size: 21px; }
  .brand img { width: 40px; height: 40px; border-radius: 11px; }
  .hero { grid-template-columns: 1fr; gap: 23px; padding-top: 40px; padding-bottom: 63px; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(28px, 8.8vw, 48px); line-height: 1.5; }
  h2 { font-size: 27px; line-height: 1.65; }
  h3 { font-size: 26px; line-height: 1.65; }
  .hero-description { margin-top: 22px; font-size: 16px; line-height: 1.95; }
  .download-placement { margin-top: 25px; gap: 11px; }
  .store-badge img { height: 44px; }
  .small { font-size: 12px; }
  .screen-stage { padding: 25px; }
  .glass-sleeve, .hero-stage .glass-sleeve { width: 276px; padding: 9px; border-radius: 27px; }
  .glass-sleeve::before { inset: -8px -10px; border-radius: 35px; transform: rotate(-3deg); }
  .hero-stage::after { bottom: 0; width: 48px; }
  .section { padding-block: 65px; }
  .reason, .split { grid-template-columns: 1fr; gap: 27px; }
  .section-signal { margin: 0 0 -7px; width: 31px; height: 4px; }
  .reason h2, .split h2 { max-width: none; }
  .prose p + p { margin-top: 20px; }
  .how { padding-top: 56px; padding-bottom: 0; }
  .how-title { padding-bottom: 6px; font-size: 25px; }
  .step { grid-template-columns: 1fr; gap: 26px; padding: 44px 0 48px; }
  .step-number { width: 39px; height: 39px; font-size: 18px; margin-bottom: 18px; }
  .step p { margin-top: 18px; }
  .step .screen-stage { padding: 22px; }
  .step .glass-sleeve { width: 276px; }
  .rule-list li { gap: 13px; padding-block: 22px; }
  .rule-list h3 { font-size: 19px; }
  .rule-list p, .rules-note { font-size: 15px; }
  .rule-number { font-size: 18px; flex-basis: 17px; }
  .description-list dt { font-size: 21px; }
  .compact-list dt, .faq-list dt { font-size: 18px; }
  .description-list > div { padding-block: 22px; }
  .description-list dt { margin-bottom: 9px; }
  .closing { padding-top: 5px; padding-bottom: 60px; }
  .closing-inner { display: block; padding: 33px 25px; border-radius: 24px; }
  .closing h2 { font-size: 24px; }
  .closing .download-placement { margin-top: 26px; }
  .footer { padding-top: 26px; padding-bottom: 30px; font-size: 12px; }
  .footer-links { gap: 12px 21px; }
  .footer-bottom { display: block; margin-top: 24px; }
  .copyright { margin-top: 22px; }
  .completion-flow { max-width: 350px; padding: 9px 8px 2px; }
  .focus-card { min-height: 132px; padding: 26px; border-radius: 20px; }
  .focus-card .task-name { font-size: 22px; }
  .completion-bridge { height: 82px; }
  .rules > h2 { margin-bottom: 29px; }
  .rules-layout { grid-template-columns: 1fr; gap: 32px; }
  .queue-figure { gap: 8px; }
  .queue-figure li { gap: 15px; padding: 17px 19px; min-height: 77px; }
  .queue-content .task-name { font-size: 17px; }
  .task-attribute { font-size: 13px; }
  .interrupt > h2 { margin-bottom: 28px; }
  .interrupt .description-list { grid-template-columns: 1fr; gap: 28px; }
  .interrupt .description-list > div { padding-top: 20px; }
  .features > h2 { margin-bottom: 22px; }
  .features .description-list > div { grid-template-columns: 1fr; gap: 9px; padding-block: 22px; }
  .privacy h2 { margin-bottom: 24px; }
  .faq > h2 { margin-bottom: 28px; }
  .faq .description-list > div { padding-block: 22px; }

}
@media (prefers-color-scheme: dark) {
  :root { --complete: #60a5fa; --base: #0c0e1c; --edge: #03040a; --glass: #191d30; --raised: #272b43; --primary: #f5f5fb; --secondary: #b8bbd0; --accent: #c084fc; --selection: #38274e; --line: #3a3f59; --glass-edge: rgba(206,207,237,.16); --shadow: rgba(0,0,0,.45); --sleeve: rgba(25,29,48,.75); }
  .glass-sleeve::before { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-sleeve { background: var(--glass); }
}
