:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #c8001a;
  --accent-soft: rgba(200, 0, 26, 0.08);
  --radius: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-2: #161617;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent: #ff5a52;
    --accent-soft: rgba(255, 90, 82, 0.12);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

:lang(en) body,
body:lang(en) {
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
  word-break: auto-phrase;
}

p,
li {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 26px;
  height: 26px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.nav .lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 40px;
}

.hero-icon {
  width: 128px;
  height: 128px;
  display: block;
  margin: 0 auto 20px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin: 0;
}

.hero .tagline {
  font-size: 28px;
  font-weight: 600;
  margin: 12px 0 0;
}

.hero .lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.hero .meta {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.hero .meta strong {
  color: var(--text);
  font-weight: 600;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
}

.cta[aria-disabled="true"] {
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: default;
}

.cta svg {
  width: 18px;
  height: 18px;
}

/* Screenshot placeholder */
.shot {
  margin: 48px auto 0;
  max-width: 900px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  padding: 20px;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--bg-2);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 36px;
  margin: 0;
}

.section-head p {
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 620px;
}

.folders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

.folder svg {
  width: 32px;
  height: 32px;
  color: var(--muted);
}

.folder small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature .icon svg {
  width: 22px;
  height: 22px;
}

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

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  font-size: 13px;
  line-height: 1.4;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
}

.oneclick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.oneclick li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.oneclick svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 3px;
}

.oneclick strong {
  display: block;
  font-size: 16px;
}

.oneclick span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.privacy-points svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 4px;
}

.center {
  text-align: center;
}

.more {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
}

.price {
  font-size: 44px;
  font-weight: 700;
  margin: 0;
}

/* Document pages */
.doc {
  padding: 56px 0 72px;
}

.doc h1 {
  font-size: 36px;
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.doc h2 {
  font-size: 21px;
  margin: 40px 0 10px;
  padding-top: 8px;
}

.doc p,
.doc li {
  font-size: 16px;
}

.doc ul {
  padding-left: 1.3em;
}

.doc li + li {
  margin-top: 4px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 20px 24px;
  margin: 16px 0;
}

.contact-card p {
  margin: 0;
}

.contact-card .email {
  font-size: 19px;
  font-weight: 600;
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > div {
  color: var(--muted);
  padding-top: 8px;
}

.faq details > div p {
  margin: 0 0 8px;
}

kbd {
  font-family: inherit;
  font-size: 0.9em;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 5px;
  background: var(--bg-2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

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

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

@media (max-width: 820px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .nav {
    gap: 12px;
    font-size: 13px;
  }
  .nav .hide-sm {
    display: none;
  }
  .hero {
    padding: 48px 0 24px;
  }
  .hero-icon {
    width: 104px;
    height: 104px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero .tagline {
    font-size: 22px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .shot {
    margin-top: 36px;
  }
  .section {
    padding: 56px 0;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .folders {
    grid-template-columns: repeat(2, 1fr);
  }
  .features,
  .oneclick,
  .privacy-points {
    grid-template-columns: 1fr;
  }
  .doc h1 {
    font-size: 30px;
  }
  .price {
    font-size: 36px;
  }
}
