/*
Theme Name: Setu Apps
Theme URI: https://setuapps.com/
Description: Custom theme for Setu Apps: websites, online stores and apps for small businesses and educators.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
Author: Setu Apps
Text Domain: setu-apps
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--navy: #101b33;
	--marigold: #ffb81c;
	--blue: #1743b8;
	--ground: #f7f8fa;
	--white: #fff;
	--text-soft: #414c63;
	--on-navy-soft: #c9d2e6;
	--panel: #e7ebf3;
	--field-border: #6a758c;
	--rule-on-navy: #36425e;
	--heading: "Bricolage Grotesque", system-ui, sans-serif;
	--body: "Instrument Sans", system-ui, sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
	--section-space: clamp(48px, 6vw, 72px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.55;
	color: var(--navy);
	background: var(--ground);
}

h1,
h2,
h3 {
	font-family: var(--heading);
	margin: 0;
}

p {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--blue);
}

a:hover {
	color: var(--navy);
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
}

.site-header :focus-visible,
.hero :focus-visible,
.quote > .wrap > div :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--marigold);
}

[id] {
	scroll-margin-top: 16px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 10;
	padding: 12px 16px;
	background: var(--marigold);
	color: var(--navy);
	border-radius: 8px;
	font-weight: 600;
}

.skip-link:focus {
	top: 16px;
}

.wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding-inline: var(--gutter);
}

/* Header */
.site-header {
	background: var(--navy);
	color: var(--white);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	color: var(--white);
	text-decoration: none;
}

.brand:hover {
	color: var(--white);
}

.brand svg {
	flex: none;
}

.brand__name {
	font-family: var(--heading);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.brand__name span {
	font-weight: 500;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 28px;
	font-size: 16px;
	font-weight: 500;
}

.site-nav a {
	padding-block: 10px;
	color: var(--white);
	text-decoration: none;
}

.site-nav a:hover {
	color: var(--marigold);
}

.site-nav .site-nav__cta {
	padding: 10px 20px;
	background: var(--marigold);
	color: var(--navy);
	border-radius: 8px;
	font-weight: 600;
}

.site-nav .site-nav__cta:hover {
	background: var(--white);
	color: var(--navy);
}

/* Buttons */
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 2px solid transparent;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.button--accent {
	background: var(--marigold);
	color: var(--navy);
}

.button--accent:hover {
	background: var(--navy);
	border-color: var(--marigold);
	color: var(--marigold);
}

.button--outline {
	border-color: var(--white);
	color: var(--white);
}

.button--outline:hover {
	background: var(--white);
	color: var(--navy);
}

/* Hero */
.hero {
	background: var(--navy);
	color: var(--white);
}

.hero__copy {
	max-width: 1040px;
	padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 64px);
}

.hero h1 {
	font-weight: 800;
	font-size: clamp(42px, 7vw, 92px);
	line-height: 1.02;
	letter-spacing: -0.025em;
}

.hero__lead {
	max-width: 680px;
	margin-top: 28px;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.5;
	color: var(--on-navy-soft);
}

.hero__bridge {
	display: block;
	width: 100%;
	height: auto;
	fill: none;
	stroke: var(--marigold);
}

/* Sections */
.section {
	padding-block: var(--section-space);
}

.section--white {
	background: var(--white);
}

.section h2 {
	margin-bottom: 40px;
	font-weight: 700;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 40px;
}

.columns--tight {
	gap: 32px;
}

.service {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding-top: 20px;
	border-top: 3px solid var(--navy);
}

.service h3 {
	font-weight: 700;
	font-size: 28px;
	line-height: 1.2;
}

.service p,
.project p {
	color: var(--text-soft);
}

.service a,
.project a {
	padding-block: 10px;
	font-weight: 600;
}

/* Projects */
.project {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.project__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: left top;
	border-radius: 12px;
	border: 1px solid var(--panel);
	background: var(--panel);
}

.project h3 {
	font-weight: 700;
	font-size: 26px;
}

/* Steps */
.steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.steps__number {
	font-family: var(--heading);
	font-weight: 800;
	font-size: 56px;
	line-height: 1;
	color: var(--blue);
}

.steps p {
	font-size: 21px;
	line-height: 1.4;
	font-weight: 500;
}

/* Quote */
.quote {
	background: var(--navy);
	color: var(--white);
}

.quote__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 48px;
	padding-block: clamp(48px, 6vw, 80px);
}

.quote h2 {
	font-weight: 800;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.quote__lead {
	max-width: 480px;
	margin-top: 20px;
	font-size: 20px;
	color: var(--on-navy-soft);
}

.quote-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(20px, 3vw, 32px);
	background: var(--white);
	color: var(--navy);
	border-radius: 12px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field label {
	font-size: 16px;
	font-weight: 600;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1.5px solid var(--field-border);
	border-radius: 8px;
	background: var(--white);
	color: var(--navy);
	font: inherit;
}

.field--trap {
	position: absolute;
	left: -9999px;
	height: 1px;
	overflow: hidden;
}

.notice {
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 500;
}

.notice--ok {
	background: #dff5e7;
	color: #0d4a26;
}

.notice--error {
	background: #fde4e1;
	color: #7a1a10;
}

/* Footer */
.site-footer {
	background: var(--navy);
	color: var(--on-navy-soft);
	border-top: 1px solid var(--rule-on-navy);
	font-size: 16px;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 32px;
	padding-block: 24px;
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.site-footer a {
	padding-block: 10px;
	color: var(--on-navy-soft);
}

.site-footer a:hover {
	color: var(--white);
}

/* Posts and pages */
.prose {
	max-width: 760px;
}

.prose h1 {
	margin-bottom: 24px;
	font-weight: 800;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.prose p {
	margin-bottom: 1em;
}

.prose h2 {
	margin: 1.4em 0 0.5em;
}

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