/* CSS Document */

:root {
    --bg: #160b13;
    --panel: #1b1018;
    --pearl: #fff8ef;
    --pearl2: #ddd0d6;
    --muted: #a698a2;
    --gold: #e9bd58;
    --pink: #ff2b91;
    --line: rgba(232, 189, 88, 0.28);
    --soft: rgba(255, 255, 255, 0.08);
    --max: 1220px;
    --r: 22px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--pearl);
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    background: radial-gradient(circle at 14% 0%, rgba(255, 43, 145, 0.1), transparent 29rem),
        radial-gradient(circle at 88% 4%, rgba(233, 189, 88, 0.08), transparent 30rem), var(--bg);
}
a {
    color: inherit;
}
button,
textarea,
select {
    font: inherit;
}
button {
    cursor: pointer;
}
:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}
.sitebar {
    position: sticky;
    top: 8%;
    z-index: 60;
    background: rgba(22, 11, 19, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sitebar-inner {
    /*max-width: var(--max);*/
    margin: auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.03em;
}
.brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 0.86rem;
}
.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.nav {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav a {
    padding: 0.5rem 0.72rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--pearl2);
    font-size: 0.83rem;
}
.nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}
.hero {
    max-width: var(--max);
    margin: auto;
    padding: 6.5rem 1.25rem 3.6rem;
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}
.eyebrow:before {
    content: "";
    width: 2.8rem;
    height: 1px;
    background: linear-gradient(90deg, var(--pink), var(--gold));
}
h1,
h2,
h3 {
    line-height: 1.08;
    margin-top: 0;
}
h1 {
    margin: 0.9rem 0 1.1rem;
    max-width: 12ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.1rem, 7vw, 6.4rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}
h1 .accent {
    color: var(--pink);
}
.hero-copy {
    max-width: 830px;
    color: var(--pearl2);
    font-size: clamp(1.08rem, 2vw, 1.33rem);
}
.meta-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.pill {
    border: 1px solid var(--soft);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 0.5rem 0.72rem;
    font-size: 0.78rem;
    color: var(--pearl2);
}
.actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.btn {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    padding: 0.82rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 850;
    font-size: 0.72rem;
}
.btn.primary {
    background: var(--gold);
    color: #160d0c;
}
main section {
    max-width: var(--max);
    margin: auto;
    padding: 4.5rem 1.25rem;
}
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 2rem;
}
.kicker {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 850;
    margin-bottom: 0.6rem;
}
h2 {
    margin-bottom: 0.65rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 4.7vw, 4.1rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}
.lede {
    max-width: 760px;
    color: var(--pearl2);
}
.principle {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255, 43, 145, 0.08), rgba(255, 255, 255, 0.02));
    padding: 1.2rem 1.25rem;
    border-radius: 16px;
}
.principle strong {
    color: var(--gold);
}
.principle p {
    margin: 0.35rem 0 0;
    color: var(--pearl2);
    font-size: 0.92rem;
}
.featured {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #21131c, #100a0e);
    border-radius: var(--r);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}
.feature-main {
    padding: 1.1rem;
}
.feature-label {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.featured h3 {
    margin: 0.65rem 0 0.75rem;
    color: #ffe1a5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 500;
}
.feature-main p {
    color: var(--pearl2);
    font-size: 1.02rem;
}
.feature-lens {
    border-left: 1px solid var(--line);
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.claim {
    font-family: Georgia, serif;
    font-size: 1.45rem;
    color: white;
    margin-bottom: 1rem;
}
.feature-lens ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--pearl2);
}
.feature-lens li {
    margin: 0.45rem 0;
}
.method {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.method-card {
    border-top: 1px solid var(--line);
    padding: 1rem 0.2rem 0;
}
.method-card b {
    display: block;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}
.method-card p {
    margin: 0;
    color: var(--pearl2);
    font-size: 0.9rem;
}
.topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.topic-card {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(150deg, var(--panel), #110b10);
    padding: 1.25rem 1.25rem 1.35rem;
    border-radius: var(--r);
    overflow: hidden;
}
.topic-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--pink));
}
.topic-tag {
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 850;
}
.topic-card h3 {
    margin: 0.55rem 0 0.6rem;
    color: #ffe1a5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 500;
}
.topic-card p {
    color: var(--pearl2);
    margin: 0.2rem 0 1rem;
}
.chips {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.chip {
    border: 1px solid var(--soft);
    border-radius: 999px;
    padding: 0.4rem 0.58rem;
    color: var(--muted);
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.025);
}
.tool {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1rem;
}
.panel {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--r);
    padding: 1.25rem;
}
.panel label {
    display: block;
    margin: 0.95rem 0 0.35rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
textarea,
select {
    width: 100%;
    border: 1px solid var(--soft);
    background: #100a0f;
    color: white;
    border-radius: 12px;
    padding: 0.85rem;
}
textarea {
    min-height: 100px;
    resize: vertical;
}

/* Bio Styles*/ 
.cii-author {
  box-sizing: border-box;
  margin-block: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fbf6ef;
  color: #241c23;
  border: 1px solid #dfcfc5;
  border-inline-start: 4px solid #9d235c;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.cii-author .cii-author__label {
  margin: 0 0 0.4rem;
  color: #9d235c;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cii-author .cii-author__name {
  margin: 0 0 0.85rem;
  color: #181419;
  font: 400 clamp(1.65rem, 4vw, 2.15rem) / 1.15 Georgia, serif;
}

.cii-author__name::after {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.65rem;
  background: #b98635;
  content: "";
}

.cii-author .cii-author__bio {
  /*max-width: 68ch;*/
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

/* End: Bio Styles*/

.output {
    min-height: 390px;
    white-space: pre-wrap;
    background: #0c080b;
    border: 1px solid var(--soft);
    border-radius: 14px;
    padding: 1.1rem;
    color: #e6dbe1;
}
.closing {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(233, 189, 88, 0.08), rgba(255, 43, 145, 0.06));
    border-radius: var(--r);
    padding: 2rem;
}
.closing h2 {
    max-width: 15ch;
}
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 3rem;
}
.footer-inner {
    max-width: var(--max);
    margin: auto;
    padding: 2.4rem 1.25rem 3.5rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.84rem;
}
.toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    background: var(--gold);
    color: #17100c;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 850;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.2s;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: none;
}
@media (max-width: 920px) {
    .section-head,
    .featured,
    .tool {
        grid-template-columns: 1fr;
    }
    .feature-lens {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .method {
        grid-template-columns: repeat(2, 1fr);
    }
    .topics {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .nav {
        display: none;
    }
    .hero {
        padding-top: 4.8rem;
    }
    h1 {
        font-size: clamp(2.7rem, 15vw, 4.1rem);
    }
    .method {
        grid-template-columns: 1fr;
    }
    .actions .btn {
        width: 100%;
        text-align: center;
    }
}
