:root {
  --ink: #1c1614;
  --ink-soft: #3f352f;
  --muted: #6b635c;
  --line: #e7ddd3;
  --paper: #f6f1ea;
  --cream: #fbf7f2;
  --canvas: #fffcfa;
  --pink: #e85c7a;
  --pink-deep: #c44562;
  --pink-soft: #fce8ee;
  --brand-blue: #1f6bff;
  --folder-orange: #e8923a;
  --folder-blue: #4b8fd4;
  --shadow-shot: 0 1px 1px rgb(28 22 20 / 0.04), 0 18px 40px rgb(28 22 20 / 0.12), 0 40px 80px rgb(28 22 20 / 0.08);
  --font-sans: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--pink-soft);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.wrap {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(720px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-shot {
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
}

.font-display,
.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

.display {
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 99px;
  background: var(--pink);
}

.lede a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 24px rgb(232 92 122 / 0.28);
}

.btn-primary:hover {
  background: var(--pink-deep);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-header {
  padding: 0.72rem 1.35rem;
  font-size: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgb(231 221 211 / 0.7);
  background: var(--paper);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: #1f6bff;
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop > a,
.nav-item > a,
.nav-item > button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-desktop > a:hover,
.nav-item > a:hover,
.nav-item > button:hover {
  background: #fff;
  color: var(--ink);
}

.nav-item {
  position: relative;
}

.nav-item .menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  width: 22rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgb(28 22 20 / 0.16);
  z-index: 120;
}

.nav-item:hover .menu,
.nav-item:focus-within .menu {
  display: block;
}

.nav-item .menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-item .menu a strong {
  display: block;
  font-size: 0.95rem;
}

.nav-item .menu a span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 400;
}

.nav-item .menu a:hover {
  background: var(--paper);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 0;
}

.nav-mobile a {
  padding: 0.75rem 0.75rem;
  border-radius: 0.85rem;
  font-weight: 500;
}

.nav-mobile a:hover {
  background: #fff;
}

.nav-mobile a.pink {
  color: var(--pink-deep);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

.footer-brand p {
  max-width: 24rem;
}

.footer-note {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-footer h2 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--pink-deep);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.device-shot {
  position: relative;
}

.device-body {
  background: #2a2422;
  border-radius: 1.65rem;
  padding: 0.45rem;
  box-shadow: var(--shadow-shot);
}

.device-screen {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
  background: #f3eee8;
}

.device-shot.portrait .device-body {
  border-radius: 1.9rem;
  padding: 0.5rem;
}

.device-shot.portrait .device-screen {
  border-radius: 1.45rem;
}

.portrait-wrap {
  width: min(380px, 100%);
  margin-inline: auto;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
}

.store-badge {
  display: inline-block;
  line-height: 0;
}

.store-badge img {
  display: block;
  height: var(--store-h, 44px);
  width: auto;
}

.store-md { --store-h: 44px; }
.store-lg { --store-h: 56px; }
.store-hero { --store-h: clamp(58px, 13vw, 84px); }

.store-badge:hover {
  opacity: 0.92;
}

.hero {
  padding: 3rem 0 2rem;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  max-width: 52rem;
  margin: 1.15rem auto 0;
}

.hero .lede {
  max-width: 36rem;
  margin: 1.4rem auto 0;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-shot {
  margin-top: 3rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid > * {
  min-width: 0;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3,
.grid-4,
.split,
.split-hand {
  grid-template-columns: 1fr;
}

.card {
  display: block;
  width: 100%;
  max-width: 100%;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  box-sizing: border-box;
}

a.card,
.card-link {
  color: inherit;
  text-decoration: none;
  height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

a.card:hover,
.card-link:hover,
.feature-card:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(28 22 20 / 0.08);
}

.card-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.card h2,
.card h3,
.feature-card h2 {
  margin: 0.7rem 0 0;
}

.card h2:first-child,
.card h3:first-child,
.feature-card h2:first-child {
  margin-top: 0;
}

.card p,
.feature-card p {
  margin: 0.5rem 0 0;
}

.card p:first-child,
.feature-card p:first-child {
  margin-top: 0;
}

.page-hero {
  padding: 3.5rem 0 4rem;
}

.page-hero .lede {
  max-width: 40rem;
}

.page-hero.center .lede {
  margin-inline: auto;
}

.page {
  padding-bottom: 4.5rem;
}

.section {
  padding: 5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-blue {
  background: var(--brand-blue);
  color: #fff;
  overflow: hidden;
}

.section-blue .kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.7);
  margin: 0;
}

.section-blue h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 1rem 0 0;
}

.section-blue p {
  max-width: 36rem;
  margin: 1.2rem 0 0;
  font-size: 1.1rem;
  color: rgb(255 255 255 / 0.8);
}

.logo-frame {
  width: min(28rem, 100%);
  margin-inline: auto;
}

.logo-frame img {
  width: 100%;
  border-radius: 2rem;
  box-shadow: var(--shadow-shot);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.list-plain {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  display: grid;
  gap: 0.75rem;
}

.mt {
  margin-top: 2rem;
}

.caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.pdf-card,
.mock-card,
.search-card,
.tabs-card,
.split-card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-shot);
}

.pdf-card {
  padding: 1rem;
}

.pdf-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.badge {
  border-radius: 999px;
  background: #fef08a;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pdf-page {
  background: #f4f1ea;
  border-radius: 0.85rem;
  padding: 1.2rem;
}

.highlight {
  display: inline-block;
  background: rgb(254 240 138 / 0.8);
  padding: 0 0.2rem;
  border-radius: 2px;
}

.scribble {
  margin-top: 1.4rem;
  transform: rotate(-2deg);
  color: var(--pink-deep);
}

.tabs-bar {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 0.75rem 0.75rem 0;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem 0.75rem 0 0;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--muted);
}

.tab.is-on {
  background: var(--canvas);
  color: var(--ink);
  font-weight: 600;
}

.tabs-body,
.split-card {
  display: grid;
}

.panel {
  padding: 1.4rem;
}

.panel + .panel {
  border-top: 1px solid var(--line);
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.book-page {
  min-height: 220px;
  margin-top: 1rem;
  border-radius: 0.85rem;
  background: #eef3f8;
  padding: 1rem;
}

.note-page {
  min-height: 220px;
  margin-top: 1rem;
  border-radius: 0.85rem;
  padding: 1rem;
  color: #2b5aa8;
  background-color: #eaf3fb;
  background-image: linear-gradient(#d7e6f3 1px, transparent 1px);
  background-size: 100% 28px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.75rem 1rem;
}

.search-card {
  padding: 1.2rem;
}

.result {
  background: var(--paper);
  border-radius: 0.85rem;
  padding: 0.8rem;
  margin-top: 0.75rem;
}

.result .tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-pink { color: var(--pink-deep); }
.tag-orange { color: var(--folder-orange); }
.tag-blue { color: var(--folder-blue); }

mark {
  background: var(--pink-soft);
}

.audience-card {
  display: block;
  background: var(--ink);
  color: #fff;
  border-radius: 1.5rem;
  padding: 1.4rem;
  transition: transform 0.15s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
}

.audience-card .over {
  margin: 0;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.6);
}

.audience-card h3 {
  margin: 0.3rem 0 0;
  font-size: 1.7rem;
}

.audience-card p {
  margin: 0.7rem 0 0;
  color: rgb(255 255 255 / 0.7);
}

.dark-card {
  background: var(--ink);
  color: #fff;
  border: 0;
}

.dark-card p,
.dark-card li {
  color: rgb(255 255 255 / 0.82);
}

.dark-card .hint {
  color: rgb(255 255 255 / 0.55);
  font-size: 0.9rem;
}

.download-band {
  margin: 5rem auto;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 3.4rem 2rem;
}

.download-band-kicker {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}

.download-band-title {
  max-width: 40rem;
  margin: 1rem auto 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.download-band-text {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: 1.1rem;
  color: rgb(255 255 255 / 0.7);
}

.download-band-buttons {
  margin-top: 2rem;
}

.download-band-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.5);
}

.tree-card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.3rem;
  box-shadow: var(--shadow-shot);
}

.tree-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tree-title {
  margin: 0;
  font-size: 1.25rem;
}

.pill {
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
}

.tree {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.tree-root {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgb(252 232 238 / 0.8);
  border-radius: 0.6rem;
  padding: 0.4rem 0.5rem;
  font-weight: 600;
}

.tree-pad {
  padding-left: 0.5rem;
}

.tree-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
}

.tree-row.strong {
  font-weight: 600;
}

.tree-branch {
  list-style: none;
  margin: 0 0 0 0.75rem;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--line);
}

.prose {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.prose h1 {
  margin-top: 1rem;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 2.2rem 0 0.7rem;
}

.prose h2 { font-size: 1.85rem; }
.prose h3 { font-size: 1.35rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  max-width: 50rem;
  margin: 1rem 0 0;
}

.media {
  padding-bottom: 2.4rem;
}

.related {
  padding: 1rem 0 3.5rem;
}

.related-title {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form label span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.form input,
.form textarea,
.search-input {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 1rem;
  padding: 0.8rem 1rem;
}

.form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.notice {
  margin: 1.5rem 0 0;
  padding: 0.95rem 1.15rem;
  border-radius: 1rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.notice-ok {
  background: #eef7f0;
  color: #215c32;
  border: 1px solid #cfe8d6;
}

.notice-error {
  background: #fdeeee;
  color: #8a2430;
  border: 1px solid #f3cfd3;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-mail {
  display: block;
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.contact-mail .small {
  margin: 0;
}

.contact-mail strong {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
  word-break: break-all;
}

.search-input {
  width: 100%;
  max-width: 36rem;
  margin: 1.75rem 0 0;
  border-radius: 999px;
}

.price-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.price-list li {
  position: relative;
  padding-left: 1.35rem;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 99px;
  background: var(--pink);
}

.dark-card .price-list li::before {
  background: var(--pink);
}

.feature-index a h2 {
  margin: 0;
  font-size: 1.7rem;
}

.help-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.help-list > li {
  display: flex;
  min-width: 0;
}

.help-list .card {
  flex: 1;
}

.help-title {
  margin: 0;
  font-weight: 600;
}

.support-index {
  margin-top: 3rem;
}

.support-heading {
  font-size: 1.65rem;
  margin: 0;
}

.support-block + .support-block {
  margin-top: 2.75rem;
}

.support-foot {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.crumb {
  font-size: 0.9rem;
  color: var(--muted);
}

.crumb a,
.support-foot a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.is-hidden {
  display: none !important;
}

.gap {
  gap: 1rem;
}

.gap-lg {
  gap: 2.5rem;
}

.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.space-y > * + * {
  margin-top: 0.5rem;
}

.max-md {
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .sm-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .md-2 { grid-template-columns: 1fr 1fr; }
  .md-3 { grid-template-columns: repeat(3, 1fr); }
  .tabs-body,
  .split-card { grid-template-columns: 1fr 1fr; }
  .panel + .panel {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .wrap,
  .wrap-shot {
    width: min(1160px, calc(100% - 3.5rem));
  }
  .wrap-narrow {
    width: min(720px, calc(100% - 3.5rem));
  }
}

@media (min-width: 1024px) {
  .header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-desktop {
    display: flex;
    justify-self: center;
  }
  .header-actions {
    justify-self: end;
  }
  .menu-btn { display: none; }
  .nav-mobile { display: none !important; }
  .lg-2 { grid-template-columns: 1fr 1fr; }
  .lg-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-4 { grid-template-columns: repeat(4, 1fr); }
  .split-hand { grid-template-columns: 0.9fr 1.1fr; }
  .hero { padding-top: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .store-badge, .audience-card, a.card, .card-link { transition: none; }
  .btn:hover, .store-badge:hover, .audience-card:hover, a.card:hover, .card-link:hover { transform: none; }
}
