/* THE 232 UP↑SCALER (pages/01_our-adapter.php): the professional RS-232 dongle with ENTERPRISE & COMPLIANCE - a dark head in the
   colour of the ENTERPRISE edition with the data plate of the dongle, the cards of what the year of ENTERPRISE brings, text + screenshots,
   the price card and the table "which one is for you".
   (site.css comes after this file - its .pageHead / .homePage rules win at equal weight, so the dark head uses .pageHead.dgHero - and has the shared parts: .pageHead, .section, .cards, .card, .ticks, .phone, .shots, .ed, .checkTable) */

:root {
	--ent: #4a3a78;
	--ent-dark: #2a2046;
	--ent-deep: #1b1530;
	--ent-soft: #f1eef9;
	--ent-line: #ddd6ef;
}

/* the head: dark, text left, the data plate right (one column on phones: the plate under the text) */
.pageHead.dgHero {background: radial-gradient(1200px 520px at 85% 0%, #3b2e63 0%, var(--ent-deep) 62%); border-bottom: 0; color: #e9e4f7;}
.dgHero .wrap.dgHeroGrid {max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 30px;}
.pageHead.dgHero .eyebrow, .pageHead.dgHero .eyebrow a {color: #c9bdf0;}
.pageHead.dgHero h1 {color: #fff;}
.pageHead.dgHero .lead {color: #d9d2ef;}
.pageHead.dgHero .lead b {color: #fff;}
.dgHero .jumpWrap {max-width: 1100px; margin: 0 auto; padding: 0 20px 34px;}
.dgHero .jump a {background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #f1edfb;}
.dgHero .jump a:hover {border-color: #fff;}
.dgStatus {display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px;}
.dgPill {display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);}
.dgPill.soon {background: var(--accent); color: #2a2600; border-color: var(--accent);}
.dgPill.ent {background: var(--ent); border-color: #7d6bc0;}
.dgPoints {list-style: none; margin: 0 0 24px; padding: 0;}
.dgPoints li {position: relative; padding: 5px 0 5px 30px; margin: 0;}
.dgPoints li::before {content: "\2713"; position: absolute; left: 4px; top: 5px; color: var(--accent); font-weight: 800;}
.dgFine {font-size: 0.92rem; color: #b9afd6; margin: 0;}
.dgHero .dgFine a {color: #fff;}

/* the data plate of the dongle (instead of a photo: the prototype has none yet) */
.dgPlate {position: relative; margin: 0; background: linear-gradient(160deg, #2f2650 0%, #201a38 100%); border: 1px solid #5b4b94; border-radius: 22px; padding: 26px 26px 20px; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);}
.dgPlate .dgName {font-family: var(--pixel); font-size: 15px; line-height: 1.6; color: #fff; margin: 0 0 4px;}
.dgPlate .dgModel {font-size: 0.85rem; color: #b9afd6; margin: 0 0 18px; letter-spacing: 0.04em;}
.dgPorts {display: flex; gap: 10px; margin: 0 0 18px;}
.dgPort {flex: 1; text-align: center; border: 1px dashed #6d5cab; border-radius: 12px; padding: 10px 6px; font-size: 0.8rem; color: #ddd5f5;}
.dgPort b {display: block; font-size: 1rem; color: #fff; margin-bottom: 2px;}
.dgSpecs {width: 100%; border-collapse: collapse; font-size: 0.9rem;}
.dgSpecs td {padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); vertical-align: top; color: #e4def6;}
.dgSpecs td:first-child {color: #a99ed0; padding-right: 14px; white-space: nowrap;}
.dgPrice {margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 212, 0, 0.1); border: 1px solid rgba(255, 212, 0, 0.45);}
.dgPrice .big {display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); line-height: 1.2;}
.dgPrice .small {display: block; font-size: 0.85rem; color: #e4def6; margin-top: 3px;}

/* three reasons (light cards) */
.dgWhy {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;}
.dgWhy .card {border-top: 5px solid var(--ent);}
.dgWhy .card h3 {color: var(--ent-dark);}

/* the year of ENTERPRISE: the feature cards */
.dgEnt {background: var(--ent-soft); border-top: 1px solid var(--ent-line); border-bottom: 1px solid var(--ent-line); padding-bottom: 56px; margin-top: 56px;}
.dgEnt .section h2, .dgEnt h2 {color: var(--ent-dark);}
.dgGrid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;}
.dgFeat {background: #fff; border: 1px solid var(--ent-line); border-radius: 16px; padding: 20px 20px 16px; display: flex; flex-direction: column;}
.dgFeat .ico {font-size: 1.6rem; line-height: 1; margin-bottom: 10px;}
.dgFeat h3 {font-size: 1.02rem; margin: 0 0 8px; color: var(--ent-dark);}
.dgFeat p {font-size: 0.95rem; margin: 0 0 10px; color: var(--ink);}
.dgFeat .more {margin-top: auto; font-size: 0.9rem; font-weight: 700;}
.dgFeat .more a {color: var(--ent);}

/* text + screenshots side by side */
.dgRow {display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: center;}
.dgRow.flip {grid-template-columns: auto minmax(0, 1fr);}
.dgRow.flip .dgText {order: 2;}
.dgText h2 {margin-top: 0;}
.dgText .ticks {margin-top: 14px;}
.dgNote {margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--ent-soft); border: 1px solid var(--ent-line); font-size: 0.95rem;}
.dgNote b {color: var(--ent-dark);}

/* the price */
.dgPriceBox {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px;}
.dgPriceBox .card.main {border: 2px solid var(--ent); box-shadow: 0 14px 34px rgba(74, 58, 120, 0.14);}
.dgPriceBox .card .price {color: var(--ent-dark);}
.dgPriceBox .card .tag {background: var(--ent); color: #fff;}

/* which one is for you */
.dgWhich td, .dgWhich th {vertical-align: top;}
.dgWhich th.us {background: var(--ent); color: #fff;}
.dgWhich th a {color: #fff;}
.dgWhich td.us {background: var(--ent-soft);}

/* the contact */
.dgContact {text-align: center;}
.dgContact .siteBtn {margin: 6px;}

@media (max-width: 900px) {
	.dgHero .wrap.dgHeroGrid {grid-template-columns: 1fr; gap: 30px; padding-top: 38px;}
	.dgWhy, .dgGrid, .dgPriceBox {grid-template-columns: 1fr;}
	.dgRow, .dgRow.flip {grid-template-columns: 1fr; gap: 26px;}
	.dgRow.flip .dgText {order: 0;}
}
@media (min-width: 901px) and (max-width: 1100px) {
	.dgGrid {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 700px) {
	.dgWhich {font-size: 0.9rem;}
	.dgPorts {flex-direction: column;}
}
