/* ScotiaTel Online — original 1996 pages, preserved
   FORM ST-831 (REV. 11/96) */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 24px 12px 40px;
  background: #e6e0d1;
  color: #1b2424;
  font-family: 'Times New Roman', Times, serif;
  font-size: 17px;
  line-height: 1.45;
}

a { color: #0e5c5d; }
a:hover { color: #083b3c; }

.display { font-family: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 500; }
.verdana { font-family: Verdana, Geneva, sans-serif; }

/* Archive notice (added 2006) */
#archive {
  max-width: 720px;
  margin: 0 auto 12px;
  padding: 6px 12px;
  background: #f4f0e6;
  border: 1px solid #a39d8c;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: #3b4645;
  text-align: center;
}

#page {
  max-width: 720px;
  margin: 0 auto;
  background: #f4f0e6;
  border: 1px solid #a39d8c;
  box-shadow: 3px 3px 0 #c9c2b1;
}

/* Banner (would have been one GIF) */
#banner {
  background: #0e5c5d;
  border-bottom: 2px solid #083b3c;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}
#logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.mark { display: flex; flex-direction: column; flex: none; }
.mark span { display: block; }
#logo .mark { gap: 4px; width: 32px; }
#logo .mark span { height: 6px; background: #f4f0e6; box-shadow: 2px 2px 0 #083b3c; }
#logo .mark span:nth-child(1) { width: 32px; }
#logo .mark span:nth-child(2) { width: 26px; }
#logo .mark span:nth-child(3) { width: 16px; }
#logo .wordmark {
  font-weight: 800;
  font-size: 50px;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: #f4f0e6;
  text-shadow: 2px 2px 0 #083b3c;
}
#banner .company {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #d3e4e1;
}
#banner .company .tagline { color: #f4f0e6; padding-top: 4px; }

#strip {
  background: #e6e0d1;
  border-bottom: 1px solid #c9c2b1;
  padding: 5px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: #3b4645;
}

#layout { display: flex; flex-wrap: wrap; }

/* Sidebar */
#sidebar {
  flex: 1 0 168px;
  max-width: 100%;
  background: #0e5c5d;
  padding: 16px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#nav { display: flex; flex-direction: column; gap: 6px; }
#nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  background: #e6e0d1;
  border: 2px solid;
  border-color: #ffffff #8f8878 #8f8878 #ffffff;
  color: #0e5c5d;
  text-decoration: none;
  font-family: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
}
#nav a:active, #nav a.current {
  background: #d3e4e1;
  border-color: #083b3c #ffffff #ffffff #083b3c;
  color: #083b3c;
}
.groove { border-top: 1px solid #083b3c; border-bottom: 1px solid #3f8483; height: 0; }
#counter { display: flex; flex-direction: column; gap: 6px; }
#counter .label { font-family: Verdana, Geneva, sans-serif; font-size: 11px; color: #d3e4e1; }
#counter .digits { display: flex; gap: 2px; }
#counter .digits span {
  width: 18px;
  height: 24px;
  background: #083b3c;
  border: 1px solid #3f8483;
  color: #f4f0e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 14px;
}
#sidebar .best { margin: 0; font-family: Verdana, Geneva, sans-serif; font-size: 11px; line-height: 1.5; color: #d3e4e1; }

/* Content */
#content {
  flex: 999 1 400px;
  min-width: 0;
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#content p { margin: 0; }

.heading {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0e5c5d;
}
h1.heading { font-size: 30px; line-height: 1.05; }
h2.heading { font-size: 24px; }
.heading .mark { gap: 2px; }
h1.heading .mark { width: 18px; }
h1.heading .mark span { height: 4px; background: #0e5c5d; }
h1.heading .mark span:nth-child(1) { width: 18px; }
h1.heading .mark span:nth-child(2) { width: 15px; }
h1.heading .mark span:nth-child(3) { width: 9px; }
h2.heading .mark { width: 15px; }
h2.heading .mark span { height: 3px; background: #0e5c5d; }
h2.heading .mark span:nth-child(1) { width: 15px; }
h2.heading .mark span:nth-child(2) { width: 12px; }
h2.heading .mark span:nth-child(3) { width: 8px; }

hr {
  margin: 6px 0;
  border: 0;
  border-top: 1px solid #a39d8c;
  border-bottom: 1px solid #ffffff;
  height: 0;
}

/* 171 panel */
#da {
  background: #0e5c5d;
  border: 1px solid #083b3c;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
#da .text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#da .kicker { font-size: 13px; letter-spacing: 0.14em; color: #d3e4e1; }
#da .big {
  font-family: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: 80px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #f4f0e6;
  text-shadow: 3px 3px 0 #083b3c;
}
#da .say { color: #f4f0e6; font-size: 16px; }

.dial {
  position: relative;
  width: 150px;
  height: 150px;
  flex: 0 0 150px;
  border-radius: 50%;
  background: #083b3c;
}
.dial .hole {
  position: absolute;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #f4f0e6;
  color: #083b3c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: 11px;
}
.dial .lit { background: #e2a33a; }
.dial .h1 { left: 110px; top: 37px; }
.dial .h2 { left: 91px;  top: 17px; }
.dial .h3 { left: 64px;  top: 10px; }
.dial .h4 { left: 37px;  top: 17px; }
.dial .h5 { left: 17px;  top: 37px; }
.dial .h6 { left: 10px;  top: 64px; }
.dial .h7 { left: 17px;  top: 91px; }
.dial .h8 { left: 37px;  top: 110px; }
.dial .h9 { left: 64px;  top: 118px; }
.dial .h0 { left: 91px;  top: 110px; }
.dial .stop { position: absolute; left: 133px; top: 93px; width: 5px; height: 17px; background: #c9c2b1; transform: rotate(-60deg); }
.dial .card {
  position: absolute;
  left: 44px;
  top: 44px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f4f0e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.dial .card .mark { gap: 1px; width: 11px; }
.dial .card .mark span { height: 2px; background: #0e5c5d; }
.dial .card .mark span:nth-child(1) { width: 11px; }
.dial .card .mark span:nth-child(2) { width: 9px; }
.dial .card .mark span:nth-child(3) { width: 6px; }
.dial .card .num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #0e5c5d;
}

/* Numbers table */
.tablewrap { overflow-x: auto; }
table.numbers { width: 100%; border-collapse: collapse; border: 1px solid #a39d8c; background: #ffffff; font-size: 16px; }
table.numbers th {
  text-align: left;
  padding: 6px 10px;
  background: #0e5c5d;
  color: #f4f0e6;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
table.numbers td { padding: 6px 10px; border-top: 1px solid #d8d1c1; }
table.numbers tr.alt { background: #eaf1ef; }
table.numbers td.dial-no { font-family: Verdana, Geneva, sans-serif; font-weight: 700; color: #0e5c5d; }
.note { font-size: 14px; font-style: italic; color: #3b4645; }

/* What's New */
.whatsnew { display: flex; flex-direction: column; gap: 14px; }
.whatsnew .row { display: flex; gap: 10px; align-items: flex-start; }
.new {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 1px 5px;
  background: #0e5c5d;
  color: #f4f0e6;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid;
  border-color: #3f8483 #083b3c #083b3c #3f8483;
}
.bullet { flex: 0 0 auto; margin: 7px 14px 0 13px; width: 8px; height: 8px; background: #0e5c5d; }

/* Pages in preparation */
#prep { margin-top: 6px; border: 1px solid #a39d8c; background: #e6e0d1; }
#prep .stripes { height: 10px; background: repeating-linear-gradient(135deg, #0e5c5d 0 10px, #f4f0e6 10px 20px); }
#prep .inner { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
#prep .title {
  font-family: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #0e5c5d;
}

/* Footer */
#footer {
  border-top: 1px solid #c9c2b1;
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
#footer hr { width: 60%; margin: 2px 0; }
#footer p { margin: 0; font-size: 14px; color: #3b4645; }
#footer .form { font-size: 11px; letter-spacing: 0.06em; color: #3b4645; }

#fiction {
  max-width: 720px;
  margin: 16px auto 0;
  text-align: center;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  line-height: 1.6;
  color: #3b4645;
}

@media (max-width: 600px) {
  body { padding: 0 0 24px; }
  #archive { margin: 0; border-width: 0 0 1px; }
  #page { border-left: 0; border-right: 0; box-shadow: none; }
  #banner .company { text-align: left; }
  #logo .wordmark { font-size: 40px; }
  #content { padding: 18px 14px 24px; }
  #fiction { padding: 0 12px; }
}
