@import url("https://use.typekit.net/rlx3zmx.css");
:root {
    --bg-body: #f7f5f2;
    --bg-elevated: #ffffff;
    --bg-elevated-alt: #fff7ea;
    --accent: #cc8016;       /* Swifty primary */
    --accent-soft: rgba(204,128,22,0.14);
    --accent-2: #fcb813;     /* Swifty secondary */
    --text-main: #5C5C5C;
    --text-muted: #5C5C5C;
    --border-subtle: #e5e7eb;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 14px 36px rgba(15,23,42,0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: urw-din, system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: radial-gradient(circle at top, #fff7ea 0, #f7f5f2 40%, #f4f4f5 100%);
    color: var(--text-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: museo, system-ui, -apple-system, BlinkMacSystemFont, "Inter", serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(255,255,255,0.96), rgba(255,255,255,0.9));
    border-bottom: 1px solid rgba(209,213,219,0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
}
.logo img {
    display: block;
    width: auto;
    max-height: 40px;
}



.logo.small {
    font-size: 13px;
}

.logo-mark {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #fcb813, #cc8016 55%, #194a4d 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fffaf0;
    box-shadow: 0 6px 18px rgba(204,128,22,0.55);
}

.logo-text {
    color: #1f2933;
    position: relative;
}

.logo-text small {
    text-transform: capitalize;
    color: rgba(204, 128, 22, 0.9);
    position: absolute;
    width: 100%;
    right: 0;
    text-align: right;
    top: 100%;
    font-size: 9px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.nav a {
    padding: 4px 0;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.18s ease-out;
}

.nav a:hover::after {
    width: 100%;
}

a.nav-cta {
    padding: 7px 14px;
    border-radius: 999px;
    /* border: 1px solid rgba(209,213,219,0.9); */
    color: #1f2933;
    /* background: radial-gradient(circle at top left, rgba(252,184,19,0.15), transparent 55%); */
}

/* Hero */

.hero {
    padding: 54px 0 46px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.hero-copy h1 {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
    color: #fcb813;
}

.hero-subtitle {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-muted);
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    margin: 0 3px;
    background: #fff7ea;
    border: 1px solid rgba(252,184,19,0.6);
    color: #92400e;
}
.hero-bullets li span.pill {
    margin-left: -60px;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-bullets li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
    line-height: 1.2;
}


.hero .hero-bullets li {
    padding-left: 60px;
}

#cta .hero-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent);
} 

.hero-meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    gap: 14px;
    align-items: center;
}

.hero-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 20px 20px 18px;
    border: 1px solid rgba(209,213,219,0.9);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(252,184,19,0.22), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.card-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: #cc8016;
}

.card-header p {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.scan-form .form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #374151;
}

input[type="url"],
input[type="email"] {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid rgba(209,213,219,0.9);
    background: #ffffff;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s;
}

input[type="url"]:focus,
input[type="email"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(204,128,22,0.4);
    background: #fffdf7;
}

.form-footnote {
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, color 0.12s;
}

.btn-primary {
    background: linear-gradient(135deg, #cc8016, #fcb813);
    color: #111827;
    box-shadow: 0 14px 32px rgba(204,128,22,0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(204,128,22,0.45);
}

.btn-secondary {
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(209,213,219,0.9);
}

.btn-secondary:hover {
    background: #fff7ea;
    border-color: rgba(204,128,22,0.7);
}

.btn-label {
    display: inline-block;
}

.btn-spinner {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(148,163,184,0.5);
    border-top-color: #4b5563;
    animation: spin 0.6s linear infinite;
    opacity: 0;
    /* transform: scale(0.6); */
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.btn-loading .btn-label {
    opacity: 0.6;
}

.btn-loading .btn-spinner {
    opacity: 1;
    /* transform: scale(1); */
}

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

/* Strips */

.strip {
    padding: 40px 0 36px;
    background: #f7f5f2;
    border-top: 1px solid rgba(229,231,235,0.9);
}

.strip-alt {
    padding: 40px 0 36px;
    background: #ffffff;
    border-top: 1px solid rgba(229,231,235,0.9);
}

.strip h2 {
    font-size: 24px;
    margin: 0 0 16px;
    color: #fcb813;
}

.steps-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.step {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229,231,235,0.9);
    padding: 16px 16px 14px;
}

.step-header {
    display: flex;
    align-items: center;
}

.step-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-bottom: 8px;
}

.step h3 {
    margin: 0 0 6px 6px;
    font-size: 14px;
    color: #cc8016;
    flex-grow: 1;
}

.step p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.info-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229,231,235,0.95);
    padding: 16px 16px 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.info-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #cc8016;
}

.info-card.highlight {
    border-color: rgba(204,128,22,0.9);
    box-shadow: 0 16px 38px rgba(204,128,22,0.32);
    background: #fff7ea;
}

.strip-emphasis {
    background: linear-gradient(135deg, rgba(252,184,19,0.12), #fffaf5);
    border-top: 1px solid rgba(229,231,235,0.9);
    border-bottom: 1px solid rgba(229,231,235,0.9);
}

.cta-flex {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
}

.cta-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
}

.faq-list {
    margin-top: 18px;
}

.faq-list details {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229,231,235,0.95);
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 13px;
}

.faq-list summary {
    cursor: pointer;
    outline: none;
}

.faq-list p {
    margin-top: 8px;
    color: var(--text-muted);
}

/* Result page */

.result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
    gap: 26px;
    align-items: flex-start;
}

.result-url-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.result-url {
    font-size: 14px;
    word-break: break-all;
    margin-top: 0;
    margin-bottom: 12px;
}

.score-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.45);
    font-size: 13px;
    margin-bottom: 16px;
    color: #166534;
}

.score-pill span {
    margin-left: 6px;
    font-weight: 600;
    color: #14532d;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.category-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229,231,235,0.95);
    padding: 12px 12px 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.category-card h3 {
    margin: 0 0 4px;
    font-size: 13px;
    color: #111827;
}

.category-score {
    font-size: 13px;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 3px;
}

.priority-box {
    background: #fffaf5;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(204,128,22,0.55);
    padding: 12px 12px 10px;
    margin-bottom: 18px;
}

.priority-box h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #111827;
}

.priority-box ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

.result-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(209,213,219,0.9);
    padding: 10px 12px;
    font-size: 11px;
    max-height: 260px;
    overflow: auto;
    color: #111827;
}

.raw-toggle summary {
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 6px;
}

.result-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229,231,235,0.95);
    padding: 14px 14px 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.sidebar-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #111827;
}

.sidebar-card.secondary {
    background: #fffdf7;
}

.error-msg {
    color: #b91c1c;
    font-size: 13px;
}
p#result-summary {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.metric-card {
  border-radius: 12px;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
}

.metric-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.metric-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-text {
  font-size: 13px;
  color: #4b5563;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(229,231,235,0.9);
    background: #ffffff;
    /* margin-top: 24px; */
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 360px;
    margin: 18px 0 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid rgba(229,231,235,0.9);
    text-align: center;
    padding: 10px 0 14px;
    font-size: 11px;
    color: #9ca3af;
    background: #f9fafb;
}

.result-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.result-modal.hidden {
  display: none;
}

.result-modal-dialog {
  background: #ffffff;
  border-radius: 18px;
  width: 92%;
  max-width: 1180px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 22px 26px 20px;
  box-shadow: 0 28px 60px rgba(15,23,42,0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 10px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  color: #6b7280;
}

.modal-close:hover {
  color: #111827;
}

.result-header-url {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.result-header-url-value {
  font-size: 14px;
  word-break: break-all;
  margin: 0 0 12px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.45);
  font-size: 13px;
  margin-bottom: 16px;
  color: #166534;
}

.score-pill span {
  margin-left: 6px;
  font-weight: 600;
  color: #14532d;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 22px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.category-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(229,231,235,0.95);
  padding: 10px 11px 8px;
  font-size: 13px;
}

.category-card h3 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #111827;
}

.category-score {
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 2px;
}

.priority-box {
  background: #fffaf5;
  border-radius: 12px;
  border: 1px dashed rgba(204,128,22,0.55);
  padding: 10px 11px 8px;
  margin-bottom: 14px;
  font-size: 13px;
}

.priority-box h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #111827;
}

.priority-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #6b7280;
}

.result-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(229,231,235,0.95);
  padding: 12px 13px 10px;
  font-size: 13px;
  color: #6b7280;
}

.sidebar-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #111827;
}

.raw-json-toggle summary {
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 4px;
}

.raw-json-box {
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 8px;
  font-size: 11px;
  max-height: 200px;
  overflow: auto;
  white-space: pre;
}

/* Responsive */
@media (max-width: 820px) {
  .result-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* Responsive */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-card {
        margin-top: 8px;
    }
    .steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cta-flex {
        flex-direction: column;
    }
    .result-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .nav {
        flex-wrap: wrap;
    }
    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
