/* ---------------------------------------------------------
   igetptc.com — rebuilt static stylesheet
   The original rounded frame (header/footer GIFs + side rails)
   is rebuilt entirely in CSS so it works at any width.
   --------------------------------------------------------- */

:root {
  --page-width: 640px;
  --ink: #000;
  --green: #008040;
  --red: #f00;
  --highlight: #fff4a8;
  --mark: #ffff99;
  --frame-line: #abacad;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 24px 12px;
  background: #8e8f90;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
}

.page {
  max-width: var(--page-width);
  margin: 0 auto;
}

.content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 18px 27px 24px;
  box-shadow:
    0 0 2px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 14px 32px rgba(0, 0, 0, 0.32);
}

/* Inner hairline frame, inset 8px like the original artwork */
.content::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--frame-line);
  border-radius: 4px;
  pointer-events: none;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
  margin: 0.8em 0 0.15em;
  font-size: 32px;
  line-height: 1.15;
  font-weight: bold;
  color: var(--green);
  text-align: center;
}

.tagline {
  margin: 0 0 1.2em;
  text-align: center;
}

h2 {
  margin: 0 0 1em;
  font-size: 24px;
  line-height: 1.35;
  font-weight: bold;
  text-align: center;
}

h2 .red {
  display: block;
  margin-top: 0.15em;
}

h3 {
  margin: 1.8em 0 0.6em;
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline;
}

p { margin: 0 0 1em; }

ul {
  margin: 0 0 1.2em;
  padding-left: 1.5em;
}

li { margin-bottom: 0.7em; }

.red { color: var(--red); }

mark {
  background: var(--mark);
  color: inherit;
  font-weight: bold;
  padding: 0 2px;
}

em { font-style: italic; }

a { color: #0000ee; }

a:hover,
a:focus { background: var(--highlight); }

a:focus-visible {
  outline: 2px solid #0000ee;
  outline-offset: 1px;
}

.hero::after {
  content: "";
  display: table;
  clear: both;
}

.hero-pig {
  float: left;
  width: 175px;
  height: auto;
  margin: 0 1em 1em 0;
  border: 0;
}

.figure {
  margin: 1.4em 0;
  text-align: center;
}

.figure img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.payout-links {
  margin: 1.2em 0;
  font-size: 15px;
}

.payout-links a {
  text-decoration: underline;
  cursor: pointer;
}

.payout-links .sep {
  padding: 0 0.35em;
  color: #666;
}

/* ---------- Sign-off ---------- */

.signoff {
  margin: 1.5em 0 0;
}

.signoff-row {
  display: flex;
  align-items: flex-end;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 0.8em;
}

.signoff-row img {
  border: 0;
  max-width: 100%;
  height: auto;
}

.signoff-note {
  margin: 0.4em 0 0;
  font-size: 14px;
}

/* ---------- Closing call to action ---------- */

.start-here {
  margin: 2em 0 1em;
  padding: 1.2em 1.4em;
  background: #f4f8f5;
  border-left: 4px solid var(--green);
}

.start-here h3 {
  margin-top: 0;
}

.cta { margin-bottom: 0; }

.button {
  display: inline-block;
  padding: 0.55em 1.1em;
  background: var(--green);
  border-radius: 3px;
  color: #fff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.button:hover,
.button:focus {
  background: #006b36;
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-align: center;
  color: #333;
}

.site-footer p { margin: 0; }

/* ---------- Payout dialogs ---------- */

dialog.payout {
  width: fit-content;
  max-width: min(92vw, 560px);
  margin: auto;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

dialog.payout::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.payout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.5em 0.7em;
  background: #f1f1f1;
  border-bottom: 1px solid #ddd;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 13px;
  text-align: left;
}

.payout-head .close {
  padding: 0.35em 0.7em;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.payout-head .close:hover,
.payout-head .close:focus {
  background: var(--highlight);
}

dialog.payout img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  body { padding: 12px 8px; }

  .content { padding: 16px; }

  h1 { font-size: 26px; }

  h2 { font-size: 20px; }

  .hero-pig {
    float: none;
    display: block;
    margin: 0 auto 1em;
  }

  .figure img { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
