@font-face {
  font-family: Outfit;
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* Shared visual language with kevinchromik.de. */
:root {
  --ink: #171719;
  --muted: #6b6b72;
  --paper: #f7f7f8;
  --white: #fff;
  --line: #e4e4e7;
  --radius: 28px;
  --shell: 1140px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Outfit, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-synthesis: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 550; line-height: 1.1; }
summary { font: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 5px; }
::selection { background: #d6d6dc; color: var(--ink); }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: white; z-index: 100; }

.site-header { position: sticky; top: 18px; z-index: 30; margin: 18px auto 0; width: min(1180px, calc(100% - 40px)); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 10px 16px 10px 26px; border-radius: 22px; border: 1px solid rgb(255 255 255 / 85%); background: rgb(252 252 253 / 83%); box-shadow: 0 3px 6px rgb(0 0 0 / 2%), 0 12px 40px rgb(0 0 0 / 4%), inset 0 0 0 1px rgb(0 0 0 / 2%); backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%); }
.wordmark { font-size: 21px; letter-spacing: -.055em; font-weight: 600; white-space: nowrap; }
.app-wordmark { display: inline-flex; align-items: center; gap: 10px; }
.app-wordmark img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 30px; align-items: center; margin-inline: auto; }
.nav-links a { font-size: 14px; color: #626268; padding: 10px 0; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-download { display: inline-flex; align-items: center; gap: 20px; background: var(--ink); color: white; padding: 10px 18px; border-radius: 13px; font-size: 14px; transition: background .2s, transform .2s; }
.nav-download:hover { background: #343438; transform: translateY(-1px); }
.mobile-menu { display: none; }

.intro { padding: 66px 0 46px; text-align: center; }
.intro-kicker { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.intro h1 { font-size: clamp(3rem, 6.5vw, 5.5rem); line-height: 1.01; letter-spacing: -.06em; }
.intro h1 span { color: #89898e; }
.intro-description { color: #707077; font-size: 18px; line-height: 1.55; margin-top: 22px; }
.intro-actions { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 28px; }
.app-store-link { display: inline-block; flex-shrink: 0; border-radius: 10px; transition: transform .2s, box-shadow .2s; }
.app-store-link img { width: 162px; height: auto; }
.app-store-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px #00000013; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 450; padding-block: 12px; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateY(3px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-size: 14px; font-weight: 500; padding: 13px 22px; border: 1px solid transparent; border-radius: 13px; min-height: 48px; transition: transform .2s, box-shadow .2s; }
.button-light { background: white; color: var(--ink); }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px #00000013; }
.eyebrow { display: block; font-size: 13px; font-weight: 450; letter-spacing: .035em; color: var(--muted); }

.feature-card { display: grid; grid-template-columns: 46% 54%; min-height: 540px; background: #141416; color: white; border-radius: var(--radius); overflow: hidden; position: relative; isolation: isolate; }
.feature-copy { padding: 48px 0 48px 46px; position: relative; z-index: 1; align-self: center; }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 28px; }
.feature-copy h2 { font-size: clamp(2.8rem, 4.5vw, 3.6rem); letter-spacing: -.05em; line-height: 1.02; }
.feature-copy p { max-width: 325px; font-size: 16px; color: #b8b8c0; margin: 22px 0 27px; line-height: 1.6; }
.feature-visual { position: relative; min-width: 0; overflow: hidden; }
.feature-visual::before { content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: -15px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, #ffffff1c, transparent 65%); pointer-events: none; }
.habits-preview { position: absolute; top: 42px; left: 50%; width: 370px; max-width: 78%; border-radius: 40px; overflow: hidden; box-shadow: 0 25px 70px #00000055; transform: translateX(-50%) perspective(1400px) rotateY(-9deg) rotateZ(5deg); transition: transform .65s cubic-bezier(.2,.7,.2,1); }
/* Crop the existing store artwork to the app; keep the original images in color. */
.habits-preview img { width: 109.5%; max-width: none; margin-left: -4.75%; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.detail-card { min-width: 0; overflow: hidden; border: 1px solid #ebebee; border-radius: var(--radius); background: var(--white); }
.detail-copy { position: relative; z-index: 1; padding: 35px 36px 0; }
.detail-copy h2 { font-size: 35px; letter-spacing: -.045em; margin: 17px 0; }
.detail-copy p { font-size: 16px; color: var(--muted); }
.detail-visual { position: relative; height: 400px; margin-top: 32px; overflow: hidden; }
.screen-window { width: 360px; max-width: 80%; margin-inline: auto; border-radius: 40px 40px 0 0; overflow: hidden; box-shadow: 0 14px 45px #00000014; transform: translateY(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.screen-window img { width: 109.5%; max-width: none; margin-left: -4.75%; margin-top: -46%; }
.progress-card { background: #ececee; border-color: #e7e7ea; }

.privacy-note { display: flex; justify-content: center; align-items: center; gap: 19px; padding-block: 54px; }
.privacy-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 17px; flex-shrink: 0; color: #66666d; }
.privacy-note h2 { font-size: 19px; letter-spacing: -.025em; line-height: 1.4; }
.privacy-note p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.download-section { margin-bottom: 76px; }
.download-card { display: flex; align-items: center; gap: 30px; background: var(--white); border: 1px solid #ebebee; border-radius: var(--radius); padding: 43px 46px; }
.download-icon { width: 88px; height: 88px; border-radius: 22px; flex-shrink: 0; }
.download-copy h2 { font-size: 35px; letter-spacing: -.045em; }
.download-copy p { color: var(--muted); margin-top: 13px; font-size: 16px; }
.download-card .app-store-link { margin-left: auto; }

.site-footer { border-top: 1px solid var(--line); padding-top: 30px; padding-bottom: 25px; }
.footer-top { display: flex; gap: 30px; justify-content: space-between; align-items: center; padding-bottom: 28px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px 20px; color: #66666d; font-size: 13px; }
.footer-social a { white-space: nowrap; }
.footer-contact { font-size: 13px; }
.footer-contact span { margin-left: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: #73737a; font-size: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom > div { display: flex; gap: 22px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.will-reveal { opacity: 0; transform: translateY(19px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.25,1); }
.will-reveal.is-visible, .will-reveal:focus-within { opacity: 1; transform: none; }
.detail-grid .reveal:nth-child(2) { transition-delay: .07s; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature-card:hover .habits-preview { transform: translateX(-50%) perspective(1400px) rotateY(-5deg) rotateZ(3deg) translateY(-5px); }
  .detail-card:hover .screen-window { transform: translateY(-6px); }
}

@media (max-width: 1000px) {
  .feature-card { grid-template-columns: 48% 52%; min-height: 520px; }
  .feature-copy { padding-left: 36px; }
  .feature-copy h2 { font-size: 45px; }
  .feature-copy p { max-width: 280px; padding-right: 12px; }
  .habits-preview { max-width: 85%; top: 55px; }
  .detail-copy { padding-inline: 30px; }
  .detail-copy h2 { font-size: 32px; }
  .detail-copy .desktop-break { display: none; }
  .detail-visual { height: 345px; }
  .screen-window { max-width: 84%; border-radius: 32px 32px 0 0; }
  .download-card { gap: 24px; padding-inline: 36px; }
  .download-copy h2 { font-size: 31px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 96px; }
  .shell { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 24px); top: 12px; margin-top: 12px; }
  .nav { min-height: 60px; padding: 8px 19px; border-radius: 18px; }
  .nav-links, .nav-download { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { font-size: 14px; list-style: none; cursor: pointer; padding: 10px 0 10px 10px; display: flex; gap: 12px; align-items: center; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon { position: relative; width: 16px; height: 12px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-icon::before { top: 3px; }
  .menu-icon::after { top: 9px; }
  .mobile-menu[open] .menu-icon::before { transform: translateY(3px) rotate(45deg); }
  .mobile-menu[open] .menu-icon::after { transform: translateY(-3px) rotate(-45deg); }
  .mobile-menu-panel { position: absolute; left: 0; right: 0; top: calc(100% + 9px); border: 1px solid var(--line); border-radius: 18px; background: #fbfbfc; padding: 12px; box-shadow: 0 15px 35px #00000010; }
  .mobile-menu-panel a { display: block; padding: 13px 16px; border-radius: 10px; }
  .mobile-menu-panel a:hover { background: #eeeef0; }
  .intro { padding: 48px 0 36px; }
  .intro-kicker { font-size: 12px; margin-bottom: 20px; }
  .intro h1 { font-size: clamp(2.05rem, 8.8vw, 4.15rem); }
  .intro-description { font-size: 16px; margin: 21px auto 0; max-width: 370px; }
  .intro-actions { gap: 21px; margin-top: 25px; }
  .intro .desktop-break { display: none; }
  .app-store-link img { width: 152px; }
  .feature-card { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .feature-copy { padding: 32px 30px 0; }
  .feature-icon { width: 48px; height: 48px; margin-bottom: 24px; border-radius: 12px; }
  .feature-copy h2 { font-size: 44px; }
  .feature-copy p { margin-block: 19px 23px; padding-right: 0; max-width: 340px; }
  .feature-visual { height: 410px; margin-top: 22px; }
  .habits-preview { top: 23px; width: 300px; max-width: 78%; border-radius: 32px; transform: translateX(-50%) perspective(1400px) rotateY(-5deg) rotateZ(4deg); }
  .detail-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .detail-copy { padding: 31px 29px 0; }
  .detail-copy h2 { font-size: 34px; }
  .detail-copy p { max-width: 340px; }
  .detail-visual { height: 350px; margin-top: 27px; }
  .screen-window { width: 320px; max-width: 80%; }
  .privacy-note { gap: 16px; padding-block: 36px; justify-content: flex-start; }
  .privacy-icon { width: 48px; height: 48px; border-radius: 14px; }
  .privacy-note h2 { font-size: 17px; max-width: 230px; }
  .privacy-note p { font-size: 13px; max-width: 240px; }
  .download-section { margin-bottom: 48px; }
  .download-card { padding: 31px 29px; gap: 23px; flex-wrap: wrap; }
  .download-icon { width: 65px; height: 65px; border-radius: 17px; }
  .download-copy h2 { font-size: 30px; }
  .download-copy p { font-size: 15px; margin-top: 12px; }
  .download-card .app-store-link { margin: 2px 0 0 88px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-social { gap: 12px 22px; }
  .footer-bottom { flex-wrap: wrap; row-gap: 14px; }
}

@media (min-width: 500px) and (max-width: 760px) {
  .feature-visual { height: 450px; }
  .habits-preview { width: 340px; }
  .detail-visual { height: 400px; }
  .screen-window { width: 360px; }
  .privacy-note { justify-content: center; }
  .privacy-note h2, .privacy-note p { max-width: none; }
  .download-card .app-store-link { margin-left: auto; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 28px); }
  .intro-description { font-size: 15px; }
  .intro-actions { gap: 17px; }
  .text-link { font-size: 13px; gap: 10px; }
  .feature-copy { padding-inline: 25px; }
  .feature-copy h2 { font-size: 40px; }
  .feature-visual { height: 360px; }
  .detail-copy { padding-inline: 25px; }
  .detail-copy h2 { font-size: 31px; }
  .detail-visual { height: 310px; }
  .screen-window { border-radius: 28px 28px 0 0; }
  .download-card { display: grid; grid-template-columns: 1fr; gap: 23px; padding: 29px 25px; }
  .download-card .app-store-link { margin: 0; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .will-reveal { opacity: 1; transform: none; }
  .app-store-link:hover, .button:hover, .nav-download:hover, .text-link:hover span { transform: none; }
}

@media print {
  .site-header, .intro-actions, .button, .app-store-link, .footer-social, .footer-contact { display: none; }
  .shell { width: 100%; }
  .will-reveal { opacity: 1; transform: none; }
  .feature-card, .detail-card, .download-card { break-inside: avoid; }
}
