/* Styles from the approved tariff preview, scoped to the tariff content. */
.site-tariffs > main.wrap { width: 100%; max-width: none; padding: 0; }

.tariffs-page {
  * { box-sizing:border-box; }
  & { font-family:Arial,Helvetica,sans-serif; color:#17344d; background:#f5f8fa; font-size:18px; line-height:1.5; }
  a { color:#08727e; text-underline-offset:4px; }
  a:focus-visible { outline:3px solid #2572aa; outline-offset:5px; }
  h1,h2,h3,p { margin:0; }
  .wrap { max-width:1240px; width:calc(100% - 80px); margin:auto; }
  .intro { color:white; background:radial-gradient(ellipse at 90% 15%,#14606a 0,transparent 56%),linear-gradient(110deg,#0c2637,#123b4c); padding:56px 0 64px; }
  .intro .eyebrow { color:#7de9d9; font-weight:700; font-size:17px; letter-spacing:.025em; }
  .intro h1 { font-size:52px; line-height:1.11; letter-spacing:-.025em; margin:14px 0 16px; max-width:1000px; }
  .intro p { font-size:20px; color:#e1eef3; max-width:850px; }
  .section { padding:52px 0; }
  .section h2 { font-size:36px; line-height:1.15; letter-spacing:-.02em; margin-bottom:14px; }
  .section-lead { color:#496376; max-width:850px; margin-bottom:28px; }
  .plan-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .plan { display:flex; flex-direction:column; min-width:0; background:#fff; border:1px solid #d6e2e8; border-radius:18px; padding:34px; box-shadow:0 8px 26px rgba(23,52,77,.045); }
  .plan .plan-icon { width:52px; height:52px; display:grid; place-items:center; color:#08727e; background:#e8f6f5; border-radius:13px; margin-bottom:17px; }
  .plan-icon svg { width:29px; height:29px; }
  .plan h3 { font-size:27px; line-height:1.2; letter-spacing:-.02em; }
  .price { display:flex; align-items:baseline; gap:12px; margin:12px 0 16px; }
  .price strong { font-size:48px; line-height:1.1; font-variant-numeric:tabular-nums; letter-spacing:-.035em; }
  .price span { font-size:17px; color:#536a7b; }
  .plan .benefit { font-weight:700; font-size:23px; line-height:1.27; margin-bottom:10px; }
  .plan .purpose { color:#435c6f; margin-bottom:22px; }
  .plan ul { list-style:none; margin:0 0 28px; padding:22px 0 0; border-top:1px solid #e3ebef; display:grid; gap:12px; }
  .plan li { display:flex; align-items:flex-start; gap:12px; font-size:18px; line-height:1.4; }
  .plan li svg { width:21px; height:21px; color:#087f8c; flex:none; margin-top:2px; }
  .plan .action { margin-top:auto; width:100%; min-height:54px; border-radius:9px; background:#fff; border:1.5px solid #08727e; color:#086773; font-weight:700; line-height:1.35; padding:12px 16px; }
  .plan .action:hover { background:#e9f7f7; }
  .plan.free .action,.plan.subscription .action { background:#08727e; color:white; border-color:#08727e; }
  .plan.subscription { border:1.5px solid #63aaa9; background:#f4fbfa; }
  .plan.extended { background:linear-gradient(140deg,#17344d,#102b40); border-color:#17344d; color:#fff; box-shadow:0 12px 30px rgba(23,52,77,.14); }
  .extended .price strong { color:#65ead3; }
  .extended .price span,.extended .purpose { color:#d1e3ed; }
  .extended .plan-icon { background:#215365; color:#65ead3; }
  .extended ul { border-color:#456071; }
  .extended li svg { color:#65ead3; }
  .extended .action { background:#55e0c1; color:#102b40; border-color:#55e0c1; }
  .extended .action:hover { background:#79ebd3; }
  .compare-section { background:#fff; border-block:1px solid #e0e9ee; }
  .compare-shell { border:1px solid #d6e2e8; border-radius:14px; overflow:hidden; }
  table { border-collapse:collapse; width:100%; table-layout:fixed; font-size:17px; }
  th,td { padding:15px 16px; text-align:center; border-bottom:1px solid #e1e9ee; vertical-align:middle; }
  thead th { background:#edf4f7; font-weight:700; line-height:1.25; }
  thead th:first-child,tbody th { text-align:left; width:44%; }
  thead .plan-price { display:block; color:#17344d; font-size:23px; margin-top:6px; }
  thead .plan-month { font-size:14px; color:#526779; display:block; font-weight:400; }
  tbody th { font-weight:500; color:#17344d; }
  tbody tr:nth-child(even) { background:#f9fbfc; }
  tbody td:last-child,thead th:last-child { background:#e9f6f3; }
  tbody tr:last-child th,tbody tr:last-child td { border-bottom:none; }
  .yes { display:inline-flex; color:#087b6c; align-items:center; justify-content:center; width:25px; height:25px; }
  .yes svg { width:21px; height:21px; }
  .no { color:#687c89; }
  .sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .note { font-size:16px; color:#526779; margin-top:14px; }
  .saving { margin-top:32px; padding:28px 32px; border-radius:15px; border:1px solid #c2dcdf; background:linear-gradient(110deg,#f1f9f9,#f5f8fc); display:grid; grid-template-columns:1.15fr 1fr; gap:30px; align-items:center; }
  .saving h3 { font-size:27px; line-height:1.2; margin-bottom:12px; }
  .saving p { color:#435c6f; }
  .saving-values { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .saving-values div { border-left:2px solid #8bb5c0; padding-left:17px; }
  .saving-values span { display:block; font-size:16px; color:#435c6f; }
  .saving-values strong { display:block; font-size:37px; line-height:1.15; margin:8px 0; letter-spacing:-.03em; }
  .saving-values div:last-child strong { color:#086773; }
  .condition-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .condition { background:#fff; border:1px solid #dbe5eb; padding:27px; border-radius:14px; display:flex; gap:18px; align-items:flex-start; }
  .condition svg { width:29px; height:29px; flex:none; color:#08727e; margin-top:3px; }
  .condition h3 { font-size:23px; line-height:1.25; margin-bottom:9px; }
  .condition p { color:#435c6f; }
  .condition:last-child { grid-column:1/-1; }
  .closing { background:#102e40; color:white; border-radius:16px; padding:32px 36px; display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:28px; }
  .closing h3 { font-size:28px; line-height:1.2; margin-bottom:8px; }
  .closing p { color:#d7e7ee; }
  .closing .action { border:0; background:#55e0c1; color:#102b40; padding:16px 24px; font-weight:700; border-radius:9px; flex:none; }

  @media (max-width:950px) {
    .wrap { width:calc(100% - 48px); }
    .plan { padding:26px; }
    .intro h1 { font-size:44px; }
    .saving { grid-template-columns:1fr; }
    .section h2 { font-size:32px; }
    thead th:first-child,tbody th { width:36%; }
    th,td { padding:14px 9px; }
  }

  @media (max-width:640px) {
    & { font-size:16px; }
    .wrap { width:calc(100% - 32px); }
    .intro { padding:32px 0 38px; }
    .intro .eyebrow { font-size:15px; }
    .intro h1 { font-size:36px; line-height:1.13; margin-top:12px; }
    .intro p { font-size:17px; }
    .section { padding:34px 0; }
    .section h2 { font-size:30px; }
    .section-lead { margin-bottom:20px; }
    .plan-grid,.condition-grid { grid-template-columns:1fr; gap:16px; }
    .plan { padding:25px; border-radius:14px; }
    .plan h3 { font-size:26px; }
    .price strong { font-size:45px; }
    .plan .benefit { font-size:22px; }
    .plan li { font-size:17px; }
    .plan .purpose { font-size:16px; }
    .plan .action { font-size:16px; }
    .compare-shell { border-radius:12px; }
    .compare-shell table,.compare-shell thead,.compare-shell tbody { display:block; width:100%; }
    .compare-shell tr { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
    .compare-shell thead th:first-child { display:none; }
    .compare-shell thead th { font-size:14px; padding:12px 2px; width:auto; overflow-wrap:anywhere; hyphens:manual; }
    .compare-shell thead .plan-price { font-size:17px; margin-top:4px; }
    .compare-shell thead .plan-month { font-size:12px; }
    .compare-shell tbody th { grid-column:1/-1; width:auto; font-size:16px; padding:12px 10px 5px; border:0; background:transparent; }
    .compare-shell tbody td { padding:7px 4px 10px; }
    .compare-shell tbody tr:nth-child(even) { background:#f3f7f9; }
    .compare-shell tbody td:last-child { background:#e9f6f3; }
    .saving { padding:24px 20px; gap:23px; }
    .saving h3 { font-size:24px; }
    .saving-values strong { font-size:31px; }
    .saving-values span { font-size:14px; }
    .condition { padding:22px; gap:12px; }
    .condition h3 { font-size:22px; }
    .closing { display:block; padding:25px; }
    .closing h3 { font-size:25px; }
    .closing .action { width:100%; margin-top:18px; white-space:normal; font-size:16px; }
  }

  .plan .action, .closing .action {
    display: inline-flex; align-items: center; justify-content: center;
    text-align: center; text-decoration: none;
  }
}
