/*
    © Aaran Beattie Names. All Rights Reserved.
    This website and its content, including all HTML, CSS, and JavaScript code, are protected by copyright law.
    Unauthorised reproduction, distribution, or modification of this code is strictly prohibited.
    Any violation of these terms may result in legal action to the fullest extent permitted by law.
/*

/* ================================
   ABNames Unified CSS
   ================================ */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Helvetica Neue LT Std";
    src: url('fonts/HelveticaNeueLTStd-Roman.woff2') format('woff2'),
        url('fonts/HelveticaNeueLTStd-Roman.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Helvetica Neue LT Std";
    src: url('fonts/HelveticaNeueLTStd-Bold.woff2') format('woff2'),
        url('fonts/HelveticaNeueLTStd-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Helvetica Neue LT Std", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
}

/* ================================
   Typography
   ================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

h5,
h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Lead paragraph */
.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Strong and emphasis */
strong,
b {
    font-weight: 700;
}

em,
i {
    font-style: normal;
}

/* ================================
   Links
   ================================ */

a {
    color: #000000;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* ================================
   Layout
   ================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 6rem 0;
    margin-bottom: 4rem;
}

.about-page .two-column {
    margin-top: 0;
    margin-bottom: 4rem;
}

.two-column h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.two-column h3:not(:first-child) {
    margin-top: 2.5rem;
}

/* ================================
   Header
   ================================ */

.header {
    padding: 2rem 0;
    border-bottom: 1px solid #000000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-bottom: 0;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo svg {
    height: 24px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: "Helvetica Neue LT Std", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-link.current {
    text-decoration: underline;
}

/* ================================
   Main content
   ================================ */

.main {
    padding: 4rem 0;
}

.domain-page .main {
    padding: 5rem 0;
}

/* ================================
   Homepage specific
   ================================ */

.homepage h1 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
}

.homepage h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.homepage h3 {
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 1.5rem;
}

.intro {
    margin-bottom: 5rem;
    max-width: 800px;
}

.intro p {
    font-size: 1.125rem;
    margin-bottom: 1em;
}

.intro p:last-child {
    margin-bottom: 0;
}

/* Domain grid */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.domain-card {
    border: 1px solid #000000;
    padding: 2rem;
    text-decoration: none;
    color: #000000;
    transition: background-color 0.2s ease;
}

.domain-card:hover {
    background-color: #f8f8f8;
}

.domain-name {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 0.5rem;
    display: block;
}

.domain-price {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.domain-description {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* View all button */
.view-all-domains {
    text-align: center;
    margin-bottom: 6rem;
}

/* Why ABNames section */
.why-abnames {
    background-color: #f8f8f8;
    padding: 3rem 2rem;
    margin: 6rem -2rem;
    text-align: center;
}

.why-abnames h2 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.why-abnames p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.why-abnames p:last-child {
    margin-bottom: 0;
}

/* Differentiators */
.differentiators {
    margin: 6rem 0;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.differentiator {
    text-align: left;
}

.differentiator h3 {
    margin-bottom: 1rem;
    margin-top: 0;
}

.differentiator p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Stats */
.stats {
    margin: 6rem 0;
}

/* Testimonials */
.testimonials {
    margin: 6rem 0;
}

/* Process grid */
.process-overview {
    margin: 6rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-grid-item {
    padding: 2rem;
    border: 1px solid #000000;
}

.process-grid-number {
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.process-grid-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.process-grid-description {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Homepage info */
.homepage-info {
    padding: 0;
}

.homepage-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.homepage-info p,
.homepage-info a {
    font-size: 0.95rem;
}

/* ================================
   Domains index specific
   ================================ */

/* Filter controls */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-button {
    font-family: inherit;
    background: none;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
    background-color: #000000;
    color: #FFFFFF;
}

/* Stats section */
.portfolio-stats {
    background-color: #f8f8f8;
    padding: 3rem 2rem;
    margin: 4rem -2rem;
    text-align: center;
}

.portfolio-stats .stats-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 2rem auto 0;
    border: 0;
}

/* ================================
   Domain page specific
   ================================ */

.domain-page main {
    max-width: 800px;
    margin: 0 auto;
}

.domain-hero {
    text-align: center;
    margin-bottom: 6rem;
}

.domain-page .domain-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.for-sale {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.domain-page .domain-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 1;
}

.domain-tagline {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.main-content {
    margin-bottom: 5rem;
}

.main-content h2 {
    margin-top: 3rem;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content p {
    margin-bottom: 1.5rem;
}

.main-content p:last-child {
    margin-bottom: 0;
}

.offer {
    margin: 0 auto 3rem;
}

.disclaimer {
    margin: 0;
    text-align: center;
}

.disclaimer p {
    margin: 0;
}

/* ================================
   Contact page specific
   ================================ */

.contact-page .intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-page .intro p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.contact-page .intro p:last-child {
    margin: 0 auto 0;
}

.contact-page h1 {
    text-align: center;
}

/* ================================
   Normal page specific
   ================================ */

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs li {
    margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    opacity: 0.5;
}

.breadcrumbs a {
    text-decoration: none;
    color: #000000;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .current {
    opacity: 0.6;
}

/* ================================
   Error page specific
   ================================ */

.error-page .error-content {
    text-align: center;
    margin-bottom: 3rem;
}

.error-page .error-code {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.error-page .error-message {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-page h1 {
    margin: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.error-page h3 {
    margin: 0;
    margin-bottom: 0.5rem;
    text-align: center;
}

.error-message {
    margin: 0;
    text-align: center;
}

/* Navigation options */
.nav-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.nav-option {
    border: 1px solid #000000;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #000000;
    transition: background-color 0.2s ease;
}

.nav-option:hover {
    background-color: #f8f8f8;
    text-decoration: none;
}

.nav-option h3 {
    margin-bottom: 0.5rem;
    text-align: center;
}

.nav-option p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact section */
.contact-section {
    background-color: #f8f8f8;
    padding: 2rem;
    text-align: center;
}

.contact-section h3 {
    margin-bottom: 1rem;
}

.contact-section p {
    margin-bottom: 0.5rem;
}

/* ================================
   About page specific
   ================================ */

.key-page-hero {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0;
    padding-top: 2rem;
}

.key-page-hero::before {
    content: '';
    width: 60px;
    height: 2px;
    background-color: #9D2235;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.key-page-hero .overline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.key-page-hero h1 {
    font-size: 3rem;
}


.about-intro {
    margin-bottom: 4rem;
}

.about-intro p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.philosophy-section {
    background-color: #f8f8f8;
    padding: 3rem 2rem;
    margin: 4rem -2rem;
    text-align: center;
}

.philosophy-section h2 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.philosophy-section p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.philosophy-section p:last-child {
    margin-bottom: 0;
}

.about-page .stats-grid {
    margin: 4rem 0;
}

.principles-section,
.difference-section {
    margin-bottom: 4rem;
}

/* Contact section */
.contact-section {
    background-color: #f8f8f8;
    padding: 3rem 2rem;
    margin: 4rem -2rem;
    text-align: center;
}

.contact-section h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.contact-section p {
    margin-bottom: 1rem;
}

.contact-section p:last-child {
    margin-bottom: 0;
}

.contact-section a {
    font-weight: 700;
}

/* ================================
   Lists
   ================================ */

ul,
ol {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: 0.5rem;
}

li:last-child {
    margin-bottom: 0;
}

/* Nested lists */
ul ul,
ol ol,
ul ol,
ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ================================
   Blockquotes
   ================================ */

blockquote {
    border-left: 3px solid #000000;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: normal;
    opacity: 0.8;
}

blockquote p {
    margin-bottom: 1rem;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* ================================
   Code
   ================================ */

code {
    font-family: monospace;
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 0;
    font-size: 0.9rem;
}

pre {
    background-color: #f5f5f5;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 0;
}

pre code {
    background: none;
    padding: 0;
}

/* ================================
   Tables
   ================================ */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th,
td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #000000;
}

th {
    font-weight: 700;
}

/* ================================
   Images
   ================================ */

img {
    max-width: 100%;
    height: auto;
}

/* Featured image */
.image-featured {
    width: 100%;
    margin: 2.5rem auto;
    aspect-ratio: 4/3;
}

.image-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-featured .image-caption {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    font-style: normal;
    text-align: center;
}

/* Inline image */
.image-inline {
    width: 80%;
    margin: 1.5rem auto;
    aspect-ratio: 4/3;
}

.image-inline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-inline .image-caption {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    font-style: normal;
    text-align: center;
}

/* Small inline image */
.image-small {
    width: 60%;
    margin: 1rem auto;
    aspect-ratio: 4/3;
}

.image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-small .image-caption {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    font-style: normal;
    text-align: center;
}

/* Side-by-side image */
.images-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.images-pair .image-item {
    width: 100%;
    min-width: 0;
    /* Prevents grid items from growing beyond their column */
}

.images-pair .image-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.images-pair .image-caption {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    text-align: center;
}

/* ================================
   Horizontal rule
   ================================ */

hr {
    border: none;
    border-top: 1px solid #000000;
    margin: 3rem 0;
}

/* ================================
   Forms
   ================================ */

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #000000;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
}

textarea {
    resize: vertical;
    min-height: 6rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #000000;
}

/* Checkbox and radio styling */
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid #000000;
    margin: 0;
    cursor: pointer;
    position: relative;
    background-color: #FFFFFF;
}

input[type="checkbox"] {
    border-radius: 0;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked {
    background-color: #000000;
}

input[type="checkbox"]:checked::after {
    content: '';
    background-image: var(--icon-tick-4px-white);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    width: 1em;
    height: 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="radio"]:checked {
    background-color: #FFFFFF;
}

input[type="radio"]:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #000000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-group,
.radio-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.checkbox-group:last-child,
.radio-group:last-child {
    margin-bottom: 0;
}

.checkbox-group label,
.radio-group label {
    font-weight: normal;
    font-size: 1rem !important;
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.4;
    flex: 1;
}

.checkbox-group input,
.radio-group input {
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Form validation states */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-help {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Loading state */
.loading-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

button.loading .loading-spinner {
    display: inline-block;
}

button.loading .button-text {
    opacity: 0.7;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Status messages */
.form-status {
    padding: 1rem;
    margin-top: 2rem;
    border: 1px solid;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
    display: block;
}

.form-status h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.form-status p {
    margin-bottom: 0;
}

.form-status a {
    color: inherit;
    text-decoration: underline;
}

.form-status a:hover {
    text-decoration: none;
}

/* ================================
   Buttons
   ================================ */

.button,
button[type="submit"],
.cta-button {
    font-family: inherit;
    background-color: #000000;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}

/* ================================
   Process components
   ================================ */

/* Vertical process */
.process-vertical {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #000000;
    position: relative;
}

.process-step:last-child {
    border-bottom: 1px solid #000000;
}

.process-number-section {
    width: 120px;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.process-number-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 1px;
    background-color: #000000;
}

.process-number {
    font-size: 3rem;
    font-weight: bold;
    color: #000000;
    opacity: 0.3;
    line-height: 1;
}

.process-content {
    flex: 1;
    padding: 2rem 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
}

.process-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.process-description {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* ================================
   FAQ component
   ================================ */

/* FAQ Accordion Style */
.faq-accordion {
    border: 1px solid #000000;
    margin: 1.5rem 0;
}

.faq-item {
    border-bottom: 1px solid #000000;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-toggle {
    width: 1rem;
    height: 1rem;
    background-image: var(--icon-plus);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    background-image: var(--icon-minus);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Simple FAQ Style */
.faq-simple {
    margin: 2rem 0;
}

.faq-simple-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #000000;
}

.faq-simple-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-simple-question {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.faq-simple-answer {
    color: #000000;
}

.faq-simple-answer p {
    margin-bottom: 1rem;
}

.faq-simple-answer p:last-child {
    margin-bottom: 0;
}

/* Compact FAQ Style */
.faq-compact {
    border: 1px solid #000000;
    margin: 1.5rem 0;
}

.faq-compact-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #000000;
}

.faq-compact-item:last-child {
    border-bottom: none;
}

.faq-compact-question {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faq-compact-answer {
    font-size: 0.95rem;
    opacity: 0.9;
}

.button:hover,
button[type="submit"]:hover,
.cta-button:hover {
    background-color: #333333;
}

/* ================================
   Document download components
   ================================ */

.document-download {
    border: 1px solid #000000;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: #000000;
    transition: background-color 0.2s ease;
}

.document-download:hover {
    background-color: #f8f8f8;
    text-decoration: none;
}

.document-icon {
    width: 3rem;
    height: 3rem;
    background-color: #000000;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.document-description {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.document-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

.document-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Compact document list */
.document-list {
    border: 1px solid #000000;
    margin: 1.5rem 0;
}

.document-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #000000;
    text-decoration: none;
    color: #000000;
    transition: background-color 0.2s ease;
}

.document-list-item:last-child {
    border-bottom: none;
}

.document-list-item:hover {
    background-color: #f8f8f8;
    text-decoration: none;
}

.document-list-info {
    flex: 1;
}

.document-list-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.document-list-meta {
    font-size: 0.875rem;
    opacity: 0.7;
}

.document-list-download {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Icon variants */
.icon-pdf {
    background-color: #d73527;
}

.icon-doc {
    background-color: #2b579a;
}

.icon-txt {
    background-color: #666666;
}

/* ================================
   Testimonial components
   ================================ */

/* Full testimonial block */
.testimonial {
    border: 1px solid #000000;
    padding: 2rem;
    margin: 2rem 0;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: #000000;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-author {
    flex: 1;
}

.testimonial-name {
    font-weight: 700;
}

.testimonial-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Quote-only testimonial */
.testimonial-quote-only {
    background-color: #f8f8f8;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.testimonial-quote-only .testimonial-quote {
    font-size: 1.25rem;
    font-style: normal;
    margin-bottom: 1rem;
}

.testimonial-quote-only .testimonial-attribution {
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Multiple testimonials grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.testimonials-grid .testimonial {
    margin: 0;
}

/* ================================
   Stats components
   ================================ */

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 2rem;
    border: 1px solid #000000;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-description {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Inline stats */
.stats-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #000000;
    margin: 2rem 0;
}

.stats-inline .stat {
    border: none;
    padding: 0;
    flex: 1;
}

.stats-inline .stat:not(:last-child) {
    border-right: 1px solid #000000;
    margin-right: 1rem;
    padding-right: 1rem;
}

.stats-inline .stat-number {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stats-inline .stat-label {
    font-size: 0.8rem;
}

/* Compact stats */
.stats-compact {
    border: 1px solid #000000;
    margin: 2rem 0;
}

.stats-compact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #000000;
}

.stats-compact-item:last-child {
    border-bottom: none;
}

.stats-compact-label {
    font-weight: 700;
}

.stats-compact-value {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Highlighted stat */
.stat-highlight {
    background-color: #f8f8f8;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.stat-highlight .stat-number {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-highlight .stat-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-highlight .stat-description {
    font-size: 0.9rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ================================
   Focus states for accessibility
   ================================ */

input[type="checkbox"]:focus,
input[type="radio"]:focus,
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 1px dotted #000000;
    outline-offset: 2px;
}

/* ================================
   Footer
   ================================ */

.footer {
    border-top: 1px solid #000000;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.875rem;
    color: #000000;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #000000;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Colophon */
.colophon {
    border-top: 1px solid #e5e5e5;
    padding: 1rem 0;
    background-color: #fafafa;
}

.made-in-scotland {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #666666;
}

.made-in-scotland a {
    color: #666666;
    text-decoration: none;
}

.made-in-scotland a:hover {
    text-decoration: underline;
}

.scotland-flag {
    width: auto;
    height: 0.8em;
    flex-shrink: 0;
    margin-bottom: 3px;
}

/* ================================
   Utility classes
   ================================ */

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

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

.hidden {
    display: none !important;
}

/* ================================
   No JavaScript Support
   ================================ */

/* Hide main content when no JS */
.js-required {
    display: none;
}

/* Show overlay when no JS */
.noscript-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noscript-content {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 600px;
}

.noscript-logo {
    margin-bottom: 2.5rem;
}

.noscript-logo svg {
    height: 24px;
    width: auto;
}

.noscript-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
    line-height: 1.2;
}

.noscript-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #000;
    line-height: 1.6;
}

.noscript-content p:last-child {
    margin-bottom: 0;
}

.noscript-content strong {
    font-weight: 700;
}

.noscript-content a {
    color: #000;
    text-decoration: underline;
}

.noscript-content a:hover {
    text-decoration: none;
}

.enable-instructions {
    text-align: left;
    margin: 2.5rem 0;
    background-color: #f8f8f8;
    padding: 2rem;
    border: 1px solid #000000;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.enable-instructions h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-top: 0;
}

.enable-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
}

.enable-instructions li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.enable-instructions li:last-child {
    margin-bottom: 0;
}

.contact-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: 1rem;
}

/* ================================
   Page transitions
   ================================ */

/* Hide transitions by default (no-JS state) */
.page-transition,
.initial-load {
    display: none !important;
}

/* Only show transitions when JS is enabled */
.js-enabled .page-transition {
    display: block !important;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    background-color: #9D2235;
    z-index: 9999;
}

/* Initial load animation - only when JS is enabled */
.js-enabled .initial-load {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 10000;
    display: none;
    /* Hidden by default, JS will show when needed */
    align-items: center;
    justify-content: center;
}

.js-enabled .initial-load.show {
    display: flex !important;
    /* Only show when explicitly activated */
}

.js-enabled .initial-load.hidden {
    display: none !important;
}

.punctum-loader {
    width: 12px;
    height: 12px;
    background-color: #9D2235;
    border-radius: 50%;
    animation: punctumPulse 0.8s ease-in-out 3;
}

.punctum-loader.expand {
    animation: punctumExpand 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes punctumPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

@keyframes punctumExpand {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(150);
    }
}

/* ================================
   Responsive design
   ================================ */

@media (max-width: 820px) {

    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-column h3:not(:first-child) {
        margin-top: 2rem;
    }

    /* Header adjustments */
    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .navigation {
        gap: 2rem;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }

    /* Image adjustments */
    .images-pair {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .image-small {
        width: 80%;
    }

    /* Grid adjustments */
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .homepage-info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Error page adjustments */
    .error-page .error-code {
        font-size: 3rem;
    }

    .nav-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Filter adjustments */

    .filter-controls {
        gap: 1rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-button {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Process component adjustments */
    .process-step {
        flex-direction: column;
    }

    .process-number-section {
        width: 100%;
        padding: 1.5rem 0 1rem 0;
        /* Added bottom padding */
        text-align: center;
    }

    .process-number-section::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        top: auto;
        width: 60px;
        /* Fixed shorter width */
        height: 1px;
        background-color: #000000;
    }

    .process-number {
        font-size: 2.5rem;
    }

    .process-content {
        padding: 1.5rem 0;
        /* More generous top padding */
        width: 100%;
        text-align: center;
    }

    .process-title {
        text-align: center;
    }

    .process-description {
        font-size: 0.95rem;
    }

    /* FAQ component adjustments */
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 1rem 1rem;
    }

    .faq-compact-item {
        padding: 0.75rem 1rem;
    }

    /* Testimonial adjustments */
    .testimonial {
        padding: 1.5rem;
    }

    .testimonial-attribution {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Stats adjustments */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stats-inline {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stats-inline .stat:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #000000;
        margin-right: 0;
        margin-bottom: 1rem;
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Table adjustments */
    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.5rem;
    }

    /* Domain page adjustments */
    .domain-tagline {
        font-size: 1.125rem;
    }

    /* Contact page adjustments */
    .contact-methods {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {

    /* Header adjustments */
    .header {
        padding: 2rem 0 1.5rem;
    }

    .navigation {
        gap: 1.5rem;
    }

    /* Main content adjustments */
    .main {
        padding: 3rem 0;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }

    .homepage h1 {
        font-size: 2.5rem;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .domain-page .domain-name {
        font-size: 2rem;
    }

    /* FAQ component adjustments */
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .faq-toggle {
        align-self: flex-end;
    }

    /* Document download component adjustments */
    .document-download {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .document-icon {
        align-self: flex-start;
        width: 2.5rem;
        height: 2.5rem;
    }

    .document-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .document-list-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 1rem;
    }

    .document-list-download {
        text-align: left;
    }

    /* Testimonial adjustments */
    .testimonial-quote-only {
        padding: 1.5rem;
    }

    /* Stats adjustments */

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-highlight .stat-number {
        font-size: 2.5rem;
    }

    .stats-compact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Button adjustments */
    .button,
    button[type="submit"],
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .download-button {
        width: 100%;
        text-align: center;
    }

    /* Domain card adjustments */
    .domain-card {
        padding: 1.5rem;
    }

    /* Error page adjustments */

    .error-page .error-code {
        font-size: 2.5rem;
    }

    .nav-option {
        padding: 1.5rem;
    }
}

/* ================================
   Icons
   ================================ */

:root {
    --icon-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='m1 11.3324 8.10526 8.1659L23 2' stroke-width='2'/%3E%3C/svg%3E");
    --icon-tick-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='m1 11.3324 8.10526 8.1659L23 2' stroke-width='2'/%3E%3C/svg%3E");
    --icon-tick-4px: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='m1 11.3324 8.10526 8.1659L23 2' stroke-width='4'/%3E%3C/svg%3E");
    --icon-tick-4px-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='m1 11.3324 8.10526 8.1659L23 2' stroke-width='4'/%3E%3C/svg%3E");
    --icon-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='M22 2 2 22' stroke-width='2'/%3E%3Cpath stroke='%23000' d='M2 2l20 20' stroke-width='2'/%3E%3C/svg%3E");
    --icon-cross-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='M22 2 2 22' stroke-width='2'/%3E%3Cpath stroke='%23fff' d='M2 2l20 20' stroke-width='2'/%3E%3C/svg%3E");
    --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='M12 1v22' stroke-width='2'/%3E%3Cpath stroke='%23000' d='M1 12h22' stroke-width='2'/%3E%3C/svg%3E");
    --icon-plus-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='M12 1v22' stroke-width='2'/%3E%3Cpath stroke='%23fff' d='M1 12h22' stroke-width='2'/%3E%3C/svg%3E");
    --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='M1 12h22' stroke-width='2'/%3E%3C/svg%3E");
    --icon-minus-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='M1 12h22' stroke-width='2'/%3E%3C/svg%3E");
    --icon-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='M1.5 17.5 12 7l10.5 10.5' stroke-width='2'/%3E%3C/svg%3E");
    --icon-arrow-up-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='M1.5 17.5 12 7l10.5 10.5' stroke-width='2'/%3E%3C/svg%3E");
    --icon-arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='M22.5 6.5 12 17 1.5 6.5' stroke-width='2'/%3E%3C/svg%3E");
    --icon-arrow-down-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='M22.5 6.5 12 17 1.5 6.5' stroke-width='2'/%3E%3C/svg%3E");
    --icon-download-tray: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' d='M2 17v5h20v-5' stroke-width='2'/%3E%3Cpath stroke='%23000' d='m6 10 6 6 6-6' stroke-width='2'/%3E%3Cpath stroke='%23000' d='M12 16V1' stroke-width='1'/%3E%3C/svg%3E");
    --icon-download-tray-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' d='M2 17v5h20v-5' stroke-width='2'/%3E%3Cpath stroke='%23fff' d='m6 10 6 6 6-6' stroke-width='2'/%3E%3Cpath stroke='%23fff' d='M12 16V1' stroke-width='1'/%3E%3C/svg%3E");
}