/* ==========================================================================
   Notebook to Notes — Apple-style design system
   ========================================================================== */

:root {
    --bg: #000000;
    --surface: #1d1d1f;
    --surface-2: #161617;
    --hairline: rgba(255, 255, 255, 0.12);
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #6e6e73;
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --link: #2997ff;
    --onenote: #a259e0;
    --notes: #ffd60a;
    --accent-gradient: linear-gradient(90deg, #a259e0 0%, #e58fd0 45%, #ffd60a 100%);
    --radius-lg: 28px;
    --radius-md: 18px;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mono: "SF Mono", ui-monospace, Menlo, Monaco, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html, body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.47;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    font-family: var(--mono);
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.1em 0.4em;
    border-radius: 6px;
}

small {
    color: var(--text-3);
}

::selection {
    background: rgba(162, 89, 224, 0.4);
}

/* ==========================================================================
   Navigation (frosted glass, Apple global nav)
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: rgba(22, 22, 23, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1120px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
}

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

.logo:hover {
    text-decoration: none;
}

.logo img {
    width: 34px !important;
    height: 34px;
    margin-right: 10px !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-right a {
    color: rgba(245, 245, 247, 0.8);
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s var(--ease);
}

.nav-right a:hover,
.nav-right a[aria-current="page"] {
    color: var(--text);
    text-decoration: none;
}

.nav-right .nav-buy {
    background: var(--blue);
    color: #fff;
    padding: 7px 18px;
    border-radius: 980px;
    font-weight: 500;
}

.nav-right .nav-buy:hover {
    background: var(--blue-hover);
}

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

.btn-primary,
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--blue);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary:hover,
.download-btn:hover {
    background: var(--blue-hover);
    text-decoration: none;
}

.btn-primary:active,
.download-btn:active {
    transform: scale(0.98);
}

.btn-large {
    font-size: 19px;
    padding: 15px 32px;
}

.link-chevron {
    color: var(--link);
    font-size: 19px;
    letter-spacing: -0.02em;
}

.link-chevron::after {
    content: "›";
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.2s var(--ease);
}

.link-chevron:hover::after {
    transform: translateX(3px);
}

/* ==========================================================================
   Shared section typography
   ========================================================================== */

.section {
    padding: 140px 22px;
}

.section-inner {
    max-width: 980px;
    margin: 0 auto;
}

.section-wide {
    max-width: 1120px;
}

.eyebrow {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-2);
    margin-bottom: 12px;
}

.headline {
    font-size: clamp(40px, 6.4vw, 80px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.headline-md {
    font-size: clamp(32px, 4.8vw, 56px);
    line-height: 1.07;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.lead {
    font-size: clamp(19px, 2.2vw, 24px);
    line-height: 1.33;
    font-weight: 500;
    color: var(--text-2);
    letter-spacing: 0.005em;
}

.lead strong {
    color: var(--text);
    font-weight: 600;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.center {
    text-align: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    padding: 164px 22px 100px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 420px at 30% 18%, rgba(162, 89, 224, 0.20), transparent 70%),
        radial-gradient(ellipse 520px 380px at 72% 30%, rgba(255, 214, 10, 0.10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 32px;
}

.cta-note {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-3);
    letter-spacing: -0.01em;
}

.price-tag {
    font-weight: 600;
}

/* ==========================================================================
   Video player
   ========================================================================== */

.demo-container {
    max-width: 1024px;
    margin: 72px auto 0;
}

.video-player {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--hairline),
        0 40px 120px -20px rgba(162, 89, 224, 0.25);
}

.video-player video {
    display: block;
    width: 100%;
    background: #000;
}

.video-controls {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(30, 30, 32, 0.6);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 980px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.video-player.playing:hover .video-controls {
    opacity: 1;
    transform: translateY(0);
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.play-btn,
.volume-btn,
.fullscreen-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease);
}

.play-btn:hover,
.volume-btn:hover,
.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.progress-container {
    flex: 1;
    margin: 0 6px;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    cursor: pointer;
    transition: height 0.2s var(--ease);
}

.progress-bar:hover {
    height: 6px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: opacity 0.4s var(--ease);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-overlay-btn {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.play-overlay-btn:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.28);
}

.play-overlay-btn svg {
    margin-left: 4px;
}

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

.testimonial-section {
    padding: 60px 22px 140px;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--notes);
    font-size: 18px;
    margin-bottom: 28px;
}

.testimonial-quote {
    font-size: clamp(24px, 3.2vw, 36px);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-2);
}

.testimonial-quote strong {
    color: var(--text);
    font-weight: 600;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    text-align: left;
}

.author-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text);
}

.verified-badge {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #30d158;
    border: 2px solid var(--bg);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    font-size: 17px;
    font-weight: 600;
}

.author-title {
    font-size: 14px;
    color: var(--text-3);
}

/* ==========================================================================
   Bento feature tiles
   ========================================================================== */

.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 64px;
}

.tile {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tile-wide {
    grid-column: span 4;
}

.tile-narrow {
    grid-column: span 2;
}

.tile-half {
    grid-column: span 3;
}

.tile-label {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 8px;
}

.tile-title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.tile-body {
    font-size: 17px;
    color: var(--text-2);
    margin-top: 14px;
    max-width: 460px;
}

.tile-body strong {
    color: var(--text);
    font-weight: 600;
}

.tile-big-number {
    font-size: clamp(56px, 6.5vw, 88px);
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.tile-glyph {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-bottom: auto;
    padding-bottom: 40px;
    box-sizing: content-box;
    color: var(--text);
}

.tile-glow-purple {
    background:
        radial-gradient(circle at 85% 10%, rgba(162, 89, 224, 0.35), transparent 55%),
        var(--surface);
}

.tile-glow-yellow {
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 214, 10, 0.22), transparent 55%),
        var(--surface);
}

.tile-glow-green {
    background:
        radial-gradient(circle at 80% 0%, rgba(48, 209, 88, 0.22), transparent 55%),
        var(--surface);
}

/* ==========================================================================
   Comparison (shared with migration guide)
   ========================================================================== */

.comparison-section {
    padding: 140px 22px;
    max-width: 1220px;
    margin: 0 auto;
}

.comparison-title {
    text-align: center;
    margin-bottom: 64px;
}

.comparison-title h2 {
    font-size: clamp(32px, 4.8vw, 56px);
    line-height: 1.07;
    font-weight: 600;
    margin-bottom: 16px;
}

.comparison-title p {
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 500;
    color: var(--text-2);
    max-width: 680px;
    margin: 0 auto;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    gap: 20px;
    align-items: center;
}

.comparison-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px 28px 32px;
}

.comparison-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 18px;
}

.comparison-header .app-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    transform: translateY(-1px);
}

.image-wrapper {
    position: relative;
    display: block;
}

.comparison-container img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--hairline);
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.arrow-text {
    display: none;
}

.zoom-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: rgba(30, 30, 32, 0.7);
    background-image: url('zoom-icon.svg');
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s var(--ease), background-color 0.2s var(--ease);
}

.image-wrapper:hover .zoom-icon,
.zoom-icon:focus-visible {
    opacity: 1;
}

.zoom-icon:hover {
    background-color: rgba(60, 60, 64, 0.85);
}

/* ==========================================================================
   What's preserved — icon grid
   ========================================================================== */

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

.preserved-item {
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 28px;
}

.preserved-item svg {
    width: 30px;
    height: 30px;
    color: var(--onenote);
    margin-bottom: 16px;
}

.preserved-item h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
}

.preserved-item p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.45;
}

.preserved-item small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-3);
}

/* ==========================================================================
   Pricing card
   ========================================================================== */

.pricing-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 36px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(162, 89, 224, 0.25), transparent 50%),
        radial-gradient(circle at 85% 100%, rgba(255, 214, 10, 0.15), transparent 50%);
    pointer-events: none;
}

.pricing-card > * {
    position: relative;
}

.pricing-card img {
    width: 120px;
    margin-bottom: 20px;
}

.pricing-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.1;
}

.pricing-card .price {
    font-size: clamp(56px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 28px 0 8px;
}

.pricing-card .price-caption {
    color: var(--text-2);
    font-size: 17px;
    margin-bottom: 32px;
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-2);
}

.pricing-list li::before {
    content: "✓";
    color: #30d158;
    margin-right: 6px;
    font-weight: 700;
}

/* Legacy product card (used on the migration guide) */
.app-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
}

.app-logo img {
    width: 120px;
    margin-bottom: 16px;
}

.app-logo h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 6px;
}

.app-logo .subtitle {
    font-size: 19px;
    color: var(--text-2);
    margin-bottom: 20px;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list {
    max-width: 820px;
    margin: 56px auto 0;
    border-top: 1px solid var(--hairline);
}

.faq-item {
    border-bottom: 1px solid var(--hairline);
    border-radius: 0;
    transition: background 0.4s var(--ease);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 4px;
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-2);
    transition: transform 0.3s var(--ease);
}

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

.faq-item p {
    padding: 0 48px 28px 4px;
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.55;
}

#internal-link-faq.highlighted {
    background: rgba(162, 89, 224, 0.12);
}

.support-line {
    text-align: center;
    margin-top: 48px;
    font-size: 17px;
    color: var(--text-2);
}

/* Legacy feature items (secondary pages) */
.features {
    padding: 80px 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.feature-item {
    margin-bottom: 40px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-2);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
    padding: 160px 22px;
    text-align: center;
}

.final-cta .headline {
    max-width: 860px;
    margin: 0 auto 20px;
}

.final-cta .lead {
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.footer {
    background: var(--surface-2);
    border-top: 1px solid var(--hairline);
    padding: 40px 22px 28px;
    font-size: 12px;
    color: var(--text-3);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.footer-logo:hover {
    text-decoration: none;
}

.footer-logo img {
    width: 22px !important;
    margin-right: 8px !important;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
}

.footer-links a {
    color: var(--text-2);
    font-size: 12px;
    padding: 0 10px;
    border-right: 1px solid var(--hairline);
}

.footer-links a:last-child {
    border-right: none;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
    color: var(--text-3);
    font-size: 12px;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

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

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

@media (max-width: 1068px) {
    .tile-wide,
    .tile-narrow,
    .tile-half {
        grid-column: span 3;
    }

    .preserved-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 734px) {
    .section,
    .comparison-section {
        padding: 96px 16px;
    }

    .hero {
        padding: 112px 16px 72px;
    }

    .demo-container {
        margin-top: 48px;
    }

    .video-player {
        border-radius: var(--radius-md);
    }

    .video-controls {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .nav {
        padding: 0 16px;
    }

    .header {
        height: 60px;
    }

    .logo {
        font-size: 16px;
    }

    .logo img {
        width: 28px !important;
        height: 28px;
        margin-right: 8px !important;
    }

    .nav-right {
        gap: 16px;
    }

    .nav-right a {
        font-size: 14px;
    }

    .nav-right .nav-buy {
        padding: 5px 14px;
    }

    .nav-right .nav-hide-sm {
        display: none;
    }

    .bento {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tile-wide,
    .tile-narrow,
    .tile-half {
        grid-column: auto;
    }

    .tile {
        min-height: 260px;
        padding: 32px 28px;
        border-radius: 22px;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .comparison-item {
        padding: 20px;
        border-radius: 22px;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .zoom-icon {
        display: none;
    }

    .preserved-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-card {
        padding: 48px 24px;
        border-radius: 28px;
    }

    .testimonial-section {
        padding: 40px 16px 96px;
    }

    .faq-item p {
        padding-right: 4px;
    }

    .final-cta {
        padding: 112px 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links a:first-child {
        padding-left: 0;
    }
}

@media (max-width: 430px) {
    .nav-right .nav-hide-xs {
        display: none;
    }
}

/* ==========================================================================
   Notebook to Notes — extras
   ========================================================================== */

.app-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.maker-line {
    margin-top: 18px;
    font-size: 17px;
    color: var(--text-2);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1024px;
    margin: 56px auto 0;
}

.step-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 32px 28px;
}

.step-card .step-glyph {
    width: 40px;
    height: 40px;
    color: var(--text);
    margin-bottom: 28px;
}

.step-card .step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0;
    margin-bottom: 6px;
}

.step-card h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 17px;
    color: var(--text-2);
}

.faq-item p:not(:last-child) {
    padding-bottom: 12px;
}

.faq-item p strong {
    color: var(--text);
    font-weight: 600;
}

.disclaimer {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-3);
}

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

.maker-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.maker-eyebrow a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
}

.maker-eyebrow img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

/* "No login" é mais largo que "1 click": fonte menor para caber no card estreito */
.tile-big-number-sm {
    font-size: clamp(44px, 4.4vw, 64px);
}

/* ==========================================================================
   Antes e depois (OneNote / Apple Notes)
   ========================================================================== */

.compare {
    padding: 140px 22px 120px;
    max-width: 1180px;
    margin: 0 auto;
}

.compare-switch {
    display: flex;
    width: max-content;
    margin: 0 auto 40px;
    padding: 4px;
    gap: 4px;
    border-radius: 980px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--hairline);
}

.compare-switch button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 0;
    border-radius: 980px;
    background: transparent;
    color: var(--text-2);
    font: 500 15px/1 var(--font);
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.compare-switch button.is-active {
    background: #3a3a3c;
    color: var(--text);
}

.compare-switch .app-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.compare-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: center;
}

.compare-window {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 100px -30px rgba(162, 89, 224, 0.35), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.compare-titlebar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    background: #ececee;
    border-bottom: 1px solid #dcdcde;
}

.compare-titlebar .lights {
    position: absolute;
    left: 14px;
    display: flex;
    gap: 8px;
}

.compare-titlebar .lights i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.compare-titlebar .lights i:nth-child(2) { background: #febc2e; }
.compare-titlebar .lights i:nth-child(3) { background: #28c840; }

.compare-title {
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4d;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* nunca passa por cima do farol: 80px livres de cada lado */
    max-width: calc(100% - 160px);
}

.compare-canvas {
    position: relative;
    aspect-ratio: 1004 / 720;
}

.compare-canvas .shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transition: opacity 0.6s var(--ease);
}

.compare-window[data-view="onenote"] .shot-notes,
.compare-window[data-view="notes"] .shot-onenote {
    opacity: 0;
}

.pin {
    position: absolute;
    left: 2.2%;
    top: var(--y1);
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border-radius: 50%;
    background: var(--onenote);
    color: #fff;
    font: 700 13px/1 var(--font);
    box-shadow: 0 0 0 4px rgba(162, 89, 224, 0.25), 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: top 0.6s var(--ease), background 0.6s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.4s var(--ease);
}

.compare-window[data-view="notes"] .pin {
    top: var(--y2);
    background: #e0a800;
    box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.3), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.compare-window[data-view="onenote"] .pin-notes-only {
    opacity: 0;
}

.pin.is-hot {
    transform: scale(1.3);
}

.compare-list {
    list-style: none;
    counter-reset: k;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.compare-list li {
    position: relative;
    padding-left: 44px;
    cursor: default;
}

.compare-list li::before {
    counter-increment: k;
    content: counter(k);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--hairline);
    color: var(--text);
    font: 600 14px/1 var(--font);
}

.compare-list b {
    display: block;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.compare-list span {
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-2);
}

@media (max-width: 1068px) {
    .compare-stage {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .compare-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 28px;
    }
}

@media (max-width: 734px) {
    .compare {
        padding: 96px 16px 80px;
    }
    .compare-list {
        grid-template-columns: 1fr;
    }
    .pin {
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        font-size: 11px;
    }
    .compare-titlebar {
        height: 32px;
    }
    .compare-titlebar .lights {
        left: 12px;
        gap: 6px;
    }
    .compare-titlebar .lights i {
        width: 10px;
        height: 10px;
    }
    .compare-title {
        font-size: 11px;
        max-width: calc(100% - 120px);
    }
}
