.landing-page {
  --landing-subtle: var(--muted);
  min-height: 100dvh;
  font-size: 16px;
  overflow: clip;
}

.landing-container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.landing-page a { text-underline-offset: 5px; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p { margin: 0; }
.landing-page h2 { font: 600 clamp(25px, 2.5vw, 32px)/1.55 var(--serif); letter-spacing: .01em; }
.landing-page h3 { font-size: 17px; font-weight: 600; }
.landing-page :is(h1, h2, h3, h4) { text-wrap: balance; }
.landing-page p { text-wrap: pretty; }
.landing-page ::selection { background: var(--tint); color: var(--ink); }
.landing-page :is(a, button, summary, select):focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.landing-page .icon { width: 20px; height: 20px; }
.landing-page [id] { scroll-margin-top: 28px; }
.landing-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 104px; }
.landing-language-host { flex-shrink: 0; }
.landing-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); font-size: 21px; font-weight: 650; letter-spacing: .06em; text-decoration: none; }
.landing-brand-mark { display: grid; place-items: center; width: 39px; height: 43px; background: var(--accent); color: #fff; border-radius: 7px 11px 11px 7px; }
.landing-brand-mark .icon { width: 25px; height: 25px; }
.landing-nav { display: flex; align-items: center; gap: 31px; margin-inline-start: auto; }
.landing-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--landing-subtle); text-decoration: none; font-size: 14px; }
.landing-nav a:hover { color: var(--accent); text-decoration: underline; }
.landing-hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); align-items: center; gap: 54px; padding-block: 63px 91px; }
.landing-page h1 { font: 600 clamp(43px, 4.8vw, 62px)/1.36 var(--serif); letter-spacing: .025em; margin-block: 0 21px; }
.landing-lead { font-size: 16px; line-height: 1.95; color: var(--landing-subtle); }
.landing-entry { margin-top: 31px; }
.landing-entry label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.landing-entry-row { display: flex; gap: 10px; }
.landing-address { display: flex; align-items: center; flex: 1; min-width: 0; background: var(--paper); border: 1px solid #c7c2d7; border-radius: 9px; padding-left: 14px; min-height: 54px; transition: border-color .16s, box-shadow .16s; }
.landing-address:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.landing-address:has([aria-invalid="true"]) { border-color: var(--danger); }
.landing-host { flex: 0 1 auto; max-width: 42%; color: var(--landing-subtle); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.landing-address input { flex: 1; width: 0; min-width: 90px; min-height: 52px; padding: 12px 12px 12px 3px; background: transparent; border: 0; outline: none; font-size: 16px; caret-color: var(--accent-ink); }
.landing-address input::placeholder { color: var(--muted); font-size: 13px; opacity: 1; }
.landing-enter { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 12px 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 550; white-space: nowrap; }
.landing-enter:hover { background: var(--accent-hover); }
.landing-enter:active { transform: translateY(1px); }
.landing-enter:disabled { cursor: wait; opacity: .7; }
.landing-enter .icon { width: 17px; height: 17px; }
.landing-entry-help { color: var(--landing-subtle); font-size: 12px; line-height: 1.9; margin-top: 11px !important; }
.landing-entry-help strong { font-weight: 600; color: var(--ink); }
.landing-entry-error { margin-top: 10px !important; color: var(--danger); font-size: 13px; line-height: 1.7; }
.landing-hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; color: var(--landing-subtle); font-size: 12px; }
.landing-hero-facts span { display: inline-flex; align-items: center; gap: 5px; }
.landing-hero-facts .icon { width: 14px; height: 14px; color: var(--green); }
.landing-illustration { min-width: 0; padding-top: 5px; }
.landing-notebook-scene { height: 340px; position: relative; display: flex; justify-content: center; align-items: center; }
.landing-notebook-shadow { position: absolute; width: 280px; height: 230px; border: 1px solid #e3dff0; border-radius: 50%; transform: rotate(-17deg); background: #eeebf6; }
.landing-notebook { position: relative; width: 271px; height: 301px; border-radius: 4px 16px 16px 4px; background: var(--paper); border: 1px solid #ddd7ec; box-shadow: 5px 5px 0 -1px #f2eef9, 6px 6px 0 0 #dcd5ec, 12px 21px 40px #51436813; transform: rotate(-7deg); }
.landing-notebook-spine { position: absolute; inset: 0 auto 0 0; width: 22px; background: #e2dcef; border-radius: 3px 0 0 3px; border-right: 1px solid #d1c8e4; }
.landing-notebook-spine::after { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; border-left: 1px solid #c5b8dd; }
.landing-bookmark { position: absolute; top: -1px; right: 30px; height: 44px; width: 22px; background: var(--accent); clip-path: polygon(0 0,100% 0,100% 100%,50% 78%,0 100%); }
.landing-notebook-content { padding: 43px 27px 22px 43px; }
.landing-notebook-heading { display: block; color: #514564; font: 600 21px/1.6 var(--serif); }
.landing-notebook-date { display: block; font-size: 10px; color: #83798e; margin-top: 5px; }
.landing-paper-lines { display: grid; gap: 24px; margin-top: 24px; }
.landing-paper-lines i { display: block; height: 1px; background: #e8e3ee; }
.landing-paper-lines i:last-child { width: 66%; }
.landing-lock-seal { position: absolute; top: 128px; left: 111px; display: grid; place-items: center; width: 70px; height: 78px; background: #f0ecf9; color: var(--accent); border: 1px solid #e1d8ef; border-radius: 28px 28px 30px 30px; transform: rotate(7deg); box-shadow: 0 0 0 7px #ffffffdc; }
.landing-lock-seal .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.landing-notebook-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: 1.2px; color: #867a98; margin-top: 18px; }
.landing-notebook-bottom .icon { width: 19px; height: 19px; }
.landing-encrypted-label { position: absolute; right: 4px; bottom: 44px; display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: var(--paper); border: 1px solid #e1ddea; border-radius: 7px; box-shadow: 0 5px 17px #44325809; color: var(--green); font-size: 12px; transform: rotate(3deg); }
.landing-encrypted-label .icon { width: 17px; height: 17px; }
.landing-encryption-path { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; color: var(--landing-subtle); font-size: 12px; text-align: center; }
.landing-encryption-path > span { min-width: 0; }
.landing-encryption-path > span:first-child, .landing-encryption-path > span:last-child { flex-shrink: 0; white-space: nowrap; }
.landing-encryption-path > .icon { width: 17px; height: 17px; flex-shrink: 0; color: #aca3bc; }
.landing-encryption-step { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-ink); background: var(--tint); border-radius: 6px; padding: 7px 9px; }
.landing-encryption-step .icon { width: 14px; height: 14px; }
.landing-visual-caption { text-align: center; font-size: 12px; color: var(--landing-subtle); margin-top: 13px !important; }
html:is([lang="en"], [lang="pt"], [lang="es"]) .landing-page h1 { font-size: clamp(39px, 4.3vw, 55px); letter-spacing: -.025em; line-height: 1.2; }
html[lang="en"] .landing-notebook-heading { font-size: 19px; }
html:is([lang="pt"], [lang="es"]) .landing-notebook-heading { font-size: 17px; }
html[lang="ko"] .landing-page { word-break: keep-all; overflow-wrap: break-word; }
.landing-privacy { padding-block: 60px 56px; }
.landing-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.landing-section-heading > p { font-size: 15px; color: var(--landing-subtle); line-height: 1.85; }
.landing-privacy-commitment { display: grid; grid-template-columns: .9fr 1.5fr; gap: 64px; margin-top: 32px; padding: 36px 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.landing-commitment-mark { display: inline-flex; color: var(--accent); margin-bottom: 14px; }
.landing-commitment-mark .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.landing-commitment-intro h3 { font: 600 clamp(24px, 2.4vw, 30px)/1.6 var(--serif); }
.landing-commitment-intro p { max-width: 29ch; margin-top: 12px; color: var(--landing-subtle); font-size: 15px; line-height: 1.85; }
.landing-privacy-principles { display: grid; gap: 21px; list-style: none; margin: 0; padding: 0; }
.landing-privacy-principles li { display: flex; align-items: flex-start; gap: 13px; }
.landing-privacy-principles li > span { display: grid; place-items: center; flex-shrink: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--tint); color: var(--accent-ink); margin-top: 1px; }
.landing-privacy-principles .icon { width: 15px; height: 15px; }
.landing-privacy-principles h4 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.7; }
.landing-privacy-principles p { margin-top: 5px; color: var(--landing-subtle); font-size: 15px; line-height: 1.85; }
.landing-security-statement { display: flex; align-items: flex-start; gap: 18px; margin-top: 30px; }
.landing-security-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--accent-ink); }
.landing-security-statement > div { min-width: 0; }
.landing-security-statement h3 { font-size: 17px; line-height: 1.7; }
.landing-security-statement p { max-width: 72ch; margin-top: 8px; color: var(--landing-subtle); font-size: 15px; line-height: 1.85; }
.landing-security-details { margin-top: 6px; }
.landing-security-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: fit-content; max-width: 100%; min-height: 44px; color: var(--accent-ink); cursor: pointer; list-style: none; font-size: 14px; font-weight: 550; }
.landing-security-details summary::-webkit-details-marker { display: none; }
.landing-security-details summary .icon { width: 16px; height: 16px; flex-shrink: 0; }
.landing-security-details[open] summary .icon { transform: rotate(45deg); }
.landing-security-details p { margin-top: 0; padding-block: 4px 8px; }
.landing-how-wrap { background: #eeecf5; border-block: 1px solid #e8e4f0; }
.landing-how { padding-block: 42px 46px; }
.landing-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 28px 0 0; }
.landing-steps li { display: flex; align-items: flex-start; gap: 14px; }
.landing-step-number { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #bfb5d8; border-radius: 50%; color: var(--accent-ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.landing-steps h3 { padding-top: 1px; font-size: 16px; line-height: 1.7; }
.landing-steps p { font-size: 15px; color: var(--landing-subtle); line-height: 1.85; margin-top: 7px; }
.landing-faq { display: grid; grid-template-columns: .85fr 1.55fr; gap: 90px; padding-block: 56px 64px; border-top: 1px solid var(--line); }
.landing-faq-intro > p { font-size: 15px; color: var(--landing-subtle); line-height: 1.85; margin-top: 15px; }
.landing-back-entry { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; text-decoration: none; margin-top: 24px; }
.landing-back-entry:hover { text-decoration: underline; }
.landing-back-entry .icon { width: 17px; height: 17px; }
.landing-questions { border-top: 1px solid #dcd6e8; }
.landing-questions details { border-bottom: 1px solid #dcd6e8; }
.landing-questions summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none; min-height: 64px; padding: 16px 0; font-size: 15px; font-weight: 550; }
.landing-questions summary::-webkit-details-marker { display: none; }
.landing-questions summary .icon { color: var(--accent-ink); width: 17px; height: 17px; flex-shrink: 0; }
.landing-questions details[open] summary .icon { transform: rotate(45deg); }
.landing-questions details p { max-width: 72ch; font-size: 15px; line-height: 1.85; color: var(--landing-subtle); padding: 0 30px 21px 0; }
.landing-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 97px; border-top: 1px solid var(--line); font-size: 12px; padding-block: 20px; }
.landing-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.landing-footer a:hover { text-decoration: underline; }
.landing-footer-brand { color: var(--ink); font-size: 14px; font-weight: 600; }
.landing-footer p { color: var(--landing-subtle); }
.landing-footer a:last-child { color: var(--landing-subtle); }
.landing-footer a:last-child .icon { width: 15px; height: 15px; }

@media (max-width: 1040px) {
  .landing-container { width: calc(100% - 56px); }
  .landing-hero { gap: 27px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding-block: 40px 65px; }
  .landing-page h1 { font-size: 49px; }
  .landing-entry-row { flex-wrap: wrap; }
  .landing-address { flex-basis: 100%; }
  .landing-enter { width: 100%; min-height: 48px; }
  .landing-notebook { width: 244px; height: 280px; }
  .landing-notebook-content { padding: 35px 23px 20px 39px; }
  .landing-lock-seal { left: 98px; top: 117px; }
  .landing-encrypted-label { right: -5px; }
  .landing-hero-facts { gap: 14px; }
  .landing-encryption-path { gap: 6px; }
  .landing-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .landing-steps { gap: 27px; }
  .landing-faq { gap: 42px; }
}

@media (max-width: 720px) {
  .landing-container { width: calc(100% - 40px); }
  .landing-header { min-height: 86px; gap: 6px 12px; flex-wrap: wrap; padding-block: 18px 8px; }
  .landing-brand { font-size: 18px; gap: 9px; letter-spacing: .02em; }
  .landing-brand-mark { width: 32px; height: 36px; }
  .landing-brand-mark .icon { width: 22px; height: 22px; }
  .landing-nav { order: 3; flex-basis: 100%; gap: 22px; }
  .landing-language-host { margin-inline-start: auto; max-width: 110px; }
  .landing-language-host .language-picker > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .landing-language-host .language-picker select { width: 110px; padding-inline-end: 8px; }
  html:is([lang="pt"], [lang="es"]) .landing-language-host { max-width: 116px; }
  html:is([lang="pt"], [lang="es"]) .landing-language-host .language-picker select { width: 116px; }
  .landing-nav a { font-size: 12px; }
  .landing-hero { grid-template-columns: 1fr; padding-block: 26px 46px; gap: 26px; }
  .landing-hero-copy { width: 100%; max-width: 510px; margin-inline: auto; }
  .landing-page h1 { font-size: clamp(39px, 9.2vw, 53px); margin-bottom: 18px; line-height: 1.4; }
  html:is([lang="en"], [lang="pt"], [lang="es"]) .landing-page h1 { font-size: clamp(36px, 8.8vw, 47px); }
  .landing-entry { margin-top: 25px; }
  .landing-entry-row { flex-wrap: wrap; gap: 8px; }
  .landing-address { flex-basis: 100%; min-height: 52px; padding-left: 11px; }
  .landing-address input { font-size: 16px; min-height: 50px; }
  .landing-host { font-size: 12px; max-width: 37%; }
  .landing-enter { width: 100%; padding-inline: 15px; min-height: 52px; }
  .landing-enter .icon { display: none; }
  .landing-entry-help { font-size: 12px; }
  .landing-hero-facts { justify-content: flex-start; gap: 8px 17px; margin-top: 19px; }
  .landing-illustration { width: min(100%, 390px); margin-inline: auto; padding-top: 0; }
  .landing-notebook-scene { height: 210px; }
  .landing-notebook { transform: rotate(-6deg) scale(.66); }
  .landing-notebook-shadow { width: 190px; height: 156px; }
  .landing-encrypted-label { right: 6px; bottom: 20px; padding: 9px 12px; }
  .landing-encryption-path { margin-top: 12px; gap: 9px; }
  .landing-encryption-path > span:first-child, .landing-encryption-path > span:last-child { flex: 1; white-space: normal; }
  .landing-encryption-step { max-width: 44%; }
  .landing-encryption-step .icon { flex-shrink: 0; }
  .landing-privacy { padding-block: 38px 36px; }
  .landing-page h2 { font-size: 26px; }
  .landing-how { padding-block: 32px 36px; }
  .landing-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .landing-steps li { gap: 13px; }
  .landing-steps p { margin-top: 6px; }
  .landing-faq { grid-template-columns: 1fr; gap: 26px; padding-block: 39px 43px; }
  .landing-faq-intro h2 br { display: none; }
  .landing-faq-intro > p { margin-top: 10px; }
  .landing-faq-intro > p br { display: none; }
  .landing-back-entry { margin-top: 8px; }
  .landing-questions summary { min-height: 64px; gap: 10px; }
  .landing-questions details p { padding-right: 5px; }
  .landing-footer { flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; padding-block: 15px 21px; }
  .landing-footer p { order: 3; width: 100%; }
}

@media (max-width: 370px) {
  .landing-container { width: calc(100% - 32px); }
  .landing-nav { gap: 12px; }
  .landing-brand { font-size: 16px; }
  html[lang="ja"] .landing-brand { font-size: 14px; letter-spacing: 0; gap: 7px; }
  .landing-brand-mark { width: 29px; height: 33px; }
  .landing-entry-row { flex-wrap: wrap; }
  .landing-address { flex-basis: 100%; }
  .landing-enter { width: 100%; min-height: 48px; }
  .landing-hero-facts { flex-wrap: wrap; gap: 8px 15px; }
  .landing-encryption-path { gap: 6px; }
  .landing-encryption-path > .icon { width: 14px; height: 14px; }
  .landing-encryption-step { padding-inline: 6px; }
  .landing-page h2 { font-size: 23px; }
}

@media (max-width: 760px) {
  .landing-privacy-commitment { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; margin-top: 24px; }
  .landing-commitment-intro h3 br { display: none; }
  .landing-commitment-intro p { max-width: none; }
  .landing-privacy-principles { gap: 22px; }
  .landing-security-statement { gap: 12px; }
  .landing-security-icon { width: 32px; height: 36px; border-radius: 9px; }
  .landing-security-statement h3 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *, .landing-page *::before, .landing-page *::after { transition: none; scroll-behavior: auto; }
}
