:root {
    --border: 1px solid var(--border-color);
    --border-color: rgba(0,0,0,0.175);
    --shadow-color: 270deg 19% 60%;
    --shadow-medium:
    0.5px 0.8px 1.1px hsl(var(--shadow-color) / 0.36),
    1.6px 2.6px 3.4px -0.8px hsl(var(--shadow-color) / 0.36),
    4.1px 6.6px 8.7px -1.7px hsl(var(--shadow-color) / 0.36),
    9.9px 16px 21.2px -2.5px hsl(var(--shadow-color) / 0.36);
}

body {
    background-color: #F7F2FC;
    font-family: -apple-system, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Helvetica Neue', sans-serif; 
}

/* Layout */

.container {
    margin: 0 auto;
    max-width: 768px;
}

/* Spacing */

.mt-75 {
    margin-top: 75px;
}

.mt-32 {
    margin-top: 32.5px;
}

/* Typography */

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 1px 1px 1px #FFF;
}

a {
    color: #4e00ff;
}

a:hover {
    color: #6220ff;
}

b, strong {
    font-weight: bold;
}

i, em {
    font-style: italic;
}

u {
    text-decoration: underline;
}

p {
    line-height: 1.45em;
}

ul,
ol {
  margin-left: 0.5em;
  margin-bottom: 1em;
  margin-top: 1em;
  padding-left: 1.5em;
  list-style-position: outside;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li:not(:last-child) {
    margin-bottom: 0.5em;
  }

ul ul,
ol ol,
ul ol,
ol ul {
  margin-top: 0;
  margin-bottom: 0;
}

code {
    font-family: 'Space Grotesk', monospace;
}

mark {
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
      to right,
      rgba(255, 225, 0, 0.1),
      rgba(255, 225, 0, 0.7) 4%,
      rgba(255, 225, 0, 0.3)
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

/* Header */

#header {
    border-bottom: var(--border);
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 15px;
    padding-top: 15px;
}

#header .wrapper {
    display: flex;
    gap: 7.5px;
    align-items: flex-end;
}

#header #icon, #header #logo {
    height: 17.5px;
    width: auto;
}

/* Hero */

#hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-shadow: 1px 1px 1px #FFF;
}

#hero h1 {
    color: #111;
    font-size: 2.725rem;
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1.425em;
}

#hero h2 {
    color: #444;
    font-size: 1.75rem;
    letter-spacing: -1.425px;
    line-height: 1.4em;
}

#hero p {
    line-height: 1.45em;
}

#hero blockquote {
    color: #EF476F;
    font-family: 'Caveat';
    font-size: 1.625rem;
    text-align: center;
    line-height: 1.3em;
    letter-spacing: -0.5px;
}

#hero blockquote u {
    text-decoration-color: #F7A1B7;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

/* Toolbox */

.toolbox {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-shadow: 1px 1px 1px #FFF;
}

.toolbox a {
    text-decoration: none;
}

.toolbox .toolbox-title h3 {
    color: #666;
    text-align: center;
    text-transform: uppercase;
    user-select: none;
}

.toolbox .toolbox-tools {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.toolbox .toolbox-tools .single-tool {
    background-color: #FFF;
    border: var(--border);
    outline: 3px solid #f7f2fc;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.toolbox .toolbox-tools .single-tool h4.tool-name {
    color: #333;
    font-size: 1.275rem;
    font-weight: 600;
    letter-spacing: -0.75px;
    line-height: 1.375em;
    text-decoration: none;
}

.toolbox .toolbox-tools .single-tool:hover h4.tool-name {
    text-decoration: underline;
    text-decoration-color: #4e00ff;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.toolbox .toolbox-tools .single-tool .tool-description {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.425em;
}

.toolbox .toolbox-tools .single-tool button {
    background-color: #4e00ff;
    border: 0;
    border-radius: 25px;
    box-shadow: rgba(45, 35, 66, 0.25) 0 2px 4px,rgba(45, 35, 66, 0.25) 0 7px 13px -3px, #3900A3 0 -3px 0 inset;
    color: #FFF;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    padding: 20px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.25);
}

.toolbox .toolbox-tools .single-tool:hover button {
    background-color: #621FFF;
}

/* Tool page */

#tool-title {
    display: flex;
    flex-direction: column;
    gap: 12.5px;
}

#tool-title h1 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -1.725px;
    line-height: 1.35em;
}

#tool-title h2 {
    color: #444444;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -1.325px;
    line-height: 1.35em;
}

#tool {
    background-color: #FFF;
    border: var(--border);
    outline: 3px solid #f7f2fc;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 40px;
    max-width: 688px;
}

#tool #tool-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#tool #tool-form .field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#tool #tool-form .field-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 10px;
    text-transform: uppercase;
}

#tool #tool-form .field-group label span.required {
    color: #ef466f;
    text-transform: none;
}

#tool #tool-form .field-group label span.optional {
    color: #888;
    text-transform: none;
}

#tool #tool-form .field-group label span.hint {
    color: rgba(0,0,0,0.425);
    font-size: 0.75rem;
    display: block;
    line-height: 1.425em;
    margin-top: 5px;
    text-transform: none;
}

#tool #tool-form .field-group input {
    border-radius: 17.5px;
    border: 1px solid #c2c2c2;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    padding: 20px;
}

#tool #tool-form button {
    background-color: #4e00ff;
    border: 0;
    border-radius: 25px;
    box-shadow: rgba(45, 35, 66, 0.25) 0 2px 4px,rgba(45, 35, 66, 0.25) 0 7px 13px -3px, #3900A3 0 -3px 0 inset;
    color: #FFF;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    padding: 20px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.25);
}

#tool #tool-form button:hover {
    background-color: #621FFF;
}

#tool #tool-form button .hint {
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    font-size: 0.725rem;
    display: block;
    margin-top: 5px;
}

#tool #tool-form button.success {
    background-color: #23BEA4;
    box-shadow: rgba(45, 35, 66, 0.25) 0 2px 4px,rgba(45, 35, 66, 0.25) 0 7px 13px -3px, #1C9B86 0 -3px 0 inset;
    cursor: default;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.25);
}

#tool .optional-fields {
    display: flex;
    flex-direction: column;
}

#tool .optional-fields .field-group {
    margin-left: 30px;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-in;
}

#tool .optional-fields .toggle {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -1.275px;
    line-height: 1.325em;
    user-select: none;
}

.toggle.active .arrow {
    margin-top: 7.5px;
    transform: rotate(-135deg);
}

.arrow {
    border-bottom: var(--arrow-width, 2.5px) solid #000;
    border-right: var(--arrow-width, 2.5px) solid #000;
    border-bottom-right-radius: 3px;
    display: inline-block;
    height: 0.5em;
    margin-right: 0.5em;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    width: 0.5em;
}

#tool-information {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#tool-information h3 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -1.325px;
    line-height: 1.425em;
}

#tool-information .how-to .how-to-item {
    line-height: 1.45em;
    margin-block-end: 30px;
}

#tool-information .how-to .how-to-item:last-child {
    margin-block-end: 0;
}

#tool-information .how-to .how-to-item h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 7.5px;
}

/* FAQ */

#faq h5 {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -1.275px;
    line-height: 1.325em;
    user-select: none;
}

#faq .question {
    margin-top: 15px;
}

#faq .question summary {
    font-size: 1.275rem;
    font-weight: 600;
    line-height: 1.425em;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

#faq .question p {
    margin-top: 5px;
    line-height: 1.45em;
}

/* More Tools */

#more-tools h5 {
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.325em;
    user-select: none;
}

#more-tools .section-description {
    color: #888;
    font-size: 0.75rem;
    line-height: 1.45em;
    user-select: none;
}

#more-tools .section-description b {
    color: #777;
}

#more-tools ul {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 0;
    margin-left: 0;
}

#more-tools ul li.linked-tool {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

#more-tools ul li.linked-tool a {
    color: rgb(34, 34, 34);
    font-size: 1.425rem;
    font-weight: 600;
    font-size: 1.275rem;
    text-decoration: none;
}

#more-tools ul li.linked-tool a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

/* Page */

.page-content, .page-content + footer {
    max-width: 640px;
}

.page-content .last-updated {
    font-size: 0.8rem;
    color: #444;
    display: block;
    margin-bottom: 32.5px;
}

.page-content h1, .page-content h2, .page-content h3 {
    font-weight: 500;
}

.page-content h1 {
    font-size: 2.5rem;
    letter-spacing: -1.725px;
}

.page-content h2 {
    font-size: 1.625rem;
    letter-spacing: -1.25px;
    margin-top: 32.5px;
}


.page-content h3 {
    font-size: 1.25rem;
    letter-spacing: -0.75px;
    margin-top: 32.5px;
}

.page-content p, .page-content ul {
    line-height: 1.45em;
}

.page-content > * {
    margin-top: 15px;
}

/* Footer */

#footer ul,
#footer ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer li {
  margin: 0;
  padding: 0;
}

#footer {
    color: #444;
    font-size: 0.75rem;
    padding-bottom: 40px;
}

#footer a, #footer a:visited {
    color: #444;
}

#footer a:hover, #footer a:active {
    color: #222;
}

#footer ul {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}