*, ::after, ::before {
  box-sizing: border-box;
}

body {
  background-color: #c4d9d5;
  font-family: Oxygen, sans-serif;
  margin: 0;
  padding: 0;
  color: #404040;
}

a {
	background: 0 0;
	color: grey;
	text-shadow: none;
  text-decoration: none;
}

a:focus {
	outline: dotted thin;
}

a:active,a:hover {
	outline: 0;
}

a:hover {
  text-decoration:underline
}
a:focus {
  outline:2px dashed #111827;
  outline-offset:2px;
  text-decoration:underline
}

h1, h2, h4 {
  font-family: 'Thirsty_softblack', sans-serif;
  text-shadow: 2px 2px #899795;
  color: #fff;
}

h1 {
  font-size: 65px;
  text-align: center;
}

h2 {
  font-size: 40px;
  text-align: center;
}

h3 {
	font-family: Lobster;
	font-size: 24px;
	color: #fff;
	text-shadow: 2px 2px #066;
}

code,kbd,pre,samp {
	font-family: monospace,serif;
	font-size: 1em;
}

hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.wrapper {
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
  overflow-x: clip;
}

.wrapper .container {
  text-align: center;
}

.left, .right {
  display: inline-block;
  width: 600px;
  vertical-align: top;
  min-width: 0;
  text-align: left;
}

.right {
  float: right;
}

.left p {
	margin-bottom: 20px;
}

.header {
  background-color: #ec8c4e;
  height: 180px;
}

.header h1 {
  margin: 0 auto;
  padding-top: 25px;
  width: 800px;
  text-shadow: 3px 3px red;
}

.header h3 {
	font-family: Oxygen;
	margin-top: 5px;
	text-shadow: 2px 2px #a56236;
}

.lead {
  background-color: #a3cccb;
  padding: 20px;
}

.socialcheck input[type="checkbox"]:focus-visible{
  outline: 3px solid rgba(236,140,78,.65); 
  outline-offset: 3px;
  border-radius: 8px;
}

.lead-content {
  width: 800px;
  margin: 75px auto;
  color: #fff;
  font-size: 18px;
  text-shadow: 1px 1px #096;
}

.lead-content p {
	line-height: 1.5;
	color: #201f1f;
	font-size: 18px;
	text-shadow: 1px 1px #096;
	font-family: Oxygen,sans-serif;
  text-align: center;
  letter-spacing: .8px;
  word-spacing: .09em;
}

.mini-guide {
	background-color: #20b2aa;
	padding: 30px 0;
}

.guide-band{
  color:#083c3c;
  padding:48px 16px;
}

.guide-band .guide h2{
  color:#ffffff;
  text-shadow:0 1px 0 rgba(0,0,0,.08);
  margin:0 0 12px;
}

.guide-band .lead-txt{
  max-width:960px;
  margin:0 auto 28px;   
  text-align:center;    
  color:#eaf9f8;
  font-size:18px;
  line-height:1.6;
}

.guide-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
  max-width:1100px;
  margin:0 auto;
}
.guide-grid article{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  border-radius:12px;
  padding:16px 18px;
  backdrop-filter:saturate(120%) blur(0.5px);
}
.guide-grid h3{
  font-family: initial;
  margin:0 0 8px;
  color:#ffffff;
  font-size:20px;
}

.guide-band ul{
  
  padding-left:1rem;
  list-style:disc;
}

.guide-band li{
  margin:0 0 .4rem 0;
  color:#083c3c;
}

.guide-cta {
  text-align: center;
}

.footer {
  background-color: #ec8c4e;
  border-top: 5px solid #20b2aa;
  height: 100px;
  text-align: center;
}

.footer p,.footer-legal summary {
  font-size: 12px;
  color: #ddd;
  margin-top: 20px;
}

.footer a,.footer-legal summary {
  color: inherit;
  text-shadow: inherit;
  font-style: italic;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 18px rgba(32, 178, 170, 0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.footer a:hover,.footer-legal summary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(32, 178, 170, 0.25);
}

input[type=text], textarea {
  border-radius: 5px;
  width: 600px;
  line-height: 40px;
  padding-left: 10px;
  border: none;
  margin-top: 5px;
}

button,input,select,textarea {
	font-family: inherit;
	font-size: 100%;
	margin: 0;
}

button::-moz-focus-inner,input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
  overflow: auto;
  line-height: 20px;
  height: 100px;
}

span.helper {
  display: block;
  font-size: 12px;
  padding: 5px 0;
  width: 600px;
  color: #404040;
  margin-bottom: 5px;
}

.info-wrap {
position: relative;
display: block;
overflow: visible;
min-width: 0;
}

.info-wrap .info-btn {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
z-index: 10;
width: 22px;
height: 22px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
border-radius: 50%;
background: #ec8c4e;
color: #fff;
font-weight: 700;
cursor: pointer;
}

.info-wrap.ta .info-btn {
top: 8px;
transform: none;
}

.info-pop {
	position: fixed;
	z-index: 100;
	pointer-events: auto;
	width: auto;
	max-width: min(92vw, 70ch);
background: #fff;
color: #222;
border: 1px solid #ddd;
border-radius: 10px;
padding: 14px 16px;
box-shadow: 0 12px 28px rgba(0,0,0,.18);
white-space: normal;
overflow-wrap: anywhere;
word-break: break-word;
hyphens: auto;
}

.info-pop h4 {
margin: 0 0 8px;
font-weight: 700;
font-size: clamp(14px,1.8vw,16px);
line-height: 1.35;
font-family: inherit;
color: #111;
text-shadow: none;
}

.info-pop p {
margin: 0;
font-size: clamp(13px,1.6vw,15px);
line-height: 1.5;
color: #222;
}

.char-counter {
  position: absolute;
  right: 36px;
  bottom: 6px;
  font-size: 11px;
  line-height: 1;
  opacity: .85;
  user-select: none;
  color: #666;
}

.char-counter.is-over-limit {
  color: #c0392b;
}

.code {
  background-color: #272822;
  color: #fff;
  padding: 10px;
  border: 5px solid #ec8c4e;
  font-family: 'Source Code Pro', monospace;
  overflow: auto;
  white-space: pre;
  user-select: none;
  -webkit-user-select: none;
}

#copy_button,#clear_btn {
	text-decoration: none;
}

#copy_button,#clear_btn {
	margin-top: 10px;
	background-color: #ec8d4e;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
	cursor: pointer;
	color: #fff;
	border: 0;
	font-family: arial;
	font-size: 17px;
	padding: 12px;
	text-shadow: 0 1px 0 #2f6627;
}

#copy_button:hover,#clear_btn:hover {
  background-color: red;
}

#copy_button[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.reset-btn{ display:none !important; }
.reset-btn.show{ display:inline-flex !important; }

.copy {
  display: none;
  margin-left: 10px;
}

.copy.show {
  display: inline-block;
}

.clipboard-fallback {
  position: fixed;
  opacity: 0;
}

.is-hidden {
  display: none !important;
}

#donation-wrap {
  margin-top: 12px;
  text-align: left;
  animation: donate-fade .18s ease-out;
}

@keyframes donate-fade {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#donation-wrap .donation-note {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #163330;
  background: rgba(255,255,255,.08);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  font-weight: 700;
}

.paypal-donate {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.paypal-donate:hover,
.paypal-donate:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255,255,255,.05);
  outline: none;
}

.mw-100 {
  max-width: 100%;
  height: auto;
  display: block;
}

.socialcheck ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:28px;
  justify-content:center;
  margin: 10px 0 26px;
  padding:0;
}

.socialcheck li{ margin:0; }

.socialcheck label{
  
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  background:#ffffff0d;
  border:1px solid rgba(0,0,0,.06);
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  transition:background .15s ease, box-shadow .15s ease, border-color .15s ease;
  font-size: clamp(18px, 2.1vw, 22px);
}

.socialcheck label:hover{
  background:rgba(255,255,255,.4);
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.socialcheck input[type="checkbox"]{
  width:22px;
  height:22px;
  accent-color:#ec8c4e;       
  
  border-radius:6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 0 0 1px rgba(0,0,0,.08);
  transform: translateY(1px);
  outline: none;
}

.socialcheck input[type="checkbox"]:focus-visible{
  outline: 3px solid rgba(236,140,78,.55);
  outline-offset: 3px;
  border-radius: 8px;
}

.socialcheck input[type="checkbox"]:checked + * ,
.socialcheck input[type="checkbox"]:checked{
  
}

.faq {
  background-color: #a3cccb;
  margin-top: 50px;
  padding: 20px;
  border-top: 5px solid #92b7b6;
}

.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  margin: 10px 0;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; gap: .6rem;
  cursor: pointer; padding: 14px 16px; user-select: none;
  font-weight: 700; color: #134e4a; 
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "▸"; margin-left: auto; transition: transform .2s ease;
}
.faq-item[open] .faq-q::after { transform: rotate(90deg); }

.faq-a { padding: 0 16px 14px; color: #163330; line-height: 1.55; }
.faq-a p { margin: 0.4rem 0; }

.footer-legal .legal-dd { display:inline-block; position:relative; }
.footer-legal summary {
  list-style:none; cursor:pointer; color: #ddd;
}
.footer-legal summary::-webkit-details-marker { display:none; } 
.footer-legal summary:focus-visible { outline:2px solid currentColor; outline-offset:2px; }

.legal-dd-menu {
  position: absolute;
  min-width: 16rem;
  margin: 0 auto;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.4em;
}
.legal-dd-menu li {
  width: 100%;
  margin: 0.4em auto;
  border: solid rgba(255, 255, 255, 0.39);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.39);
  float: none;
  display: block;
}
.legal-dd[open] .legal-dd-menu { display:block; }
.legal-dd-menu a {
  display:block; padding:.5rem .875rem; text-decoration:none; color:inherit;
}
.legal-dd-menu a:hover, .legal-dd-menu a:focus-visible {
  background:rgba(0,0,0,.06);
  text-decoration:none;
}

@media (max-width: 1200px){
  .wrapper{ width: 100%; padding-inline: 0}
  .lead-content{ width: 90%; }
  .left, .right {
   float: none;
   width: min(560px, 48%);
 }
  input[type=text], textarea, span.helper{ width: 100%; }

  
  .left, .right, .faq, .lead, .footer, .header{
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 1152px){
  .socialcheck label {
  font-size: smaller;
}
.lead-content p {
  letter-spacing: 1px;
  word-spacing: .9px;
}
}

@media (max-width: 1100px){
  .guide-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  h1 {
  font-size: 50px;
}
  h2 {
  font-size: 30px;
}
}

@media (max-width: 1037px) and (min-width: 993px){
  .left, .right{
    width: min(520px, 48%);          
  }
  .lead-content p {
   letter-spacing: 0;
 }
}

@media (max-width: 992px){
  h1{ font-size: 40px; }
  h2{ font-size: 34px; }
  .container{ max-width: 900px; }
  .socialcheck h2 {
  font-size: 30px;
  }
  
  .socialcheck ul{
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 8px;
    margin-bottom: 18px;
  }
  .socialcheck label{
    width: 100%;
    min-height: clamp(48px, 6vw, 56px);      
    padding: clamp(10px, 2.5vw, 14px) clamp(12px, 3vw, 16px);
    justify-content: space-between;
    font-size: clamp(18px, 4.4vw, 22px);
    border-radius: clamp(10px, 3vw, 14px);
  }
  .socialcheck input[type="checkbox"]{
    width: clamp(22px, 5.5vw, 28px);
    height: clamp(22px, 5.5vw, 28px);
    border-radius: 7px;
  }
  .lead-content p {
   letter-spacing: 1.6px;
   word-spacing: 1.9px;
 }
}

@media (max-width: 768px){
  h1{ font-size: 46px; }
  h2{ font-size: 30px; }
  .container{ max-width: 720px; }

  
  .left, .right{
    display: block;
    width: 100%;
    float: none;
  }
  
  .right{ margin-top: 28px; }

  
  input[type=text],
  textarea{
    width: 100%;
  }
  span.helper{ width: 100%; }

  
  .info-wrap.ta .info-btn{ top: 10px; transform: none; }

  
  .char-counter{ right: 34px; bottom: 8px; }

  
  .code{
    max-height: 52vh;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
  }

  
  .header{ height: auto; padding: 20px 0; }
  .header h1{ width: auto; padding-top: 0; text-align: center; }
  .lead-content{ width: 100%; margin: 36px auto; padding: 0 8px; }

  
  .info-pop{
    max-width: 92vw;
    padding: 12px 14px;
  }
}

@media (max-width: 700px){
  .guide-grid{ grid-template-columns:1fr; }
  .guide-band{ padding:36px 14px; }
  .guide-band .lead-txt{ font-size:16px; }
}

@media (max-width: 640px){
  h1{ font-size: 40px; }
  h2{ font-size: 28px; }
  .container{ max-width: 580px; }

  
  #copy_button,#clear_btn{
    display: inline-block;
    width: auto;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  
  .code{ max-height: 46vh; }
  .faq-accordion { padding: 0 10px; }
}

@media (max-width: 480px){
  h1{ font-size: 25px; }
  h2{ font-size: 22px; }
  .container{ max-width: 465px; }

  
  input[type=text], textarea{ padding-left: 12px; }
  .info-wrap .info-btn{ right: 6px; width: 20px; height: 20px; }
  .char-counter{ right: 30px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce){
  .socialcheck label{
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  .legal-dd-menu { background:#1a1a1a; border-color:rgba(255,255,255,.12); }
}
