@media (min-width: 1500px) {
  .hero {
    padding-top: 74px;
  }
}
@media (max-width: 1100px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 56px);
  }
  .desktop-nav {
    display: none;
  }
  .hero-note {
    display: none;
  }
  .workspace {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .converter {
    padding: 22px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .search-box {
    flex-basis: 100%;
  }
  .filters select {
    flex: 1;
  }
  .currency-card {
    padding: 20px;
  }
  .currency-prices {
    gap: 12px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer > span {
    display: none;
  }
  .install-section {
    gap: 34px;
    padding: 32px;
  }
}
@media (max-width: 780px) {
  html {
    scroll-padding-bottom: 90px;
  }
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 80px;
    gap: 10px;
  }
  .brand {
    font-size: 1.13rem;
  }
  .brand-symbol {
    width: 30px;
    height: 30px;
    margin-right: 4px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-install {
    display: none;
  }
  .language {
    font-size: 0.75rem;
  }
  .hero {
    padding: 38px 0 20px;
  }
  .hero .eyebrow {
    font-size: 0.63rem;
  }
  .hero h1 {
    font-size: 3.1rem;
    max-width: 560px;
  }
  .intro {
    font-size: 1rem;
  }
  .status-bar {
    gap: 6px;
    font-size: 0.68rem;
    padding: 6px 0 20px;
  }
  .status-bar > #data-status {
    width: 100%;
  }
  #collection-time {
    margin-left: 0;
    margin-right: auto;
  }
  .status-bar .text-button {
    font-size: 0.68rem;
  }
  .currency-cards {
    gap: 8px;
  }
  .currency-card {
    padding: 16px 12px;
  }
  .currency-title {
    gap: 8px;
  }
  .currency-title > .icon {
    display: none;
  }
  .currency-symbol {
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }
  .currency-title strong {
    font-size: 0.78rem;
  }
  .currency-title > span:nth-child(2) > span {
    display: none;
  }
  .currency-prices {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  .currency-prices b {
    font-size: 1.58rem;
    letter-spacing: -0.06em;
  }
  .currency-prices small {
    font-size: 0.6rem;
    margin-bottom: 4px;
    min-height: 25px;
  }
  .currency-unit {
    font-size: 0.57rem;
    margin-top: 14px;
  }
  .best-note {
    font-size: 0.64rem;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 34px;
  }
  .section-heading {
    gap: 8px;
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 1.8rem;
  }
  .converter {
    position: static;
    max-width: none;
    padding: 26px;
  }
  .converter h2 {
    font-size: 2.2rem;
  }
  .converter form {
    display: grid;
    grid-template-columns: 1fr;
  }
  .converter input,
  .converter select,
  .search-box input,
  .filters select {
    font-size: 16px;
  }
  .amount-input input {
    font-size: 2rem;
  }
  .amount-input select {
    font-size: 16px;
  }
  .conversion-result output {
    font-size: 2.5rem;
  }
  .install-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    margin: 38px 0;
  }
  .install-section h2 {
    font-size: 2.1rem;
  }
  .install-guide {
    border-left: 0;
    border-top: 1px solid #496254;
    padding: 24px 0 0;
  }
  .site-footer {
    padding-bottom: 115px;
    flex-direction: column;
    gap: 14px;
  }
  .site-footer nav {
    gap: 20px;
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 3;
  }
  .bottom-nav a,
  .bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 64px;
    min-height: 46px;
    font-size: 0.65rem;
    background: transparent;
  }
  .bottom-nav .icon {
    width: 19px;
    height: 19px;
  }
  .information {
    padding: 36px 0;
  }
  .information h1 {
    font-size: 2.8rem;
  }
}
@media (max-width: 520px) {
  .rates-table,
  .rates-table tbody {
    display: block;
  }
  .rates-table caption,
  .rates-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .rates-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr 44px;
    gap: 8px;
    padding: 20px 0;
  }
  .rates-table tbody th {
    grid-column: 1/3;
    width: auto;
    padding: 0 0 8px;
  }
  .rates-table tbody td {
    padding: 0 !important;
  }
  .rates-table .save-cell {
    grid-column: 3;
    grid-row: 1;
  }
  .rates-table .numeric {
    text-align: left;
    padding-left: 48px !important;
  }
  .rates-table .numeric:nth-child(3) {
    padding-left: 16px !important;
  }
  .rates-table .mobile-label {
    display: block;
    font-size: 0.62rem;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .numeric strong {
    font-size: 1.3rem;
  }
  .office-identity {
    font-size: 0.95rem;
  }
  .office-details {
    margin-top: 2px;
  }
  .office-details summary {
    min-height: 32px;
  }
  .office-details nav a {
    min-height: 44px;
  }
  .result-count {
    font-size: 0.65rem;
    padding: 5px 8px;
  }
  .header-actions {
    gap: 4px;
  }
  .brand-symbol {
    display: none;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .currency-card {
    padding: 14px 10px;
  }
  .currency-prices b {
    font-size: 1.4rem;
  }
  .currency-prices small {
    font-size: 0.58rem;
  }
  .currency-title {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
