:root {
  color-scheme: light;
  --paper: #f4f7f8;
  --surface: #fff;
  --ink: #142c3b;
  --muted: #435b68;
  --line: #d4dfe3;
  --navy: #173b56;
  --navy-deep: #102e43;
  --focus: #126b85;
  font: 16px/1.6 "Instrument Sans", "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
::selection { background: #c8e6e8; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
button, summary { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .74; }
.wrap { width: min(75rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: .5rem auto auto .75rem; transform: translateY(-200%); padding: .65rem 1rem; background: var(--surface); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.wordmark { font-size: 1.5rem; line-height: 1; font-weight: 750; letter-spacing: -.035em; }
.languages { display: flex; gap: .25rem; }
.languages button {
  min-width: 3.125rem; min-height: 2.75rem; padding: .3rem .6rem;
  border: 1px solid transparent; border-radius: .375rem; background: transparent; color: var(--muted); font-size: .9rem;
}
.languages button:hover, .languages button[aria-pressed="true"] { background: #edf3f5; color: var(--navy); }
.languages button[aria-pressed="true"] { border-color: var(--line); font-weight: 650; }
.hero { min-height: calc(100svh - 4.5rem - 1px); padding-block: 4.5rem 4rem; }
.hero h1 { margin: 0; font-size: 3.25rem; line-height: 1.14; letter-spacing: -.035em; font-weight: 730; }
.hero-intro { margin: .8rem 0 0; color: var(--muted); font-size: 1.125rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); align-items: start; gap: 2rem; margin-top: 2.7rem; }
.contact { min-width: 0; border-radius: .875rem; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.contact-copy { padding: 1.8rem 2rem 2rem; color: #fff; background: var(--navy); }
.contact-copy :focus-visible { outline-color: #b9f0e7; }
.presence { display: inline-flex; align-items: center; gap: .55rem; color: #e2ecf3; font-size: .9rem; }
.presence-dot { display: block; width: .55rem; height: .55rem; border-radius: 50%; background: #cedce5; }
.presence[data-state="online"] .presence-dot { background: #82e5ba; }
.presence[data-state="offline"] .presence-dot { background: #ffd3a1; }
.contact-copy h2 { margin: .65rem 0 .35rem; font-size: 1.75rem; line-height: 1.28; letter-spacing: -.02em; }
.contact-copy p { margin: 0 0 1.45rem; color: #e2ecf3; }
.primary { min-height: 2.875rem; padding: .5rem 1.125rem; border: 1px solid transparent; border-radius: .45rem; background: #fff; color: var(--navy-deep); font-weight: 680; }
.primary:hover:not(:disabled) { background: #dff1f0; }
.primary:active:not(:disabled) { transform: translateY(1px); }
.conversation { padding: 1rem 1.125rem 1.125rem; }
.conversation-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-inline: .35rem; }
.conversation-head h3 { margin: 0; font-size: 1rem; }
.text-button { min-height: 2.75rem; min-width: 2.75rem; padding: .25rem .45rem; border: 0; background: transparent; color: var(--navy); border-radius: .35rem; }
.text-button:hover { background: #eaf1f4; }
.notice { margin: .1rem .35rem .85rem; color: var(--muted); font-size: .9rem; }
iframe { display: block; width: 100%; height: 27rem; border: 1px solid var(--line); border-radius: .5rem; background: #fff; }
.faq { padding: .35rem 0 0; min-width: 0; }
.faq h2 { margin: 0 0 .8rem; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.018em; }
#faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 3.625rem; padding: .7rem 0; font-weight: 610; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 .49rem; width: .49rem; height: .49rem; border: solid var(--navy); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-end: .5rem; }
details[open] summary::after { transform: rotate(225deg); }
summary:hover { color: #0b6077; }
details p { color: var(--muted); margin: 0 0 1.05rem; max-width: 60ch; }
button, summary::after { transition: background-color .17s ease-out, color .17s ease-out, transform .17s ease-out; }
[data-enter] { animation: enter .33s cubic-bezier(.22,.61,.36,1) both; }
@keyframes enter { from { opacity: .72; transform: translateY(.35rem); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-content { min-height: 3.875rem; }
  .hero { min-height: calc(100svh - 3.875rem - 1px); padding-block: 2.6rem 3rem; }
  .hero h1 { font-size: 2.35rem; }
  .hero-intro { font-size: 1rem; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; margin-top: 1.7rem; }
  .contact-copy { padding: 1.4rem 1.3rem 1.5rem; }
  .contact-copy h2 { font-size: 1.45rem; }
  .conversation { padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
