/* Techport themes: light is the default, dark is the original look.
   The choice is stored per visitor by /theme.js (key "tp-theme"). */

:root{
  --line-2:#2A3440;      /* stronger borders, chips */
  --row-line:#151C23;    /* board row separators */
  --frame:#0E1318;       /* board outer frame */
  --row-hover:#0F151B;
  --flap:#141B22;        /* split-flap tiles */
  --flap-dest:#16202A;
  --flap-cut:#07090C;
  --panel-a:rgba(16,22,29,.8);
  --body-text:#C3CCD5;
  --bad:#F08C7A;
  --shadow:#000;
}

html[data-theme="light"]{
  color-scheme:light;
  --bg:#FAF8F4;
  --panel:#FFFFFF;
  --line:#ECE6DC;
  --accent:#A84D17;
  --accent-dim:#E3B796;
  --sand:#6E5B3C;
  --text:#151A20;
  --text-dim:#535E69;
  --ok:#1E7A4C;
  --board:#FFFFFF;
  --line-2:#D9D1C4;
  --row-line:#EFEAE2;
  --frame:#F1ECE4;
  --row-hover:#FBF5EE;
  --flap:#EEF0F2;
  --flap-dest:#E9EDF1;
  --flap-cut:#D3D9DF;
  --panel-a:rgba(255,255,255,.92);
  --body-text:#2B323A;
  --bad:#B4361F;
  --shadow:rgba(60,45,25,.25);
}
html[data-theme="dark"]{color-scheme:dark;}

/* light mode: softer glows and shadows */
html[data-theme="light"] .st::before{box-shadow:none;}
html[data-theme="light"] .board{box-shadow:0 0 0 6px var(--frame), 0 24px 50px -30px var(--shadow);}

/* ---------- theme switch ---------- */
.tp-theme{
  display:inline-flex;align-items:center;gap:8px;
  font:inherit;font-size:12px;letter-spacing:2px;text-transform:uppercase;
  color:var(--text);background:var(--panel);
  border:1px solid var(--line-2);padding:9px 14px;cursor:pointer;
  min-height:40px;
}
.tp-theme:hover{border-color:var(--accent);color:var(--accent);}
.tp-theme svg{width:16px;height:16px;flex:none;}
header > .tp-theme,header > .head-tools{align-self:center;}
.head-tools{display:flex;gap:8px;align-items:center;}
.tp-lang{
  display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:40px;padding:0 12px;
  font-size:12px;letter-spacing:2px;font-weight:700;text-decoration:none;
  color:var(--accent);background:var(--panel);border:1px solid var(--line-2);
}
.tp-lang:hover{border-color:var(--accent);}

/* ---------- slightly larger small text everywhere ---------- */
.lede{font-size:16px;}
.what{font-size:13px;}
.sec-head p,.bay p,.stay p{font-size:14px;}
.tech span,.lic-ratings span{font-size:11px;}

/* ---------- bigger text on phones ---------- */
@media (max-width:820px){
  body{-webkit-text-size-adjust:100%;}
  .eyebrow,.eyebrow-line,.gate,.status,.status small{font-size:13px;}
  nav.gates{font-size:15px;gap:18px;flex-wrap:wrap;}
  h1{font-size:clamp(30px,8.4vw,40px);}
  .lede{font-size:17px;line-height:1.75;}
  .cta{font-size:14px;padding:16px 22px;}
  .cta-note{font-size:14px;}
  .sec-head p{font-size:16px;line-height:1.75;}
  .board-top{font-size:13px;}
  .flight{font-size:14px;}
  .dest{font-size:16px;}
  .what{font-size:15px;line-height:1.7;}
  .st{font-size:13px;}
  .tech span,.lic-ratings span{font-size:12px;padding:3px 8px;}
  .bay .code,.plan .code,.stay .code{font-size:13px;}
  .bay h3{font-size:20px;}
  .bay p,.stay p{font-size:16px;line-height:1.75;}
  .bay ul,.plan ul,.stay ul{font-size:15px;}
  .bay .demo{font-size:14px;}
  .hangar-note,.plans-note,.calc-note{font-size:14px;}
  .lic-top,.lic-base{font-size:13px;}
  .lic-label{font-size:12px;}
  .pilot-text p{font-size:17px;}
  .checkin aside p{font-size:16px;}
  .pass-head{font-size:13px;}
  label{font-size:13px;}
  input,select,textarea{font-size:16px;}
  .form-foot small{font-size:13px;}
  .msg{font-size:15px;}
  footer{font-size:13px;}
  .plan .for,.vat,.incl span,.stay small{font-size:14px;}
  .incl{font-size:14px;}
  .slider label,.seg-label,.seg label{font-size:14px;}
  .slider small{font-size:13px;}
  .out-row{font-size:15px;}
  .payback{font-size:14px;}
  .extras summary{font-size:15px;}
  p,li{font-size:16px;}
  th{font-size:12px;}
  table{font-size:14px;}
  header nav a{font-size:14px;}
}
