:root {
  --page: #f7f9fc;
  --surface: #ffffff;
  --ink: #17283f;
  --muted: #617083;
  --blue: #315de5;
  --blue-dark: #2348bd;
  --line: #dfe6f0;
  --error: #ac303b;
  --radius: 12px;
  --space: clamp(24px, 5vw, 80px);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
svg { display: block; }
::selection { color: var(--ink); background: #dce6ff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.page-width { width: min(1240px, calc(100% - var(--space) * 2)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px 18px; background: var(--surface); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 26px; font-weight: 700; letter-spacing: -1.1px; }
.brand-mark { width: 36px; height: 36px; color: var(--blue); }
.header-nav { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 14px; font-weight: 500; }
.nav-link:hover { color: var(--blue); }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 15px 24px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background-color .15s, border-color .15s; }
.button span { font-size: 21px; font-weight: 400; line-height: 1; }
.button-small { min-height: 43px; padding: 9px 18px; gap: 20px; }
.button-outline { color: var(--ink); background: transparent; border-color: #c9d3e1; }
.button-outline:hover:not(:disabled) { border-color: var(--blue); background: #edf2ff; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover:not(:disabled) { background: var(--blue-dark); }

.hero { min-height: 660px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; padding-block: 68px 80px; }
.hero-copy { position: relative; z-index: 1; }
h1 { margin: 0; font-size: clamp(44px, 5.2vw, 72px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; }
.hero-description { max-width: 400px; margin: 27px 0 30px; font-size: 17px; line-height: 1.85; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 19px; flex-wrap: wrap; }
.hero-note { max-width: 95px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.script-notice { max-width: 400px; color: var(--error); font-size: 13px; line-height: 1.6; }

.file-scene { position: relative; width: 100%; max-width: 540px; height: 480px; justify-self: end; isolation: isolate; }
.scene-orbit { position: absolute; left: 50%; top: 46%; border: 1px solid #e4eaf4; border-radius: 50%; transform: translate(-50%, -50%); z-index: -2; }
.orbit-one { width: 415px; height: 415px; background: #f0f4fc; }
.orbit-two { width: 500px; height: 500px; border-style: dashed; border-color: #e5eaf3; }
.scene-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #a9bcf3; }
.dot-one { top: 34px; left: 22%; }
.dot-two { top: 300px; right: 3%; width: 6px; height: 6px; background: #b7c5d7; }
.scene-plus { position: absolute; color: #aabbe4; font-size: 24px; font-weight: 300; }
.plus-one { top: 105px; right: 3%; }
.folder-back { position: absolute; top: 163px; left: 11%; width: 76%; height: 230px; border-radius: 14px; background: #3e68e6; transform: rotate(-5deg); box-shadow: 0 20px 48px #213d7b12; }
.folder-back::before { position: absolute; content: ""; top: -26px; left: 0; width: 42%; height: 42px; border-radius: 13px 24px 0 0; background: #3e68e6; }
.paper { position: absolute; display: flex; flex-direction: column; gap: 10px; width: 175px; height: 210px; background: var(--surface); border: 1px solid #e2e8f1; border-radius: 9px; box-shadow: 0 7px 24px #233e6d0b; padding: 18px; }
.paper-back { top: 62px; left: 17%; transform: rotate(-13deg); }
.paper-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.file-badge { width: 34px; height: 38px; display: grid; place-items: center; border-radius: 5px; font-size: 9px; font-weight: 700; letter-spacing: .2px; }
.badge-purple { background: #eee9ff; color: #7b5ec9; }
.badge-red { background: #fff0ed; color: #c16052; }
.paper-menu { color: #b0bdcf; font-size: 20px; }
.paper-title { font-size: 11px; font-weight: 600; color: #4c5c75; }
.paper-line { width: 78%; height: 5px; border-radius: 4px; background: #eaf0f7; }
.line-wide { width: 96%; }
.line-short { width: 55%; }
.photo-paper { top: 78px; right: 8%; transform: rotate(12deg); width: 180px; height: 190px; padding: 10px; gap: 12px; }
.photo-landscape { position: relative; height: 130px; overflow: hidden; border-radius: 4px; background: #d9e9ed; }
.photo-sun { position: absolute; top: 20px; right: 28px; width: 25px; height: 25px; border-radius: 50%; background: #fff5ce; }
.photo-hill { position: absolute; width: 170px; height: 120px; border-radius: 60% 60% 0 0; transform: rotate(-26deg); }
.hill-back { top: 64px; left: 37px; background: #94b8ab; }
.hill-front { top: 82px; left: -49px; background: #638d82; transform: rotate(32deg); }
.photo-title { padding-left: 4px; font-size: 10px; font-weight: 500; color: #66738a; }
.paper-front { top: 111px; left: 40%; transform: rotate(2deg); height: 220px; }
.paper-chart { display: flex; gap: 7px; align-items: end; height: 40px; margin-top: 3px; }
.paper-chart span { width: 14px; height: 50%; border-radius: 3px 3px 0 0; background: #d8e4ff; }
.paper-chart span:nth-child(2) { height: 76%; }
.paper-chart span:nth-child(3) { height: 60%; }
.paper-chart span:nth-child(4) { height: 90%; background: #89a9f6; }
.paper-chart span:nth-child(5) { height: 100%; background: #638df0; }
.folder-front { position: absolute; top: 260px; left: 9%; width: 80%; height: 150px; border: 1px solid #4778f5; border-top-color: #84a7ff; border-radius: 10px 10px 18px 18px; background: linear-gradient(135deg, #5f8cf6, #396be7); transform: rotate(-5deg); box-shadow: 0 20px 36px #315de51a, inset 0 1px 0 #ffffff26; display: flex; align-items: end; justify-content: space-between; padding: 24px 28px; color: white; }
.folder-label { font-size: 12px; font-weight: 500; letter-spacing: .1px; opacity: .95; }
.folder-front svg { width: 25px; height: 25px; opacity: .7; }
.file-ticket { position: absolute; left: 0; top: 332px; padding: 13px 17px; display: flex; align-items: center; gap: 10px; border: 1px solid #e0e7f0; border-radius: 10px; background: white; box-shadow: 0 8px 25px #273f6d0c; font-size: 11px; font-weight: 500; transform: rotate(3deg); }
.ticket-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e9f5ee; color: #418362; font-size: 13px; }
.scene-caption { position: absolute; bottom: 6px; left: 0; width: 100%; text-align: center; font-size: 11px; letter-spacing: .1px; color: #7a889c; }

.features { padding-block: 29px 48px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.features-heading { display: flex; align-items: center; gap: 9px; }
.features-heading h2 { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.section-dot { width: 6px; height: 6px; border-radius: 50%; background: #6e8dd8; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 29px; }
.feature { display: flex; align-items: start; gap: 16px; }
.feature-icon { width: 28px; height: 28px; flex: 0 0 28px; margin-top: 1px; color: #5676be; }
.feature h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: -.15px; }
.feature p { max-width: 270px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.site-footer { min-height: 100px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 28px; }
.footer-brand { font-weight: 700; font-size: 19px; letter-spacing: -.8px; }
.footer-dot { color: var(--blue); }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer small { margin-left: auto; font-size: 11px; color: var(--muted); }

.login-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 36px; overflow-y: auto; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px #10264838; }
.login-dialog::backdrop { background: #12233b66; backdrop-filter: blur(5px); }
body:has(.login-dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; }
.dialog-close:hover { color: var(--ink); background: var(--page); }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 13px; color: var(--blue); background: #edf2ff; }
.dialog-symbol svg { width: 28px; height: 28px; }
.login-dialog h2 { margin: 0 0 8px; font-size: 29px; line-height: 1.2; font-weight: 600; letter-spacing: -.9px; }
#login-description { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.6; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.form-field input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid #cdd7e4; border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 16px; }
.form-field input:focus-visible { outline-offset: 2px; outline-width: 2px; }
.form-field input[aria-invalid="true"] { border-color: var(--error); }
.login-error { color: var(--error); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.login-error:not(:empty) { margin-bottom: 18px; }
.login-submit { width: 100%; }
.dialog-footnote { margin: 23px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

@media (max-width: 1100px) {
  .hero { gap: 20px; min-height: 600px; }
  h1 { font-size: clamp(42px, 5.3vw, 62px); }
  .file-scene { height: 430px; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 405px; height: 405px; }
  .paper { width: 145px; height: 185px; padding: 14px; }
  .paper-back { left: 14%; top: 60px; }
  .photo-paper { right: 4%; top: 75px; padding: 9px; height: 165px; }
  .paper-front { left: 38%; top: 115px; height: 190px; }
  .folder-front { top: 240px; height: 132px; padding: 22px; }
  .folder-back { top: 155px; height: 200px; }
  .file-ticket { top: 308px; padding: 10px 13px; }
  .feature-list { gap: 24px; }
  .feature { gap: 11px; }
}

@media (max-width: 760px) {
  .site-header { height: 88px; }
  .brand { font-size: 23px; }
  .header-nav { gap: 20px; }
  .nav-link { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 58px 35px; }
  h1 { font-size: clamp(44px, 8.2vw, 62px); }
  .hero-description { max-width: 450px; margin-block: 24px; font-size: 16px; }
  .hero-note { max-width: none; }
  .file-scene { justify-self: center; max-width: 430px; height: 440px; }
  .orbit-two { max-width: 100%; }
  .paper { width: 155px; }
  .photo-paper { right: 9%; }
  .folder-front { top: 245px; height: 142px; }
  .folder-back { top: 160px; height: 215px; }
  .scene-caption { bottom: 0; }
  .features { padding-block: 28px 36px; }
  .feature-list { grid-template-columns: 1fr; gap: 27px; }
  .feature { gap: 17px; }
  .feature p { max-width: 470px; font-size: 13px; }
  .feature h3 { font-size: 15px; }
  .site-footer { padding-block: 25px; gap: 14px 24px; flex-wrap: wrap; }
  .site-footer p { order: 3; width: 100%; }
}

@media (max-width: 390px) {
  .header-nav { gap: 14px; }
  .nav-link { max-width: 45px; line-height: 1.5; }
  .button-small { padding-inline: 13px; gap: 12px; }
  .hero-actions { gap: 14px; }
  .file-scene { height: 380px; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 310px; height: 310px; }
  .paper { width: 128px; height: 165px; padding: 11px; gap: 8px; }
  .paper-title { font-size: 9px; }
  .paper-back { top: 45px; left: 12%; }
  .photo-paper { right: 4%; top: 60px; height: 145px; padding: 7px; }
  .photo-title { font-size: 8px; }
  .paper-front { top: 95px; left: 39%; height: 180px; }
  .folder-back { top: 142px; height: 180px; }
  .folder-front { top: 212px; height: 125px; padding: 20px; }
  .folder-label { font-size: 10px; }
  .file-ticket { top: 280px; font-size: 10px; }
  .dot-two { top: 240px; }
  .login-dialog { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
