:root {
    --paper: #fbf3e6;
    --paper-deep: #f3e4cf;
    --paper-soft: #fff9ef;
    --ink: #082b49;
    --ink-2: #123b5c;
    --body: #5f625f;
    --muted: #8b867b;
    --line: rgba(8, 43, 73, 0.14);
    --line-strong: rgba(8, 43, 73, 0.24);
    --blue: #0b6eb6;
    --blue-dark: #062b49;
    --cream-shadow: rgba(52, 35, 17, 0.14);
    --green: #2f7d62;
    --orange: #ce8a3d;
    --white: #ffffff;
    --radius: 28px;
    --max: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.8), transparent 34rem),
        linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 36%, var(--paper-deep) 100%);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

body::before {
    opacity: 0.5;
    background-image:
        repeating-radial-gradient(ellipse at 88% -8%, transparent 0 34px, rgba(8, 43, 73, 0.08) 35px 36px),
        repeating-radial-gradient(ellipse at 12% 92%, transparent 0 36px, rgba(8, 43, 73, 0.06) 37px 38px);
}

body::after {
    background-image:
        linear-gradient(rgba(8, 43, 73, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 43, 73, 0.018) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.3;
}

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

a {
    color: inherit;
}

button,
canvas {
    font: inherit;
}

.paper-texture {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.28;
    background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.container {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.navbar {
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(var(--max), calc(100% - 48px));
    padding: 10px 12px 10px 16px;
    border: 1px solid rgba(8, 43, 73, 0.12);
    border-radius: 999px;
    background: rgba(255, 248, 237, 0.86);
    box-shadow: 0 18px 44px rgba(52, 35, 17, 0.08);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    width: max-content;
    text-decoration: none;
}

.logo-img {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(8, 43, 73, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
}

.nav-link {
    border-radius: 999px;
    color: rgba(8, 43, 73, 0.72);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 9px 16px;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--ink);
    color: var(--white);
}

.nav-cta {
    justify-self: end;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.94rem;
    font-weight: 800;
    padding: 12px 18px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(8, 43, 73, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(8, 43, 73, 0.27);
}

.nav-short {
    display: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 132px 0 88px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(36px, 5vw, 82px);
}

.hero-copy h1 {
    max-width: 620px;
    font-size: clamp(3.7rem, 7.6vw, 7.45rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.9;
    color: var(--ink);
}

.hero-copy h1 span {
    display: block;
}

.hero-sub {
    max-width: 560px;
    margin-top: 28px;
    color: var(--body);
    font-size: clamp(1.08rem, 1.45vw, 1.35rem);
    line-height: 1.62;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
    padding: 0 22px;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn.primary {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 16px 34px rgba(8, 43, 73, 0.24);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(8, 43, 73, 0.3);
}

.btn.secondary {
    border: 1px solid rgba(8, 43, 73, 0.2);
    background: rgba(255, 255, 255, 0.45);
    color: var(--ink);
}

.btn.secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.74);
}

.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.proof-row span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(8, 43, 73, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0 14px;
}

.hero-visual {
    position: relative;
    min-height: 540px;
    display: grid;
    place-items: center;
    perspective: 1400px;
}

.device-shadow {
    position: absolute;
    width: 88%;
    height: 38%;
    bottom: 6%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(52, 35, 17, 0.22), transparent 68%);
    filter: blur(18px);
}

.tablet-frame {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    aspect-ratio: 16 / 9;
    padding: clamp(10px, 1.2vw, 16px);
    overflow: hidden;
    border: 6px solid #11100f;
    border-radius: clamp(24px, 3vw, 42px);
    background: #11100f;
    box-shadow:
        0 34px 68px rgba(52, 35, 17, 0.26),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transform: rotateX(3deg) rotateY(-5deg) rotateZ(-1deg);
}

.tablet-frame::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    z-index: 3;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #203546;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
}

.tablet-frame img {
    width: 100%;
    height: 100%;
    border-radius: clamp(18px, 2.2vw, 31px);
    object-fit: cover;
    object-position: center;
    background: var(--paper-soft);
}

.hero .tablet-frame img {
    transform: scale(1.86);
    transform-origin: 77% 34%;
}

.section {
    padding: clamp(76px, 8vw, 132px) 0;
}

.section-header {
    margin-bottom: 44px;
}

.section-header.split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
    align-items: end;
    gap: 42px;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section h2,
.section-header h2 {
    max-width: 820px;
    color: var(--ink);
    font-size: clamp(2.35rem, 4.8vw, 5rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
}

.section-header p,
.study-copy p,
.vault-copy p,
.workspace-copy p,
.leno-copy p,
.download-panel p {
    color: var(--body);
    font-size: 1.08rem;
    line-height: 1.68;
}

.section-header.text-center h2,
.section-header.text-center p {
    margin-right: auto;
    margin-left: auto;
}

.section-header.text-center p {
    max-width: 560px;
    margin-top: 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(8, 43, 73, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 249, 239, 0.64);
    box-shadow: 0 24px 52px rgba(52, 35, 17, 0.09);
    padding: 34px;
}

.feature-card.feature-wide {
    display: grid;
    grid-column: span 2;
    grid-template-columns: minmax(280px, 0.44fr) minmax(0, 0.56fr);
    align-items: center;
    gap: 32px;
    min-height: 520px;
}

.feature-number {
    display: block;
    margin-bottom: 18px;
    color: var(--orange);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.82rem;
    font-weight: 600;
}

.feature-card h3,
.study-copy h2,
.vault-copy h2,
.workspace-copy h2,
.leno-copy h2,
.comparison-card h3,
.download-panel h2 {
    color: var(--ink);
    font-size: clamp(1.75rem, 2.7vw, 3rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
}

.feature-card p {
    max-width: 430px;
    margin-top: 14px;
    color: var(--body);
    font-size: 1rem;
}

.feature-card img,
.feature-media img,
.landscape-shot img {
    width: 100%;
    border: 4px solid #151515;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(52, 35, 17, 0.18);
}

.feature-card > img {
    position: absolute;
    right: -18%;
    bottom: -4%;
    width: 96%;
    transform: rotate(-2deg);
}

.feature-card:nth-child(3) > img {
    right: -24%;
    bottom: 2%;
    transform: rotate(2deg);
}

.feature-copy {
    position: relative;
    z-index: 1;
}

.feature-media {
    position: relative;
    z-index: 1;
}

.study-band,
.workspace-band,
.comparison-section {
    background: rgba(255, 248, 237, 0.45);
}

.study-grid,
.vault-grid,
.workspace-grid,
.leno-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.45fr) minmax(0, 0.55fr);
    align-items: center;
    gap: clamp(32px, 5vw, 78px);
}

.vault-grid {
    grid-template-columns: minmax(0, 0.56fr) minmax(300px, 0.44fr);
}

.check-list,
.comparison-card ul {
    list-style: none;
}

.check-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.check-list li,
.privacy-stack div,
.comparison-card li {
    position: relative;
    color: var(--ink-2);
    font-weight: 750;
}

.check-list li {
    padding-left: 28px;
}

.check-list li::before,
.comparison-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
    transform: translateY(-50%);
}

.landscape-shot {
    border-radius: 38px;
    transform: rotate(1deg);
}

.vault-grid .landscape-shot {
    transform: rotate(-1deg);
}

.privacy-stack {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.privacy-stack div {
    border: 1px solid rgba(8, 43, 73, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.45);
    padding: 18px;
}

.privacy-stack strong,
.privacy-stack span {
    display: block;
}

.privacy-stack span {
    margin-top: 3px;
    color: var(--body);
    font-size: 0.94rem;
    font-weight: 500;
}

.workspace-grid {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.workspace-copy .btn {
    margin-top: 28px;
}

.ink-card {
    overflow: hidden;
    border: 1px solid rgba(8, 43, 73, 0.16);
    border-radius: 30px;
    background: rgba(255, 249, 239, 0.7);
    box-shadow: 0 24px 52px rgba(52, 35, 17, 0.1);
    padding: 18px;
}

.ink-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px 14px;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 850;
}

.canvas-clear-btn {
    min-height: 34px;
    border: 1px solid rgba(8, 43, 73, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    color: var(--ink);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0 13px;
}

.mini-canvas {
    display: block;
    width: 100%;
    height: 280px;
    border: 1px solid rgba(8, 43, 73, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(rgba(8, 43, 73, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 43, 73, 0.035) 1px, transparent 1px),
        rgba(255, 255, 255, 0.5);
    background-size: 26px 26px;
    cursor: crosshair;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.comparison-card {
    min-height: 360px;
    border: 1px solid rgba(8, 43, 73, 0.13);
    border-radius: 30px;
    padding: 34px;
}

.comparison-card.muted {
    background: rgba(255, 249, 239, 0.58);
}

.comparison-card.strong {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 26px 58px rgba(8, 43, 73, 0.23);
}

.comparison-card.strong h3,
.comparison-card.strong li {
    color: var(--white);
}

.comparison-card h3 {
    margin-bottom: 26px;
}

.comparison-card ul {
    display: grid;
    gap: 16px;
}

.comparison-card li {
    padding-left: 28px;
}

.comparison-card.strong li::before {
    background: #9de2c7;
}

.leno-grid {
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
}

.leno-card {
    display: grid;
    place-items: center;
    min-height: 320px;
    border: 1px solid rgba(8, 43, 73, 0.13);
    border-radius: 34px;
    background: radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.8), rgba(255, 249, 239, 0.55));
    box-shadow: 0 22px 48px rgba(52, 35, 17, 0.1);
}

.leno-card img {
    width: min(240px, 78%);
    border-radius: 50%;
    filter: drop-shadow(0 18px 22px rgba(52, 35, 17, 0.14));
}

.faq-container {
    max-width: 920px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(8, 43, 73, 0.12);
    border-radius: 22px;
    background: rgba(255, 249, 239, 0.65);
}

.faq-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.06rem;
    font-weight: 850;
    padding: 22px 24px;
    text-align: left;
}

.faq-chevron {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.faq-chevron::before,
.faq-chevron::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 2px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 180ms ease;
}

.faq-chevron::after {
    transform: rotate(90deg);
}

.faq-item.open .faq-chevron::after {
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--body);
    transition: max-height 240ms ease, padding 240ms ease;
}

.faq-answer p {
    padding: 0 24px 24px;
}

.faq-item.open .faq-answer {
    max-height: 240px;
}

.section-download {
    padding-top: 40px;
}

.download-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(8, 43, 73, 0.13);
    border-radius: 36px;
    background: var(--ink);
    color: var(--white);
    padding: clamp(28px, 5vw, 54px);
    box-shadow: 0 28px 64px rgba(8, 43, 73, 0.23);
}

.download-panel h2,
.download-panel p,
.download-panel .section-label {
    color: var(--white);
}

.download-panel p {
    max-width: 560px;
    margin-top: 12px;
    opacity: 0.78;
}

.download-panel .btn.primary {
    background: var(--white);
    color: var(--ink);
    box-shadow: none;
}

.footer {
    padding: 36px 0 48px;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid rgba(8, 43, 73, 0.12);
    padding-top: 30px;
}

.footer-logo {
    height: 36px;
}

.footer p {
    max-width: 420px;
    margin-top: 10px;
    color: var(--body);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.footer-links a {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
}

.chat-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    overflow: visible;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: transform 180ms ease;
}

.chat-toggle:hover {
    transform: translateY(-3px) scale(1.02);
}

.chat-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 14px 20px rgba(52, 35, 17, 0.2));
}

.chat-box {
    position: absolute;
    right: 0;
    bottom: 94px;
    display: flex;
    visibility: hidden;
    width: min(360px, calc(100vw - 34px));
    max-height: min(560px, calc(100vh - 130px));
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(8, 43, 73, 0.14);
    border-radius: 26px;
    background: var(--paper-soft);
    box-shadow: 0 26px 58px rgba(52, 35, 17, 0.2);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.chat-box.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(8, 43, 73, 0.1);
    background: rgba(255, 255, 255, 0.46);
    padding: 14px;
}

.chat-avatar {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(8, 43, 73, 0.12);
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
}

.chat-title h4 {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.1;
}

.chat-title span {
    color: var(--body);
    font-size: 0.82rem;
}

.close-chat {
    width: 34px;
    height: 34px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 43, 73, 0.08);
    color: var(--ink);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
}

.chat-messages {
    display: flex;
    max-height: 390px;
    overflow-y: auto;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.message {
    max-width: 88%;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.45;
    padding: 12px 14px;
}

.bot-message {
    align-self: flex-start;
    border: 1px solid rgba(8, 43, 73, 0.1);
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
}

.user-message {
    align-self: flex-end;
    background: var(--ink);
    color: var(--white);
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chat-option {
    min-height: 36px;
    border: 1px solid rgba(8, 43, 73, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--ink);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0 12px;
}

.floating-heart {
    position: fixed;
    z-index: 10000;
    color: #cc335c;
    font-size: 1.25rem;
    pointer-events: none;
    animation: floatHeart 1s ease forwards;
}

.animate-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: transform 700ms ease;
}

.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 90ms;
}

.delay-2 {
    transition-delay: 160ms;
}

.delay-3 {
    transition-delay: 230ms;
}

@keyframes floatHeart {
    from {
        opacity: 1;
        transform: translate(-50%, 0) scale(0.6);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -92px) scale(1.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 1100px) {
    .navbar {
        width: min(var(--max), calc(100% - 28px));
    }

    .container {
        width: min(var(--max), calc(100% - 32px));
    }

    .hero-grid,
    .study-grid,
    .vault-grid,
    .workspace-grid,
    .leno-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 128px;
    }

    .hero-visual {
        min-height: auto;
    }

    .section-header.split {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 820px) {
    .navbar {
        grid-template-columns: auto 1fr;
        border-radius: 26px;
    }

    .nav-logo {
        grid-column: 1;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-full {
        display: none;
    }

    .nav-short {
        display: inline;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-copy h1 {
        font-size: clamp(2.55rem, 11vw, 3.45rem);
    }

    .proof-row,
    .cta-group {
        align-items: stretch;
    }

    .cta-group {
        max-width: 330px;
    }

    .btn {
        width: 100%;
    }

    .feature-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.feature-wide {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
        padding: 24px;
    }

    .feature-card > img {
        position: relative;
        right: auto;
        bottom: auto;
        width: 118%;
        max-width: none;
        margin: 28px 0 -36px 5%;
    }

    .download-panel,
    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-panel .btn {
        width: 100%;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .logo-img {
        height: 36px;
    }

    .hero-copy h1,
    .section h2,
    .section-header h2 {
        line-height: 1;
    }

    .tablet-frame {
        border-width: 4px;
        border-radius: 22px;
        transform: none;
    }

    .hero .tablet-frame img {
        transform: scale(1.68);
        transform-origin: 77% 34%;
    }

    .hero-sub,
    .section-header p,
    .study-copy p,
    .vault-copy p,
    .workspace-copy p,
    .leno-copy p,
    .download-panel p {
        font-size: 0.96rem;
    }

    .hero-sub {
        max-width: 330px;
    }

    .chat-widget {
        right: 16px;
        bottom: 16px;
    }

    .chat-toggle {
        width: 68px;
        height: 68px;
    }
}
