:root {
  color-scheme: light dark;
  --yellow: #FFF100;
  --cyan: #00A0E9;
  --magenta: #E4007F;
  --black: #111111;
  --white: #FFFFFF;
  --page: var(--white);
  --ink: var(--black);
  --secondary: rgba(17, 17, 17, .76);
  --rule: rgba(17, 17, 17, .2);
  --frame-ink: var(--black);
  --plate-offset: 24px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 18px; line-height: 1.95; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, dt { font-feature-settings: "palt"; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; line-height: 1.48; }
h1 { font-size: clamp(40px, 4.1vw, 60px); }
h2 { font-size: 38px; }
h3 { font-size: 25px; }
p, dd { overflow-wrap: break-word; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; }
.phrase { display: inline-block; white-space: nowrap; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 112px; }
.hero > *, .editor-intro > *, .editor-detail > *, .notes > *, .dates > *, .mac-intro > *, .mac-detail > *, .privacy-inner > *, .faq > *, .closing-inner > * { min-width: 0; }
.screen { display: block; width: 100%; height: auto; }
/* A single geometry for every screenshot. The stage reserves the plate's offset.
   Container units keep the solid bezel at 3.5% of each device's own width. */
.shot-stage { padding: 0 var(--plate-offset) var(--plate-offset) 0; }
.device-shot { position: relative; container-type: inline-size; isolation: isolate; width: 100%; min-width: 0; }
.device-frame { position: relative; z-index: 1; padding: 3.5cqw; background: var(--frame-ink); border-radius: calc(var(--screen-radius) + 3.5cqw); overflow: hidden; }
.device-frame .screen { border-radius: var(--screen-radius); }
/* Native alpha corners: iPhone 120/1030; iPad 32/2064, at 93% image width. */
.phone { --screen-radius: 10.835cqw; }
.tablet { --screen-radius: 1.442cqw; }
.window { --screen-radius: 1.736cqw; }
.window .device-frame { padding: 0; border: 2px solid var(--frame-ink); border-radius: calc(var(--screen-radius) + 2px); background: var(--white); }
.shot-stage .device-shot::before { content: ""; position: absolute; z-index: 0; inset: 0; background: var(--plate-color); transform: translate(var(--plate-offset), var(--plate-offset)); }
.eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; font-size: 16px; font-weight: 700; letter-spacing: .025em; }
.eyebrow::before, .section-caret { content: ""; display: block; width: 18px; height: 26px; background: var(--magenta); clip-path: polygon(0 0, 100% 0, 100% 14%, 61% 14%, 61% 86%, 100% 86%, 100% 100%, 0 100%, 0 86%, 39% 86%, 39% 14%, 0 14%); flex: 0 0 auto; }
.lead { margin-top: 26px; color: var(--secondary); }
.masthead { display: flex; align-items: center; gap: 36px; padding-block: 28px; }
.brand { display: flex; align-items: center; gap: 14px; font-size: 23px; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.brand img { display: block; }
.hero-band { background: var(--yellow); color: var(--black); --frame-ink: var(--black); }
.hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 40px; min-height: 704px; padding-block: 64px 78px; }
.hero h1 .phrase { display: block; }
.hero-description { max-width: 30em; margin-top: 30px; font-size: 17px; line-height: 2; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 12px; margin: 25px -12px 0; }
.store-badge { display: block; flex: 0 0 auto; line-height: 0; }
.store-badge img { display: block; width: auto; height: 48px; }
.store-badge picture { display: block; }
.availability { margin-top: 4px; font-size: 12px; line-height: 1.8; }
.hero-screens { position: relative; width: 100%; padding: 18px 18px 105px 0; }
.hero-phone { position: absolute; width: 32%; right: 0; bottom: 0; }
.thought { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 96px; }
.thought h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.4; }
.thought p { max-width: 52em; color: var(--secondary); }
.editor { border-top: 1px solid var(--rule); }
.editor-intro, .mac-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 100px; align-items: end; }
.editor-intro .lead, .mac-intro .lead { margin: 0; }
.markdown-demo { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; margin: 64px 0 80px; padding: 24px; gap: 32px; background: var(--cyan); color: var(--black); }
.source-example, .rendered-example { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; align-self: stretch; gap: 18px; min-width: 0; min-height: 280px; padding: 32px; }
.source-example { font-size: 36px; font-weight: 600; line-height: 1.6; }
.source-example code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.source-example b { color: var(--magenta); background: var(--white); font-weight: 500; }
.rendered-example { background: var(--white); font-size: 30px; }
.demo-heading { font-size: 56px; line-height: 1.3; font-weight: 700; letter-spacing: -.04em; }
.demo-bullet, .demo-check { position: relative; padding-left: 1.35em; line-height: 1.8; }
.demo-bullet::before { content: ""; position: absolute; top: .76em; left: 3px; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.demo-check::before { content: ""; position: absolute; top: .44em; left: 0; width: .75em; height: .75em; border: 2px solid currentColor; }
.demo-arrow { height: 3px; background: var(--black); position: relative; }
.demo-arrow::after { content: ""; position: absolute; right: 1px; top: -6px; width: 15px; height: 15px; border-right: 3px solid var(--black); border-top: 3px solid var(--black); transform: rotate(45deg); }
.editor-detail { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.ipad-stage { --plate-color: var(--cyan); }
.feature-list > div { padding-block: 24px; border-bottom: 1px solid var(--rule); }
.feature-list > div:first-child { padding-top: 0; }
.feature-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.feature-list dt { font-size: 22px; font-weight: 700; letter-spacing: -.025em; line-height: 1.65; margin-bottom: 10px; }
.feature-list dd { font-size: 16px; color: var(--secondary); }
.notes { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; border-top: 1px solid var(--rule); align-items: center; }
.notes .feature-list { margin-top: 34px; }
.notes-screens { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; --plate-color: var(--yellow); }
.notes-second { margin-top: 102px; }
.intelligence { background: var(--black); color: var(--white); --secondary: rgba(255,255,255,.78); --rule: rgba(255,255,255,.28); --frame-ink: var(--white); }
.intelligence-intro { max-width: 830px; }
.intelligence h2 { font-size: 44px; }
.intelligence-intro .lead { max-width: 660px; }
.ai-features { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; margin-top: 60px; }
.ai-feature { display: flex; flex-direction: column; align-items: flex-start; }
.ai-copy { min-height: 140px; max-width: 460px; }
.ai-copy h3 { margin-bottom: 14px; }
.ai-copy p { font-size: 16px; color: var(--secondary); }
.ai-screen { width: min(324px, 100%); margin: 30px auto 0; --plate-color: var(--cyan); }
.ai-feature:nth-child(2) .ai-screen { --plate-color: var(--magenta); }
.ai-more { display: grid; grid-template-columns: 1fr; margin-top: 68px; }
.ai-more > div, .ai-more > div:first-child, .ai-more > div:last-child { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-block: 24px; border-top: 1px solid var(--rule); border-bottom: 0; }
.ai-more dt { margin: 0; }
.dates-band { background: var(--cyan); color: var(--black); --secondary: var(--black); --frame-ink: var(--black); }
.dates { display: grid; grid-template-columns: 1.1fr 1fr; gap: 120px; align-items: center; }
.dates .eyebrow::before { background: var(--black); }
.dates-copy .lead, .dates-copy .note { font-weight: 500; }
.dates-copy .note { margin-top: 23px; font-size: 15px; color: var(--secondary); }
.date-stage { width: min(324px, 100%); margin-inline: auto; --plate-color: var(--yellow); }
.mac { border-top: 1px solid var(--rule); }
.mac-detail { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; margin-top: 60px; }
.mac-stage { --plate-color: var(--yellow); }
.privacy { background: var(--yellow); color: var(--black); }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 100px; }
.privacy .section-caret { grid-column: 1 / -1; }
.privacy h2 { font-size: 34px; }
.prose p + p { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 25px; font-size: 16px; margin-top: 25px; }
.link-arrow { display: block; width: 11px; height: 11px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 90px; }
.faq h2 { font-size: 31px; }
.faq-list dt { font-size: 21px; }
.faq-list dd { font-size: 17px; }
.closing { padding-bottom: 80px; }
.closing-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; padding-block: 50px; border-block: 3px solid var(--ink); align-items: center; }
.closing h2 { font-size: 30px; }
.closing .store-badges { margin-top: 0; }
.footer { padding-bottom: 44px; font-size: 12px; color: var(--secondary); }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px 32px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 30px; }
.operator > div { display: flex; gap: 18px; }
.operator dt { min-width: 7em; }
.copyright { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .65s ease-out both; }
  .hero-screens { animation: arrive .75s .12s ease-out both; }
  .store-badge { transition: transform .2s ease-out; }
  .store-badge:hover { transform: translateY(-2px); }
  @keyframes arrive { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  h1 { font-size: clamp(29px, 3.8vw, 43px); }
  h2 { font-size: 33px; }
  .hero { gap: 30px; min-height: 620px; }
  .hero-description { font-size: 16px; }
  .editor-intro, .mac-intro, .notes, .dates, .privacy-inner { gap: 30px 50px; }
  .editor-detail, .mac-detail { gap: 40px; }
  .markdown-demo { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 24px; }
  .source-example, .rendered-example { padding: 24px; }
  .source-example { font-size: 30px; }
  .demo-heading { font-size: 48px; }
  .ai-features { gap: 64px; }
  .notes-screens { gap: 15px; }
  .faq { gap: 50px; }
  .closing-inner { gap: 40px; }
}
@media (max-width: 760px) {
  :root { --plate-offset: 16px; }
  body { font-size: 16px; line-height: 1.95; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 68px; }
  h1 { font-size: clamp(29px, 8.3vw, 43px); line-height: 1.55; letter-spacing: -.04em; }
  h2 { font-size: 28px; line-height: 1.6; letter-spacing: -.04em; }
  h3 { font-size: 23px; }
  .eyebrow { font-size: 14px; gap: 11px; margin-bottom: 18px; }
  .eyebrow::before, .section-caret { width: 15px; height: 23px; }
  .masthead { gap: 25px; padding-block: 20px; }
  .brand { font-size: 20px; gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .hero { display: flex; flex-direction: column; gap: 40px; min-height: 0; padding-block: 42px 48px; align-items: stretch; }
  .hero-description { margin-top: 23px; font-size: 16px; }
  .store-badges { gap: 22px; padding: 11px; margin: 20px -11px 0; }
  .store-badge img { height: 44px; }
  .availability { font-size: 11px; line-height: 1.9; margin-top: 4px; }
  .hero-screens { padding: 0 14px 96px 0; }
  .hero-phone { width: 34%; right: 0; }
  .thought { gap: 22px; }
  .thought h2 { font-size: clamp(28px, 8.5vw, 40px); line-height: 1.55; }
  .thought .section-caret { margin-bottom: 2px; }
  .editor-intro, .mac-intro { grid-template-columns: 1fr; gap: 23px; }
  .markdown-demo { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 12px; padding: 12px; margin-block: 36px 48px; }
  .source-example, .rendered-example { min-height: 200px; padding: 14px 0; }
  .source-example { font-size: clamp(16px, 4.6vw, 24px); gap: 20px; }
  .rendered-example { font-size: 20px; gap: 14px; padding-inline: 12px; }
  .demo-heading { font-size: clamp(26px, 7.7vw, 36px); }
  .demo-bullet, .demo-check { padding-left: 1.2em; }
  .demo-bullet::before { width: 6px; height: 6px; }
  .demo-check::before { width: 15px; height: 15px; top: .38em; }
  .editor-detail { grid-template-columns: 1fr; gap: 38px; }
  .feature-list dt { font-size: 21px; margin-bottom: 9px; }
  .feature-list dd { font-size: 15px; }
  .feature-list > div { padding-block: 23px; }
  .notes { grid-template-columns: 1fr; gap: 36px; }
  .notes .feature-list { margin-top: 30px; }
  .notes-screens { gap: 16px; }
  .notes-second { margin-top: 62px; }
  .intelligence h2 { font-size: 29px; }
  .intelligence-intro .lead { margin-top: 23px; }
  .ai-features { grid-template-columns: 1fr; gap: 46px; margin-top: 38px; }
  .ai-feature { border-top: 1px solid var(--rule); padding-top: 27px; }
  .ai-copy { min-height: 0; }
  .ai-copy p { font-size: 15px; }
  .ai-screen { width: min(276px, 100%); margin-top: 28px; }
  .ai-more { margin-top: 42px; }
  .ai-more > div, .ai-more > div:first-child, .ai-more > div:last-child { grid-template-columns: 1fr; gap: 9px; padding-block: 23px; }
  .dates { grid-template-columns: 1fr; gap: 30px; }
  .dates-copy .note { font-size: 14px; }
  .date-stage { width: min(276px, 100%); }
  .mac-detail { grid-template-columns: 1fr; gap: 34px; margin-top: 34px; }
  .privacy-inner { grid-template-columns: 1fr; gap: 24px; }
  .privacy h2 { font-size: 28px; }
  .text-link { margin-top: 22px; font-size: 15px; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .faq h2 { font-size: 28px; }
  .faq-list dt { font-size: 20px; }
  .faq-list dd { font-size: 15px; }
  .closing { padding-bottom: 48px; }
  .closing-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 32px; }
  .closing h2 { font-size: 26px; }
  .footer { font-size: 11px; padding-bottom: 30px; }
  .footer-links { gap: 12px 22px; }
  .footer-bottom { display: block; margin-top: 26px; }
  .operator > div { gap: 11px; }
  .copyright { margin-top: 24px; }
}
@media (prefers-color-scheme: dark) {
  :root { --page: var(--black); --ink: var(--white); --secondary: rgba(255,255,255,.78); --rule: rgba(255,255,255,.26); --frame-ink: var(--white); }
  .intelligence { border-block: 1px solid var(--rule); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
