/* /free-nerd-call, the ad landing page, in the denim look (scripts/denim_fnc.py).
   The form panel, its fine print and the two scripts are the hand-written page's own bytes,
   so this file dresses the old class names (btn, fine, or, book-link, hidden) in the new look.
   Loaded after denim.css. */
.fnc-k{font-size:18px;line-height:1.5;margin-bottom:12px;color:var(--white)}
.fnc-k .blink{display:none}
.fnc-head .lead{max-width:44em}
/* the marker stroke under the headline's last words: the ?t= script writes <span class="u"> */
.fnc-head h1 .u{position:relative;display:inline-block;padding-bottom:.14em}
.fnc-head h1 .u::after{content:"";position:absolute;left:-1%;width:101%;bottom:calc(.07em - 12px);height:24px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 24' preserveAspectRatio='none'%3E%3Cpath d='M4 12 Q150 13.2 300 12 Q450 10.8 598 12' fill='none' stroke='%23D2542A' stroke-width='8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat 0 0/100% 100%}
/* The form sits in the headline band, in a white card: beside the headline on a wide
   screen, so it starts in the first screen the way the old page's did (this is where the ads
   land), and straight under the lead on a phone. "Free" and the phone drawing follow. */
.fnc-top{display:grid;grid-template-columns:minmax(0,1fr);row-gap:32px}
.fnc-card{background:var(--white);color:var(--navy);border-radius:20px;padding:32px}
.fnc-card a:not(.btn),.g-denim .fnc-card p a:not(.btn){color:var(--denim)}
.fnc-card #callmePanel{padding:0;margin:0;background:none;border:0;border-radius:0;box-shadow:none}
.fnc-aside{display:flex;align-items:center;gap:24px;color:var(--white)}
.fnc-aside .pc-d{min-height:0}
.fnc-free{margin-top:0}
.fnc-free .num{color:var(--white)}
.fnc-free .unit{font-size:var(--t-lead);color:var(--white)}
@media (min-width:1001px){
  .fnc-top{grid-template-columns:minmax(0,1fr) minmax(0,500px);column-gap:64px;grid-template-rows:auto 1fr;grid-template-areas:"w c" "a c";align-items:start}
  .fnc-words{grid-area:w}.fnc-card{grid-area:c}.fnc-aside{grid-area:a;margin-top:8px}
  .fnc-head.pagehead{padding:48px 0 64px}
}
@media (max-width:640px){.fnc-card{padding:24px 20px;border-radius:16px}.fnc-top{row-gap:24px}.fnc-head.pagehead{padding:32px 0 40px}}

/* the panel */
#callmePanel > h2{color:var(--denim);font-size:28px;line-height:1.2;font-weight:500;letter-spacing:-.01em;text-wrap:balance}
#callmePanel .panel-lead{margin:8px 0 28px}
#callmePanel .panel-lead b{font-weight:500}
#callme .hidden{display:none}
#callme .cm .btn{width:100%;text-wrap:balance}
#callme .cm .btn svg{display:none}
#cbForm .btn{margin-top:28px;background:var(--orange);border-color:var(--orange);color:#fff;font-weight:700;cursor:pointer}
#cbForm .btn[disabled]{opacity:.7;cursor:default}
#callme .btn.pine{margin-top:16px;background:var(--denim);border-color:var(--denim);color:#fff;font-weight:700}
#callme .btn.pine:not(:hover){text-decoration:none}
#callme .err{margin-top:12px;font-weight:500;color:var(--navy)}
#callme .err:empty{display:none}
#cbForm .fine{margin-top:20px;font-size:16px;line-height:1.5;overflow-wrap:break-word}
#cbForm .fine + .fine{margin-top:12px}
#callme [aria-invalid="true"]{border-color:var(--navy);border-width:2px}
#callme .cm input,#callme .cm textarea,#callme .cm .btn,#callme .err{scroll-margin-bottom:112px;scroll-margin-top:120px}
#callmePanel .or{margin:24px 0 0;text-align:center;font-size:16px;line-height:1.5}
#callmePanel .book-link{margin-top:20px;text-align:center;font-size:16px;line-height:1.5}
#callmePanel .done .check{display:none}
#callmePanel .done h3{font-size:var(--t-h3);line-height:1.3;font-weight:500;letter-spacing:-.01em;text-wrap:balance}
#callmePanel .done h3:focus{outline:none}
#callmePanel .done p{margin-top:12px}

/* rates, the everyday stuff, who you'll be talking to */
.fnc-rates .pc-d,.fnc-who .pc-d{margin-bottom:24px}
.fnc-bands li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center;background:var(--white);border-radius:20px;padding:24px 28px}
.fnc-bands li + li{margin-top:12px}
.fb-h{font-size:21px;line-height:1.3;font-weight:500;color:var(--denim);text-wrap:balance}
.fb-t{margin-top:4px;font-size:16px;line-height:1.5;text-wrap:balance}
.fb-amt{font-size:40px;line-height:1;font-weight:500;letter-spacing:-.02em;color:var(--denim)}
.fnc-fine{margin-top:28px}
.fnc-fine li{font-size:17px;line-height:1.5;padding-left:20px;position:relative}
.fnc-fine li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--orange)}
.fnc-fine li + li{margin-top:10px}
.fnc-fine b{font-weight:500}
.fnc-stuff .dlist{margin-top:40px;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:28px}
.fnc-say{margin-top:48px;background:var(--paper);border-radius:20px;padding:24px 28px;max-width:none;font-size:var(--t-lead);line-height:1.5;text-wrap:balance}
.fnc-wl{margin-top:0}
.fnc-wl li{background:var(--white);border-radius:20px;padding:16px 24px;grid-template-columns:56px minmax(0,1fr)}
.fnc-wl li > span:last-child{font-size:var(--t-lead)}
.fnc-wl.dlist{row-gap:12px}
@media (max-width:900px){.fnc-stuff .dlist{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.fnc-stuff .dlist{grid-template-columns:minmax(0,1fr);row-gap:16px;margin-top:28px}.fnc-bands li{padding:20px;border-radius:16px;column-gap:16px}.fb-h{font-size:19px}.fb-amt{font-size:32px}.fnc-say{margin-top:32px;padding:20px}.fnc-wl li{padding:14px 16px}#callmePanel > h2{font-size:24px}.fnc-k{font-size:17px}}

/* 320 to 359px: a kept-together phrase may wrap rather than push its row wide */
@media (max-width:359px){#main-content .nw{white-space:normal}}
