:root {
  color-scheme: light;
  --ink: #17191e;
  --muted: #555c66;
  --line: #dedfe4;
  --link: #18569a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 2; padding: 12px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.frame { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #eeeff2; }
.nav, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; }
.nav nav { display: flex; gap: clamp(.8rem, 4vw, 2rem); }
.nav a, .footer-inner a { text-decoration: none; }
.nav nav a { color: #414751; font-size: .9rem; white-space: nowrap; }
.nav nav a:hover, .footer-inner a:hover { color: var(--link); }
.brand { display: inline-grid; justify-items: center; gap: .3rem; padding-block: .35rem; line-height: 1; white-space: nowrap; }
.brand-name { font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-indent: .1em; }
.brand-logo { display: block; width: 5.5rem; height: 1rem; object-fit: cover; }

h1, h2, h3, p { margin: 0; }
.hero { background: #f7f8fa; padding-bottom: clamp(1rem, 4vw, 3rem); }
.hero-inner { text-align: center; padding-block: clamp(3.1rem, 7.5vw, 6.75rem) clamp(2.4rem, 5vw, 4rem); }
.wordmark { display: block; width: clamp(8.5rem, 16vw, 12rem); height: auto; aspect-ratio: 5.5; object-fit: cover; margin: 0 auto clamp(.8rem, 2vw, 1.35rem); }
h1 { font-size: clamp(3rem, 9vw, 7.5rem); line-height: 1.1; font-weight: 720; letter-spacing: .025em; }
.brand-statement { margin-top: 1.15rem; font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 600; line-height: 1.5; }
.intro { color: var(--muted); margin-top: .4rem; line-height: 1.75; }
.dawn { margin-block: 0; overflow: hidden; border-radius: 18px; background: #d9e1e6; }
.dawn img { display: block; width: 100%; height: auto; aspect-ratio: 2.6; object-fit: cover; object-position: 50% 55%; }

.section { padding-block: clamp(3.6rem, 8vw, 7rem); }
.eyebrow { margin-bottom: .75rem; color: var(--muted); font-size: .875rem; font-weight: 650; letter-spacing: .12em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.4rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 720; }
h3 { font-size: 1.16rem; line-height: 1.4; }
.section-intro, article p, details p { margin-top: .9rem; line-height: 1.8; color: var(--muted); }
.project-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 8vw, 7rem); }
.project-actions { display: grid; justify-items: start; gap: .85rem; margin-top: 1.25rem; }
.project-link { color: var(--link); font-weight: 600; text-underline-offset: .24em; }
.login-preview {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 18px;
  background: linear-gradient(#10243822, #10243840), url("dawn.webp") center / cover no-repeat;
  color: #15283e;
  text-decoration: none;
}
.login-preview:hover { color: #15283e; }
.login-preview-card {
  display: grid;
  width: 100%;
  max-width: 16rem;
  padding: 1.125rem;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px #0b21354d;
  text-align: center;
}
.login-preview-card img { width: 9rem; max-width: 100%; height: auto; aspect-ratio: 5.4; object-fit: cover; margin: 0 auto .65rem; }
.login-preview-subtitle { color: #4b607b; font-size: .8rem; }
.login-preview-label { margin: .55rem 0 .15rem; text-align: left; font-size: .75rem; }
.login-preview-field, .login-preview-button { border: 1px solid #bdcddd; border-radius: 5px; background: #e8effb; }
.login-preview-field { min-height: 1.5rem; }
.login-preview-button { margin-top: .55rem; padding: .2rem; background: #dce8fa; color: #204671; font-size: .75rem; font-weight: 650; }
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.capabilities article { border-top: 1px solid var(--line); padding: 1.15rem .5rem 0 0; }
.guide { background: #f5f6f8; }
.guide-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.75rem, 7vw, 6rem); }
.steps { border-top: 1px solid var(--line); }
.guide-download { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
details { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; }
details p { margin-top: .6rem; }
.contact { text-align: center; }
.contact h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 650; }
.contact .section-intro { margin-inline: auto; max-width: 39rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 999px; background: var(--ink); color: white; padding: .65rem 1.25rem; font-weight: 600; text-decoration: none; }
.button:hover { background: #353d49; }
.contact-link { margin-top: 1.35rem; overflow-wrap: anywhere; max-width: 100%; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
#projects:not(:target), #guide:not(:target) { display: none; }
main:has(> :is(#projects, #guide):target) > :is(.hero, .contact) { display: none; }
#projects, #guide { scroll-margin-top: 62px; }
body:has(#projects:target) .nav a[href="#projects"],
body:has(#guide:target) .nav a[href="#guide"] { color: var(--link); font-weight: 650; }
@media (max-width: 760px) {
  .frame { width: calc(100% - 40px); }
  .guide-inner, .project-overview { grid-template-columns: minmax(0, 1fr); }
  .dawn { border-radius: 12px; }
  .dawn img { aspect-ratio: 1.55; }
}
@media (max-width: 520px) {
  .frame { width: calc(100% - 32px); }
  .nav, .footer-inner { gap: .65rem; }
  .nav nav { gap: .7rem; }
  .nav nav a { font-size: .875rem; }
  .capabilities { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
