/* velmayam.in product-line pages. Loaded after styles.css, which owns the tokens, the header, the buttons,
   the closing band, the footer and the floating buttons. Written phone first; wider screens are added below. */

.lp h2{font-size:clamp(1.8rem,1.3rem + 1.9vw,2.75rem);line-height:1.04}
.lp .brand{min-height:44px}
.lp .tel{min-height:44px}
.lp .top .btn-sm{min-height:44px}
.lp .nav a{padding:12px 0}
.lp .foot-lines a{display:inline-block;padding-block:8px}
.lp .foot address a{display:inline-block;padding-block:4px}

/* first screen: breadcrumb, heading, lede, date, the two actions, then the picture */
.lp-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-block:8px 36px}
.lp-crumb ol{list-style:none;margin:0 0 4px;padding:0;display:flex;flex-wrap:wrap;align-items:center;font-size:var(--fs-sm);color:var(--on-dark-2)}
.lp-crumb li{display:flex;align-items:center;min-height:44px}
.lp-crumb li+li::before{content:"/";margin:0 12px;color:var(--on-dark-2)}
.lp-crumb a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;color:var(--on-dark);text-underline-offset:5px;text-decoration-color:var(--underline)}
.lp-crumb a:hover{color:#fff}
.lp-hero h1{margin-bottom:16px;max-width:18ch}
.lp-hero .lede{max-width:31em}
.lp-upd{font:500 var(--fs-meta)/1.4 var(--mono);color:var(--on-dark-2);margin:16px 0 24px}
.lp-pic{position:relative;height:208px;border-radius:var(--r);overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--raised);border:1px solid var(--hair-gold)}
.lp-pic-cut img{height:84%;width:auto;max-width:84%;object-fit:contain;filter:drop-shadow(0 16px 16px rgba(0,0,0,.5))}
.lp-pic-photo img{width:100%;height:100%;object-fit:cover}

/* Line length is set in em: in Instrument Sans 1ch (the width of 0) is about 1.4 average letters, so 31em gives
   about 72 characters a line. */

/* bands */
.lp-sec{background:var(--paper);padding-block:clamp(48px,6.2vw,92px)}
.lp-sec.lp-mist{background:var(--mist)}
.lp-sec:not(.lp-mist):not(.lp-trade)+.lp-sec:not(.lp-mist):not(.lp-trade){border-top:1px solid var(--line)}
.lp-sec.lp-mist+.lp-sec.lp-mist{border-top:1px solid var(--line-2)}
.lp-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}

/* what to send: parallel cards, no order implied */
.lp-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.lp-cards li{background:#fff;padding:20px}
.lp-cards h3{font-size:var(--fs-lead);line-height:1.1;font-stretch:var(--stretch);color:var(--navy);margin-bottom:8px}
.lp-cards h3::before{content:"";display:block;width:24px;height:3px;background:var(--gold);margin-bottom:12px}
.lp-cards p{margin:0;color:var(--body)}

/* what moves the rate: a term and one sentence */
.lp-rate{margin:0;border-top:1px solid var(--line)}
.lp-rate div{padding:16px 0;border-bottom:1px solid var(--line)}
.lp-rate dt{font-size:var(--fs-lead);line-height:1.15;font-stretch:var(--stretch);font-weight:600;color:var(--navy);margin-bottom:4px}
.lp-rate dd{margin:0;color:var(--body);max-width:31em}

/* explanatory sections and their tables */
.lp-body p{color:var(--body);max-width:31em;margin:0 0 1em}
.lp-body p:last-child{margin-bottom:0}
.lp-table{position:relative;margin-top:24px;overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.lp-table:focus-visible{outline-offset:2px}
.lp-table table{width:100%;border-collapse:collapse;font-size:var(--fs-sm);line-height:1.4}
.lp-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lp-table th,.lp-table td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.lp-table thead th,.lp-table thead td{background:var(--ink-deep);color:#fff;font-weight:600;border-bottom:2px solid var(--gold);vertical-align:bottom}
.lp-table tbody th{font-weight:600;color:var(--navy);width:27%}
.lp-table tbody td{color:var(--body)}
.lp-table tbody tr:last-child>*{border-bottom:0}
.lp-c2 tbody th{width:36%}
.lp-c4 table{min-width:33rem}
.lp-c5 table{min-width:41rem}
.lp-c6 table{min-width:49rem}

/* how Velmayam trades: the one dark band in the body of the page */
.lp-trade{background:linear-gradient(155deg,#0C3060 0%,#06152E 62%);color:#fff}
.lp-trade .promises li{border-bottom-color:var(--hair-dark);padding:24px 0}
.lp-trade .promises li:first-child{padding-top:4px}
.lp-trade .promises li:last-child{padding-bottom:0}
.lp-trade .promises h3{color:#fff}
.lp-trade .promises p{color:var(--on-dark);max-width:31em}

/* questions: every answer open on the page */
.lp-faq{border-top:1px solid var(--line-2)}
.lp-q{padding:20px 0 24px;border-bottom:1px solid var(--line-2);scroll-margin-top:84px}
.lp-q h3{font-size:var(--fs-lead);line-height:1.3;color:var(--ink);margin-bottom:8px;text-wrap:pretty}
.lp-q p{margin:0;color:var(--body);max-width:31em}
.lp-q:target{box-shadow:inset 3px 0 0 var(--gold);padding-left:16px}

/* the lines this page covers, the catalogue, related pages */
.lp-two{display:grid;grid-template-columns:minmax(0,1fr);gap:44px}
.lp-items{list-style:none;margin:16px 0 8px;padding:0;border-top:1px solid var(--line)}
.lp-items li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;padding:12px 0;border-bottom:1px solid var(--line)}
.lp-items b{font-weight:600;color:var(--ink)}
.lp-items span{font:400 var(--fs-meta)/1.5 var(--mono);color:var(--muted)}
.lp-more{margin:0}
.lp-link{display:inline-flex;align-items:center;min-height:44px;color:var(--navy);font-weight:600;text-underline-offset:4px}
.lp-link:hover{color:var(--navy-2)}
.lp-dl{display:inline-flex;align-items:center;gap:8px;min-height:56px;margin-top:12px;padding:8px 20px;border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--navy);text-decoration:none;font-weight:600;font-size:var(--fs-body);line-height:1.25;transition:border-color .15s var(--ease),background-color .15s var(--ease)}
.lp-dl:hover{border-color:var(--navy);background:var(--mist)}
.lp-dl svg{color:currentColor;flex:none}
.lp-dl small{display:block;font:400 var(--fs-meta) var(--mono);color:var(--muted);margin-top:4px}
.lp-related{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--line)}
.lp-related li{border-bottom:1px solid var(--line)}
.lp-related a{display:flex;align-items:center;min-height:48px;color:var(--navy);font-weight:600;text-underline-offset:4px}
.lp-related a:hover{color:var(--navy-2)}

/* company block: the registered details on the navy card, on a light band */
.lp-co-l p{color:var(--body);max-width:31em;margin:16px 0 0}
.lp-co .legal{background:var(--ink-deep);color:#fff;box-shadow:var(--shadow)}
.lp-co .legal div:nth-last-child(2){border-bottom:1px solid var(--hair-dark)}
.lp-co .legal a{display:inline-block;padding-block:12px;margin-block:-12px}

/* phone bar: two actions on a line page */

@media (min-width:641px){
  .lp-cards.lp-n2,.lp-cards.lp-n4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-cards.lp-n3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lp-cards li{padding:24px}
  .lp-rate div{display:grid;grid-template-columns:minmax(0,12rem) minmax(0,1fr);gap:8px 28px;align-items:baseline}
  .lp-rate dt{margin:0}
  .lp-table table{font-size:var(--fs-body)}
  .lp-table th,.lp-table td{padding:12px 16px}
  .lp-pic{height:300px}
}
@media (min-width:901px){
  .lp-hero-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:clamp(32px,5vw,76px);align-items:center;padding-block:24px clamp(56px,6.4vw,92px)}
  .lp-hero-grid.lp-solo{grid-template-columns:minmax(0,1fr)}
  .lp-crumb ol{margin-bottom:12px}
  .lp-pic{height:auto;aspect-ratio:5/6;max-height:500px;justify-self:end;width:100%;max-width:420px}
  .lp-grid{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(32px,6vw,88px);align-items:start}
  .lp-grid>h2{position:sticky;top:100px}
  .lp-two{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,6vw,88px);align-items:start}
  .lp-q{padding:24px 0}
}
@media (max-width:420px){
  .lp .tel{width:44px;height:44px}
}

/* a table of four columns or more on a phone: one block per row, the column name beside each value, nothing hidden sideways */
@media (max-width:640px){
  .lp-stack{overflow:hidden}
  .lp-stack table{min-width:0}
  .lp-stack table,.lp-stack tbody,.lp-stack tbody tr,.lp-stack tbody th,.lp-stack tbody td{display:block}
  .lp-stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .lp-stack tbody th{width:auto;padding:12px 16px;background:var(--ink-deep);color:#fff}
  .lp-stack tbody tr>th,.lp-stack tbody tr:last-child>th{border-bottom:2px solid var(--gold)}
  .lp-stack tbody td{display:grid;grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:12px;padding:12px 16px}
  .lp-stack tbody td::before{content:attr(data-label);font-weight:600;color:var(--navy)}
  .lp-stack tbody tr:last-child>td{border-bottom:1px solid var(--line)}
  .lp-stack tbody tr:last-child>td:last-child{border-bottom:0}
}

/* the privacy notice (/privacy/): one reading column on paper. Not .legal, which is the company block. */
.notice{padding-block:48px 72px}
.notice-in{max-width:72ch}
.notice h1{font-size:clamp(2.05rem,1.2rem + 2.9vw,3rem);line-height:1.04;font-stretch:var(--stretch);letter-spacing:-.018em;color:var(--ink)}
.notice-date{margin:12px 0 32px;font:400 var(--fs-meta)/1.5 var(--mono);color:var(--muted)}
.notice h2{font-size:var(--fs-h3);line-height:1.15;letter-spacing:0;margin:40px 0 12px}
.notice p,.notice li{color:var(--body);line-height:1.65}
.notice ul{padding-left:1.25em;margin:0 0 1em}
.notice li{margin-bottom:8px}
.notice a{color:var(--navy);text-underline-offset:3px}
