/* ==========================================================================
   InstaRemover — Instagram takedown service
   Light theme. Ink + indigo, pastel washes, plenty of air.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --white: #ffffff;
    --wash: #f7f6fc;
    --wash-2: #efedfa;

    --ink: #15132b;
    --body: #545176;
    --soft: #8b89a8;

    --line: #e7e5f2;
    --line-2: #d8d5ea;

    --indigo: #3730a3;
    --indigo-hover: #2b2583;
    --indigo-soft: #eceafc;

    --lilac: #e7e3ff;
    --mint: #d2f2e3;
    --sky: #dbeafe;
    --blush: #ffe1ec;
    --sand: #fdeccd;
    --rose-deep: #b4295a;

    --radius: 14px;
    --radius-lg: 22px;
    --container: 1100px;
    --gutter: 22px;

    --display: "Bricolage Grotesque", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg,
canvas {
    max-width: 100%;
    display: block;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3 {
    margin: 0 0 0.45em;
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.15rem, 5vw, 3.35rem);
}

h2 {
    font-size: clamp(1.55rem, 3.3vw, 2.15rem);
}

h3 {
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

:focus-visible {
    outline: 2.5px solid var(--indigo);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection {
    background: var(--lilac);
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: clamp(52px, 7vw, 88px);
}

.band {
    background: var(--wash);
}

.section-head {
    margin-bottom: 36px;
}

.section-head h2 {
    max-width: 20ch;
}

.lead {
    color: var(--body);
    font-size: 1.02rem;
    margin: 0;
    max-width: 58ch;
}

.eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 12px;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    z-index: 99;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: var(--indigo);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn:hover {
    background: var(--indigo-hover);
    transform: translateY(-1.5px);
}

.btn--lg {
    padding: 15px 30px;
    font-size: 1rem;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-2);
}

.btn--ghost:hover {
    background: var(--wash);
    border-color: var(--ink);
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 420px) {
    .btn {
        white-space: normal;
        text-align: center;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 72px;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.brand__mark {
    width: 30px;
    height: 30px;
    flex: none;
}

.brand em {
    font-style: normal;
    color: var(--indigo);
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a:not(.btn) {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--body);
    transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
    color: var(--ink);
    background: var(--wash-2);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: var(--white);
    border: 1.5px solid var(--line-2);
    border-radius: 12px;
    cursor: pointer;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        inset: 72px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 16px var(--gutter) 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        transition: transform 0.26s var(--ease);
    }

    .site-nav[data-open="true"] {
        transform: translateY(0);
    }

    .site-nav a:not(.btn) {
        padding: 12px 14px;
        font-size: 1rem;
    }
}

/* ---------- Hero ---------- */
.hero {
    padding-block: clamp(42px, 6vw, 76px);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(30px, 5vw, 56px);
    align-items: center;
}

.hero h1 {
    margin-bottom: 16px;
}

.hero h1 em {
    font-style: normal;
    color: var(--indigo);
}

.hero__text {
    color: var(--body);
    font-size: 1.08rem;
    max-width: 44ch;
    margin-bottom: 26px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 0.86rem;
    color: var(--soft);
}

.hero__trust li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero__trust svg {
    color: var(--indigo);
    flex: none;
}

/* Hero visual: phone-ish card + a removed-profile chip */
.hero__visual {
    position: relative;
}

.hero__frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 4 / 4.4;
    background: var(--wash-2);
    box-shadow: 0 30px 60px -34px rgba(21, 19, 43, 0.55);
}

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

.chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 16px 34px -18px rgba(21, 19, 43, 0.5);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.chip small {
    display: block;
    font-weight: 400;
    color: var(--soft);
    font-size: 0.74rem;
}

.chip__dot {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
}

.chip--removed {
    left: -14px;
    bottom: 18%;
}

.chip--removed .chip__dot {
    background: var(--mint);
    color: #0f7a53;
}

.chip--watching {
    right: -10px;
    top: 12%;
}

.chip--watching .chip__dot {
    background: var(--lilac);
    color: var(--indigo);
}

@media (max-width: 880px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        order: -1;
        max-width: 360px;
        width: 100%;
    }

    .chip--removed {
        left: 0;
    }

    .chip--watching {
        right: 0;
    }
}

/* ---------- Service cards ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(258px, 100%), 1fr));
    gap: 16px;
}

.svc {
    display: block;
    padding: 22px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

a.svc:hover {
    border-color: var(--indigo);
    transform: translateY(-3px);
}

.svc__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: var(--tint, var(--lilac));
    color: var(--ink);
}

.svc p {
    margin: 0;
    color: var(--body);
    font-size: 0.9rem;
}

/* Detailed service blocks (services page) */
.svc-detail {
    padding-block: 30px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 10px 40px;
    align-items: start;
}

.svc-detail:first-of-type {
    border-top: 0;
}

.svc-detail h3 {
    font-size: 1.22rem;
    font-family: var(--display);
    margin: 0;
}

.svc-detail__tag {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--tint, var(--lilac));
    font-size: 0.73rem;
    font-weight: 600;
}

.svc-detail p {
    color: var(--body);
    font-size: 0.95rem;
}

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

.need-list {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--body);
}

.need-list li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.need-list svg {
    flex: none;
    margin-top: 4px;
    color: var(--indigo);
}

@media (max-width: 760px) {
    .svc-detail {
        grid-template-columns: 1fr;
    }
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 28px;
}

.step__num {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 13px;
    border-radius: 50%;
    background: var(--indigo);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.step p {
    margin: 0;
    color: var(--body);
    font-size: 0.92rem;
}

/* ---------- Split (image + text) ---------- */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
    gap: clamp(26px, 4vw, 54px);
    align-items: center;
}

.split__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 10 / 7;
    background: var(--wash-2);
}

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

.tick-list {
    display: grid;
    gap: 11px;
    margin-top: 18px;
    color: var(--body);
    font-size: 0.94rem;
}

.tick-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tick-list svg {
    flex: none;
    margin-top: 4px;
    color: var(--indigo);
}

/* ---------- Plans ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 18px;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.plan--featured {
    border-color: var(--indigo);
    box-shadow: 0 24px 50px -34px rgba(55, 48, 163, 0.7);
}

.plan__name {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.plan__for {
    color: var(--soft);
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.plan ul {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: var(--body);
}

.plan li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.plan svg {
    flex: none;
    margin-top: 4px;
    color: var(--indigo);
}

.plan .btn {
    margin-top: auto;
}

/* ---------- CTA ---------- */
.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(30px, 4vw, 46px);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #fff;
}

.cta h2 {
    margin-bottom: 4px;
}

.cta p {
    margin: 0;
    color: #bdbad6;
    max-width: 46ch;
}

.cta .btn {
    background: #fff;
    color: var(--ink);
}

.cta .btn:hover {
    background: var(--lilac);
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 46px 26px;
    margin-top: clamp(40px, 6vw, 72px);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 56px;
    justify-content: space-between;
}

.site-footer h4 {
    font-size: 0.73rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--soft);
    margin: 0 0 12px;
    font-weight: 700;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    color: var(--body);
    font-size: 0.9rem;
}

.site-footer a:hover {
    color: var(--indigo);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.83rem;
    color: var(--soft);
}

.footer-bottom__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: space-between;
}

.disclaimer {
    margin: 12px 0 0;
    max-width: 78ch;
    font-size: 0.79rem;
    color: var(--soft);
}

/* ---------- Page head ---------- */
/* Note: this class sits on the same element as .container, so it must not set
   its own max-width — the container's auto margins would centre the narrower
   box and knock it out of line with the content below. Constrain children. */
.page-head {
    padding-block: clamp(34px, 5vw, 52px) 0;
}

.page-head h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.7rem);
    max-width: 20ch;
}

.page-head .lead {
    max-width: 56ch;
}

/* ---------- Forms ---------- */
.form-narrow {
    max-width: 620px;
}

.fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 34px;
}

.fieldset > legend {
    padding: 0;
    margin-bottom: 3px;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.fieldset__hint {
    color: var(--body);
    font-size: 0.9rem;
    margin: 0 0 18px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
    gap: 16px;
}

.field {
    margin-bottom: 16px;
}

.field > label,
.question > span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}

.req {
    color: var(--rose-deep);
}

.input {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--line-2);
    border-radius: 11px;
    font-size: 0.95rem;
    transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.input::placeholder {
    color: var(--soft);
}

.input:focus {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 3.5px rgba(55, 48, 163, 0.16);
}

.input[aria-invalid="true"] {
    border-color: var(--rose-deep);
}

textarea.input {
    min-height: 110px;
    resize: vertical;
}

.field__error {
    display: none;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--rose-deep);
    font-weight: 500;
}

.field__error[data-visible="true"] {
    display: block;
}

.field__help {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--soft);
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input {
    padding-right: 46px;
}

.icon-btn {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--soft);
    cursor: pointer;
}

.icon-btn:hover {
    color: var(--ink);
    background: var(--wash);
}

/* Issue-type picker */
.pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr));
    gap: 10px;
}

.pick input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pick span {
    display: block;
    height: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line-2);
    border-radius: 12px;
    font-size: 0.89rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.pick input:checked + span {
    border-color: var(--indigo);
    background: var(--indigo-soft);
    font-weight: 600;
}

.pick input:focus-visible + span {
    outline: 2.5px solid var(--indigo);
    outline-offset: 3px;
}

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.choice input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.choice span {
    display: inline-flex;
    padding: 9px 20px;
    border: 1.5px solid var(--line-2);
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.choice input:checked + span {
    border-color: var(--indigo);
    background: var(--indigo-soft);
    font-weight: 600;
}

.choice input:focus-visible + span {
    outline: 2.5px solid var(--indigo);
    outline-offset: 3px;
}

.question {
    margin-bottom: 18px;
}

/* Checkbox */
.check {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--body);
    cursor: pointer;
}

.check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--indigo);
    cursor: pointer;
}

.check a {
    color: var(--indigo);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Notices */
.note {
    display: none;
    gap: 11px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 13px;
    background: var(--wash);
    font-size: 0.89rem;
    color: var(--body);
}

.note[data-visible="true"] {
    display: flex;
}

.note--info {
    background: var(--sky);
}

.note--warn {
    background: var(--sand);
}

.note--error {
    background: var(--blush);
}

.note--ok {
    background: var(--mint);
}

.note svg {
    flex: none;
    margin-top: 2px;
}

.note strong {
    display: block;
    color: var(--ink);
    margin-bottom: 1px;
}

.note p {
    margin: 0;
}

/* ---------- Auth ---------- */
.auth-wrap {
    display: grid;
    place-items: center;
    padding-block: clamp(40px, 7vw, 84px);
}

.auth-card {
    width: 100%;
    max-width: 410px;
}

.auth-card h1 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.auth-card__sub {
    color: var(--body);
    font-size: 0.93rem;
    margin-bottom: 22px;
}

.auth-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 0.88rem;
    color: var(--body);
}

.auth-foot a {
    color: var(--indigo);
    font-weight: 600;
}

.link-btn {
    background: none;
    border: 0;
    padding: 4px 2px;
    color: var(--body);
    font-size: 0.84rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.link-btn:hover {
    color: var(--indigo);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 700px;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 2px;
    font-weight: 600;
    font-size: 0.97rem;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    flex: none;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--indigo);
    transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item__body {
    padding: 0 2px 18px;
    color: var(--body);
    font-size: 0.93rem;
    max-width: 62ch;
}

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

/* ---------- Prose ---------- */
.prose {
    max-width: 680px;
    color: var(--body);
}

.prose h2 {
    color: var(--ink);
    margin-top: 1.8em;
    font-size: 1.25rem;
}

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

.prose ul {
    list-style: disc;
    padding-left: 1.3em;
    margin-bottom: 1em;
}

.prose li {
    margin-bottom: 0.4em;
}

/* ---------- 404 ---------- */
.error-wrap {
    text-align: center;
    padding-block: clamp(60px, 11vw, 120px);
}

.error-code {
    font-family: var(--display);
    font-size: clamp(4rem, 14vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--indigo);
    margin: 0 0 6px;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
