@charset "UTF-8";

a { color: inherit; text-underline-offset: 4px; }

a:hover { color: var(--text); }

.shell { width: min(1200px, calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }

.header-row { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 650; letter-spacing: -.04em; white-space: nowrap; }

.brand img { display: block; width: 40px; height: 40px; object-fit: contain; }

.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }

main { width: min(780px, calc(100% - 2 * var(--page-gutter))); margin: 64px auto 88px; }

.document-label { border-left: 22px solid var(--brand); padding-left: 12px; margin: 0 0 30px; color: var(--muted); font-size: 12px; line-height: 1.2; letter-spacing: .12em; }

.eyebrow { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

h1, h2 { color: var(--text); font-weight: 600; letter-spacing: var(--tracking-heading); }

h1 { font-size: var(--title-page); line-height: 1.15; margin: 0 0 26px; overflow-wrap: anywhere; hyphens: auto; }

h2 { font-size: var(--title-subsection); line-height: 1.35; margin: 38px 0 16px; padding-top: 26px; border-top: 1px solid var(--line); }

p, ul { margin: 12px 0; }

article p, article li { color: var(--text); }

.lead { font-size: 19px; line-height: 1.75; color: var(--muted); margin-bottom: 32px; }

ul { padding-left: 24px; }

li { padding-left: 5px; margin-block: 10px; }

li::marker { color: var(--text); }

.contact { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

.tariffs { display: grid; gap: 0; margin: 20px 0; border: 1px solid var(--line); border-radius:var(--radius-card); background: var(--surface); }

.tariffs section { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 20px 24px; }

.tariffs section + section { border-top: 1px solid var(--line); }

.tariffs strong { font-size: 18px; font-weight: 600; }

.tariffs span { color: var(--muted); font-size: 15px; }

.tariffs span:nth-of-type(2) { grid-column: 2; color: var(--text); }

.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-block: 36px; border-top: 1px solid var(--line); }

.footer-row nav { display: grid; gap: 2px; }

.footer-row nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; color: var(--muted); }

.footer-row nav a:hover { color: var(--text); text-decoration: underline; }

.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 24px; font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
  .shell { width: calc(100% - 2 * var(--page-gutter)); }

  .header-row { min-height: 76px; gap: 12px; }

  .brand { font-size: 19px; gap: 8px; }

  .brand img { width: 36px; height: 36px; }

  .back-link { font-size: 13px; }

  main { width: calc(100% - 2 * var(--page-gutter)); margin-block: 42px 56px; }


  h1 { font-size: 32px; }

  h2 { font-size: 22px; margin-top: 30px; padding-top: 22px; }

  .lead { font-size: 17px; }

  .eyebrow { font-size: 13px; }

  .document-label { font-size: 11px; }

  .tariffs section { grid-template-columns: 1fr; padding: 18px 20px; }

  .tariffs span:nth-of-type(2) { grid-column: auto; }

  .footer-row { flex-direction: column; gap: 24px; padding-block: 28px; }

}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }
 }

/* TASK-52A: tariff rows on /terms only. */
.tariffs section{align-items:center}

.tariffs .tariff-details{display:grid;justify-items:center;text-align:center;gap:4px;min-width:112px}

.tariffs .tariff-details span{grid-column:auto;line-height:1.5}

.tariffs .tariff-details .tariff-saving{color:var(--text);font-size:15px}

@media(max-width:760px){.tariffs .tariff-details{justify-items:center;min-width:0}
}

/* TASK-52D: compact tariff rows on phones; desktop/tablet unchanged. */
@media(max-width:600px){
  .tariffs section{grid-template-columns:minmax(0,1fr) 100px;gap:6px 12px;padding:14px;align-items:center}

  .tariffs strong{font-size:16px;line-height:1.4;min-width:0}

  .tariffs .tariff-details{min-width:0;gap:2px;justify-items:center}

  .tariffs .tariff-details span{font-size:14px;line-height:1.4;white-space:nowrap}

  .tariffs .tariff-details .tariff-saving{font-size:13px}

}

@media(min-width:300px) and (max-width:340px){
  .tariffs section{grid-template-columns:minmax(0,1fr) 92px;column-gap:8px;padding-inline:12px}

}

@media(max-width:299px){
  .tariffs section{grid-template-columns:minmax(0,1fr);gap:4px}

  .tariffs .tariff-details{justify-items:start;text-align:left}

}

.contact{ text-decoration-color:var(--accent); text-decoration-thickness:2px; }
