*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
  :root{--bg:#F0F4FF;--surface:#fff;--surface2:#EEF2FF;--text:#1E1B4B;--muted:#6B7280;--accent:#4F46E5;--accent2:#4338CA;--border:#E0E7FF;--green:#059669}
  body{font-family:'Inter',sans-serif;background:var(--bg);color:var(--text);min-height:100vh;display:flex;flex-direction:column}
  header{background:var(--surface);border-bottom:1px solid var(--border);padding:0 2rem;height:60px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}
  .logo{font-family:'Fraunces',serif;font-size:22px;color:var(--accent);text-decoration:none}
  .logo em{font-style:italic}
  .nav-links{display:flex;gap:1.25rem;align-items:center}
  .nav-links a{font-size:13px;text-decoration:none;color:var(--muted);font-weight:500}
  .nav-links a:hover{color:var(--accent)}
  @media(max-width:520px){.nav-links a:not(.nav-home){display:none}}
  .ad-banner{background:#f5f5f5;border-bottom:1px solid var(--border);text-align:center;padding:10px}
  .ad-label{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:3px}
  .ad-placeholder{height:90px;display:flex;align-items:center;justify-content:center;color:#ccc;font-size:12px;border:1px dashed #ddd;border-radius:4px;margin:0 auto;max-width:728px}
  main{flex:1;max-width:720px;margin:0 auto;width:100%;padding:2.5rem 1.5rem}
  h1{font-family:'Fraunces',serif;font-size:clamp(1.8rem,5vw,2.8rem);font-weight:700;line-height:1.1;margin-bottom:.5rem}
  h1 em{font-style:italic;color:var(--accent)}
  .sub{color:var(--muted);font-size:15px;margin-bottom:1.5rem}
  .converter-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:2rem;margin-bottom:1.5rem;box-shadow:0 4px 24px rgba(79,70,229,.08)}
  .row{display:grid;grid-template-columns:1fr auto 1fr;gap:.75rem;align-items:end}
  @media(max-width:520px){.row{grid-template-columns:1fr}}
  label{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:.5rem}
  select,input{width:100%;padding:.85rem 1rem;border:1.5px solid var(--border);border-radius:12px;font-size:16px;color:var(--text);background:var(--surface2);outline:none;font-family:'Inter',sans-serif}
  select{cursor:pointer;margin-bottom:.6rem}
  input{font-family:'Fraunces',serif;font-size:1.4rem;background:var(--surface)}
  input:focus,select:focus{border-color:var(--accent);background:#fff}
  .result-input{background:var(--surface2);color:var(--accent2);font-weight:700}
  .swap{width:44px;height:44px;border:1.5px solid var(--border);border-radius:50%;background:#fff;cursor:pointer;font-size:18px;color:var(--accent);margin-bottom:2px}
  .swap:hover{background:var(--surface2)}
  .rate-line{text-align:center;padding:1rem;background:var(--surface2);border-radius:14px;margin-top:1rem;font-size:15px;font-weight:500}
  .rate-line .upd{display:block;font-size:11px;color:var(--muted);margin-top:3px;font-weight:400}
  .section-title{font-family:'Fraunces',serif;font-size:1.2rem;font-weight:400;margin:0 0 .75rem}
  .pairs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
  .pairs a,.pairs button{padding:.4rem .85rem;border:1px solid var(--border);border-radius:100px;font-size:13px;color:var(--accent);background:#fff;text-decoration:none;font-family:'Inter',sans-serif;cursor:pointer}
  .pairs a:hover,.pairs button:hover{background:var(--surface2)}
  table{width:100%;border-collapse:collapse;font-size:14px;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;margin-bottom:1.5rem}
  th{text-align:left;padding:.6rem 1.25rem;background:var(--surface2);font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
  td{padding:.7rem 1.25rem;border-bottom:1px solid var(--border)}
  tr:last-child td{border-bottom:none}
  td:last-child{font-family:'Fraunces',serif;color:var(--accent2);text-align:right}
  .ad-block{background:#f9f9f9;border:1px dashed #ddd;border-radius:12px;text-align:center;font-size:11px;color:var(--muted);margin-bottom:1.5rem;min-height:260px;display:flex;align-items:center;justify-content:center}
  .faq{margin-bottom:2rem}
  .faq-item{border-bottom:1px solid var(--border);padding:1rem 0}
  .faq-item:last-child{border-bottom:none}
  .faq-item h3{font-size:14px;font-weight:600;margin-bottom:.4rem;color:var(--text)}
  .faq-item p{font-size:13px;color:var(--muted);line-height:1.6}
  footer{background:var(--surface);border-top:1px solid var(--border);padding:1.5rem 2rem;text-align:center;font-size:12px;color:var(--muted)}
  footer a{color:var(--accent);text-decoration:none}
