:root {
  color-scheme: dark;
  --paper: #101010; --ink: #f0f0f0; --muted: #a0a0a0; --line: #303030;
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #ddd; outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; letter-spacing: 1px; }
[data-i18n] { white-space: pre-line; }
.skip { position: fixed; left: 16px; top: -80px; padding: 14px; background: #fff; color: #111; z-index: 20; }
.skip:focus { top: 10px; }
.site-header { height: 106px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 600; letter-spacing: -1.1px; }
.brand img { border-radius: 6px; }
.site-header nav { display: flex; gap: 32px; font-size: 12px; color: #aaa; }
.site-header nav a, .text-link { transition: color .2s; }
.site-header nav a:hover, .text-link:hover, .site-footer a:hover { color: #fff; }
.nav-actions { display: flex; gap: 26px; align-items: center; font-size: 12px; }
.language { background: none; border: 0; padding: 10px 0; cursor: pointer; }
.language span { font-size: 11px; margin-left: 6px; }
.github-link { border-bottom: 1px solid #888; padding-block: 7px; }
.menu-button { display: none; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; padding-block: 94px 100px; }
.eyebrow { font-size: 9px; font-weight: 550; letter-spacing: 1.7px; line-height: 1.8; margin: 0 0 27px; color: #aaa; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(58px, 5.9vw, 82px); letter-spacing: -3px; line-height: 1.05; margin: 0 0 30px; }
.hero h1 em { font-weight: 400; color: #999; }
.hero-description { font-size: 15px; line-height: 1.85; color: #aaa; max-width: 440px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 27px; align-items: center; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 50px; padding: 0 22px; font-size: 12px; font-weight: 550; border-radius: 1px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.dark, .button.lime { background: #ededed; color: #151515; }
.button.dark:hover, .button.lime:hover { background: #fff; }
.text-link { font-size: 12px; display: flex; gap: 15px; align-items: center; color: #aaa; }
.hero-status { font-size: 10px; color: #858585; line-height: 1.7; margin: 26px 0 0; }
/* The envelope is drawn in CSS; the project seal is the original DIDMail mark. */
.mail-scene { position: relative; height: 477px; background: #191919; border: 1px solid #333; overflow: hidden; isolation: isolate; }
.scene-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff09 1px, transparent 1px), linear-gradient(90deg, #ffffff09 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse at center, #000, transparent 80%); }
.scene-top { position: absolute; inset: 24px 23px auto; display: flex; justify-content: space-between; color: #888; }
.scene-top .mono { font-size: 7px; }
.message-paper { position: absolute; left: 17%; right: 17%; top: 73px; height: 240px; padding: 22px 25px; background: #e7e7e7; color: #222; box-shadow: 0 9px 23px #0005; transform: rotate(-5deg); transition: transform .5s; }
.paper-header { display: flex; align-items: center; gap: 7px; color: #666; }
.paper-header .mono { font-size: 7px; letter-spacing: 1.3px; }
.paper-dot { height: 5px; width: 5px; border-radius: 50%; background: #777; }
.message-paper p { font-family: var(--serif); font-size: 35px; line-height: 1.1; letter-spacing: -1.1px; margin: 22px 0; }
.paper-lines i { display: block; height: 2px; background: #c6c6c6; width: 85%; margin: 10px 0; }
.paper-lines i:nth-child(2) { width: 94%; }
.paper-lines i:nth-child(3) { width: 61%; }
.envelope { position: absolute; top: 207px; left: 9%; right: 9%; height: 193px; filter: drop-shadow(0 16px 17px #0006); transform: rotate(3deg); transition: transform .5s; }
.envelope-base { position: absolute; inset: 0; background: #898989; }
.envelope-fold { position: absolute; inset: 0; background: linear-gradient(145deg, #bcbcbc, #8b8b8b); clip-path: polygon(0 0,50% 52%,100% 0,100% 100%,0 100%); border-bottom: 1px solid #777; }
.envelope:before { content: ""; position: absolute; inset: 0; background: #777; clip-path: polygon(0 0,50% 58%,100% 0); z-index: -1; }
.envelope:after { content: ""; position: absolute; inset: 0; background: #c3c3c3; clip-path: polygon(0 100%,50% 44%,100% 100%); border-bottom: 1px solid #999; }
.seal { position: absolute; width: 65px; height: 65px; border-radius: 50%; background: #141414; left: calc(50% - 32px); top: 58px; display: grid; place-items: center; z-index: 2; box-shadow: 0 3px 6px #0006; transform: rotate(-3deg); }
.seal img { border-radius: 50%; width: 53px; height: 53px; }
.envelope-label { position: absolute; left: 22px; bottom: 18px; font-size: 7px; z-index: 3; color: #444; letter-spacing: .7px; }
.encryption-tag { position: absolute; right: 19px; top: 170px; background: #141414; color: #ddd; padding: 13px 15px; display: flex; gap: 9px; align-items: center; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .6px; transform: rotate(3deg); border: 1px solid #555; z-index: 3; }
.encryption-tag>span:first-child { font-size: 20px; line-height: 1; }
.scene-bottom { position: absolute; bottom: 21px; inset-inline: 23px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--serif); font-size: 11px; color: #aaa; }
.scene-bottom .mono { font-size: 6px; letter-spacing: .6px; }
.mail-scene:hover .message-paper { transform: translateY(-8px) rotate(-7deg); }
.mail-scene:hover .envelope { transform: translateY(3px) rotate(1deg); }
.principles-strip { border-block: 1px solid var(--line); background: #151515; }
.principles-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 25px; font-family: ui-monospace, monospace; letter-spacing: 1.1px; font-size: 9px; color: #aaa; }
.section-space { padding-block: 112px; }
h2 { font-family: var(--serif); font-size: 49px; line-height: 1.12; font-weight: 400; letter-spacing: -1.6px; margin: 0 0 24px; }
h3 { font-weight: 500; }
.section-description { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 350px; margin: 0; }
.idea-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 95px; }
.principle-list article { display: flex; gap: 23px; align-items: flex-start; border-top: 1px solid var(--line); padding: 27px 0; }
.principle-list article:first-child { padding-top: 0; border: 0; }
.item-index { color: #777; margin-top: 5px; }
.principle-list h3 { font-size: 17px; letter-spacing: -.3px; margin: 0 0 13px; }
.principle-list p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.journey-section { background: #e7e7e7; color: #202020; padding: 34px 38px; }
.journey-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; border-bottom: 1px solid #c0c0c0; padding-bottom: 22px; }
.journey-heading .eyebrow { margin: 0; color: #444; }
.journey-heading>.mono { font-size: 8px; color: #666; }
.journey { display: flex; align-items: center; justify-content: center; padding-block: 34px; gap: 24px; }
.journey-step { flex: 1; text-align: left; max-width: 240px; }
.journey-symbol { display: block; font-size: 24px; color: #777; margin-bottom: 22px; }
.journey-step h3 { font-size: 16px; margin: 0 0 12px; }
.journey-step p { font-size: 12px; line-height: 1.8; color: #555; margin: 0; }
.connection { height: 1px; width: 60px; background: #aaa; position: relative; flex-shrink: 0; }
.connection span { position: absolute; right: 0; top: -11px; color: #555; background: #e7e7e7; font-size: 19px; }
.architecture-note { border-top: 1px solid #bbb; padding-top: 25px; display: grid; grid-template-columns: 1fr 2fr; gap: 38px; }
.architecture-note p { font-size: 12px; color: #555; line-height: 1.9; margin: 0; }
.architecture-note .note-heading { color: #222; font-size: 15px; }
.project-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 43px; gap: 55px; }
.project-heading h2 { margin: 0; }
.nft-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.nft-feature h3 { font-size: 22px; line-height: 1.4; letter-spacing: -.5px; margin: 27px 0 15px; max-width: 430px; }
.nft-feature>p { font-size: 13px; line-height: 1.9; color: #aaa; margin: 0; max-width: 490px; }
.envelope-study, .namecard-study { position: relative; height: 340px; background: #202020; border: 1px solid #353535; overflow: hidden; }
.study-label, .study-bottom { position: absolute; left: 24px; top: 22px; font-size: 7px; color: #999; }
.study-bottom { top: auto; bottom: 22px; }
.mini-envelope { position: absolute; width: 64%; height: 46%; left: 18%; top: 29%; background: #bdbdbd; transform: rotate(-8deg); box-shadow: 8px 17px 24px #0004; }
.mini-envelope:before { content: ""; position: absolute; inset: 0; background: #909090; clip-path: polygon(0 0,50% 59%,100% 0); }
.mini-envelope:after { content: ""; position: absolute; inset: 0; background: #d2d2d2; clip-path: polygon(0 100%,50% 44%,100% 100%); }
.mini-envelope img { position: absolute; width: 47px; height: 47px; border-radius: 50%; left: calc(50% - 23px); top: 34%; z-index: 2; border: 4px solid #161616; }
.namecard-study { background: #dadada; }
.namecard-study>.mono { color: #555; }
.namecard { position: absolute; left: 13%; right: 13%; top: 23%; padding: 18px 22px; background: #111; color: #eee; transform: rotate(5deg); box-shadow: 12px 18px 22px #0003; }
.namecard-top { display: flex; justify-content: space-between; align-items: center; }
.namecard-top .mono { font-size: 8px; color: #999; }
.card-name { font-family: var(--serif); font-size: 30px; margin: 18px 0 8px; letter-spacing: -.7px; }
.namecard>.mono { font-size: 7px; color: #aaa; }
.card-rule { border-top: 1px solid #444; margin: 14px 0 8px; }
.audience-section { background: #191919; padding-block: 75px 15px; border-block: 1px solid var(--line); }
.audience-row { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; padding-block: 53px 65px; }
.audience-row+.audience-row { border-top: 1px solid #383838; }
.audience-row>div>.mono { display: block; font-size: 8px; color: #888; margin-bottom: 24px; }
.audience-row h2 { font-size: 43px; }
.audience-row h3 { font-size: 21px; line-height: 1.5; margin: 0 0 20px; }
.audience-row p { font-size: 13px; color: #aaa; line-height: 1.9; margin: 0 0 21px; }
.fine-print, .audience-row .fine-print { font-size: 11px; color: #888; line-height: 1.8; }
.tech-list { border-top: 1px solid #777; }
.tech-list article { display: grid; grid-template-columns: 40px 1fr 110px; align-items: start; gap: 20px; border-bottom: 1px solid #333; padding-block: 29px; }
.tech-list article>.mono { color: #888; padding-top: 4px; }
.tech-list h3 { font-size: 22px; letter-spacing: -.5px; margin: 0 0 12px; }
.tech-list p { font-size: 13px; color: #aaa; line-height: 1.8; margin: 0; max-width: 700px; }
.tech-list a { font-size: 11px; color: #bbb; text-align: right; padding-block: 8px; }
.tech-list a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.tech-tag { text-align: right; font-size: 8px; }
.technology-section>.fine-print { margin-top: 22px; max-width: 800px; }
.status-section { background: #e6e6e6; color: #171717; padding-block: 85px; }
.status-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 110px; align-items: center; }
.status-section .eyebrow { color: #666; }
.status-section h2 { font-size: 52px; }
.status-section p { font-size: 13px; line-height: 1.9; color: #555; max-width: 450px; margin: 0 0 29px; }
.status-section .button { background: #181818; color: #eee; }
.status-section .button:hover { background: #333; }
.release-note { border: 1px solid #b7b7b7; padding: 30px; }
.release-note>.mono { color: #666; font-size: 8px; }
.release-note h3 { font-size: 21px; margin: 24px 0; }
.release-note ul { padding-left: 15px; margin: 0 0 23px; color: #555; font-size: 11px; line-height: 2.5; }
.release-note p { border-top: 1px solid #bbb; padding-top: 21px; font-size: 11px; line-height: 1.85; margin: 0; color: #666; }
.faq-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 95px; }
.faq-list { border-top: 1px solid #444; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 23px 0; font-size: 14px; cursor: pointer; gap: 15px; }
summary::-webkit-details-marker { display: none; }
summary>span:last-child { font-size: 20px; color: #888; transition: transform .2s; }
details[open] summary>span:last-child { transform: rotate(45deg); }
details p { color: #aaa; font-size: 12px; line-height: 1.9; margin: 0 28px 23px 0; }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 35px; }
.site-footer .brand { font-size: 21px; }
.site-footer p { font-family: var(--serif); font-size: 14px; color: #888; }
.site-footer>div { display: flex; align-items: end; flex-direction: column; gap: 10px; font-size: 10px; }
.site-footer>div>span { color: #888; font-size: 9px; }
html[lang=zh] h1 { font-family: var(--sans); font-size: 47px; letter-spacing: -1.8px; line-height: 1.45; }
html[lang=zh] h1 em { font-style: normal; }
html[lang=zh] h2 { font-family: var(--sans); font-size: 36px; font-weight: 450; line-height: 1.45; letter-spacing: -1px; }
html[lang=zh] .message-paper p { font-family: var(--sans); font-size: 28px; line-height: 1.5; }
html[lang=zh] .scene-bottom { font-family: var(--sans); font-size: 10px; }
html[lang=zh] .card-name { font-family: var(--sans); font-size: 25px; }
@media(max-width:1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 35px; }
  .hero h1 { font-size: 63px; }
  .mail-scene { height: 445px; }
  .scene-bottom .mono { display: none; }
  .idea-section, .faq-section, .status-inner, .audience-row { gap: 60px; }
  .nft-layout { gap: 30px; }
  .card-name { font-size: 26px; }
  html[lang=zh] h1 { font-size: 40px; }
}
@media(max-width:800px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { height: 84px; }
  .site-header nav { gap: 18px; font-size: 11px; }
  .nav-actions { gap: 20px; }
  .brand { font-size: 23px; }
  .hero { grid-template-columns: 1fr; padding-block: 58px 64px; gap: 40px; }
  .hero h1 { font-size: 80px; }
  .hero-description { max-width: 510px; }
  .mail-scene { max-width: 540px; width: 100%; justify-self: center; }
  .hero h1 br { display: initial; }
  .principles-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; font-size: 8px; }
  .section-space { padding-block: 75px; }
  .idea-section, .faq-section { grid-template-columns: 1fr; gap: 38px; }
  .section-description { max-width: 480px; }
  .principle-list article:first-child { padding-top: 25px; border-top: 1px solid var(--line); }
  h2 { font-size: 43px; }
  .journey-section { padding: 27px; }
  .journey { gap: 15px; }
  .journey-step h3 { font-size: 14px; }
  .journey-step p { font-size: 11px; }
  .connection { width: 25px; }
  .journey-heading>.mono { display: none; }
  .architecture-note { grid-template-columns: 1fr; gap: 15px; }
  .project-heading { gap: 35px; align-items: start; }
  .project-heading .section-description { max-width: 240px; font-size: 12px; }
  .nft-layout { gap: 26px; }
  .nft-feature h3 { font-size: 19px; }
  .envelope-study, .namecard-study { height: 280px; }
  .namecard { left: 8%; right: 8%; padding: 16px; }
  .card-name { font-size: 23px; margin-block: 20px 10px; }
  .audience-row { grid-template-columns: 1fr; gap: 15px; }
  .audience-row h2 { font-size: 42px; }
  .audience-row p { max-width: 580px; }
  .tech-list article { grid-template-columns: 26px 1fr 86px; gap: 12px; }
  .tech-list h3 { font-size: 20px; }
  .status-inner { grid-template-columns: 1fr; gap: 40px; }
  .release-note { max-width: 540px; }
  .site-footer { flex-wrap: wrap; gap: 20px; }
  .site-footer p { margin: 0; }
  .site-footer>div { flex-basis: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  html[lang=zh] h1 { font-size: 52px; }
  html[lang=zh] h2 { font-size: 34px; }
}
@media(max-width:540px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 78px; position: relative; }
  .brand { font-size: 22px; gap: 9px; }
  .brand img { width: 33px; height: 33px; }
  .nav-actions { gap: 20px; }
  .github-link { display: none; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: none; width: 28px; height: 36px; padding: 4px; cursor: pointer; }
  .menu-button span { height: 1px; background: #ddd; width: 20px; }
  .site-header nav { display: none; position: absolute; top: 77px; left: -20px; right: -20px; background: #151515; padding: 24px 20px; border-bottom: 1px solid #555; z-index: 10; font-size: 14px; }
  .site-header nav.open { display: flex; flex-direction: column; gap: 25px; }
  .hero { padding-block: 46px 48px; gap: 34px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.1px; margin-bottom: 23px; }
  .hero h1 { font-size: 55px; letter-spacing: -2.5px; }
  .hero-description { font-size: 14px; line-height: 1.85; margin-bottom: 28px; }
  .hero-actions { gap: 24px; }
  .button { font-size: 11px; padding-inline: 17px; gap: 24px; min-height: 48px; }
  .text-link { font-size: 11px; gap: 10px; }
  .hero-status { font-size: 9px; margin-top: 23px; }
  .mail-scene { height: 370px; }
  .message-paper { top: 63px; padding: 18px; height: 200px; }
  .message-paper p { font-size: 29px; margin: 20px 0; }
  .envelope { top: 173px; height: 151px; }
  .seal { width: 53px; height: 53px; left: calc(50% - 26px); top: 45px; }
  .seal img { width: 43px; height: 43px; }
  .envelope-label { font-size: 6px; left: 15px; bottom: 13px; }
  .encryption-tag { right: 12px; top: 145px; padding: 10px; font-size: 7px; gap: 7px; }
  .scene-top { inset: 20px 17px auto; }
  .scene-top .mono { font-size: 6px; }
  .scene-bottom { inset-inline: 17px; bottom: 18px; font-size: 10px; }
  .principles-strip .wrap { gap: 19px 12px; font-size: 7px; letter-spacing: .5px; }
  .section-space { padding-block: 62px; }
  .eyebrow { font-size: 8px; margin-bottom: 20px; }
  h2 { font-size: 39px; }
  .section-description { font-size: 13px; }
  .principle-list article { gap: 15px; }
  .principle-list h3 { font-size: 17px; }
  .principle-list p { font-size: 12px; }
  .journey-section { padding: 22px; }
  .journey { flex-direction: column; align-items: stretch; gap: 22px; padding-block: 27px; }
  .journey-step { max-width: none; }
  .journey-symbol { font-size: 18px; margin-bottom: 10px; }
  .journey-step h3 { font-size: 17px; }
  .journey-step p { font-size: 12px; }
  .connection { margin-left: 6px; width: 1px; height: 22px; }
  .connection span { transform: rotate(90deg); top: 4px; left: -8px; right: auto; font-size: 17px; }
  .project-heading { display: block; padding-bottom: 30px; }
  .project-heading .section-description { margin-top: 22px; max-width: none; font-size: 13px; }
  .nft-layout { grid-template-columns: 1fr; gap: 43px; }
  .envelope-study, .namecard-study { height: 305px; }
  .nft-feature h3 { font-size: 21px; margin-top: 23px; }
  .nft-feature>p { font-size: 12px; }
  .namecard { left: 12%; right: 12%; padding: 18px; }
  .card-name { font-size: 28px; }
  .audience-section { padding-block: 52px 0; }
  .audience-row { padding-block: 30px 42px; gap: 10px; }
  .audience-row h2 { font-size: 38px; }
  .audience-row h3 { font-size: 19px; }
  .audience-row p { font-size: 12px; }
  .audience-row .fine-print { font-size: 10px; }
  .tech-list article { grid-template-columns: 22px 1fr; padding-block: 24px; }
  .tech-list h3 { font-size: 19px; }
  .tech-list p { font-size: 12px; }
  .tech-list article>a, .tech-tag { grid-column: 2; text-align: left; justify-self: start; }
  .status-section { padding-block: 58px; }
  .status-section h2 { font-size: 40px; }
  .status-section p { font-size: 12px; }
  .release-note { padding: 24px; }
  .release-note li { font-size: 10px; }
  .faq-section { gap: 20px; }
  summary { font-size: 13px; }
  .site-footer { padding-block: 28px; }
  .site-footer p { font-size: 11px; }
  .site-footer>div { font-size: 9px; }
  html[lang=zh] h1 { font-size: clamp(29px, 8.1vw, 42px); letter-spacing: -1.2px; }
  html[lang=zh] h2 { font-size: 30px; }
  html[lang=zh] .message-paper p { font-size: 24px; }
  html[lang=zh] .scene-bottom { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
/* A native selector keeps all five languages accessible by keyboard and touch. */
.language-picker { position: relative; flex-shrink: 0; }
.language-picker .language { appearance: none; border: 1px solid #444; border-radius: 2px; background: #151515; color: #eee; padding: 10px 28px 10px 12px; min-height: 40px; width: 108px; font-size: 12px; line-height: 1.3; cursor: pointer; }
.language-picker>span { pointer-events: none; position: absolute; right: 10px; top: 10px; color: #aaa; }
.language option { background: #151515; color: #eee; }
.hero-copy, .section-intro, .principle-list, .nft-feature, .project-heading>div,
.audience-row>div, .tech-list article>div, .status-inner>div, .release-note { min-width: 0; }
h1, h2, h3, p, .fine-print, .technology-section>.fine-print { overflow-wrap: anywhere; }
html[lang=ja] h1, html[lang=ja] h2, html[lang=ja] .message-paper p,
html[lang=ja] .card-name { font-family: var(--sans); font-style: normal; }
html[lang=ja] h1 { font-size: 43px; letter-spacing: -1.5px; line-height: 1.5; }
html[lang=ja] h1 em { font-style: normal; }
html[lang=ja] h2 { font-size: 35px; line-height: 1.5; letter-spacing: -1px; }
html[lang=ja] .message-paper p { font-size: 27px; line-height: 1.5; }
html[lang=ja] .card-name { font-size: 24px; }
html[lang=ru] h1 { font-size: 57px; letter-spacing: -1.5px; line-height: 1.12; }
html[lang=ru] h2 { font-size: 44px; }
html[lang=ru] .message-paper p { font-size: 29px; }
html[lang=ru] .card-name { font-size: 25px; }
html[lang=ru] .tech-tag { font-size: 7px; letter-spacing: .1px; overflow-wrap: anywhere; }
html[lang=ar] { --sans: Tahoma, Arial, sans-serif; }
html[lang=ar] h1, html[lang=ar] h2, html[lang=ar] .message-paper p,
html[lang=ar] .card-name { font-family: var(--sans); letter-spacing: 0; }
html[lang=ar] h1 { font-size: 48px; line-height: 1.6; }
html[lang=ar] h1 em { font-style: normal; }
html[lang=ar] h2 { font-size: 37px; line-height: 1.6; }
html[lang=ar] .eyebrow, html[lang=ar] .mono, html[lang=ar] .principles-strip .wrap { letter-spacing: 0; }
html[lang=ar] .message-paper p { font-size: 26px; line-height: 1.7; }
html[lang=ar] .card-name { font-size: 27px; }
html[lang=ar] .hero-description, html[lang=ar] .principle-list p,
html[lang=ar] .nft-feature>p, html[lang=ar] .audience-row p,
html[lang=ar] .tech-list p, html[lang=ar] details p { line-height: 2; }
html[dir=rtl] .journey-step { text-align: right; }
html[dir=rtl] .connection span { right: auto; left: 0; transform: scaleX(-1); }
html[dir=rtl] .release-note ul { padding-left: 0; padding-right: 15px; }
html[dir=rtl] details p { margin: 0 0 23px 28px; }
html[dir=rtl] .tech-list a, html[dir=rtl] .tech-tag { text-align: left; }
html[dir=rtl] .mail-scene, html[dir=rtl] .envelope-study, html[dir=rtl] .namecard-study { direction: ltr; }
html[dir=rtl] .message-paper p, html[dir=rtl] .scene-bottom [data-i18n],
html[dir=rtl] .namecard [data-i18n] { direction: rtl; text-align: right; unicode-bidi: plaintext; }
html[dir=rtl] .namecard [data-i18n] { display: block; }
html[dir=rtl] .site-footer>div { align-items: start; }
[data-i18n=didTechTitle], [data-i18n=arcTechTitle], [data-i18n=workerTechTitle], [data-i18n=stripArc] { direction: ltr; unicode-bidi: isolate; }
@media(max-width:1100px) {
  html[lang=ja] h1 { font-size: 36px; }
  html[lang=ru] h1 { font-size: 47px; }
  html[lang=ar] h1 { font-size: 42px; }
}
@media(max-width:800px) {
  html[lang=ja] h1 { font-size: 42px; }
  html[lang=ru] h1 { font-size: 60px; }
  html[lang=ar] h1 { font-size: 49px; }
  html[lang=ja] h2 { font-size: 32px; }
  html[lang=ru] h2 { font-size: 39px; }
  html[lang=ar] h2 { font-size: 34px; }
}
@media(max-width:760px) {
  .site-header { position: relative; gap: 12px; }
  .github-link { display: none; }
  .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: none; width: 28px; height: 40px; padding: 4px; cursor: pointer; }
  .menu-button span { height: 1px; background: #ddd; width: 20px; }
  .site-header nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; background: #151515; padding: 24px; border: 1px solid #444; z-index: 10; font-size: 14px; }
  .site-header nav.open { display: flex; flex-direction: column; gap: 25px; }
}
@media(max-width:540px) {
  .nav-actions { gap: 14px; }
  .language-picker .language { width: 96px; font-size: 11px; padding-inline: 10px 24px; }
  .site-header nav { left: -20px; right: -20px; padding-inline: 20px; }
  html[lang=ja] h1 { font-size: 30px; letter-spacing: -.8px; }
  html[lang=ja] h2 { font-size: 28px; }
  html[lang=ru] h1 { font-size: 39px; letter-spacing: -1px; }
  html[lang=ru] h2 { font-size: 34px; }
  html[lang=ar] h1 { font-size: 34px; }
  html[lang=ar] h2 { font-size: 30px; }
  html[lang=ru] .message-paper p { font-size: 24px; }
  html[lang=ru] .card-name { font-size: 23px; }
  html[lang=ja] .message-paper p { font-size: 23px; }
  html[lang=ar] .message-paper p { font-size: 23px; }
  html[lang=ru] .scene-bottom { font-size: 9px; }
  html[dir=rtl] .connection { margin-left: 0; margin-right: 6px; }
  html[dir=rtl] .connection span { transform: rotate(90deg); left: -8px; }
  html[dir=rtl] .tech-list article>a, html[dir=rtl] .tech-tag { text-align: right; }
}
@media(max-width:800px) {
  /* Room for longer localized card names without covering the concept caption. */
  .envelope-study, .namecard-study { height: 380px; }
}
