/* Axo Mail — restrained studio-style website */
:root {
  color-scheme: light;
  --ink: #1b3040;
  --ink-dark: #142b3e;
  --slate: #536675;
  --blue: #193b55;
  --accent: #b6cd42;
  --accent-hover: #d0e369;
  --line: #dce3e6;
  --soft: #f5f7f7;
  --white: #fff;
  font-family: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--white); color: var(--ink); font-size: 16px; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #7f9e16;
  outline-offset: 4px;
}
::selection { background: #d8eaa0; color: #102637; }
.container { width: min(1120px, calc(100% - 54px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 20px; top: -80px; z-index: 99;
  background: white; padding: 12px 18px;
}
.skip-link:focus { top: 20px; }
.utility-bar { background: #102637; color: #d6e0e8; font-size: 12px; }
.utility-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  min-height: 33px;
}
.utility-inner a { text-decoration: none; }
.utility-inner a:hover { color: #fff; }
.site-header { background: white; border-bottom: 1px solid #e9edef; position: relative; z-index: 1; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; white-space: nowrap; }
.logo-symbol {
  display: grid; place-items: center; width: 43px; height: 43px;
  background: #183b52; color: white; font-weight: 800;
  font-size: 21px; border-radius: 2px;
}
.logo-name, .footer-logo { font-size: 22px; font-weight: 850; color: #18384f; letter-spacing: .035em; }
.logo-name span, .footer-logo span { font-weight: 400; }
.main-nav { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.main-nav a {
  font-size: 13px; font-weight: 700; color: #364a56;
  text-decoration: none; letter-spacing: .01em;
}
.main-nav a:hover { color: #879e1e; }
.hero {
  background: #1a3c54;
  color: white;
  background-image: linear-gradient(120deg, #17384f, #24485c);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr);
  gap: 78px;
  align-items: center;
  padding-block: 110px 116px;
}
.overline {
  margin: 0 0 19px;
  color: #66802f; font-size: 12px; font-weight: 850;
  text-transform: uppercase; letter-spacing: .15em;
}
.overline-light { color: #b9ce69; }
.hero h1 {
  font-size: clamp(43px, 5.25vw, 68px); line-height: 1.13;
  letter-spacing: -.038em; font-weight: 750;
  max-width: 780px; margin: 0 0 26px;
}
.hero h1 span { color: #dce8f1; }
.hero-description {
  max-width: 610px;
  line-height: 1.83; font-size: 16px; color: #d4e0e9; margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 33px; }
.action {
  min-height: 48px; padding: 14px 21px; display: inline-flex; align-items: center;
  justify-content: center; gap: 20px;
  text-decoration: none; font-size: 12px; text-transform: uppercase;
  letter-spacing: .065em; font-weight: 800; transition: background .15s,color .15s,border-color .15s;
}
.action-primary { background: var(--accent); color: #1a3040; }
.action-primary:hover { background: var(--accent-hover); }
.action-outline { border: 1px solid #94a9b7; color: #fff; }
.action-outline:hover { background: #fff; color: #1a3b51; border-color: #fff; }
.hero-aside {
  padding: 34px 34px 28px; border-top: 3px solid #b6cd42;
  background: #f7fafb; color: var(--ink);
}
.aside-title {
  font-size: 11px; text-transform: uppercase; font-weight: 850;
  letter-spacing: .16em; margin: 0 0 19px; color: #58727b;
}
.aside-item { padding: 20px 0; border-top: 1px solid #dce4e8; }
.aside-item span {
  display: block; color: #648084; font-size: 11px; font-weight: 750;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px;
}
.aside-item strong { font-size: 16px; color: #1b3f54; line-height: 1.4; }
.aside-item p { color: #627580; font-size: 13px; line-height: 1.65; margin: 7px 0 0; }
.section-trail { border-bottom: 1px solid var(--line); background: #f1f4f4; }
.trail-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 21px; min-height: 69px; color: #526a75; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
.trail-separator { display: block; width: 20px; height: 1px; background: #90a5ad; }
.section { padding: 110px 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1.06fr; gap: 80px; }
h2,h3,p { overflow-wrap: break-word; }
h2 { font-size: clamp(31px,3.6vw,43px); line-height: 1.2; font-weight: 750; letter-spacing: -.03em; margin: 0; }
.section-lead h2 { max-width: 500px; }
.section-copy p {
  color: var(--slate); line-height: 1.9; margin: 0 0 18px;
  font-size: 15px;
}
.section-copy p.lead { color: #244257; font-size: 20px; font-weight: 520; line-height: 1.65; }
.inline-link {
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  color: #255069; border-bottom: 1px solid #a9b9c1;
  padding-bottom: 7px; font-size: 13px; font-weight: 800;
}
.inline-link:hover { border-bottom-color: #66802f; color: #557024; }
.section-copy .inline-link { margin-top: 9px; }
.projects-section, .faq-section { background: #f7f9f9; }
.section-heading { max-width: 725px; margin: 0 0 44px; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading > p:last-child { color: var(--slate); margin: 0; line-height: 1.75; font-size: 16px; }
.project-feature {
  background: white; border: 1px solid #e0e6e8;
  display: grid; grid-template-columns: .82fr 1.18fr; min-height: 325px;
}
.project-ident { background: #1b4055; padding: 42px; display: flex; flex-direction: column; align-items: flex-start; color: white; }
.project-index { color: #bbd4dc; font-size: 11px; font-weight: 770; letter-spacing: .13em; text-transform: uppercase; }
.project-ident h3 { font-size: clamp(28px,3vw,35px); letter-spacing: -.03em; font-weight: 720; margin: 57px 0 20px; line-height: 1.18; }
.project-status { margin-top: auto; color: #213b31; background: #d8e6bc; padding: 8px 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.project-description { padding: 49px 53px; }
.project-description p { color: #506673; line-height: 1.85; font-size: 15px; margin: 0 0 17px; }
.project-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 31px; }
.development-list { border-top: 1px solid var(--line); }
.development-row {
  display: grid; grid-template-columns: 65px minmax(0,1fr) 110px; align-items: start; gap: 20px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.row-number { color: #7f949f; font-size: 12px; font-weight: 800; padding-top: 8px; }
.development-row h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 10px; }
.development-row p { margin: 0; line-height: 1.7; color: var(--slate); font-size: 14px; }
.phase { justify-self: end; border: 1px solid #d8e1e5; color: #627980; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; padding: 8px 11px; font-size: 10px; }
.development-note {
  border-left: 3px solid #8da13c; margin-top: 36px; padding: 4px 0 4px 24px;
}
.development-note strong { color: #264559; font-size: 14px; }
.development-note p { color: var(--slate); line-height: 1.78; font-size: 14px; margin: 8px 0 0; max-width: 900px; }
.faq-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 74px; }
.faq-layout .section-lead > p:last-child { font-size: 15px; line-height: 1.8; color: var(--slate); max-width: 300px; }
.faq-list { border-top: 1px solid #dbe2e5; }
.faq-list details { border-bottom: 1px solid #dbe2e5; }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  list-style: none; cursor: pointer; padding: 24px 2px;
  font-size: 16px; font-weight: 650; line-height: 1.5; color: #253e4e;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-toggle { flex: none; width: 25px; height: 25px; position: relative; }
.faq-toggle::before,.faq-toggle::after {
  content: ""; position: absolute; left: 5px; top: 12px; width: 15px; height: 1px; background: #35536a;
}
.faq-toggle::after { transform: rotate(90deg); transition: transform .2s; }
details[open] .faq-toggle::after { transform: rotate(0); }
.faq-answer { padding: 0 35px 23px 2px; }
.faq-answer p { font-size: 14px; color: #60727e; line-height: 1.75; margin: 0; }
.contact-section { background: #1a3c53; color: white; padding: 81px 0 85px; }
.contact-layout { display: flex; justify-content: space-between; align-items: center; gap: 55px; }
.contact-layout h2 { max-width: 690px; margin-bottom: 20px; color: #fff; }
.contact-layout p:not(.overline) { max-width: 665px; line-height: 1.85; margin: 0; color: #d1e0e8; font-size: 15px; }
.contact-layout .action { white-space: nowrap; flex: none; }
.site-footer { background: #0f2535; color: #c0d0d9; }
.footer-grid {
  padding: 70px 0; display: grid; grid-template-columns: 1.35fr .6fr 1fr .8fr;
  gap: 42px; align-items: start;
}
.footer-logo { color: white; font-size: 23px; }
.footer-brand p,.footer-grid > div > p { font-size: 13px; line-height: 1.9; max-width: 265px; margin: 20px 0 0; color: #a9becb; }
.footer-grid h3 { color: #fff; font-size: 13px; margin: 5px 0 23px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 15px; }
.footer-grid a { color: #b3c7d2; text-decoration: none; font-size: 13px; line-height: 1.55; }
.footer-grid a:hover { color: white; text-decoration: underline; }
.footer-grid > div:last-child a { display: inline-block; margin-top: 20px; }
.footer-bottom {
  padding: 24px 0; border-top: 1px solid #32485a;
  display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  font-size: 12px; color: #92aaba; line-height: 1.65;
}
/* The original OAuth legal documents retain their own inline presentation. */
@media (max-width: 960px) {
  .hero-layout { grid-template-columns: minmax(0,1fr) minmax(0,.7fr); gap: 35px; padding-block: 80px; }
  .hero h1 { font-size: clamp(37px,4.7vw,52px); }
  .hero-aside { padding: 25px; }
  .split-layout { gap: 45px; }
  .faq-layout { gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 36px,1120px); }
  .utility-inner { min-height: 32px; }
  .header-inner { min-height: 76px; align-items: center; flex-wrap: wrap; gap: 15px; padding-block: 15px; }
  .logo { width: 100%; }
  .main-nav { gap: 17px; padding-bottom: 5px; }
  .main-nav a { font-size: 12px; }
  .hero-layout { grid-template-columns: 1fr; gap: 50px; padding-block: 67px 72px; }
  .hero h1 { font-size: clamp(38px,9vw,52px); }
  .hero-description { font-size: 15px; }
  .hero-aside { width: 100%; }
  .section { padding-block: 73px; }
  .split-layout,.faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .trail-inner { padding-block: 16px; gap: 13px; }
  .trail-separator { width: 13px; }
  .project-feature { grid-template-columns: 1fr; }
  .project-ident { padding: 32px; min-height: 220px; }
  .project-ident h3 { margin: 40px 0 20px; }
  .project-description { padding: 32px; }
  .development-row { grid-template-columns: 32px minmax(0,1fr); gap: 14px; }
  .phase { grid-column: 2; justify-self: start; }
  .faq-layout .section-lead > p:last-child { max-width: 100%; }
  .contact-layout { flex-direction: column; align-items: flex-start; gap: 28px; }
  .contact-section { padding-block: 73px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-block: 55px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 420px) {
  .main-nav { gap: 12px 16px; }
  .main-nav a { font-size: 11px; }
  .logo-name { font-size: 20px; }
  .hero h1 { font-size: 37px; }
  .action { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action { transition: none; }
  .faq-toggle::after { transition: none; }
}
/* Proposed integration: concrete steps without implying a live demo */
.workflow-proposal {
  margin-top: 43px; background: #f4f7f6;
  border: 1px solid #dce5e4; padding: 35px 38px;
}
.workflow-proposal > p {
  color: #536b76; font-size: 11px; font-weight: 850;
  text-transform: uppercase; letter-spacing: .11em; margin: 0 0 24px;
}
.workflow-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; list-style: none; padding: 0; margin: 0;
}
.workflow-steps li { border-left: 2px solid #a6bd71; padding-left: 18px; }
.workflow-steps strong { display: block; font-size: 15px; color: #234457; margin-bottom: 10px; }
.workflow-steps span { display: block; color: #5b717b; font-size: 13px; line-height: 1.75; }
@media (max-width: 720px) {
  .workflow-proposal { padding: 28px 24px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 22px; }
}

/* Language switch and Traditional Chinese typography */
.utility-links { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.utility-links a { color: #d6e0e8; text-decoration: none; font-size: 12px; }
.utility-links a:hover { text-decoration: underline; color: #fff; }
.language-current {
  color: #fff; font-size: 12px; font-weight: 800;
  text-decoration: underline; text-decoration-color: #bdd362; text-underline-offset: 5px;
}
.utility-divider { width: 1px; height: 12px; background: #486070; }
html[lang="zh-TW"] {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei",
    "Noto Sans TC", "Segoe UI", sans-serif;
}
html[lang="zh-TW"] .main-nav a { font-size: 14px; }
html[lang="zh-TW"] .hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.36; letter-spacing: -.035em; }
html[lang="zh-TW"] .hero-description { line-height: 2; }
html[lang="zh-TW"] .section-copy p { line-height: 1.95; }
html[lang="zh-TW"] .section-copy p.lead { line-height: 1.9; }
html[lang="zh-TW"] .section-heading > p:last-child { line-height: 1.95; }
html[lang="zh-TW"] .project-description p { line-height: 1.95; }
html[lang="zh-TW"] .development-row p { line-height: 1.9; }
html[lang="zh-TW"] .faq-answer p { line-height: 1.9; }
html[lang="zh-TW"] .phase { letter-spacing: .02em; font-size: 12px; }
html[lang="zh-TW"] .action { letter-spacing: .03em; font-size: 14px; }
html[lang="zh-TW"] .section-lead h2 { line-height: 1.5; }
html[lang="zh-TW"] .overline { letter-spacing: .08em; }
html[lang="zh-TW"] .aside-item p { line-height: 1.8; }

/* Readable, consistent legal pages for both locales */
.legal-hero {
  background: #1a3c53; color: #fff; padding: 68px 0 81px;
}
.legal-hero .overline { margin-bottom: 17px; }
.legal-hero h1 { font-size: clamp(35px, 4.2vw, 48px); line-height: 1.35; letter-spacing: -.025em; margin: 0 0 12px; }
.legal-hero p:not(.overline) { color: #d6e2e8; margin: 0; font-size: 14px; line-height: 1.8; }
.legal-main { background: #f7f9f9; padding: 0 0 95px; }
.legal-paper {
  background: #fff; border: 1px solid #e0e6e8;
  padding: 52px 68px; max-width: 880px;
  position: relative; top: -28px; margin-bottom: -28px;
}
.legal-paper h2 {
  font-size: 21px; color: #1b4055; letter-spacing: 0; line-height: 1.5;
  margin: 32px 0 15px;
}
.legal-paper h2:first-child { margin-top: 0; }
.legal-paper p, .legal-paper li { color: #506672; font-size: 15px; line-height: 1.95; }
.legal-paper p { margin: 0 0 16px; }
.legal-paper ul { padding-left: 23px; margin: 12px 0 21px; }
.legal-paper li { padding-left: 4px; margin-bottom: 8px; }
.legal-paper a { color: #1b5678; }
.legal-paper a:hover { color: #597326; }
.legal-actions {
  display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center;
  border-top: 1px solid #e3eaed; gap: 18px; padding-top: 27px; margin-top: 35px;
}
.legal-actions a { font-size: 13px; font-weight: 700; }
.legal-translation-note { font-size: 12px !important; color: #73818b !important; }
@media (max-width: 960px) {
  html[lang="zh-TW"] .hero h1 { font-size: clamp(34px, 5.1vw, 53px); }
}
@media (max-width: 720px) {
  .utility-links { gap: 10px; }
  html[lang="zh-TW"] .hero h1 { font-size: clamp(35px, 8vw, 45px); }
  html[lang="zh-TW"] .main-nav a { font-size: 13px; }
  .legal-hero { padding: 50px 0 65px; }
  .legal-paper { padding: 32px 25px; }
  .legal-main { padding-bottom: 65px; }
}
@media (max-width: 420px) {
  html[lang="zh-TW"] .hero h1 { font-size: 35px; }
  .utility-inner { flex-wrap: wrap; gap: 5px; padding: 8px 0; }
  html[lang="zh-TW"] .main-nav a { font-size: 12px; }
}
