/* Remove Claude Watermark — a focused, classic Web 2.0 utility. */

:root {
  --sky: #e9f5fb;
  --sky-deep: #d8edf7;
  --paper: #ffffff;
  --ink: #244455;
  --ink-soft: #617b88;
  --blue: #2c78a6;
  --blue-bright: #3d94c6;
  --blue-deep: #174d70;
  --blue-pale: #e4f2f8;
  --green: #72a915;
  --green-bright: #a8d936;
  --green-deep: #4f8407;
  --line: #b8d0dc;
  --line-soft: #d5e3ea;
  --ok: #4f8a10;
  --err: #b63c31;
  --shadow: rgba(33, 78, 101, .2);
  --maxw: 1100px;
  --sans: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
  --display: "Trebuchet MS", "Lucida Grande", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  border-top: 5px solid var(--blue-deep);
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 255, 255, .9), transparent 270px),
    radial-gradient(circle at 88% 10%, rgba(102, 182, 218, .2), transparent 320px),
    linear-gradient(#f5fbfe 0, var(--sky) 420px, #f7fbfd 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
textarea,
input { font: inherit; }

a { color: var(--blue); }

button,
a { -webkit-tap-highlight-color: transparent; }

::selection {
  background: #cbe9f6;
  color: var(--blue-deep);
}

:focus-visible {
  outline: 3px solid #f2aa30;
  outline-offset: 2px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 2rem), var(--maxw));
  margin: 0 auto;
  padding: 1rem 0 .9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.035em;
  text-decoration: none;
  text-shadow: 0 1px #fff;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  overflow: hidden;
  place-items: center;
  border: 1px solid #14527a;
  border-radius: 50%;
  background: linear-gradient(#62b4dd 0, #3188b8 48%, #17628f 51%, #267cac 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 2px 4px rgba(25, 74, 101, .3);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  text-shadow: 0 -1px #154f70;
}

.brand-mark::after {
  position: absolute;
  top: .3rem;
  right: .45rem;
  left: .45rem;
  height: .55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
  content: "";
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name small {
  margin-top: .3rem;
  color: #6d8997;
  font-family: var(--sans);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem;
  border: 1px solid #c7dce6;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px #fff;
}

.site-header nav a {
  padding: .52rem .8rem;
  border-radius: 999px;
  color: #527484;
  font-size: .68rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px #fff;
}

.site-header nav a:hover {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 1px 3px rgba(36, 68, 85, .12);
}

main {
  width: min(calc(100% - 2rem), var(--maxw));
  margin: 0 auto;
}

h1,
h2,
h3,
p { text-wrap: pretty; }

h1,
h2,
h3 { font-family: var(--display); }

.section-kicker {
  margin: 0 0 .55rem;
  color: var(--green-deep);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-kicker span {
  margin-right: .35rem;
  color: var(--green-bright);
  text-shadow: 0 1px var(--green-deep);
}

/* The product is the first and dominant thing on the page. */
.tool {
  overflow: hidden;
  margin: 1.2rem 0 0;
  border: 1px solid #125477;
  border-radius: 15px;
  background: #f7fbfd;
  box-shadow: 0 5px 14px var(--shadow), inset 0 1px #fff;
}

.tool-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 2rem;
  overflow: hidden;
  padding: 2rem 2.1rem 1.8rem;
  border-bottom: 1px solid #104b6b;
  background: linear-gradient(#4295bf 0, #2b7ca7 46%, #216c97 49%, #185c85 100%);
  color: #fff;
  text-shadow: 0 1px rgba(0, 0, 0, .35);
}

.tool-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(rgba(255, 255, 255, .17), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.tool-heading,
.tool-counts { position: relative; z-index: 1; }

.tool-header .section-kicker { color: #dff6b4; }

.tool h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
  text-shadow: 0 2px 1px rgba(12, 66, 96, .75);
}

.tool-heading > p:not(.section-kicker) {
  max-width: 43rem;
  margin: .9rem 0 0;
  color: #e8f6fd;
  font-size: .88rem;
  line-height: 1.6;
}

.tool-heading ul {
  display: flex;
  gap: 1.2rem;
  margin: 1rem 0 0;
  padding: 0;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  list-style: none;
}

.tool-heading li::before {
  margin-right: .35rem;
  color: #c7ed6e;
  content: "✓";
}

.tool-counts {
  display: grid;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(8, 62, 91, .65);
  border-radius: 10px;
  background: rgba(8, 52, 78, .35);
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 1px rgba(255, 255, 255, .18);
}

.tool-counts p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: .85rem 1rem;
}

.tool-counts p + p { border-top: 1px solid rgba(255, 255, 255, .16); }

.tool-counts strong {
  color: #fff;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -.04em;
  line-height: 1;
}

.tool-counts span {
  max-width: 8.5rem;
  color: #cfe9f6;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.tool-window {
  margin: 1.15rem;
  overflow: hidden;
  border: 1px solid #9cbcca;
  border-radius: 9px;
  background: var(--paper);
  box-shadow: inset 0 1px #fff, 0 2px 5px rgba(39, 82, 103, .16);
}

.window-bar {
  display: flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .8rem;
  border-bottom: 1px solid #a9c4d0;
  background: linear-gradient(#fdfefe 0, #eef5f8 48%, #ddebf1 52%, #e8f2f6 100%);
  box-shadow: inset 0 1px #fff;
}

.window-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #416879;
  font-size: .68rem;
  font-weight: 700;
  text-shadow: 0 1px #fff;
}

.window-title span {
  display: grid;
  width: .7rem;
  height: .7rem;
  place-items: center;
  border: 1px solid #4b8303;
  border-radius: 50%;
  background: linear-gradient(#cdf26e, #6ca910);
  box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 1px 2px rgba(50, 94, 10, .25);
  color: #fff;
  font-size: .42rem;
  line-height: 1;
  text-shadow: 0 -1px #4b8303;
}

.privacy-status {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  color: var(--green-deep);
  font-size: .6rem;
  font-weight: 700;
}

.privacy-status span {
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border: 1px solid #84ae38;
  border-radius: 50%;
  background: #eef9d9;
  font-size: .52rem;
}

.tabs {
  display: flex;
  gap: .4rem;
  padding: .65rem .7rem 0;
  border-bottom: 1px solid #9fbdca;
  background: linear-gradient(#e7f3f8, #d7e9f1);
}

.tab {
  appearance: none;
  min-width: 10rem;
  margin-bottom: -1px;
  padding: .65rem 1rem .7rem;
  border: 1px solid #9ab8c7;
  border-bottom-color: #9fbdca;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(#f9fcfd, #dbeaf0);
  box-shadow: inset 0 1px #fff;
  color: #527586;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 700;
  text-shadow: 0 1px #fff;
}

.tab span {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-right: .35rem;
  place-items: center;
  border: 1px solid #aec7d2;
  border-radius: 4px;
  background: rgba(255, 255, 255, .65);
  font-size: .57rem;
}

.tab:hover { color: var(--blue-deep); }

.tab.active {
  border-color: #1f6791;
  border-bottom-color: #2a77a2;
  background: linear-gradient(#52a5cf 0, #2e83ae 49%, #25739d 52%, #2e82ad 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .55);
  color: #fff;
  text-shadow: 0 -1px rgba(0, 0, 0, .35);
}

.tab.active span {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .15);
}

.panel { display: block; padding: 1rem; }
.hidden { display: none !important; }

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.editor-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .45rem;
}

.field-label {
  color: #345b6d;
  font-size: .72rem;
  font-weight: 700;
}

.field-heading > span {
  color: #88a0ab;
  font-size: .58rem;
}

textarea {
  width: 100%;
  min-height: 18rem;
  padding: .85rem;
  border: 1px solid #9ab8c6;
  border-radius: 6px;
  outline: none;
  background: #fff;
  box-shadow: inset 0 2px 5px rgba(55, 93, 111, .12), 0 1px #fff;
  color: #2c4652;
  font-family: var(--sans);
  font-size: .76rem;
  line-height: 1.65;
  resize: vertical;
  transition: border-color .16s ease, box-shadow .16s ease;
}

textarea::placeholder { color: #9aadb6; }

textarea:focus {
  border-color: #3e91bb;
  box-shadow: inset 0 2px 5px rgba(55, 93, 111, .12), 0 0 0 3px rgba(64, 157, 200, .15);
}

textarea[readonly] {
  border-color: #b2cbd5;
  background: #f4fafc;
}

.actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}

.editor-actions { min-height: 2.75rem; }

button,
.download-link {
  appearance: none;
  padding: .64rem .9rem;
  border: 1px solid #8daab8;
  border-radius: 5px;
  background: linear-gradient(#fff 0, #f3f6f7 48%, #e0e8ec 52%, #eef3f5 100%);
  box-shadow: inset 0 1px #fff, 0 1px 2px rgba(38, 76, 94, .18);
  color: #466878;
  cursor: pointer;
  font-size: .67rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px #fff;
  transition: filter .16s ease, transform .16s ease;
}

button:hover:not(:disabled),
.download-link:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

button:active:not(:disabled),
.download-link:active { transform: translateY(0); }

button:disabled {
  cursor: not-allowed;
  filter: grayscale(.55);
  opacity: .5;
}

button.primary,
.download-link {
  padding: .72rem 1.05rem;
  border-color: #568806;
  background: linear-gradient(#bde95b 0, #8cc52a 46%, #72aa13 50%, #78b218 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .72), 0 2px 3px rgba(72, 117, 6, .24);
  color: #fff;
  text-shadow: 0 -1px #538107;
}

button.primary span {
  margin-left: .35rem;
  font-size: 1rem;
  line-height: .5;
}

.button-quiet { color: #557482; }

.status {
  min-height: 1.2em;
  color: #78909b;
  font-size: .62rem;
}

.status.busy,
.status.err { color: var(--err); }
.status.ok { color: var(--ok); }

.status.loading::after {
  display: inline-block;
  width: .75em;
  height: .75em;
  margin-left: .4rem;
  border: 2px solid #7da6ba;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: spin .8s linear infinite;
  content: "";
}

@keyframes spin { to { transform: rotate(360deg); } }

.dropzone {
  display: flex;
  min-height: 22rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 1.5rem;
  border: 2px dashed #9fc4d5;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .95), rgba(235, 247, 252, .85)),
    repeating-linear-gradient(135deg, #edf7fb 0 8px, #f6fbfd 8px 16px);
  cursor: pointer;
  text-align: center;
  transition: border-color .16s ease, transform .16s ease;
}

.dropzone:hover,
.dropzone.drag {
  border-color: #6da72c;
  transform: translateY(-1px);
}

.drop-mark {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: .8rem;
  place-items: center;
  border: 1px solid #1e709b;
  border-radius: 50%;
  background: linear-gradient(#69b9df, #287ba6);
  box-shadow: inset 0 1px rgba(255, 255, 255, .72), 0 2px 4px rgba(29, 91, 122, .24);
  color: #fff;
  font-size: 1.55rem;
  text-shadow: 0 -1px #1b6288;
}

.dz-title {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
}

.dz-hint {
  margin: .15rem 0 0;
  color: #7896a4;
  font-size: .68rem;
}

.dz-local {
  margin: .85rem 0 0;
  color: var(--green-deep);
  font-size: .62rem;
  font-weight: 700;
}

.file-types {
  display: flex;
  justify-content: center;
  gap: .35rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.file-types span {
  padding: .25rem .45rem;
  border: 1px solid #bdd2dc;
  border-radius: 4px;
  background: #fff;
  color: #73909d;
  font-size: .51rem;
  font-weight: 700;
  box-shadow: 0 1px #fff;
}

.panel-note {
  margin: .8rem 0 0;
  color: #78919c;
  font-size: .61rem;
}

.file-result { margin-top: 1rem; }

.preview {
  display: block;
  max-width: 100%;
  max-height: 360px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

#file-text-output { margin-top: 1rem; }

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #b5ced9;
  background: linear-gradient(#f4fafc, #e3f1f6);
}

.assurance-strip p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .05rem .55rem;
  margin: 0;
  padding: .9rem 1.1rem;
}

.assurance-strip p + p { border-left: 1px solid #bfd3dc; }

.assurance-strip p > span {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid #78a924;
  border-radius: 50%;
  background: linear-gradient(#f2fbdf, #dcefb9);
  color: var(--green-deep);
  font-size: .65rem;
  font-weight: 700;
}

.assurance-strip strong {
  color: #365a6a;
  font-size: .66rem;
}

.assurance-strip small {
  color: #77909b;
  font-size: .56rem;
}

/* Skipper cross-promotion */
.skipper-promo { margin: 1.15rem 0 2rem; }

.ad-disclosure {
  display: block;
  width: fit-content;
  margin: 0 0 .35rem .2rem;
  padding: .12rem .38rem;
  border: 1px solid #cadbe3;
  border-radius: 3px;
  background: rgba(255, 255, 255, .5);
  color: #8ba2ad;
  font-size: .49rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
}

.skipper-banner {
  position: relative;
  display: block;
  min-height: 10.5rem;
  overflow: hidden;
  border: 1px solid #4b291d;
  border-radius: 12px;
  background: #160c0a;
  box-shadow:
    inset 0 1px rgba(255, 236, 196, .18),
    0 4px 10px rgba(59, 34, 24, .23);
  color: #fff;
  text-decoration: none;
}

.skipper-banner::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 9, 8, .98) 0, rgba(18, 9, 8, .88) 38%, rgba(18, 9, 8, .23) 68%, rgba(18, 9, 8, .06) 100%);
  content: "";
  pointer-events: none;
}

.skipper-banner::after {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(rgba(255, 255, 255, .055), transparent);
  content: "";
  pointer-events: none;
}

.skipper-banner-art {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}

.skipper-banner-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(62%, 40rem);
  min-height: 10.5rem;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: .85rem 1.3rem .9rem;
}

.skipper-brand-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .25rem;
}

.skipper-brand-line > img {
  width: 2.45rem;
  height: 2.25rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45));
}

.skipper-brand-line p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1;
}

.skipper-brand-line strong {
  color: #f2d174;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -.035em;
  text-shadow: 0 -1px #6c430e;
}

.skipper-brand-line span {
  margin-top: .25rem;
  color: #cdbdaf;
  font-size: .51rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.skipper-headline {
  display: block;
  margin-top: .15rem;
  color: #fff8ed;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -.055em;
  line-height: 1;
  text-shadow: 0 2px 2px rgba(0, 0, 0, .5);
}

.skipper-copy {
  max-width: 34rem;
  margin: .3rem 0 .5rem;
  color: #ddcec3;
  font-size: .61rem;
  line-height: 1.5;
}

.skipper-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .48rem .72rem;
  border: 1px solid #825713;
  border-radius: 5px;
  background: linear-gradient(#f6d879 0, #d9a93c 47%, #bd8622 51%, #d39e32 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 2px 3px rgba(0, 0, 0, .28);
  color: #3a2407;
  font-size: .66rem;
  font-weight: 700;
  text-shadow: 0 1px rgba(255, 247, 210, .55);
  transition: filter .18s ease, transform .18s ease;
}

.skipper-cta i {
  font-size: .85rem;
  font-style: normal;
}

.skipper-banner-content > small {
  margin-top: .3rem;
  color: #aa978a;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.skipper-banner:hover .skipper-banner-art {
  filter: brightness(1.07);
  transform: scale(1.015);
}

.skipper-banner:hover .skipper-cta {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.content-section { margin: 4.25rem 0; }

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, .5fr);
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: 1.25rem;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.section-heading h2,
.faq h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
  text-shadow: 0 1px #fff;
}

.section-heading > p:last-child {
  margin: 0 0 .2rem;
  color: var(--ink-soft);
  font-size: .72rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  min-height: 9rem;
  align-items: start;
  padding: 1.15rem;
  border: 1px solid #b8d0dc;
  border-radius: 9px;
  background: linear-gradient(#fff, #eef7fa);
  box-shadow: inset 0 1px #fff, 0 2px 5px rgba(45, 92, 114, .11);
}

.step-number {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid #1d6c97;
  border-radius: 50%;
  background: linear-gradient(#5db0d7, #287ba6);
  box-shadow: inset 0 1px rgba(255, 255, 255, .65);
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 -1px #1b5e82;
}

.step-grid h3 {
  margin: .2rem 0 .35rem;
  color: #315c70;
  font-size: .9rem;
  font-weight: 700;
}

.step-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .66rem;
}

.faq {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid #b6cfda;
  border-radius: 11px;
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px #fff, 0 2px 6px rgba(39, 84, 105, .1);
}

.faq-intro > p:last-child {
  margin: .85rem 0 0;
  color: var(--ink-soft);
  font-size: .68rem;
}

.faq-list {
  overflow: hidden;
  border: 1px solid #afc9d5;
  border-radius: 7px;
  background: #fff;
}

.faq details + details { border-top: 1px solid #d0e0e7; }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  background: linear-gradient(#fff, #f3f8fa);
  color: #345e71;
  cursor: pointer;
  font-size: .69rem;
  font-weight: 700;
  list-style: none;
  text-shadow: 0 1px #fff;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--blue); }

.faq summary span {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #a4bfcc;
  border-radius: 50%;
  background: linear-gradient(#fff, #dfeaf0);
  color: var(--blue);
  font-size: .8rem;
  transition: transform .16s ease;
}

.faq details[open] summary {
  background: #edf7fb;
  color: var(--blue-deep);
}

.faq details[open] summary span { transform: rotate(45deg); }

.faq details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--ink-soft);
  font-size: .68rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-top: 5rem;
  padding: 1.5rem max(1rem, calc((100vw - var(--maxw)) / 2));
  border-top: 1px solid #174f70;
  background: linear-gradient(#266d94, #174f70);
  color: #cce3ee;
  font-size: .61rem;
  text-shadow: 0 -1px rgba(0, 0, 0, .3);
}

footer .brand { color: #fff; text-shadow: 0 -1px rgba(0, 0, 0, .35); }
footer .brand-mark { width: 2.15rem; height: 2.15rem; }
footer .brand-name small { color: #b9d8e7; }

.visitor-meter {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin-bottom: .5rem;
}

.visitor-label {
  color: #bcd8e5;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.odometer {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #0f3d58;
  border-radius: 4px;
  background: #123e57;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4), 0 1px rgba(255, 255, 255, .15);
}

.odometer > span {
  display: grid;
  width: 1.15rem;
  height: 1.45rem;
  place-items: center;
  border-right: 1px solid #0e354b;
  background: linear-gradient(#24566f 0 48%, #153f56 49% 54%, #1e4e66 55%);
  color: #d9f39e;
  font-family: "Courier New", monospace;
  font-size: .75rem;
  font-weight: 700;
  text-shadow: 0 0 3px rgba(196, 239, 94, .4);
}

.odometer > span:last-child { border-right: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer-statement { margin: 0; }

footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

footer nav a { color: #d6ecf5; text-decoration: none; }
footer nav a:hover { color: #fff; }
.footer-brand { justify-self: start; }

/* Legal pages */
.legal {
  width: min(calc(100% - 2rem), 860px);
  min-height: 65vh;
  margin: 1.5rem auto 5rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid #a9c5d2;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 1px #fff, 0 4px 12px rgba(43, 88, 109, .16);
}

.legal h1 {
  margin: 0 0 1rem;
  color: var(--blue-deep);
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -.05em;
  line-height: 1;
}

.legal h2 {
  margin: 2rem 0 .6rem;
  color: #315e72;
  font-size: 1.1rem;
}

.legal p,
.legal ul,
.legal ol { color: var(--ink-soft); font-size: .72rem; }

.legal .updated {
  margin-top: 0;
  color: var(--green-deep);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.legal ul,
.legal ol { padding-left: 1.3rem; }
.legal li { margin: .4rem 0; }
.legal a { color: var(--blue); }

@media (max-width: 820px) {
  .tool-header { grid-template-columns: 1fr; gap: 1.25rem; }
  .tool-counts { grid-template-columns: repeat(2, 1fr); }
  .tool-counts p + p { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .16); }
  .section-heading { grid-template-columns: 1fr; gap: .7rem; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { width: min(calc(100% - 1.4rem), var(--maxw)); }
  .site-header nav a:first-child { display: none; }
  main { width: min(calc(100% - 1.4rem), var(--maxw)); }
  .tool { margin-top: .65rem; border-radius: 11px; }
  .tool-header { padding: 1.5rem 1.2rem; }
  .tool h1 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .tool-window { margin: .7rem; }
  .editor-grid { grid-template-columns: 1fr; }
  textarea { min-height: 14rem; }
  .assurance-strip { grid-template-columns: 1fr; }
  .assurance-strip p + p { border-top: 1px solid #bfd3dc; border-left: 0; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid li { min-height: auto; }
  .skipper-banner,
  .skipper-banner-content { min-height: 12rem; }
  .skipper-banner::before {
    background: linear-gradient(90deg, rgba(18, 9, 8, .97) 0, rgba(18, 9, 8, .86) 52%, rgba(18, 9, 8, .28) 100%);
  }
  .skipper-banner-art { object-position: 64% center; }
  .skipper-banner-content { width: 72%; padding: 1rem; }
  footer { grid-template-columns: 1fr; text-align: left; }
  .footer-statement { justify-self: start; }
  footer nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .site-header nav { display: none; }
}

@media (max-width: 450px) {
  .brand-name small { display: none; }
  .site-header nav a { padding: .45rem .6rem; }
  .tool-counts { grid-template-columns: 1fr; }
  .tool-counts p + p { border-top: 1px solid rgba(255, 255, 255, .16); border-left: 0; }
  .tool-heading ul { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .window-bar { align-items: flex-start; flex-direction: column; }
  .tabs { flex-direction: column; padding-bottom: .65rem; }
  .tab { width: 100%; margin: 0; border-radius: 6px; text-align: left; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions button { width: 100%; }
  .status { text-align: center; }
  .skipper-banner,
  .skipper-banner-content { min-height: 13rem; }
  .skipper-banner::before {
    background: linear-gradient(90deg, rgba(18, 9, 8, .98), rgba(18, 9, 8, .78));
  }
  .skipper-banner-art { object-position: 68% center; opacity: .6; }
  .skipper-banner-content { width: 100%; padding: 1.25rem; }
  .skipper-headline { font-size: 1.75rem; }
  .skipper-copy { max-width: 18rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
