/* Delphi O.E.M. Co. — modern manufacturing theme */

:root{
  --bg:#edf1f4;
  --panel:#ffffff;
  --panel-soft:#f7f9fa;
  --ink:#1f252b;
  --muted:#64717c;
  --line:#cfd7dd;
  --header:#18232c;
  --header-deep:#101820;
  --steel:#2f4657;
  --accent:#b56a2b;
  --accent-dark:#8d4f1d;
  --accent-soft:#f4e8dc;
  --link:#245f83;
  --link-hover:#163f5a;
  --shadow:0 8px 24px rgba(15,28,38,.10);
  --radius:10px;
}

*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  background:linear-gradient(180deg,#dde5ea 0,var(--bg) 260px);
  color:var(--ink);
  font-family:"Segoe UI",Arial,Helvetica,sans-serif;
  font-size:17px;
  line-height:1.55;
}

a{color:var(--link);text-decoration:none}
a:hover,a:focus{color:var(--link-hover);text-decoration:underline}

body>table:first-of-type{
  width:100%;
  margin:0;
  padding:18px max(22px,calc((100vw - 1120px)/2));
  border-collapse:separate;
  border-spacing:0;
  background:linear-gradient(135deg,var(--header-deep),var(--header));
  color:#fff;
  box-shadow:0 3px 14px rgba(0,0,0,.18);
}
body>table:first-of-type td{padding:8px 14px;vertical-align:middle}
body>table:first-of-type td:first-child{width:auto!important}
body>table:first-of-type img{display:block;max-width:430px;width:100%;height:auto}
body>table:first-of-type center{
  text-align:right;color:#dce5eb;font-size:.96rem;line-height:1.55
}

body>center:first-of-type{
  width:min(1120px,calc(100% - 36px));
  margin:18px auto 0;
  padding:0;
}
body>center:first-of-type hr{
  border:0;border-top:1px solid var(--line);margin:0
}
body>center:first-of-type>a{
  display:inline-block;
  padding:13px 18px;
  margin:0 2px;
  color:var(--steel);
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.025em;
  text-transform:uppercase;
}
body>center:first-of-type>a:hover,
body>center:first-of-type>a:focus{
  color:var(--accent-dark);text-decoration:none
}

body>center:nth-of-type(2){
  width:min(1120px,calc(100% - 36px));
  margin:22px auto 44px;
}
body>center:nth-of-type(2)>table{
  width:100%!important;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
body>center:nth-of-type(2)>table>tbody>tr>td{
  padding:28px;
  vertical-align:top;
}
body>center:nth-of-type(2)>table>tbody>tr:first-child>td:first-child{width:58%}
body>center:nth-of-type(2)>table>tbody>tr:first-child>td:last-child{
  width:42%;
  background:var(--panel-soft);
  border-left:1px solid var(--line);
}

h1,h2,h3{color:var(--header);line-height:1.22}
h1{margin:0 0 12px;font-size:clamp(1.9rem,4vw,3rem);letter-spacing:-.025em}
h2{margin:18px 0 10px;font-size:clamp(1.25rem,2.5vw,1.65rem);font-weight:650}
h3{margin:14px 0;font-size:1.05rem;font-weight:550}

body>center:nth-of-type(2) h1:first-of-type{
  display:inline-block;
  padding:7px 13px;
  margin-bottom:16px;
  border:1px solid #d9b792;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent-dark);
  font-size:.9rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

img{max-width:100%;height:auto}
body>center:nth-of-type(2) td img{display:block;border-radius:8px}
body>center:nth-of-type(2)>table>tbody>tr:first-child>td:last-child>img{
  margin:0 auto 20px;
  border:1px solid #c9d2d9;
  box-shadow:0 5px 16px rgba(15,28,38,.12);
}
body>center:nth-of-type(2)>table>tbody>tr:last-child img{
  margin:0 auto;border:1px solid #c9d2d9
}
body>center:nth-of-type(2)>table>tbody>tr:first-child>td:last-child h3{
  color:var(--muted);font-size:.9rem;line-height:1.75;font-weight:600
}

input,textarea,select,button{font:inherit}
input[type="text"],input[type="email"],input[type="tel"],textarea,select{
  width:100%;
  max-width:560px;
  padding:10px 12px;
  border:1px solid #b9c5cd;
  border-radius:6px;
  background:#fff;
  color:var(--ink);
}
input:focus,textarea:focus,select:focus{
  outline:3px solid rgba(181,106,43,.18);
  border-color:var(--accent);
}
.btn,button,input[type="submit"],input[type="reset"]{
  display:inline-block;
  padding:9px 15px;
  border:1px solid var(--accent-dark);
  border-radius:6px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.btn:hover,button:hover,input[type="submit"]:hover{background:var(--accent-dark)}

@media(max-width:760px){
  body{font-size:16px}
  body>table:first-of-type,
  body>table:first-of-type tbody,
  body>table:first-of-type tr,
  body>table:first-of-type td{
    display:block;width:100%!important
  }
  body>table:first-of-type{padding:16px 18px}
  body>table:first-of-type td{padding:5px 0}
  body>table:first-of-type img{max-width:360px;margin:0 auto}
  body>table:first-of-type center{margin-top:8px;text-align:center}
  body>center:first-of-type{width:calc(100% - 24px)}
  body>center:first-of-type>a{padding:11px 9px;font-size:.86rem}
  body>center:nth-of-type(2){width:calc(100% - 24px)}
  body>center:nth-of-type(2)>table,
  body>center:nth-of-type(2)>table>tbody,
  body>center:nth-of-type(2)>table>tbody>tr,
  body>center:nth-of-type(2)>table>tbody>tr>td{
    display:block;width:100%!important
  }
  body>center:nth-of-type(2)>table>tbody>tr>td{padding:21px}
  body>center:nth-of-type(2)>table>tbody>tr:first-child>td:last-child{
    border-left:0;border-top:1px solid var(--line)
  }
}
