/* ==========================================================================
   Harry Styles
   ========================================================================== */

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

:root {
  --background: #202124;
  --textColor: #fff;
  --lighterVariant: #8f9091;
  --callout: url("../images/animated-callout-dark.gif");
  --macOS-wallpaper: url("../images/tahoe-wallpaper-dark.jpg");

  --shadow-color: 224deg 85% 18%;
  --shadow-elevation-medium:
  	0.5px 0.6px 0.9px hsl(var(--shadow-color) / 0.48),
  	2.6px 3.3px 4.7px -1.2px hsl(var(--shadow-color) / 0.48),
  	10px 12.9px 18.4px -2.5px hsl(var(--shadow-color) / 0.48);
  --text-shadow-elevation-medium:
  	0.3px 0.3px 0.5px hsl(var(--shadow-color) / 0.37),
	1.3px 1.3px 2.2px hsl(var(--shadow-color) / 0.44),
	  3.1px 3.2px 5.4px hsl(var(--shadow-color) / 0.51),
	  7.2px 7.5px 12.7px hsl(var(--shadow-color) / 0.57);
}

@media (prefers-color-scheme: light) {
	:root {
		--background: #eae9ea;
		--textColor: #202124;
		--callout: url("../images/animated-callout-light.gif");
		--macOS-wallpaper: url("../images/tahoe-wallpaper-light.jpg");
  	  }
}

@media (max-width: 640px) {
	:root {
		--callout: url("../images/animated-callout-dark.gif");
	}
}



body {
   font-family: ui-rounded, -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
   font-size: 22px;
   color: var(--textColor);
   background: var(--background);
}

h1 {
	font-size: 104px;
	font-weight: 900;
	line-height: 0.9;
	text-shadow: var(--text-shadow-elevation-medium);
	margin: 0;
	z-index: 2;
}

h2 {
	font-size: 64px;
	font-weight: 800;
	margin: 0;
}

@media (max-width: 400px) {
	h2 {
		font-size: 52px;
	}
}

h3 {
	font-size: 21px;
	line-height: 1.19048;
	font-weight: 600;
	letter-spacing: .011em;
	margin: 56px 0 16px 0;
}

h4 {
	font-size: 19px;
	font-weight: 500;
	margin: 8px auto;
}

p {
	font-size: 19px;
	line-height: 1.4211;
	font-weight: 400;
	margin: 0;
}

a {
	color: inherit;
	text-decoration-color: #777;
}

ul {
	padding: 0 0 0 30px;
}

li {
	margin: 8px 0;
}

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

.button {
	display: block;
	padding: 8px 16px;
	background-image: linear-gradient(#1cde00, #129100 50%);
	background-size: auto 200%;
	background-position: 0 0%;
	border: 1px solid #129100;
	border-radius: 8px;
	color: white;
	font-size: 24px;
	font-weight: 500;
	text-decoration: none;
	margin: 24px 16px 8px 16px;
	transition: background-position .3s;
}

.button:hover,
.button:focus {
	background-position: 0 100%;
}

.app-store-button {
	content: "";
	display: block;
	width: 200px;
	height: 80px;
	background-image: url("../images/app-store-badge.svg");
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.disclaimer {
	font-size: 12px;
	font-weight: 300;
	opacity: .8;
}

.content-rapper {
	display: flex;
	flex-direction: column;
	padding: 16px;
	max-width: 664px;
	margin: auto;
}

.mac-demo {
	background-image: var(--macOS-wallpaper);
	background-size: cover;
}

.menu-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0 12px;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 17px;
	letter-spacing: -0.35px;
	z-index: 9;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
}

.menu-bar ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
}

.menu-bar li {
	padding: 0px 3px;
}

.menu-bar li.icon {
	position: relative;
	height: 24px;
}

.menu-bar li.menu-item-submenu {
	font-weight: 500;
	padding-left: 12px;
}

.menu-bar li.menu-item-submenu a {
	text-decoration: none;
}

@media (max-width: 354px) {
	.apple-logo {
		display: none;
	}
}

#animated-callout {
	position: absolute;
	top: 28px;
	left: -164px;
	width: 358px;
	height: 258px;
	background-image: var(--callout);
	background-size: 358px 258px;
	background-position: center;
	opacity: 0.9;
	transition: opacity 0.3s ease-out;
}

#clock {
	font-weight: 500;
}

@media (max-width: 320px) {
	.menu-bar {
		display: none;
	}
}

.camera-viewfinder {
	position: absolute;
	left: -216px;
	top: 40px;
	width: 426px;
	height: 240px;
	background: black;
	border-radius: 10px;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
	transform-origin: 235px 0px;
	transform: scale(0);
	transition: transform .3s ease-in-out;
	z-index: 2;
}

@media (max-width: 440px) {
	.camera-viewfinder {
		position: fixed;
		left: 2.5vw;
		top: 38px;
		width: 95vw;
		height: 95vw;
		transform-origin: top center;
	}
}

#little-nubbin {
	content: '';
	position: absolute;
	top: 30px;
	left: 4px;
	height: 11.5px;
	width: 27px;
	background-image: url("../images/popover-nub-light.png");
	background-size: 100% 100%;
	opacity: 0;
	transition: opacity .3s ease-in-out;
}

@media (prefers-color-scheme: dark) {
	.camera-viewfinder:before {
		background-image: url("../images/popover-nub-dark.png");
	}
}

.camera-viewfinder video {
	position: relative;
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 10px;
	transform: scale(-1, 1);
	z-index: 1;
}

.camera-viewfinder select {
	visibility: hidden;
	position: absolute;
	top: 7px;
	right: 7px;
	z-index: 2;
}

.camera-viewfinder:hover select {
	visibility: visible;
}

#dismissClickTarget {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1;
}

.superhero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #f8f8f8;
	padding-bottom: 64px;
}

.superhero img {
	position: relative;
	width: 90%;
	max-width: 324px;
	bottom: -64px;
	z-index: 1;
}

.superhero p {
	font-size: 20px;
	margin-top: 12px;
	text-shadow: var(--text-shadow-elevation-medium);
}

.cant-believe-im-using-a-paper-texture {
	background-size: 264px;
	box-shadow: 0px -0.2px 0.2px hsl(0deg 0% 0% / 0.09),
	0px -0.7px 0.9px -0.6px hsl(0deg 0% 0% / 0.11),
	0.1px -1.6px 2px -1.2px hsl(0deg 0% 0% / 0.12),
	0.2px -3.8px 4.7px -1.8px hsl(0deg 0% 0% / 0.14);
	padding: 40px 0 264px 0;
}

.cant-believe-im-using-a-paper-texture p {
	opacity: 0.9;
}

.cant-believe-im-using-a-paper-texture img {
	margin: 24px 0;
	border-radius: 16px;
}


.long-form-text {
	padding: 0 40px;
}

.press-hard {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	justify-items: stretch;
	row-gap: 64px;
	column-gap: 24px;
	max-width: 1400px;
	margin: 64px auto;
	padding: 16px;
}

.press-feature {
  grid-column: span 2;
}

@media (max-width: 740px) {
	.press-hard {
		grid-template-columns: repeat(2, 1fr);
	}

	.press-feature {
	  grid-column: span 2;
	}

	.press-feature:nth-last-child(2) {
	  grid-row-start: 4;
	  grid-column: 1 / span 2;
	}

	.press-feature:nth-last-child(1) {
	  grid-row-start: 5;
	  grid-column: 1 / span 2;
	}
}

.press-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center
}

.press-feature h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 8px 0;
}

.press-feature a {
	text-decoration: none;
}

.press-feature a:hover {
	text-decoration: underline;
}

.press-feature img {
	width: 64px;
	margin: 0;
}

.press-feature.the-verge img {
	width: 186px;
	margin: 0 0 8px 0;
}

.press-feature.nineToFive svg {
	width: 186px;
	margin: 0 0 4px 0;
}

@media (prefers-color-scheme: dark) {
	.press-feature.the-verge img,
	.to-invert {
		filter: brightness(0) invert(1);
	}
}

.press-feature p {
	font-size: 16px;
	font-weight: 400;
	opacity: 0.5;
}

.testimonials {
	max-width: 1024px;
	margin: 104px auto 0 auto;
	text-align: center;
}

.testi-money-als {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.testi-money-als img {
	max-width: 224px;
}

.testi-money-als div {
	flex: 1;
	padding: 8px;
	margin-top: 40px;
}

.testi-money-als p {
	font-size: 20px;
	font-weight: 600;
}

.testi-money-als h4 {
	font-size: 16px;
	font-weight: 400;
	opacity: 0.5;
	margin: 8px 0;
}

.testi-money-als p a {
	text-decoration: none;
}

.footer {
	display: flex;
flex-direction: column;
}

.footer p, .footer a {
	text-align: center;
	padding: 4px;
	font-size: 14px;
	font-weight: 600;
}

.footer span {
	display: inline-block;
	font-size: 12px;
	font-weight: 400;
	text-align: center;
	opacity: .8;
	margin: auto;
}


/* ==========================================================================
   FAQ and Press Page Styles
   ========================================================================== */

.faq-page {
    min-height: 100vh;
    padding-bottom: 64px;
}

.faq-header,
.press-header {
    text-align: center;
    padding: 64px 16px 32px 16px;
}

.faq-header h1,
.press-header h1 {
    font-size: 64px;
    margin: 16px 0;
	text-shadow: none;
}

.faq-header p,
.press-header p {
    font-size: 20px;
    opacity: 0.8;
}

.highlight-update {
	background: rgba(0, 97, 255, 0.053);
	background: color(display-p3 0.1 0.374 1 / 0.03);
	border: 2px solid color(display-p3 0.527 0.649 0.926);
	border-radius: 16px;
	margin: 16px -24px;
	padding: 24px;
}

.highlight-update h3 {
	margin-top: 0;
}

.press-page .detail-video-wrapper {
	margin-top: 50px;
}

.press-page .caption {
	font-size: 13px;
	opacity: 0.8;
	text-align: center;
}

h5 {
	font-size: 16px;
	font-weight: 400;
	padding: 0 22px;
	line-height: 1.25;
}

.back-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 1;
}

/* FAQ Sections */
.faq-section {
    margin-bottom: 48px;
}

.faq-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    opacity: 0.9;
}

/* Details/Summary accordion */
details {
    margin-bottom: 8px;
    border-radius: 8px;
    background: rgba(128, 128, 128, 0.1);
    overflow: hidden;
}

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

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    opacity: 0.5;
    transition: transform 0.2s;
}

details[open] summary::after {
    content: "-";
}

summary:hover {
    background: rgba(128, 128, 128, 0.1);
}

details > p,
details > ol,
details > ul {
    padding: 0 16px 16px 16px;
    margin: 0;
}

details ol,
details ul {
    padding-left: 32px;
    padding-right: 16px;
    padding-bottom: 16px;
}

details li {
    margin: 8px 0;
    font-size: 17px;
    line-height: 1.5;
}

details p {
    font-size: 17px;
    line-height: 1.5;
}

details code {
    background: rgba(128, 128, 128, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    word-break: break-all;
}

details a {
    color: inherit;
}

/* Contact Section */
.contact-section {
    margin-top: 40px;
    padding-top: 32px;
}

.contact-section h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-section > p {
    margin-bottom: 24px;
    opacity: 0.8;
}

/* Form Styles (Stripe-inspired) */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--textColor);
    opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: var(--background);
    color: var(--textColor);
    box-shadow: 0 1px 3px 0 rgba(50, 50, 93, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0061ff;
    border-color: color(display-p3 0.1 0.374 1);
    box-shadow: 0 1px 3px 0 rgba(50, 50, 93, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(0, 97, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8898aa;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.submit-button {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: white;
    background: #0061ff;
    background: color(display-p3 0.1 0.374 1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    align-self: flex-start;
    box-shadow: 0 4px 6px rgba(0, 97, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.submit-button:hover {
    background: #0056e0;
    background: color(display-p3 0.08 0.32 0.88);
    box-shadow: 0 7px 14px rgba(0, 97, 255, 0.25), 0 3px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.submit-button:active {
    background: #004bc4;
    background: color(display-p3 0.06 0.28 0.76);
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 97, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Dark mode adjustments for form */
@media (prefers-color-scheme: dark) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-color: #3c4257;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #697386;
    }

    .form-group select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238792a2' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #0061ff;
        border-color: color(display-p3 0.1 0.374 1);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(0, 97, 255, 0.25);
    }
}

/* FAQ Responsive */
@media (max-width: 480px) {
    .faq-header h1 {
        font-size: 48px;
    }

    .faq-section h2 {
        font-size: 24px;
    }

    summary {
        font-size: 16px;
        padding: 14px;
    }

    details p,
    details li {
        font-size: 16px;
    }
}

/* ==========================================================================
   Screenshot Carousel (Apple-style)
   ========================================================================== */

.screenshot-carousel {
    position: relative;
    margin: 24px 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 8px 0;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--textColor);
    opacity: 0.25;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.carousel-dot:hover {
    opacity: 0.5;
    transform: scale(1.2);
}

.carousel-dot.active {
    opacity: 0.9;
}