/* About, footer, and text controls share the site's spacious typography. */
.about-intro { max-width: 870px; margin: 12px auto 72px; text-align: center; }
.about-intro h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.08; letter-spacing: -.06em; }
.about-intro p { max-width: 590px; margin: 30px auto 0; font-size: 19px; line-height: 1.8; }
.about-panorama { margin: 0; overflow: hidden; background: var(--light); }
.about-panorama img { width: 100%; height: auto; aspect-ratio: 2.4; object-fit: cover; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 110px 0; }
.about-page h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.16; letter-spacing: -.05em; }
.about-story p { font-size: 18px; line-height: 1.85; }
.about-story p + p { margin-top: 22px; }
.about-possibilities { border-top: 1px solid var(--line); padding: 88px 0 104px; }
.about-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 58px; margin-top: 50px; }
.about-columns article { display: flex; flex-direction: column; align-items: flex-start; }
.about-columns h3 { font-size: 22px; letter-spacing: -.025em; }
.about-columns p { font-size: 16px; line-height: 1.85; margin: 18px 0 26px; }
.about-columns .text-link { margin-top: auto; }
.about-page .text-link, .footer-brand .text-link { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #b5c8d2; }
.about-care { display: grid; grid-template-columns: 1fr 1fr; background: #f2f7f8; }
.about-care > div { padding: 70px 60px; align-self: center; }
.about-care p { font-size: 17px; line-height: 1.85; margin: 25px 0 30px; }
.about-care > img { height: 100%; min-height: 470px; object-fit: cover; }
.site-footer { padding: 80px 4% 30px; background: #f7f6f2; border-color: #e3e1d9; }
.footer-main { display: grid; grid-template-columns: 1.5fr .82fr .98fr 1fr 1.5fr; gap: clamp(24px, 2.6vw, 52px); padding-bottom: 66px; max-width: 1600px; margin: 0 auto; }
.footer-main > * { min-width: 0; }
.footer-brand .brand { font-size: clamp(27px, 2.3vw, 38px); letter-spacing: -.055em; gap: 10px; }
.footer-brand .brand svg { width: 34px; height: 34px; }
.footer-brand p { margin: 24px 0 26px; font-size: 16px; line-height: 1.8; max-width: 340px; }
.footer-shortcuts { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-shortcuts a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #e8e8e0; color: #53656e; }
.footer-shortcuts svg { width: 21px; height: 21px; }
.footer-shortcuts a:hover { background: #e0e8e7; }
.footer-main nav { gap: 12px; }
.footer-main h2 { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; margin: 0 0 13px; }
.footer-main h2::after { content: ''; display: block; width: 28px; height: 2px; background: #d6d6cc; margin-top: 18px; }
.footer-main nav a { color: var(--muted); font-size: 15px; line-height: 1.65; }
.footer-main a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact ul { list-style: none; padding: 0; margin: 24px 0 26px; }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.footer-contact li svg { width: 19px; height: 19px; margin-top: 3px; }
.footer-community { border-top: 1px solid #deded4; padding-top: 22px; }
.footer-community h3 { font-size: 18px; letter-spacing: -.025em; }
.footer-community p { font-size: 15px; line-height: 1.7; margin: 12px 0 20px; }
.footer-community .button { width: 100%; max-width: 320px; min-height: 46px; text-decoration: none; }
.footer-community .button:hover { color: white; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { align-items: center; border-color: #deded4; font-size: 13px; padding-top: 28px; max-width: 1600px; margin: 0 auto; }
.footer-copyright p { line-height: 1.7; }
.footer-brand p, .footer-main nav a, .footer-contact li, .footer-community p, .footer-copyright p, .footer-bottom { color: #5f6c72; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 24px; border-left: 1px solid #d6d6cc; padding-left: 28px; }
.chat-composer .send-button { width: auto; min-width: 62px; height: 48px; padding: 0 14px; font-size: 14px; flex-shrink: 0; }
.chat-composer textarea { min-width: 0; }
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.chat-header .chat-back { width: auto; padding: 0 8px; font-size: 14px; flex-shrink: 0; }
.chat-header > a { min-width: 0; }
.chat-header h3 { overflow-wrap: anywhere; }
.trade-pair { grid-template-columns: 1fr auto 1fr; }
.trade-between { color: var(--muted); font-size: 14px; text-align: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.order-record:hover h3, .category-item:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1100px) {
 .footer-main { grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; gap: 36px; }
 .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
 .footer-contact h2 { grid-column: 1; }
 .footer-contact ul { grid-column: 1; margin-top: 0; }
 .footer-community { grid-column: 2; grid-row: 1 / 3; border-top: 0; border-left: 1px solid #deded4; padding: 0 0 0 36px; }
 .about-story { gap: 60px; }
 .about-columns { gap: 32px; }
 .about-care > div { padding: 45px 36px; }
}
@media (max-width: 850px) {
 .about-intro { margin-bottom: 50px; }
 .about-story { padding: 72px 0; gap: 38px; }
 .about-story p { font-size: 16px; }
 .about-possibilities { padding: 64px 0 72px; }
 .about-columns { gap: 24px; margin-top: 36px; }
 .about-columns h3 { font-size: 20px; }
 .about-care > div { padding: 35px 28px; }
 .about-care > img { min-height: 440px; }
 .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
 .footer-brand { grid-column: 1 / -1; }
 .footer-brand p { max-width: 520px; margin: 20px 0; }
 .footer-brand .brand { font-size: 34px; }
 .footer-bottom { gap: 18px 30px; }
}
@media (max-width: 600px) {
 .about-intro { margin: 0 auto 40px; }
 .about-intro p { font-size: 17px; margin-top: 24px; }
 .about-panorama img { aspect-ratio: 1.3; }
 .about-story { grid-template-columns: 1fr; gap: 28px; padding: 60px 0; }
 .about-story h2 br { display: none; }
 .about-columns { grid-template-columns: 1fr; gap: 38px; }
 .about-columns p { margin: 14px 0 20px; }
 .about-care { grid-template-columns: 1fr; }
 .about-care > div { padding: 40px 26px; }
 .about-care > img { height: 300px; min-height: 0; }
 .site-footer { padding: 54px 24px 26px; }
 .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; padding-bottom: 44px; }
 .footer-main h2 { font-size: 17px; }
 .footer-main nav a { font-size: 14px; }
 .footer-contact { grid-column: auto; display: block; }
 .footer-contact li { gap: 9px; font-size: 14px; }
 .footer-community { border-left: 0; border-top: 1px solid #deded4; padding: 20px 0 0; }
 .footer-community h3 { font-size: 17px; }
 .footer-community p { font-size: 14px; }
 .footer-community .button { font-size: 14px; padding: 12px; }
 .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
 .footer-bottom nav { border-left: 0; padding-left: 0; }
}
@media (max-width: 380px) {
 .footer-contact { grid-column: 1 / -1; }
}
