/* ==================== Reset ==================== */
*, *:before, *:after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

/* ==================== Fonts ==================== */
:root {
    --font-family: InterVariable, Inter, -apple-system, Arial, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    --font-family-brand: Manrope, var(--font-family);
    --font-feature-settings: "liga" 1, "calt" 1, "ss01" 1, "ss07" 1, "ss08" 1, "cv11" 1;

    /* Type scale */
    --font-size-big-title: 2.887rem;
    --line-height-big-title: 3.5rem;
    --font-size-title1: 2.027rem;
    --line-height-title1: 2.75rem;
    --font-size-title2: 1.602rem;
    --line-height-title2: 2rem;
    --font-size-title3: 1.266rem;
    --line-height-title3: 1.75rem;
    --font-size-headline1: 1.125rem;
    --line-height-headline1: 1.75rem;
    --font-size-headline2: 1rem;
    --line-height-headline2: 1.625rem;
    --font-size-body: 1rem;
    --line-height-body: 1.625rem;
    --font-size-callout: .889rem;
    --line-height-callout: 1.375rem;
    --font-size-footnote: .79rem;
    --line-height-footnote: 1.25rem;

    /* Colors -- adapted from blip.net with Inlined's blue brand */
    --color-brand-rgb: 0, 136, 255;
    --color-brand: rgb(var(--color-brand-rgb));
    --color-text-base-rgb: 0, 0, 0;
    --color-text-primary: rgb(var(--color-text-base-rgb));
    --color-text-secondary: rgba(var(--color-text-base-rgb), .65);
    --color-text-tertiary: rgba(var(--color-text-base-rgb), .45);
    --color-text-quaternary: rgba(var(--color-text-base-rgb), .25);
    --color-brand10: #EDF5FF;
    --color-gray80: rgb(52, 52, 52);
    --color-gray20: rgb(204, 204, 204);
    --color-gray10: rgb(247, 247, 247);
    --color-footer: rgba(0,0,0,.02);
}

@media screen and (min-width: 480px) {
    :root {
        --font-size-big-title: 3.653rem;
        --line-height-big-title: 4rem;
        --font-size-title1: 2.887rem;
        --line-height-title1: 3.25rem;
        --font-size-title2: 2.281rem;
        --line-height-title2: 3rem;
        --font-size-title3: 1.802rem;
        --line-height-title3: 2.5rem;
        --font-size-headline1: 1.266rem;
        --line-height-headline1: 1.875rem;
        --font-size-headline2: 1.125rem;
        --line-height-headline2: 1.75rem;
    }
}

/* ==================== Base ==================== */
* {
    -webkit-font-feature-settings: var(--font-feature-settings);
    font-feature-settings: var(--font-feature-settings);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family), sans-serif;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-text-primary);
    background: var(--color-gray10);
}

::selection {
    background: rgba(var(--color-brand-rgb), .2);
}

a {
    text-decoration: none;
    color: rgba(var(--color-brand-rgb), .65);
    transition: all .2s linear;
}

a:hover {
    color: rgba(var(--color-brand-rgb), .45);
}

/* ==================== Typography Classes ==================== */
.text-big-title {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-big-title);
    font-weight: 800;
    line-height: var(--line-height-big-title);
    letter-spacing: -.03em;
    text-wrap: balance;
}

.text-title1 {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-title1);
    font-weight: 800;
    line-height: var(--line-height-title1);
    letter-spacing: -.02em;
    text-wrap: pretty;
}

.text-headline1 {
    font-size: var(--font-size-headline1);
    font-weight: 400;
    line-height: var(--line-height-headline1);
}

.text-headline2 {
    font-size: var(--font-size-headline2);
    font-weight: 400;
    line-height: var(--line-height-headline2);
}

.text-body {
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: var(--line-height-body);
}

.text-callout {
    font-size: var(--font-size-callout);
    font-weight: 400;
    line-height: var(--line-height-callout);
}

.text-footnote {
    font-size: var(--font-size-footnote);
    font-weight: 400;
    line-height: var(--line-height-footnote);
}

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

/* Italic emphasis underlines (blip.net style) */
.text-big-title em,
.text-title1 em {
    display: inline-block;
    position: relative;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.text-big-title em {
    margin: -4px -10px;
    padding: 4px 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12'%3E%3Cpath d='M2 8 Q25 2 50 8 Q75 14 98 6' stroke='rgb(0,136,255)' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 20px;
    background-position: center 100%;
}

.text-title1 em {
    margin: 0 -6px;
    padding: 0 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 7'%3E%3Cpath d='M2 5 Q25 1 50 5 Q75 9 98 3' stroke='rgb(0,136,255)' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: center calc(100% - 1px);
}

/* ==================== Color Classes ==================== */
.foreground-brand { color: var(--color-brand); }
.foreground-primary { color: var(--color-text-primary); }
.foreground-secondary { color: var(--color-text-secondary); }
.foreground-tertiary { color: var(--color-text-tertiary); }
.foreground-quaternary { color: var(--color-text-quaternary); }

.material-brand-light {
    --color-text-base-rgb: 0, 30, 70;
    --color-text-primary: rgb(var(--color-text-base-rgb));
    --color-text-secondary: rgba(var(--color-text-base-rgb), .6);
    --color-text-tertiary: rgba(var(--color-text-base-rgb), .4);
    --color-text-quaternary: rgba(var(--color-text-base-rgb), .2);
    background-color: var(--color-brand10);
}

.material-gray-light {
    --color-text-base-rgb: 0, 0, 0;
    --color-text-primary: rgb(var(--color-text-base-rgb), .85);
    --color-text-secondary: rgba(var(--color-text-base-rgb), .6);
    --color-text-tertiary: rgba(var(--color-text-base-rgb), .4);
    --color-text-quaternary: rgba(var(--color-text-base-rgb), .2);
    background-color: var(--color-gray10);
}

/* ==================== Layout Wraps ==================== */
.page-wrap {
    max-width: 53rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-wrap {
    max-width: 43rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.title-wrap {
    max-width: 40.5rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.callout-wrap {
    max-width: 28rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==================== Buttons ==================== */
.button-brand {
    color: #fff;
    border: none;
    background-color: rgba(var(--color-brand-rgb), 1);
    cursor: pointer;
}

.button-brand:hover {
    color: #fff;
    background: rgba(var(--color-brand-rgb), .85);
}

.button-brand:active {
    transition-duration: 0s;
    background: rgba(var(--color-brand-rgb), .75);
}

.button-brand {
    display: inline-flex;
    align-items: center;
    padding: calc((2.25rem - var(--line-height-callout)) / 2) 1.25rem;
    font-size: var(--font-size-callout);
    line-height: var(--line-height-callout);
    font-weight: 525;
    text-align: center;
    text-decoration: none;
    outline: none;
    border-radius: 99rem;
    box-shadow: 0 0 0 .1875rem transparent;
    transition: all .1s linear;
}

.button-brand:focus {
    box-shadow: 0 0 0 .1875rem rgba(var(--color-brand-rgb), .4);
}

.button-brand.button-large {
    padding: calc((2.75rem - var(--line-height-body)) / 2) 1.5rem;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    border-radius: 99rem;
}

/* Button label with arrow */
.btn-label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.btn-label::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: -2px;
    background: #fff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / cover no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / cover no-repeat;
    transition: transform .2s linear;
}

.button-brand:hover .btn-label::after {
    transform: translateX(2px);
}

/* ==================== Inputs ==================== */
input, select, textarea {
    padding: calc((2.25rem - var(--line-height-callout)) / 2) 1.125rem;
    font-size: var(--font-size-callout);
    line-height: var(--line-height-callout);
    outline: none;
    border: none;
    border-radius: 99rem;
    background-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 0 3px transparent;
    transition: all .1s linear;
}

input:hover { background-color: rgba(0, 0, 0, 0.05); }
input:focus { background-color: #fff; box-shadow: 0 0 0 3px rgba(var(--color-brand-rgb), .4); }
input::placeholder { color: var(--color-text-tertiary); }
input:focus::placeholder { color: var(--color-text-tertiary); }

/* ==================== Header / Nav ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 4.5rem;
    display: flex;
    align-items: center;
    z-index: 9999;
}

@media screen and (max-height: 720px), (max-width: 640px) {
    .site-header { height: 4rem; }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text-primary);
    height: 30px;
}

.logo:hover { color: var(--color-text-primary); }

.logo-icon {
    height: 30px;
    width: 30px;
    border-radius: 7px;
}

.logo-text {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-body);
    font-weight: 700;
    letter-spacing: -.01em;
}

.nav-links {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    flex-direction: row;
}

.nav-links a {
    color: var(--color-text-secondary);
    transition: color .15s linear;
    padding: .6rem;
    font-size: var(--font-size-callout);
    line-height: var(--line-height-callout);
}

.nav-links a:hover {
    color: var(--color-text-primary);
}

/* ==================== Main Content ==================== */
main {
    position: relative;
    padding-top: 3.25rem;
    background: #fff;
}

main::before {
    content: "";
    display: block;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: -9999;
}

/* ==================== Sections ==================== */
.section-block {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 6rem 0;
}

.padded-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lockup {
    text-align: center;
}

.lockup h1 {
    text-wrap: balance;
}

.headline {
    margin-top: 1rem;
    text-wrap: balance;
}

.cta-area {
    margin-top: 2rem;
}

.cta-footnote {
    margin-top: 1rem;
    text-wrap: balance;
    text-align: center;
}

/* ==================== Cards ==================== */
.card {
    border-radius: 1rem;
    overflow: hidden;
}

/* ==================== Hero ==================== */
.hero-section {
    margin-top: 6rem;
}

.hero-form .input-group {
    display: flex;
    gap: .5rem;
}

.hero-form input[type="email"] {
    min-width: 100px;
    width: 100%;
    flex-grow: 1;
}

/* Hero Demo */
.hero-demo {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.demo-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.demo-chrome {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: var(--color-gray10);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #FF5F57; }
.demo-dots span:nth-child(2) { background: #FEBC2E; }
.demo-dots span:nth-child(3) { background: #28C840; }

.demo-body {
    padding: 2.5rem 2.5rem;
    min-height: 10rem;
}

.demo-line {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.7;
}

.typed-text {
    display: inline;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--color-brand);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    margin-left: 1px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.demo-suggestion {
    display: inline;
    font-weight: 400;
    color: var(--color-text-tertiary);
}

@media screen and (max-width: 640px) {
    .demo-line { font-size: 1.125rem; }
    .demo-body { padding: 1.5rem; }
}

/* ==================== App Grid (Works Everywhere) ==================== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
}

.app-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    padding: 2rem 1rem;
    background: var(--color-gray10);
    transition: background .15s, opacity .3s ease, transform .3s ease;
}

.app-cell:hover {
    background: #f0f0f0;
}

.app-logo {
    width: 40px;
    height: 40px;
}

.app-grid-more {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--color-gray10);
}

@media screen and (max-width: 768px) {
    .app-grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 480px) {
    .app-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== Privacy Visual ==================== */
.privacy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 3rem 2rem;
}

.privacy-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.privacy-icon {
    color: var(--color-text-tertiary);
    margin-bottom: .25rem;
}

.privacy-connector {
    color: var(--color-text-quaternary);
    flex-shrink: 0;
}

@media screen and (max-width: 640px) {
    .privacy-visual {
        flex-direction: column;
        gap: 1rem;
    }
    .privacy-connector { transform: rotate(90deg); }
    .privacy-step { max-width: none; }
}

/* ==================== Style Visual (Learns Your Style) ==================== */
.style-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
}

.style-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    padding: 2.5rem 1.5rem;
    background: var(--color-gray10);
    text-align: center;
}

@media screen and (max-width: 640px) {
    .style-visual { grid-template-columns: 1fr; }
}

/* ==================== Feature Grid (Also Included) ==================== */
.feature-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 1fr);
    justify-content: center;
    gap: 1.5rem;
}

@media screen and (min-width: 760px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 1fr);
        grid-auto-flow: column;
        gap: 2.5rem;
    }
}

.feature-item {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.feature-icon svg {
    color: currentColor;
    stroke: currentColor;
}

.feature-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    gap: .125rem;
}

/* ==================== FAQ ==================== */
.faq-list {
    max-width: 40rem;
    margin: 0 auto;
}

.question {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.question input[type="checkbox"] {
    display: none;
}

.question label {
    position: relative;
    display: block;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    -webkit-user-select: none;
    transition: color .2s linear;
}

.question label:hover {
    color: var(--color-text-primary);
}

.question label::after {
    content: "";
    position: absolute;
    top: 4px;
    right: -32px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / cover no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / cover no-repeat;
    transform: rotate(0);
    transform-origin: center;
    transition: transform .2s ease-in-out, background-color .2s linear;
}

.question label:hover::after {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateX(2px);
}

.question input:checked + label::after {
    transform: rotate(45deg);
}

.answer {
    overflow: hidden;
    transition: max-height .2s ease-in-out, opacity .2s linear;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-top: .75rem;
}

.question input:not(:checked) + label + .answer {
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
}

.question input:checked + label + .answer {
    opacity: 1;
}

/* ==================== Changelog ==================== */
.changelog-list {
    max-width: 40rem;
    margin: 0 auto;
}

.changelog-entry {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.changelog-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.changelog-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}

.changelog-version {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-footnote);
    font-weight: 700;
    color: var(--color-brand);
    background: var(--color-brand10);
    padding: .125rem .5rem;
    border-radius: .25rem;
}

.changelog-date {
    font-size: var(--font-size-footnote);
}

.changelog-entry h2 {
    margin-bottom: .75rem;
}

.changelog-changes {
    padding-left: 1.25rem;
    margin: 0;
}

.changelog-changes li {
    font-size: var(--font-size-callout);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: .25rem;
}

/* ==================== Footer (site) ==================== */
.site-footer {
    padding: 1rem 0;
    background: var(--color-footer);
}

.footer-directory {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: var(--color-text-quaternary);
    line-height: 1.75rem;
    text-align: center;
    margin-bottom: 0;
}

@media screen and (min-width: 560px) {
    .footer-directory {
        flex-direction: row;
        gap: 1.5rem;
        text-align: left;
    }
}

.footer-group {
    flex-basis: 100%;
    flex-shrink: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.footer-group h5 {
    font-size: inherit;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: .25rem;
}

.footer-group a {
    color: var(--color-text-tertiary);
    font-size: var(--font-size-callout);
    line-height: 1.75rem;
}

.footer-group a:hover {
    color: var(--color-text-primary);
}

.footer-misc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

.footer-legal-links a {
    color: var(--color-text-quaternary);
}

.footer-legal-links a:hover {
    color: var(--color-text-primary);
}

@media screen and (min-width: 560px) {
    .footer-misc {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ==================== Footer Footnotes ==================== */
.footer-footnotes {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-footnotes p {
    font-size: var(--font-size-footnote);
    line-height: 1.5rem;
    color: var(--color-text-tertiary);
    margin-bottom: 0;
}

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

/* ==================== Citations ==================== */
sup:has(a[href^="#fn-"]) {
    font-size: 0;
    vertical-align: super;
    line-height: 0;
}

sup a[href^="#fn-"] {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    color: var(--color-text-primary);
    text-decoration: underline;
    text-underline-offset: 1px;
    vertical-align: super;
}

/* ==================== Subpage Header Offset ==================== */
.page-header-offset {
    margin-top: 6rem;
}

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

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

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .25rem;
    margin-bottom: 3rem;
}

.toggle-option {
    border: none;
    background: none;
    font: inherit;
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-headline1);
    font-weight: 600;
    color: var(--color-text-quaternary);
    cursor: pointer;
    padding: .375rem .75rem;
    border-radius: .5rem;
    transition: all .2s;
}

.toggle-option:hover {
    color: var(--color-text-tertiary);
}

.toggle-option.active {
    color: var(--color-brand);
    background: var(--color-brand10);
}

.toggle-separator {
    color: var(--color-text-quaternary);
    font-size: var(--font-size-headline1);
    user-select: none;
}

.toggle-save {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-footnote);
    font-weight: 700;
    color: var(--color-brand);
    margin-left: .5rem;
}

.pricing-cards {
    padding: 0 1.5rem 8rem;
}

.pricing-grid-three {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .pricing-grid-three { grid-template-columns: 1fr; max-width: 28rem; }
}

.pricing-card-blip {
    background: var(--color-brand10);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    row-gap: 0;
}

.pricing-card-popular {
    background: var(--color-brand);
    color: white;
}

.pricing-card-popular .plan-desc,
.pricing-card-popular .price-period,
.pricing-card-popular .price-note {
    color: rgba(255,255,255,.7);
}

.pricing-card-popular .price-large {
    color: white;
}

.pricing-card-popular .price-original {
    color: rgba(255,255,255,.5);
}

.pricing-card-popular .btn-pricing {
    background: white;
    color: var(--color-brand);
}

.pricing-card-popular .btn-pricing:hover {
    background: rgba(255,255,255,.9);
    color: var(--color-brand);
}

.pricing-card-popular .feature-list-simple li {
    color: rgba(255,255,255,.85);
    border-bottom-color: rgba(255,255,255,.12);
}

.plan-badge {
    display: inline-block;
    font-size: var(--font-size-footnote);
    font-weight: 700;
    padding: .15rem .6rem;
    border-radius: 99rem;
    background: rgba(255,255,255,.2);
    color: white;
    margin-left: .5rem;
    vertical-align: middle;
}

.pricing-card-blip h2 {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-title3);
    font-weight: 700;
    margin-bottom: .75rem;
}

.plan-desc {
    font-size: var(--font-size-callout);
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.price-large {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-title1);
    font-weight: 800;
    color: var(--color-brand);
    letter-spacing: -.02em;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: .125rem;
}

.price-original {
    font-size: var(--font-size-headline1);
    font-weight: 600;
    color: var(--color-text-tertiary);
    text-decoration: line-through;
    margin-right: .375rem;
}

.price-period {
    font-size: var(--font-size-headline1);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.price-note {
    font-size: var(--font-size-footnote);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    min-height: var(--line-height-footnote);
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: calc((2.75rem - var(--line-height-body)) / 2) 1.5rem;
    background: var(--color-brand);
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font: inherit;
    border-radius: 99rem;
    font-weight: 600;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    transition: all .15s;
    margin-bottom: 2rem;
    align-self: end;
}

.btn-pricing:hover {
    background: rgba(var(--color-brand-rgb), .85);
    color: white;
}

.feature-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-simple li {
    padding: .625rem 0;
    font-size: var(--font-size-callout);
    color: var(--color-text-secondary);
    border-bottom: 1px solid rgba(var(--color-brand-rgb), .08);
}

.feature-list-simple li:last-child { border-bottom: none; }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--color-brand-rgb), .1);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-brand);
}

.feature-list div {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.feature-list strong {
    font-size: var(--font-size-callout);
    font-weight: 600;
    color: var(--color-text-primary);
}

.feature-list span {
    font-size: var(--font-size-footnote);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ==================== Features List (subpage) ==================== */
.features-list {
    padding: 0 1.5rem 6rem;
}

.features-container {
    max-width: 53rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

@media (max-width: 768px) {
    .features-container { grid-template-columns: 1fr; gap: 3rem; }
}

.feature-detail h2 {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-title3);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-detail p {
    font-size: var(--font-size-headline1);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ==================== Scroll Offset Fix ==================== */
#compare {
    scroll-margin-top: 5rem;
}

/* ==================== Comparison Table ==================== */
.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-callout);
    line-height: var(--line-height-callout);
}

.comparison-table th,
.comparison-table td {
    padding: .875rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.comparison-table thead th {
    font-weight: 600;
    color: var(--color-text-secondary);
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.comparison-table .col-highlight {
    color: var(--color-brand);
    font-weight: 700;
}

.comparison-table td.yes::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--color-text-tertiary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / cover no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / cover no-repeat;
}

.comparison-table td.yes.highlight::after {
    background: var(--color-brand);
}

.comparison-table td.no::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--color-text-quaternary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / cover no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / cover no-repeat;
}

/* ==================== Legal Content ==================== */
.legal-content p {
    font-size: var(--font-size-callout);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.legal-content h2 {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-headline1);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: .75rem;
}

.legal-content h3 {
    font-family: var(--font-family-brand), sans-serif;
    font-size: var(--font-size-headline2);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content li {
    font-size: var(--font-size-callout);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: .375rem;
}

.legal-content a {
    color: var(--color-brand);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ==================== Scroll Animations ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered feature items */
.animate-on-scroll .feature-item {
    opacity: 0;
}

.animate-on-scroll.is-visible .feature-item {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-on-scroll.is-visible .feature-item:nth-child(1) { animation-delay: 0s; }
.animate-on-scroll.is-visible .feature-item:nth-child(2) { animation-delay: 0.06s; }
.animate-on-scroll.is-visible .feature-item:nth-child(3) { animation-delay: 0.12s; }
.animate-on-scroll.is-visible .feature-item:nth-child(4) { animation-delay: 0.18s; }
.animate-on-scroll.is-visible .feature-item:nth-child(5) { animation-delay: 0.24s; }
.animate-on-scroll.is-visible .feature-item:nth-child(6) { animation-delay: 0.30s; }
.animate-on-scroll.is-visible .feature-item:nth-child(7) { animation-delay: 0.36s; }
.animate-on-scroll.is-visible .feature-item:nth-child(8) { animation-delay: 0.42s; }

/* Staggered privacy steps */
.animate-on-scroll .privacy-step,
.animate-on-scroll .privacy-connector {
    opacity: 0;
}

.animate-on-scroll.is-visible .privacy-step,
.animate-on-scroll.is-visible .privacy-connector {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-on-scroll.is-visible .privacy-step:nth-child(1) { animation-delay: 0s; }
.animate-on-scroll.is-visible .privacy-connector:nth-child(2) { animation-delay: 0.1s; }
.animate-on-scroll.is-visible .privacy-step:nth-child(3) { animation-delay: 0.2s; }
.animate-on-scroll.is-visible .privacy-connector:nth-child(4) { animation-delay: 0.3s; }
.animate-on-scroll.is-visible .privacy-step:nth-child(5) { animation-delay: 0.4s; }

/* Staggered style steps */
.animate-on-scroll .style-step {
    opacity: 0;
}

.animate-on-scroll.is-visible .style-step {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-on-scroll.is-visible .style-step:nth-child(1) { animation-delay: 0s; }
.animate-on-scroll.is-visible .style-step:nth-child(2) { animation-delay: 0.12s; }
.animate-on-scroll.is-visible .style-step:nth-child(3) { animation-delay: 0.24s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-on-scroll .feature-item,
    .animate-on-scroll .privacy-step,
    .animate-on-scroll .privacy-connector,
    .animate-on-scroll .style-step {
        opacity: 1;
        animation: none;
    }
}

/* ==================== Responsive ==================== */
@media (max-width: 480px) {
    .hero-form .input-group {
        flex-direction: column;
    }

    .hero-form input[type="email"] {
        width: 100%;
    }
}
